tests/fate: add mxf metadata streams test
authorMark Reid <mindmark@gmail.com>
Wed, 21 Sep 2016 20:42:09 +0000 (13:42 -0700)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Oct 2016 00:04:21 +0000 (02:04 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tests/fate/mxf.mak
tests/ref/fate/mxf-metadata-source-ref1 [new file with mode: 0644]
tests/ref/fate/mxf-metadata-source-ref2 [new file with mode: 0644]

index e95c0b5..124c250 100644 (file)
@@ -8,6 +8,12 @@ fate-mxf-essencegroup-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/opatom_esse
 FATE_MXF += fate-mxf-multiple-components-demux
 fate-mxf-multiple-components-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/multiple_components.mxf -vcodec copy
 
+FATE_MXF += fate-mxf-metadata-source-ref1
+fate-mxf-metadata-source-ref1: CMD = fmtstdout ffmetadata -i $(TARGET_SAMPLES)/mxf/track_01_v02.mxf -fflags +bitexact -flags +bitexact -map 0:0 -map 0:2 -map 0:3  -map_metadata:g -1
+
+FATE_MXF += fate-mxf-metadata-source-ref2
+fate-mxf-metadata-source-ref2: CMD = fmtstdout ffmetadata -i $(TARGET_SAMPLES)/mxf/track_02_a01.mxf -fflags +bitexact -flags +bitexact -map 0:0 -map 0:1 -map 0:3  -map_metadata:g -1
+
 FATE_MXF-$(CONFIG_MXF_DEMUXER) += $(FATE_MXF)
 
 FATE_SAMPLES_AVCONV += $(FATE_MXF-yes)
diff --git a/tests/ref/fate/mxf-metadata-source-ref1 b/tests/ref/fate/mxf-metadata-source-ref1
new file mode 100644 (file)
index 0000000..48e1e41
--- /dev/null
@@ -0,0 +1,13 @@
+;FFMETADATA1
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8302DB060E2B347F7F2A80
+track_name=Base
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8502DB060E2B347F7F2A80
+track_name=Left Channel
+data_type=audio
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8602DB060E2B347F7F2A80
+track_name=Right Channel
+data_type=audio
diff --git a/tests/ref/fate/mxf-metadata-source-ref2 b/tests/ref/fate/mxf-metadata-source-ref2
new file mode 100644 (file)
index 0000000..5cfa225
--- /dev/null
@@ -0,0 +1,13 @@
+;FFMETADATA1
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8302DB060E2B347F7F2A80
+track_name=Base
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8402DB060E2B347F7F2A80
+track_name=Titles
+data_type=video
+[STREAM]
+file_package_umid=0x060A2B340101010101010F001300000057E19D16BA8602DB060E2B347F7F2A80
+track_name=Right Channel
+data_type=audio