diff options
author | Philip Langdale <philipl@overt.org> | 2012-06-23 14:11:19 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2012-07-14 14:50:02 -0700 |
commit | 2c501ae82b847d89c93e8aa1f4506fb564c344a7 (patch) | |
tree | 0be681fcb1201956b7d12375047ab35473dd08ee /libavcodec/allcodecs.c | |
parent | 57d5a224cec3d2f8e2c6c1140d312f17ed340740 (diff) | |
download | ffmpeg-2c501ae82b847d89c93e8aa1f4506fb564c344a7.tar.gz |
movtextdec: 3GPP TS 26.245 Timed Text Decoder.
This change introduces a basic decoder for 3GPP Timed Text subtitles,
also known as TX3G, Quicktime subtitles, or "movtext" in the existing
code.
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 existing players that support them.
Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 52e7d204da..963f1a5cac 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -409,6 +409,7 @@ void avcodec_register_all(void) REGISTER_ENCDEC (DVDSUB, dvdsub); REGISTER_DECODER (JACOSUB, jacosub); REGISTER_DECODER (MICRODVD, microdvd); + REGISTER_DECODER (MOVTEXT, movtext); REGISTER_DECODER (PGSSUB, pgssub); REGISTER_DECODER (REALTEXT, realtext); REGISTER_DECODER (SAMI, sami); |