[FFmpeg-devel] [PATCH] MP4 Subtitle support

Philip Langdale philipl at overt.org
Thu Oct 4 18:25:45 CEST 2012


On 2012-10-04 00:47, Clément Bœsch wrote:
> On the form: various typo, trailing whitespaces, tabs and bad styles;
> please stick with the surrounding coding style.
>
> BTW overall I think the approach is wrong: what you likely want is a 
> "raw
> text" subtitles encoder: basically a subtitle codec to strip all the 
> ASS
> tags from the internal representation, and use it in MOV to encode 
> text
> (with no markup) subtitles.
>
> Why: because I believe putting various broken markups into MOV is 
> wrong,
> and it also means quite a maintenance burden to support all the 
> different
> subtitles codecs into MOV (and add some regularly).

Note that, at least for now, the mov_text encoder *is* this raw text 
encoder
as it discards all style information. So you can transcode from any of 
these
formats into unstyled tx3g today.

Generally, while there is de-facto support for other formats in certain 
players,
tx3g is the only text format with consistent support inside mp4 
containers,

--phil


More information about the ffmpeg-devel mailing list