Browse Source

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@niedermayer.cc>
tags/n3.1
Michael Niedermayer 9 years ago
parent
commit
fe3de6bc62
2 changed files with 20 additions and 0 deletions
  1. +3
    -0
      tests/fate/mpeg4.mak
  2. +17
    -0
      tests/ref/fate/mpeg4-packed

+ 3
- 0
tests/fate/mpeg4.mak View File

@@ -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


+ 17
- 0
tests/ref/fate/mpeg4-packed View File

@@ -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

Loading…
Cancel
Save