[FFmpeg-user] ffmpeg: encoding sub-titles

Pekon Gupta pekon.gupta at gmail.com
Thu Sep 1 15:10:40 CEST 2011


Apologies for revisiting this question.. As i have googled a lot on this
topic, and still could not find suitable answer..

(1) Is there a way to hard-code the ".srt" (text based subtitles) into the
output video while encoding it ?
     If yes, then please illustrate it with command-line example..

(2) how is "-newsubtitle" switch is used ?

Im using following command-line..
"ffmpeg -i in.avi  -acodec libmp3lame  -vcodec libxvid -bf 0   out.avi   "

Please tell me how to include ".srt" subtitles to this, so that stream could
be added in output video..


with regards, pekon

More information about the ffmpeg-user mailing list