3000 explained code solutions for 75 technologies


ffmpegHow to burn subtitles to video


ffmpeg -i in.mp4 -vf subtitles=subtitles.srt out.mp4ctrl + c
-i in.mp4

input video file

-vf

apply specific video filters

subtitles=

filter allows burning subtitles from specified file

subtitles.srt

path to subtitles file

out.mp4

resulting video file