@ -10,41 +10,19 @@ tests/data/ffprobe-test.nut: ffmpeg$(PROGSSUF)$(EXESUF) tests/test_copy.ffmeta |
FFPROBE_TEST_FILE = tests/data/ffprobe-test.nut
FFPROBE_TEST_FILE = tests/data/ffprobe-test.nut
FFPROBE_COMMAND = ffprobe$( PROGSSUF) $( EXESUF) -show_streams -show_packets -show_format -show_frames -bitexact $( TARGET_PATH) /$( FFPROBE_TEST_FILE) -print_filename $( FFPROBE_TEST_FILE)
FFPROBE_COMMAND = ffprobe$( PROGSSUF) $( EXESUF) -show_streams -show_packets -show_format -show_frames -bitexact $( TARGET_PATH) /$( FFPROBE_TEST_FILE) -print_filename $( FFPROBE_TEST_FILE)
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ c o m p a c t
FFPROBE_OUTPUT_MODES_TESTS = $( addprefix fate-ffprobe_, compact csv default flat ini json xml)
fate-ffprobe_compact : $( FFPROBE_TEST_FILE )
$(FFPROBE_OUTPUT_MODES_TESTS) : $( FFPROBE_TEST_FILE )
fate-ffprobe_compact : CMD = run $( FFPROBE_COMMAND ) -of compact
$(FFPROBE_OUTPUT_MODES_TESTS) : CMD = run $( FFPROBE_COMMAND ) -of $( @:fate -ffprobe_ %=%)
FFPROBE_TEST_FILE_TESTS-yes += $( FFPROBE_OUTPUT_MODES_TESTS)
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ c s v
FFPROBE_TEST_FILE_TESTS-$(HAVE_XMLLINT) += fate-ffprobe_xsd
fate-ffprobe_csv : $( FFPROBE_TEST_FILE )
fate-ffprobe_csv : CMD = run $( FFPROBE_COMMAND ) -of csv
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ d e f a u l t
fate-ffprobe_default : $( FFPROBE_TEST_FILE )
fate-ffprobe_default : CMD = run $( FFPROBE_COMMAND ) -of default
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ f l a t
fate-ffprobe_flat : $( FFPROBE_TEST_FILE )
fate-ffprobe_flat : CMD = run $( FFPROBE_COMMAND ) -of flat
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ i n i
fate-ffprobe_ini : $( FFPROBE_TEST_FILE )
fate-ffprobe_ini : CMD = run $( FFPROBE_COMMAND ) -of ini
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ j s o n
fate-ffprobe_json : $( FFPROBE_TEST_FILE )
fate-ffprobe_json : CMD = run $( FFPROBE_COMMAND ) -of json
F A T E _ F F P R O B E - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ x m l
fate-ffprobe_xml : $( FFPROBE_TEST_FILE )
fate-ffprobe_xml : CMD = run $( FFPROBE_COMMAND ) -of xml
F A T E _ F F P R O B E _ S C H E M A - $( call ALLYES , AVDEVICE ARESAMPLE_FILTER ) + = f a t e - f f p r o b e _ x s d
fate-ffprobe_xsd : $( FFPROBE_TEST_FILE )
fate-ffprobe_xsd : $( FFPROBE_TEST_FILE )
fate-ffprobe_xsd : CMD = run $( FFPROBE_COMMAND ) -noprivate -of xml =q =1:x =1 | \
fate-ffprobe_xsd : CMD = run $( FFPROBE_COMMAND ) -noprivate -of xml =q =1:x =1 | \
xmllint --schema $( SRC_PATH) /doc/ffprobe.xsd -
xmllint --schema $( SRC_PATH) /doc/ffprobe.xsd -
FATE_FFPROBE-$(HAVE_XMLLINT) += $( FATE_FFPROBE_SCHEMA-yes)
F A T E _ F F P R O B E - $( call FILTERDEMDECENCMUX , AEVALSRC TESTSRC ARESAMPLE , FFMETADATA , WRAPPED_AVFRAME , RAWVIDEO , NUT , \
FATE_FFPROBE += $( FATE_FFPROBE-yes)
FFMPEG LAVFI_INDEV PCM_F64BE_DECODER PCM_F64LE_DECODER PCM_S16LE_ENCODER) \
+= $( FFPROBE_TEST_FILE_TESTS-yes)
fate-ffprobe : $( FATE_FFPROBE )
fate-ffprobe : $( FATE_FFPROBE -yes )