summaryrefslogtreecommitdiff
path: root/tests/fate/matroska.mak
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-01 06:48:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-15 21:58:00 +0100
commitc1f81c13a1f7edb76313f00221ed0dddc760051e (patch)
treecbe2007afdc9d533ea8fcd1eb3e949ab2932deba /tests/fate/matroska.mak
parentb0d8310f76662201ff96c39d80c25bb8e571e42c (diff)
fate/matroska: Add test for remuxing file with spherical metadata
Also, test modifying colorspace properties and the default_mode passthrough which is used here to create a file that has no default track at all. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/fate/matroska.mak')
-rw-r--r--tests/fate/matroska.mak8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index 30e38d3094..2ce08f6c77 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -67,6 +67,14 @@ FATE_MATROSKA_FFMPEG_FFPROBE-$(call DEMMUX, MATROSKA, MATROSKA) \
+= fate-matroska-zero-length-block
fate-matroska-zero-length-block: CMD = transcode matroska $(TARGET_SAMPLES)/mkv/zero_length_block.mks matroska "-c:s copy -dash 1 -dash_track_number 2000000000 -reserve_index_space 62 -metadata_header_padding 1" "-c:s copy" "" "-show_entries stream_tags=description"
+# This test the following features of the Matroska muxer: Writing projection
+# stream side-data; not setting any track to default if the user requested it;
+# and modifying and writing colorspace properties.
+FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER MATROSKA_MUXER \
+ H264_DECODER H264_PARSER) \
+ += fate-matroska-spherical-mono-remux
+fate-matroska-spherical-mono-remux: CMD = transcode matroska $(TARGET_SAMPLES)/mkv/spherical.mkv matroska "-map 0 -map 0 -c copy -disposition:0 -default+forced -disposition:1 -default -default_mode passthrough -color_primaries:1 bt709 -color_trc:1 smpte170m -colorspace:1 bt2020c -color_range:1 pc" "-map 0 -c copy -t 0" "" "-show_entries stream_side_data_list:stream_disposition=default,forced:stream=color_range,color_space,color_primaries,color_transfer"
+
FATE_MATROSKA_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER) += fate-matroska-spherical-mono
fate-matroska-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mkv/spherical.mkv