summaryrefslogtreecommitdiff
path: root/tests/fate/matroska.mak
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-03-31 20:25:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-01 10:45:28 +0200
commit0c7d02844cafda542771124c6b6fd4db6308ffbb (patch)
tree72b534a83215f2d9df7fabac79d73abbe62464c7 /tests/fate/matroska.mak
parent79ac8d55468adc9cb9a0908e671807a2a789b7d0 (diff)
tests/matroska: Add test for remuxing annex B H.264 into Matroska
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/fate/matroska.mak')
-rw-r--r--tests/fate/matroska.mak17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index f6d4bd1199..becca28e1a 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -90,6 +90,23 @@ FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL MXF_DEMUXER \
+= fate-matroska-mastering-display-metadata
fate-matroska-mastering-display-metadata: CMD = transcode mxf $(TARGET_SAMPLES)/mxf/Meridian-Apple_ProResProxy-HDR10.mxf matroska "-map 0 -map 0:0 -c:v:0 copy -c:v:1 ffv1 -c:a:0 copy -bsf:a:0 noise=amount=3 -filter:a:1 aresample -c:a:1 pcm_s16be -bsf:a:1 noise=dropamount=4" "-map 0 -c copy" "" "-show_entries stream_side_data_list:stream=index,codec_name"
+# This test tests remuxing annex B H.264 into Matroska. It also tests writing
+# the correct interlaced flags and overriding the sample aspect ratio, leading
+# to anamorphic video. Given that the input file has lots of filler material,
+# the h264_metadata filter is used to remove it as well as the H.264 AUD.
+# The video is decoded twice to show that this did not change the decoded
+# output. Furthermore, this also tests writing PCM with bitdepth 32.
+FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL MPEGTS_DEMUXER \
+ H264_PARSER MPEGAUDIO_PARSER \
+ EXTRACT_EXTRADATA_BSF MP2_DECODER \
+ H264_METADATA_BSF ARESAMPLE_FILTER \
+ RAWVIDEO_ENCODER PCM_S32LE_ENCODER \
+ PCM_S32BE_ENCODER MATROSKA_MUXER \
+ MATROSKA_DEMUXER H264_DECODER \
+ FRAMECRC_MUXER PIPE_PROTOCOL) \
+ += fate-matroska-h264-remux
+fate-matroska-h264-remux: CMD = transcode mpegts $(TARGET_SAMPLES)/h264/h264_intra_first-small.ts matroska "-map 0:0 -map 0 -c:v copy -sar:0 3:4 -bsf:v:1 h264_metadata=aud=remove:delete_filler=1 -disposition:v +hearing_impaired -af aresample -c:a:0 pcm_s32le -c:a:1 pcm_s32be -disposition:a:0 original -metadata:s:a:0 title=swedish_silence -metadata:s:a:1 title=norwegian_silence -disposition:a:1 dub" "-map 0:v" "" "-show_entries stream=index,codec_name:stream_tags=title,language"
+
# Tests writing BlockAdditional and BlockGroups with ReferenceBlock elements;
# it also tests setting a track as suitable for hearing impaired.
# It also tests the capability of the VP8 parser to set the keyframe flag