2012-09-17 22:08:46 +03:00
|
|
|
FFPROBE_TEST_FILE=tests/data/ffprobe-test.nut
|
2019-12-02 11:16:25 +02:00
|
|
|
FFPROBE_COMMAND=ffprobe$(PROGSSUF)$(EXESUF) -show_streams -show_packets -show_format -show_frames -bitexact $(TARGET_PATH)/$(FFPROBE_TEST_FILE) -print_filename $(FFPROBE_TEST_FILE)
|
2012-09-17 22:08:46 +03:00
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_compact
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_compact: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_compact: CMD = run $(FFPROBE_COMMAND) -of compact
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_csv
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_csv: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_csv: CMD = run $(FFPROBE_COMMAND) -of csv
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_default
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_default: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_default: CMD = run $(FFPROBE_COMMAND) -of default
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_flat
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_flat: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_flat: CMD = run $(FFPROBE_COMMAND) -of flat
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_ini
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_ini: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_ini: CMD = run $(FFPROBE_COMMAND) -of ini
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_json
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_json: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_json: CMD = run $(FFPROBE_COMMAND) -of json
|
|
|
|
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_xml
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe_xml: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_xml: CMD = run $(FFPROBE_COMMAND) -of xml
|
|
|
|
|
2021-04-16 10:46:41 +02:00
|
|
|
FATE_FFPROBE_SCHEMA-$(CONFIG_AVDEVICE) += fate-ffprobe_xsd
|
|
|
|
fate-ffprobe_xsd: $(FFPROBE_TEST_FILE)
|
|
|
|
fate-ffprobe_xsd: CMD = run $(FFPROBE_COMMAND) -noprivate -of xml=q=1:x=1 | \
|
|
|
|
xmllint --schema $(SRC_PATH)/doc/ffprobe.xsd -
|
|
|
|
|
|
|
|
FATE_FFPROBE-$(HAVE_XMLLINT) += $(FATE_FFPROBE_SCHEMA-yes)
|
2015-07-22 19:25:26 +02:00
|
|
|
FATE_FFPROBE += $(FATE_FFPROBE-yes)
|
|
|
|
|
2012-09-17 22:08:46 +03:00
|
|
|
fate-ffprobe: $(FATE_FFPROBE)
|
|
|
|
|