From 3e022d185cb1640b1bc9fb535118b3624eefe8f4 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 1 Oct 2021 21:07:35 +0200 Subject: [PATCH] fate/subtitles: Add scc remux test Provides coverage for the muxer. (Thanks to tresh for modifying the whitespace commit hook to allow to push this ref file with tabs.) Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt --- tests/fate/subtitles.mak | 3 ++ tests/ref/fate/sub-scc-remux | 65 ++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 tests/ref/fate/sub-scc-remux diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak index 2f4c94f366..0c89adb0d1 100644 --- a/tests/fate/subtitles.mak +++ b/tests/fate/subtitles.mak @@ -110,6 +110,9 @@ fate-sub-charenc: CMD = fmtstdout ass -sub_charenc cp1251 -i $(TARGET_SAMPLES)/s FATE_SUBTITLES-$(call DEMDEC, SCC, CCAPTION) += fate-sub-scc fate-sub-scc: CMD = fmtstdout ass -ss 57 -i $(TARGET_SAMPLES)/sub/witch.scc +FATE_SUBTITLES-$(call DEMMUX, SCC, SCC) += fate-sub-scc-remux +fate-sub-scc-remux: CMD = fmtstdout scc -i $(TARGET_SAMPLES)/sub/witch.scc -ss 4:00 -map 0 -c copy + FATE_SUBTITLES-$(call ALLYES, MPEGTS_DEMUXER DVBSUB_DECODER DVBSUB_ENCODER) += fate-sub-dvb fate-sub-dvb: CMD = framecrc -i $(TARGET_SAMPLES)/sub/dvbsubtest_filter.ts -map s:0 -c dvbsub diff --git a/tests/ref/fate/sub-scc-remux b/tests/ref/fate/sub-scc-remux new file mode 100644 index 0000000000..e0a8247e4d --- /dev/null +++ b/tests/ref/fate/sub-scc-remux @@ -0,0 +1,65 @@ +Scenarist_SCC V1.0 + +00:00:01:04 9420 9420 94da 94da c2d5 52ce 20c8 4552 20a1 947a 947a 20c2 d552 ce20 c845 5220 a180 942c 942c 942f 942f + +00:00:03:18 9420 9420 94f8 94f8 91ae 91ae 5b20 cd61 6e20 c7f2 756e f473 205d 942c 942c 942f 942f + +00:00:05:00 9420 9420 94ce 94ce 5249 c7c8 5420 a180 946e 946e 5245 cd4f d645 2054 c845 20d3 d5d0 d04f 5254 d320 a180 942c 942c 942f 942f + +00:00:11:09 942c 942c + +00:00:14:02 9420 9420 13d0 13d0 c120 5749 5443 c820 a180 947a 947a c120 5749 5443 c820 a180 942c 942c 942f 942f + +00:00:16:05 9420 9420 94f2 94f2 4954 a7d3 20c1 2046 c149 5220 434f d0ae 942c 942c 942f 942f + +00:00:17:01 9420 9420 1370 1370 ad20 c2d5 52ce 20c8 4552 20a1 94d0 94d0 ad20 5b20 43f2 eff7 6420 43ef 6ef4 e96e 75e5 7320 d368 ef75 f4e9 6e67 205d 9470 9470 2020 c2d5 52ce 20c8 4552 20a1 2020 c2d5 52ce 20c8 4552 20a1 942c 942c 942f 942f + +00:00:22:09 942c 942c + +00:00:25:26 9420 9420 1370 1370 57c8 4f20 c152 4520 d94f d52c 94d0 94d0 57c8 4f20 c152 4520 d34f 2057 49d3 4580 9470 9470 49ce 2054 c845 2057 c1d9 d320 4f46 20d3 4349 45ce 4345 20bf 942c 942c 942f 942f + +00:00:29:22 9420 9420 94d6 94d6 4920 c1cd 20c1 5254 c8d5 522c 9476 9476 cb49 cec7 204f 4620 54c8 4520 c252 4954 4fce d3ae 942c 942c 942f 942f + +00:00:32:23 9420 9420 94f2 94f2 cdd9 204c 4945 c745 20a1 942c 942c 942f 942f + +00:00:33:29 9420 9420 13f4 13f4 c74f 4fc4 20d3 4952 20cb ce49 c7c8 542c 9454 9454 5749 4c4c 20d9 4fd5 2043 4fcd 4520 5749 54c8 20cd 4580 94f4 94f4 544f 2043 c1cd 454c 4f54 aeae ae80 942c 942c 942f 942f + +00:00:37:11 9420 9420 94d6 94d6 c1ce c420 4a4f 49ce 20d5 d380 9476 9476 c154 2054 c845 2052 4fd5 cec4 2054 c1c2 4c45 20bf 942c 942c 942f 942f + +00:00:40:12 9420 9420 94d0 94d0 cdd9 204c 4945 c745 2c80 9470 9470 4920 574f d54c c420 c245 20c8 4fce 4f52 45c4 20a1 942c 942c 942f 942f + +00:00:42:16 9420 9420 13d6 13d6 57c8 c154 2049 d320 d94f d552 20ce c1cd 4520 bf80 9470 9470 c245 c445 d645 5245 2c20 cdd9 204c 4945 c745 ae80 942c 942c 942f 942f + +00:00:45:21 9420 9420 94d6 94d6 2054 c845 ce20 4920 c4d5 c220 d94f d580 9476 9476 91ae 91ae d349 5280 9120 9120 c245 c445 d645 5245 2c80 942c 942c 942f 942f + +00:00:49:15 9420 9420 94d6 94d6 cbce 49c7 c854 9476 9476 4f46 2054 c845 2052 4fd5 cec4 2054 c1c2 4c45 ae80 942c 942c 942f 942f + +00:00:51:26 9420 9420 94ce 94ce 5b20 ce61 f2f2 61f4 eff2 205d 946e 946e 54c8 4520 5749 d345 20d3 4952 20c2 45c4 45d6 4552 45ae aeae 942c 942c 942f 942f + +00:00:53:23 9420 9420 94ce 94ce 57c1 d320 54c8 4520 4649 52d3 5420 544f 204a 4f49 ce80 946e 946e cb49 cec7 20c1 5254 c8d5 52a7 d320 cbce 49c7 c854 d3ae 942c 942c 942f 942f + +00:00:56:21 9420 9420 94ce 94ce c2d5 5420 4f54 c845 5220 494c 4cd5 d354 5249 4fd5 d320 cec1 cd45 d380 946e 946e 5745 5245 20d3 4f4f ce20 544f 2046 4f4c 4c4f 57ba 942c 942c 942f 942f + +00:01:00:08 9420 9420 946e 946e d349 5220 4cc1 d5ce 4345 4c4f 5420 54c8 4520 c252 c1d6 453b 942c 942c 942f 942f + +00:01:03:01 9420 9420 946e 946e d349 5220 c7c1 4cc1 c8c1 c420 54c8 4520 d0d5 5245 3b80 942c 942c 942f 942f + +00:01:04:29 9420 9420 136e 136e c1ce c420 d349 5220 524f c249 ce80 94ce 94ce 54c8 4520 ce4f 54ad 51d5 4954 45ad d34f adc2 52c1 d645 ad80 946e 946e c1d3 add3 4952 ad4c c1d5 ce43 454c 4f54 2c80 942c 942c 942f 942f + +00:01:08:08 9420 9420 94ce 94ce 57c8 4f20 c8c1 c420 ce45 c152 4cd9 2046 4fd5 c7c8 5480 946e 946e 54c8 4520 c452 c1c7 4fce 204f 4620 c1ce c7ce 4f52 2c80 942c 942c 942f 942f + +00:01:10:28 9420 9420 136e 136e 57c8 4f20 c8c1 c420 ce45 c152 4cd9 94ce 94ce d354 4f4f c420 d5d0 2054 4f20 54c8 4520 d649 4349 4fd5 d380 946e 946e 43c8 4943 cb45 ce20 4f46 20c2 5249 d354 4f4c aeae ae80 942c 942c 942f 942f + +00:01:13:27 9420 9420 136e 136e c1ce c420 57c8 4f20 c8c1 c480 94ce 94ce d045 52d3 4fce c14c 4cd9 2057 4554 20c8 49cd d345 4c46 946e 946e c154 2054 c845 20c2 c154 544c 4520 4f46 20c2 c1c4 4fce 20c8 494c 4c3b 942c 942c 942f 942f + +00:01:17:22 9420 9420 94ce 94ce c1ce c420 54c8 4520 c1d0 544c d920 cec1 cd45 c480 946e 946e d349 5220 ce4f 54ad c1d0 d045 c152 49ce c7ad 49ce ad54 c849 d3ad 4649 4ccd ae80 942c 942c 942f 942f + +00:01:22:13 942c 942c + +00:01:22:18 9420 9420 94ce 94ce 544f c745 54c8 4552 2054 c845 d920 464f 52cd 45c4 20c1 20c2 c1ce c480 946e 946e 57c8 4fd3 4520 cec1 cd45 d320 c1ce c420 c445 45c4 d3ae aeae 942c 942c 942f 942f + +00:01:26:01 9420 9420 94ce 94ce 5745 5245 2054 4f20 c245 2052 4554 4f4c c480 946e 946e 54c8 524f d5c7 c84f d554 2054 c845 2043 45ce 54d5 5249 45d3 ae80 942c 942c 942f 942f + +00:01:28:22 9420 9420 94ce 94ce 54c8 4520 cbce 49c7 c854 d380 946e 946e 4f46 2054 c845 2052 4fd5 cec4 2054 c1c2 4c45 ae80 942c 942c 942f 942f + +00:01:30:26 942c 942c 942f 942f