aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetru Rares Sincraian <psincraian@outlook.com>2016-04-19 17:39:47 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-04-20 00:02:30 +0200
commit0b32aff83d87b3a7ddaa59e6dff347b267da99ef (patch)
tree7668d9a604db4d30deac993cca1c35322bb9100a
parente344646c808c4f2d0e9db32c5c1cbedb5871f171 (diff)
downloadffmpeg-0b32aff83d87b3a7ddaa59e6dff347b267da99ef.tar.gz
fate: Add test for mts2 (mss4) codec
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tests/fate/microsoft.mak6
-rw-r--r--tests/ref/fate/mts2-xesc22
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak
index e72d408949..861eb15a8e 100644
--- a/tests/fate/microsoft.mak
+++ b/tests/fate/microsoft.mak
@@ -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
index 0000000000..6d407413fb
--- /dev/null
+++ b/tests/ref/fate/mts2-xesc
@@ -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