[Ffmpeg-devel] [PATCH] dvdsub encoder -- 2nd version

Wolfram Gloger wmglo
Mon Oct 31 16:47:46 CET 2005


Hi,

> Your patch doesn't apply any longuer so I applied it by hand (cf.
> attachement for the updated version). It compiles and seem to run Ok.

Thanks.

> How may I test this patch? Could you give me a simple command line
> example for a rapid test?

Well, the only sources for subtitles in ffmpeg to my knowledge are
currently dvdsubdec abd dvbsubdec.  If you have a dvb source with dvb
subtitles (I don't..), you should be able to use a ts file from
it like

  ffmpeg -i x.ts -acodec copy -vcodec copy -scodec dvdsub x.vob -newsubtitle

or if you have a .vob with subtitles

  ffmpeg -i x.vob -acodec copy -vcodec copy -scodec dvdsub -newsubtitle

The "-newsubtitle" after the target file is important because
otherwise the subencoder will not be used at all.

I'm working on a teletext decoder (using libzvbi) which is another
subtitle source, but that needs several other patches which I will
submit one-by-one.

Regards,
Wolfram.





More information about the ffmpeg-devel mailing list