[FFmpeg-devel] [PATCH] fate: add matroska-remux test.

Ronald S. Bultje rsbultje at gmail.com
Fri May 6 15:27:20 CEST 2016


This tests automatic insertion of the vp9_superframe BSF as well as
ensuring that the colorspace properties in the video header can be
modified when remuxing (-c:v copy).
---
 tests/Makefile          | 1 +
 tests/fate/matroska.mak | 9 +++++++++
 2 files changed, 10 insertions(+)
 create mode 100644 tests/fate/matroska.mak

diff --git a/tests/Makefile b/tests/Makefile
index 6fef0cd..5c5cfee 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -142,6 +142,7 @@ include $(SRC_PATH)/tests/fate/libavutil.mak
 include $(SRC_PATH)/tests/fate/libswresample.mak
 include $(SRC_PATH)/tests/fate/lossless-audio.mak
 include $(SRC_PATH)/tests/fate/lossless-video.mak
+include $(SRC_PATH)/tests/fate/matroska.mak
 include $(SRC_PATH)/tests/fate/microsoft.mak
 include $(SRC_PATH)/tests/fate/monkeysaudio.mak
 include $(SRC_PATH)/tests/fate/mp3.mak
diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
new file mode 100644
index 0000000..7c69d9f
--- /dev/null
+++ b/tests/fate/matroska.mak
@@ -0,0 +1,9 @@
+# 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
+FATE_MATROSKA-$(call DEMMUX, MATROSKA, MATROSKA) += fate-matroska-remux
+fate-matroska-remux: CMD = md5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-2pass-akiyo.webm -color_trc 4 -c:v copy -fflags +bitexact -strict -2 -f matroska
+fate-matroska-remux: CMP = oneline
+fate-matroska-remux: REF = 2765be5eff4fde7332278a81a7d4e13c
+
+FATE_SAMPLES_AVCONV += $(FATE_MATROSKA-yes)
-- 
2.8.1



More information about the ffmpeg-devel mailing list