Unified · Split
| @@ -98,6 +98,10 @@ probefmt(){ · 97 unmodified lines | |||
| 98 | run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@" | 98 | run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@" |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | probecodec(){ | ||
| 102 | run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name -print_format default=nw=1:nk=1 "$@" | ||
| 103 | } | ||
| 104 | |||
| 101 | probeaudiostream(){ | 105 | probeaudiostream(){ |
| 102 | run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@" | 106 | run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@" |
| 103 | } | 107 | } |
| @@ -10,6 +10,9 @@ fate-probe-format-roundup1414: REF = mpeg · 9 unmodified lines | |||
| 10 | FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015 | 10 | FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015 |
| 11 | fate-probe-format-roundup2015: REF = dv | 11 | fate-probe-format-roundup2015: REF = dv |
| 12 | 12 | ||
| 13 | FATE_PROBE_FORMAT-$(CONFIG_WAV_DEMUXER) += fate-probe-format-codec-trac11581 | ||
| 14 | fate-probe-format-codec-trac11581: REF = pcm_s16le | ||
| 15 | |||
| 13 | FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes) | 16 | FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes) |
| 14 | 17 | ||
| 15 | FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT) | 18 | FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT) |
| @@ -18,3 +21,4 @@ fate-probe-format: $(FATE_PROBE_FORMAT) · 2 unmodified lines | |||
| 18 | $(FATE_PROBE_FORMAT): ffprobe$(PROGSSUF)$(EXESUF) | 21 | $(FATE_PROBE_FORMAT): ffprobe$(PROGSSUF)$(EXESUF) |
| 19 | $(FATE_PROBE_FORMAT): CMP = oneline | 22 | $(FATE_PROBE_FORMAT): CMP = oneline |
| 20 | fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%) | 23 | fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%) |
| 24 | fate-probe-format-codec-%: CMD = probecodec $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%) | ||