$ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi
$ffmpeg -i video.mp4 -f srt -i video.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s mov_text out.mp4
References:
[1] https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
[2] https://stackoverflow.com/questions/8672809/use-ffmpeg-to-add-text-subtitles
No comments:
Post a Comment