diff mbox series

[FFmpeg-devel,3/3] fate/matroska: Add test for QT-mode

Message ID AM7PR03MB66606F84E9BF2E0A2BFDD3388F4F9@AM7PR03MB6660.eurprd03.prod.outlook.com
State Accepted
Commit b57656e28bace8835208fec938ff82a85671941e
Headers show
Series [FFmpeg-devel,1/3] avcodec/vp3: Don't output bogus warning | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished

Commit Message

Andreas Rheinhardt Jan. 9, 2022, 8:24 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 tests/fate/matroska.mak         |   6 ++
 tests/ref/fate/matroska-qt-mode | 125 ++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)
 create mode 100644 tests/ref/fate/matroska-qt-mode
diff mbox series

Patch

diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index fca84ecf12..295489d2cc 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -99,6 +99,12 @@  FATE_MATROSKA-$(call ALLYES, FILE_PROTOCOL AVI_DEMUXER MATROSKA_MUXER \
                              PIPE_PROTOCOL) += fate-matroska-ms-mode
 fate-matroska-ms-mode: CMD = transcode avi $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi matroska "-map 0 -c copy -cues_to_front yes -reserve_index_space 5000" "-map 0 -c copy -t 1"
 
+# This tests Matroska's QT-compatibility mode.
+FATE_MATROSKA-$(call ALLYES, FILE_PROTOCOL MOV_DEMUXER MATROSKA_MUXER       \
+                             MATROSKA_DEMUXER FRAMECRC_MUXER PIPE_PROTOCOL) \
+                += fate-matroska-qt-mode
+fate-matroska-qt-mode: CMD = transcode mov $(TARGET_SAMPLES)/svq1/marymary-shackles.mov matroska "-c copy" "-c copy -t 3"
+
 # This test the following features of the Matroska muxer: Writing projection
 # stream side-data; not setting any track to default if the user requested it;
 # and modifying and writing colorspace properties.
diff --git a/tests/ref/fate/matroska-qt-mode b/tests/ref/fate/matroska-qt-mode
new file mode 100644
index 0000000000..9dc115cc0d
--- /dev/null
+++ b/tests/ref/fate/matroska-qt-mode
@@ -0,0 +1,125 @@ 
+a741bd63da27d6b8ce3a21009267703d *tests/data/fate/matroska-qt-mode.matroska
+1884278 tests/data/fate/matroska-qt-mode.matroska
+#extradata 0:       90, 0x817d0185
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: svq1
+#dimensions 0: 160x120
+#sar 0: 0/1
+#tb 1: 1/1000
+#media_type 1: audio
+#codec_id 1: pcm_u8
+#sample_rate 1: 22050
+#channel_layout 1: 4
+#channel_layout_name 1: mono
+0,          0,          0,       66,     3340, 0xcdb26464
+1,          0,          0,       46,     1024, 0x3c0f001e
+1,         46,         46,       46,     1024, 0x5772fef7
+0,         67,         67,       66,       76, 0xc93b1f74, F=0x0
+1,         93,         93,       46,     1024, 0xa98efec4
+0,        133,        133,       66,      116, 0x5688353c, F=0x0
+1,        139,        139,       46,     1024, 0xba56fd5d
+1,        186,        186,       46,     1024, 0x69d7063c
+0,        200,        200,       66,      112, 0xbe8f3086, F=0x0
+1,        232,        232,       46,     1024, 0x2b67fc5a
+0,        267,        267,       66,      132, 0xd0cd3b9c, F=0x0
+1,        279,        279,       46,     1024, 0xcdf9022d
+1,        325,        325,       46,     1024, 0x91f6fd81
+0,        333,        333,       66,      200, 0x42385725, F=0x0
+1,        372,        372,       46,     1024, 0x920eff99
+0,        400,        400,       66,      164, 0x2d344be3, F=0x0
+1,        418,        418,       46,     1024, 0x09a2ff2b
+1,        464,        464,       35,      785, 0x6ece8797
+0,        467,        467,       66,      176, 0xc97c53ff, F=0x0
+1,        500,        500,       46,     1024, 0x9a50fc54
+0,        533,        533,       66,      216, 0x62fe5cf9, F=0x0
+1,        546,        546,       46,     1024, 0xc5ef006e
+1,        593,        593,       46,     1024, 0x53430734
+0,        600,        600,       66,      164, 0x52564b48, F=0x0
+1,        639,        639,       46,     1024, 0xaaaff2dc
+0,        667,        667,       66,      244, 0x25e16dfb, F=0x0
+1,        686,        686,       46,     1024, 0xe29a01d2
+1,        732,        732,       46,     1024, 0x4deb0411
+0,        733,        733,       66,      156, 0x6abe49bf, F=0x0
+1,        779,        779,       46,     1024, 0x4f5dfd8d
+0,        800,        800,       66,      152, 0x47f84373, F=0x0
+1,        825,        825,       46,     1024, 0x4dc5fdf1
+0,        867,        867,       66,      144, 0xe0c64013, F=0x0
+1,        872,        872,       46,     1024, 0x7e0dff54
+1,        918,        918,       46,     1024, 0xde9cff3e
+0,        933,        933,       66,      280, 0xa3b57919, F=0x0
+1,        964,        964,       35,      785, 0xfdb78def
+0,       1000,       1000,       66,     3312, 0x45ee5b17
+1,       1000,       1000,       46,     1024, 0x5224f542
+1,       1046,       1046,       46,     1024, 0x6e61f9bc
+0,       1067,       1067,       66,      324, 0x07cd8cd2, F=0x0
+1,       1093,       1093,       46,     1024, 0x5727115f
+0,       1133,       1133,       66,      364, 0x101d9883, F=0x0
+1,       1139,       1139,       46,     1024, 0x1b70eccb
+1,       1186,       1186,       46,     1024, 0x717f0778
+0,       1200,       1200,       66,      440, 0x4628b544, F=0x0
+1,       1232,       1232,       46,     1024, 0xf1870091
+0,       1267,       1267,       66,     7020, 0x0a137edf
+1,       1279,       1279,       46,     1024, 0xca1df3a7
+1,       1325,       1325,       46,     1024, 0x5a921497
+0,       1333,       1333,       66,     5768, 0xc019d7b8, F=0x0
+1,       1372,       1372,       46,     1024, 0x0655e7bf
+0,       1400,       1400,       66,     4820, 0xcc946718, F=0x0
+1,       1418,       1418,       46,     1024, 0x2a8a141c
+1,       1464,       1464,       35,      785, 0xbd3a81a5
+0,       1467,       1467,       66,     6112, 0xbaf23f70, F=0x0
+1,       1500,       1500,       46,     1024, 0x54b5fc77
+0,       1533,       1533,       66,     6112, 0xc79655d0, F=0x0
+1,       1546,       1546,       46,     1024, 0x8febfbc1
+1,       1593,       1593,       46,     1024, 0x8ef8f1c1
+0,       1600,       1600,       66,     5112, 0x1d8fe26b, F=0x0
+1,       1639,       1639,       46,     1024, 0x565817aa
+0,       1667,       1667,       66,     5872, 0x162eed4d, F=0x0
+1,       1686,       1686,       46,     1024, 0xfdd7ef74
+1,       1732,       1732,       46,     1024, 0x69080694
+0,       1733,       1733,       66,     5092, 0x6ce7e2aa, F=0x0
+1,       1779,       1779,       46,     1024, 0xe4a105c3
+0,       1800,       1800,       66,     5648, 0xfa739b01, F=0x0
+1,       1825,       1825,       46,     1024, 0x1397f5e1
+0,       1867,       1867,       66,     5516, 0x8a778b2b, F=0x0
+1,       1872,       1872,       46,     1024, 0xb298fc7a
+1,       1918,       1918,       46,     1024, 0x2869030a
+0,       1933,       1933,       66,     5088, 0xdd60e51e, F=0x0
+1,       1964,       1964,       35,      785, 0xf6a49164
+0,       2000,       2000,       66,     5808, 0x14b6e8b3, F=0x0
+1,       2000,       2000,       46,     1024, 0x668ce4db
+1,       2046,       2046,       46,     1024, 0x08c71cd7
+0,       2067,       2067,       66,     4512, 0x9efdf756, F=0x0
+1,       2093,       2093,       46,     1024, 0xc682e3f3
+0,       2133,       2133,       66,     5404, 0x50ce47a2, F=0x0
+1,       2139,       2139,       46,     1024, 0x98bc11c5
+1,       2186,       2186,       46,     1024, 0x4a6ef47d
+0,       2200,       2200,       66,     5732, 0x7b46abbf, F=0x0
+1,       2232,       2232,       46,     1024, 0xa6660535
+0,       2267,       2267,       66,     6936, 0x325421f1
+1,       2279,       2279,       46,     1024, 0xa1d1fd9d
+1,       2325,       2325,       46,     1024, 0xf012fbf3
+0,       2333,       2333,       66,     5780, 0x8eb1d896, F=0x0
+1,       2372,       2372,       46,     1024, 0xacc00616
+0,       2400,       2400,       66,     2280, 0x3a778e69
+1,       2418,       2418,       46,     1024, 0xc8660aac
+1,       2464,       2464,       35,      785, 0xe9416835
+0,       2467,       2467,       66,     1220, 0x676b10f0, F=0x0
+1,       2500,       2500,       46,     1024, 0xe31622b5
+0,       2533,       2533,       66,     1584, 0x668b6e9e, F=0x0
+1,       2546,       2546,       46,     1024, 0xc53ee0b8
+1,       2593,       2593,       46,     1024, 0xf26d1102
+0,       2600,       2600,       66,     1084, 0xbdf4ca3d, F=0x0
+1,       2639,       2639,       46,     1024, 0xd2fffa3d
+0,       2667,       2667,       66,     1612, 0xd9f3817a, F=0x0
+1,       2686,       2686,       46,     1024, 0x584f0189
+1,       2732,       2732,       46,     1024, 0xb765fce5
+0,       2733,       2733,       66,     1696, 0x91ceac8b, F=0x0
+1,       2779,       2779,       46,     1024, 0x570dfe8b
+0,       2800,       2800,       66,     1532, 0x0b2a7bf1, F=0x0
+1,       2825,       2825,       46,     1024, 0x2aa7ff16
+0,       2867,       2867,       66,     2072, 0x3daf2859, F=0x0
+1,       2872,       2872,       46,     1024, 0x5174fe72
+1,       2918,       2918,       46,     1024, 0x21b302d0
+0,       2933,       2933,       66,     1568, 0xbd4d7e64, F=0x0
+1,       2964,       2964,       35,      785, 0x88b67dcd