[FFmpeg-cvslog] fate: Add test that also decodes packed_bframes.avi

Michael Niedermayer git at videolan.org
Wed Mar 23 20:29:31 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Mar 23 19:24:43 2016 +0100| [fe3de6bc6222276b3bcbd7d56e2a92a0cae2082e] | committer: Michael Niedermayer

fate: Add test that also decodes packed_bframes.avi

No new reference samples are needed for this as the file already exists
for testing the bitstream filter

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe3de6bc6222276b3bcbd7d56e2a92a0cae2082e
---

 tests/fate/mpeg4.mak        |    3 +++
 tests/ref/fate/mpeg4-packed |   17 +++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/tests/fate/mpeg4.mak b/tests/fate/mpeg4.mak
index 9c83060..ed6a2fa 100644
--- a/tests/fate/mpeg4.mak
+++ b/tests/fate/mpeg4.mak
@@ -8,6 +8,9 @@ FATE_MPEG4-$(call DEMDEC, H263, H263) := $(addprefix fate-mpeg4-resolution-chang
 fate-mpeg4-bsf-unpack-bframes: CMD = md5 -i $(TARGET_SAMPLES)/mpeg4/packed_bframes.avi -flags +bitexact -fflags +bitexact -c:v copy -bsf mpeg4_unpack_bframes -f avi
 FATE_MPEG4-$(call ALLYES, AVI_DEMUXER MPEG4_UNPACK_BFRAMES_BSF AVI_MUXER) += fate-mpeg4-bsf-unpack-bframes
 
+fate-mpeg4-packed: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/packed_bframes.avi -flags +bitexact -fflags +bitexact -vsync 1
+FATE_MPEG4-$(call ALLYES, AVI_DEMUXER MPEG4_DECODER) += fate-mpeg4-packed
+
 FATE_MPEG4-$(call DEMDEC, M4V, MPEG4) += fate-m4v  fate-m4v-cfr
 fate-m4v:     CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/demo.m4v
 fate-m4v-cfr: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/demo.m4v -vf fps=5
diff --git a/tests/ref/fate/mpeg4-packed b/tests/ref/fate/mpeg4-packed
new file mode 100644
index 0000000..faf8f5d
--- /dev/null
+++ b/tests/ref/fate/mpeg4-packed
@@ -0,0 +1,17 @@
+#tb 0: 1001/30000
+0,          0,          0,        1,   287232, 0x17288ed1
+0,          1,          1,        1,   287232, 0x17288ed1
+0,          2,          2,        1,   287232, 0x232dfda4
+0,          3,          3,        1,   287232, 0x1e880ed6
+0,          4,          4,        1,   287232, 0x60197d73
+0,          5,          5,        1,   287232, 0xe27a4c05
+0,          6,          6,        1,   287232, 0xa588b659
+0,          7,          7,        1,   287232, 0xaa111895
+0,          8,          8,        1,   287232, 0x39ad64c0
+0,          9,          9,        1,   287232, 0x2a046b62
+0,         10,         10,        1,   287232, 0x733dea31
+0,         11,         11,        1,   287232, 0x06e38bfc
+0,         12,         12,        1,   287232, 0xcc1d2de4
+0,         13,         13,        1,   287232, 0x207a0a62
+0,         14,         14,        1,   287232, 0x9ee6289f
+0,         15,         15,        1,   287232, 0x60dedf92



More information about the ffmpeg-cvslog mailing list