[FFmpeg-devel] [PATCH] fate: add VP4 test
Peter Ross
pross at xvid.org
Thu May 16 14:39:12 EEST 2019
---
i have tested ths on intel and arm architectures.
the test file is 600kbytes, attached.
tests/fate/vpx.mak | 3 +++
tests/ref/fate/vp4 | 29 +++++++++++++++++++++++++++++
2 files changed, 32 insertions(+)
create mode 100644 tests/ref/fate/vp4
diff --git a/tests/fate/vpx.mak b/tests/fate/vpx.mak
index 0be5aa2aaa..3b3da18feb 100644
--- a/tests/fate/vpx.mak
+++ b/tests/fate/vpx.mak
@@ -34,6 +34,9 @@ fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
fate-vp3: $(FATE_VP3-yes)
+FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP4) += fate-vp4
+fate-vp4: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp4/KTkvw8dg1J8.avi
+
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
diff --git a/tests/ref/fate/vp4 b/tests/ref/fate/vp4
new file mode 100644
index 0000000000..dae848eab7
--- /dev/null
+++ b/tests/ref/fate/vp4
@@ -0,0 +1,29 @@
+#tb 0: 1/24
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 608x256
+#sar 0: 0/1
+0, 0, 0, 1, 233472, 0xcf3a25ae
+0, 1, 1, 1, 233472, 0xcc16c0bb
+0, 2, 2, 1, 233472, 0xb2dcf0fd
+0, 3, 3, 1, 233472, 0xbc0f0aea
+0, 4, 4, 1, 233472, 0x97a1b4e9
+0, 5, 5, 1, 233472, 0x40d1661e
+0, 6, 6, 1, 233472, 0x2bc13fe4
+0, 7, 7, 1, 233472, 0xe9ff96b4
+0, 8, 8, 1, 233472, 0xd57585ad
+0, 9, 9, 1, 233472, 0xcf1a0cbe
+0, 10, 10, 1, 233472, 0x4b49d6e0
+0, 11, 11, 1, 233472, 0x9e2562f1
+0, 12, 12, 1, 233472, 0x62675663
+0, 13, 13, 1, 233472, 0x8b27fc45
+0, 14, 14, 1, 233472, 0x437eb1f7
+0, 15, 15, 1, 233472, 0x1be26067
+0, 16, 16, 1, 233472, 0x479f32fb
+0, 17, 17, 1, 233472, 0x405bdeb0
+0, 18, 18, 1, 233472, 0x966b3045
+0, 19, 19, 1, 233472, 0x4630a436
+0, 20, 20, 1, 233472, 0x70141070
+0, 21, 21, 1, 233472, 0x50a66c51
+0, 22, 22, 1, 233472, 0x266e9b5a
+0, 23, 23, 1, 233472, 0xbbde5029
--
2.20.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KTkvw8dg1J8.avi
Type: video/x-msvideo
Size: 618126 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190516/e4fb0ab4/attachment.avi>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190516/e4fb0ab4/attachment.sig>
More information about the ffmpeg-devel
mailing list