[FFmpeg-user] subtitles

cbeerse at gmail.com cbeerse at gmail.com
Mon Mar 21 19:34:23 CET 2011


On 21-3-2011 13:33, Rick C. wrote:
> Hello,
>
> My apologies if I'm missing the obvious (I have spent time searching in Google) but is it possible to add a subtitle file (.srt) and have it hardcoded into the video so something like this:
>
> ffmpeg -i video.mp4 -i subtitle.srt finalvideo.avi
>
> No matter what I've tried I have not been able to get it to work.  So if I could get the official word or if there are any workarounds that would be great.  Thanks!
Just from the manual pages (`man ffmpeg` on unix): use the 
"-newsubtitle" option to insert a new subtitle as subtitle stream.

See http://www.ffmpeg.org/ffmpeg-doc.html#TOC10 for the gory details on 
subtitles.

CBeee


More information about the ffmpeg-user mailing list