movtextenc: 3GPP TS 26.245 Timed Text Encoder.
authorPhilip Langdale <philipl@overt.org>
Wed, 6 Jun 2012 16:12:24 +0000 (09:12 -0700)
committerPhilip Langdale <philipl@overt.org>
Sat, 4 Aug 2012 19:01:24 +0000 (12:01 -0700)
commit2daaf77698c9adc9b390e94b755d743c135a469f
tree4a00e7ccbb38ed633ee066810975f97928798bfb
parent759901f817cb481c989af7bec48f24377ec25735
movtextenc: 3GPP TS 26.245 Timed Text Encoder.

This change introduces a basic encoder for 3GPP Timed Text subtitles,
also known as TX3G, Quicktime subtitles, or "movtext" in the existing
code.

This initial change doesn't attempt to write styling information,
and just writes 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.

Note that an additional change is required to the mov/mp4 muxer to
write empty subtitle packets to indicate subtitle duration.

Signed-off-by: Philip Langdale <philipl@overt.org>
Changelog
doc/general.texi
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/movtextenc.c [new file with mode: 0644]
libavcodec/version.h
tests/fate/subtitles.mak
tests/ref/fate/sub-movtextenc [new file with mode: 0644]