summaryrefslogtreecommitdiff
path: root/tests/fate
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2012-06-06 09:12:24 -0700
committerPhilip Langdale <philipl@overt.org>2012-08-04 12:01:24 -0700
commit2daaf77698c9adc9b390e94b755d743c135a469f (patch)
tree4a00e7ccbb38ed633ee066810975f97928798bfb /tests/fate
parent759901f817cb481c989af7bec48f24377ec25735 (diff)
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>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/subtitles.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
index 2f6e37fede..dc7a747f8c 100644
--- a/tests/fate/subtitles.mak
+++ b/tests/fate/subtitles.mak
@@ -7,6 +7,9 @@ fate-sub-microdvd: CMD = md5 -i $(SAMPLES)/sub/MicroDVD_capability_tester.sub -f
FATE_SUBTITLES += fate-sub-movtext
fate-sub-movtext: CMD = md5 -i $(SAMPLES)/sub/MovText_capability_tester.mp4 -f ass
+FATE_SUBTITLES += fate-sub-movtextenc
+fate-sub-movtextenc: CMD = md5 -i $(SAMPLES)/sub/MovText_capability_tester.mp4 -map 0 -scodec mov_text -f mp4 -movflags frag_keyframe+empty_moov
+
FATE_SUBTITLES += fate-sub-realtext
fate-sub-realtext: CMD = md5 -i $(SAMPLES)/sub/RealText_capability_tester.rt -f ass