]> git.sesse.net Git - ffmpeg/commitdiff
fate: Add test for mts2 (mss4) codec
authorPetru Rares Sincraian <psincraian@outlook.com>
Tue, 19 Apr 2016 15:39:47 +0000 (17:39 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 19 Apr 2016 22:02:30 +0000 (00:02 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/microsoft.mak
tests/ref/fate/mts2-xesc [new file with mode: 0644]

index e72d408949291338c00dd488fbccc392e4e2aa1f..861eb15a8ec0ffe376434d75e3e5e36c21ef6342 100644 (file)
@@ -25,6 +25,12 @@ fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -f
 FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MSS2) += $(FATE_MSS2)
 fate-mss2: $(FATE_MSS2)
 
+FATE_MTS2 += fate-mts2-xesc
+fate-mts2-xesc: CMD = framecrc -i $(TARGET_SAMPLES)/mts2/sample.xesc -pix_fmt yuv444p
+
+FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MTS2) += $(FATE_MTS2)
+fate-mts2: $(FATE_MTS2)
+
 FATE_MSVIDEO1 += fate-msvideo1-8bit
 fate-msvideo1-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/cram/skating.avi -t 1 -pix_fmt rgb24
 
diff --git a/tests/ref/fate/mts2-xesc b/tests/ref/fate/mts2-xesc
new file mode 100644 (file)
index 0000000..6d40741
--- /dev/null
@@ -0,0 +1,22 @@
+#tb 0: 12/185
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1368x768
+#sar 0: 0/1
+0,          0,          0,        1,  3151872, 0x90aa1943
+0,          3,          3,        1,  3151872, 0xbbe670de
+0,          4,          4,        1,  3151872, 0x818d8c1c
+0,          5,          5,        1,  3151872, 0xc2cf510d
+0,          6,          6,        1,  3151872, 0xff904cda
+0,          7,          7,        1,  3151872, 0xc843fce8
+0,          8,          8,        1,  3151872, 0xbfc24e6e
+0,          9,          9,        1,  3151872, 0x5eea45bc
+0,         10,         10,        1,  3151872, 0x86634b52
+0,         11,         11,        1,  3151872, 0x86634b52
+0,         12,         12,        1,  3151872, 0x86634b52
+0,         13,         13,        1,  3151872, 0x86634b52
+0,         14,         14,        1,  3151872, 0x86634b52
+0,         15,         15,        1,  3151872, 0x86634b52
+0,         16,         16,        1,  3151872, 0x86634b52
+0,         17,         17,        1,  3151872, 0xaf542632
+0,         18,         18,        1,  3151872, 0x8f16cdaf