[FFmpeg-user] subtitles

Bouke bouke at editb.nl
Mon Mar 21 14:03:52 CET 2011


----- Original Message ----- 
From: "Rick C." <rickcorteza at gmail.com>
To: "FFmpeg user questions and RTFMs" <ffmpeg-user at ffmpeg.org>
Sent: Monday, March 21, 2011 1:33 PM
Subject: [FFmpeg-user] subtitles


> 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!

>From memory, you need Mencoder.
(And for very simple stuff, i believe VLC can do it as well, not sure if it 
can be done using a command line)
But, i don't know how much control you have over the final look. (Probably 
not much...)
Currently i run Avisynth with pre-rendered bitmaps, looking for a way to use 
the Overlay function in FFmpeg.

hth,
Bouke

> rc




More information about the ffmpeg-user mailing list