fate/matroska: Add test for ProRes and bz2 compression

This test tests that demuxing ProRes that is muxed like it should be in
Matroska (i.e. with the first header ("icpf") atom stripped away) works;
it also tests bz2 decompression as well as the handling of
unknown-length clusters.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2019-12-28 03:40:32 +01:00 committed by James Almer
parent eb17a7906b
commit 6c735b96ee
2 changed files with 21 additions and 0 deletions

View File

@ -1,6 +1,11 @@
FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER ZLIB) += fate-matroska-prores-zlib
fate-matroska-prores-zlib: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/prores_zlib.mkv -c:v copy
# This tests that the matroska demuxer correctly adds the icpf header atom
# upon demuxing; it also tests bz2 decompression and unknown-length cluster.
FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER BZLIB) += fate-matroska-prores-header-insertion-bz2
fate-matroska-prores-header-insertion-bz2: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/prores_bz2.mkv -map 0 -c copy
# This tests that the matroska demuxer supports modifying the colorspace
# properties in remuxing (-c:v copy)
# It also tests automatic insertion of the vp9_superframe bitstream filter

View File

@ -0,0 +1,16 @@
#extradata 0: 4, 0x0402019c
#extradata 1: 4, 0x0402019c
#tb 0: 1/1000
#media_type 0: video
#codec_id 0: prores
#dimensions 0: 720x480
#sar 0: 186/157
#tb 1: 1/1000
#media_type 1: video
#codec_id 1: prores
#dimensions 1: 720x480
#sar 1: 186/157
0, 0, 0, 0, 4304, 0x3625b1fc
1, 0, 0, 0, 4304, 0x3625b1fc
0, 42, 42, 0, 4304, 0x3625b1fc
1, 42, 42, 0, 4304, 0x3625b1fc