You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

ffmpeg provides the straight and easy way to burn-in SRT subtitle.

ffmpeg -i test_30sec.mov -vf "subtitles=subtitle_en.srt:force_style='fontsize=25,Outline=2,OutlineColor=&H80000000'" out.mp4


If you want to put dark block behind of the subtitle, you can do it easily by adding BorderStyle=4 like below:

ffmpeg -i test_30sec.mov -vf "subtitles=subtitle_en.srt:force_style='fontsize=25,BorderStyle=4,Outline=8,OutlineColor=&H80000000'" out.mp4
  • No labels