From 2c501ae82b847d89c93e8aa1f4506fb564c344a7 Mon Sep 17 00:00:00 2001 From: Philip Langdale Date: Sat, 23 Jun 2012 14:11:19 -0700 Subject: 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 --- tests/fate/subtitles.mak | 3 +++ tests/ref/fate/sub-movtext | 1 + 2 files changed, 4 insertions(+) create mode 100644 tests/ref/fate/sub-movtext (limited to 'tests') diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak index f2a68e1107..92322da6f1 100644 --- a/tests/fate/subtitles.mak +++ b/tests/fate/subtitles.mak @@ -13,5 +13,8 @@ fate-sub-srt: CMD = md5 -i $(SAMPLES)/sub/SubRip_capability_tester.srt -f ass FATE_SUBTITLES += fate-sub-realtext fate-sub-realtext: CMD = md5 -i $(SAMPLES)/sub/RealText_capability_tester.rt -f ass +FATE_SUBTITLES += fate-sub-movtext +fate-sub-movtext: CMD = md5 -i $(SAMPLES)/sub/MovText_capability_tester.mp4 -f ass + FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES) fate-subtitles: $(FATE_SUBTITLES) diff --git a/tests/ref/fate/sub-movtext b/tests/ref/fate/sub-movtext new file mode 100644 index 0000000000..d91c24303c --- /dev/null +++ b/tests/ref/fate/sub-movtext @@ -0,0 +1 @@ +21453e8ddbbe35d1368a99fe563c969d -- cgit v1.2.3