1# 2# Test probing MPEGTS format and codecs 3# 4PROBE_CODEC_NAME_COMMAND = \ 5 ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name \ 6 -print_format default -bitexact -v 0 7 8FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, AAC_LATM) += fate-mpegts-probe-latm 9fate-mpegts-probe-latm: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts 10fate-mpegts-probe-latm: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)" 11 12 13FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, AAC_LATM) += fate-mpegts-probe-program 14fate-mpegts-probe-program: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts 15fate-mpegts-probe-program: CMD = run $(PROBE_CODEC_NAME_COMMAND) -select_streams p:769:v:0 -i "$(SRC)" 16 17 18FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS) += fate-mpegts-probe-pmt-merge 19fate-mpegts-probe-pmt-merge: SRC = $(TARGET_SAMPLES)/mpegts/pmtchange.ts 20fate-mpegts-probe-pmt-merge: CMD = run $(PROBE_CODEC_NAME_COMMAND) -merge_pmt_versions 1 -i "$(SRC)" 21 22 23FATE_SAMPLES_FFPROBE += $(FATE_MPEGTS_PROBE-yes) 24 25fate-mpegts: $(FATE_MPEGTS_PROBE-yes) 26