[FFmpeg-user] subtitles

Rick C. rickcorteza at gmail.com
Tue Mar 22 04:04:02 CET 2011


On Mar 22, 2011, at 2:47 AM, mikkel meinike wrote:

> Yes from what I have research I also think that ffmpeg will not do it.
> I use mplayer for that. I have made at little blog post on my approach
> on it.
> 
> http://nerdcore-enthusiasm.blogspot.com/2010/12/add-subtitles-to-video-clip-with-pure.html
> 
> Mikkel
> 
> 
> 
> On Mon, Mar 21, 2011 at 2:03 PM, Bouke <bouke at editb.nl> wrote:
>> 
>> ----- 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
>> 
>> 

Thanks for the info.  Yes I'm aware of the -newsubtitle flag but I wasn't able to figure out exactly how to use it.  Seems there isn't really a way (or at least it's not obvious) how to do it with FFmpeg.  I'll keep trying though thanks!

rc


>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list