[FFmpeg-devel] [PATCH] movtextdec: MPEG4 Part 17 Timed Text Decoder.
philipl at overt.org
Sun Jul 1 19:31:31 CEST 2012
On Sun, 1 Jul 2012 10:29:15 -0700
Philip Langdale <philipl at overt.org> wrote:
> This change introduces a basic decoder for MPEG4 Part 17 subtitles,
> also known as Timed Text and TX3G.
> This initial change doesn't attempt to parse styling information,
> and just reads the plain text of the subtitles. I intend to add
> support for styles eventually, but it's challenging due to a lack
> of reliable samples and existing players that support them.
This second version has minor updates to the whitespace handling.
I fixed the double check for \r (instead of \r and \n) and added
a check that text wasn't past the end of the string. Given the
positive response to the initial version, I'll push this in the
next few days, unless anyone objects.
Adding a FATE test is next on my list.
More information about the ffmpeg-devel