[FFmpeg-devel] [PATCH] DVB Subtitles Fix

Aurelien Jacobs aurel at gnuage.org
Sat May 7 00:01:48 CEST 2011

On Fri, May 06, 2011 at 03:46:38PM +0100, JULIAN GARDNER wrote:
> [...]
> so can you give me a command line for taking in a dvd file, VOB i take it, and using a subtitle stream with output to mpeg2 and dvb subtitles
> ffmpeg -i xxx.vob <insert your stuff for taking dvd subtitle> -f mpegts <insert your stuff for encoding to dvb subtitles> -b 1000k -y a.ts

Get the following sample:

And try this:
./ffmpeg -i dvd-subtitle-problem.vob -vcodec mpeg2video -acodec copy
-scodec dvbsub -y a.ts

Then try to ffplay the original sample and the resulting ts.
I guess that with your patch, subtitles won't disapear before the
next one appear in the ts file, unlike the original file.


More information about the ffmpeg-devel mailing list