[FFmpeg-devel] [PATCH 6/6] psmf: add FATE tests

Michael Niedermayer michael at niedermayer.cc
Sun Dec 31 22:44:29 EET 2017


On Sun, Dec 31, 2017 at 05:46:07PM +0800, misty at brew.sh wrote:
> From: Misty De Meo <mistydemeo at gmail.com>
> 
> ---
>  tests/Makefile      |  1 +
>  tests/fate/psmf.mak | 23 +++++++++++++++++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100644 tests/fate/psmf.mak
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index fd3713fe81..c569091fcb 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -165,6 +165,7 @@ include $(SRC_PATH)/tests/fate/pcm.mak
>  include $(SRC_PATH)/tests/fate/pixlet.mak
>  include $(SRC_PATH)/tests/fate/probe.mak
>  include $(SRC_PATH)/tests/fate/prores.mak
> +include $(SRC_PATH)/tests/fate/psmf.mak
>  include $(SRC_PATH)/tests/fate/qt.mak
>  include $(SRC_PATH)/tests/fate/qtrle.mak
>  include $(SRC_PATH)/tests/fate/real.mak
> diff --git a/tests/fate/psmf.mak b/tests/fate/psmf.mak
> new file mode 100644
> index 0000000000..0d83daad49
> --- /dev/null
> +++ b/tests/fate/psmf.mak
> @@ -0,0 +1,23 @@
> +#
> +# Test detecting ATRAC-3 audio in Sony MPEG files
> +#
> +
> +PROBE_CODEC_NAME_COMMAND = \
> +	ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name \
> +	-select_streams a -print_format default=noprint_wrappers=1 -bitexact -v 0
> +
> +FATE_PSMF_FFPROBE = fate-psmf-probe-00006 \
> +					fate-psmf-probe-EV01_01_0500D
> +
> +fate-psmf-probe-00006: SRC = $(TARGET_SAMPLES)/psmf/00006.MPS
> +fate-psmf-probe-00006: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)"
> +fate-psmf-probe-00006: CMP = oneline
> +fate-psmf-probe-00006: REF = codec_name=atrac3p
> +fate-psmf-probe-EV01_01_0500D: SRC = $(TARGET_SAMPLES)/psmf/EV01_01_0500D.PMF
> +fate-psmf-probe-EV01_01_0500D: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)"
> +fate-psmf-probe-EV01_01_0500D: CMP = oneline
> +fate-psmf-probe-EV01_01_0500D: REF = codec_name=atrac3p
> +
> +FATE_SAMPLES_FFPROBE += $(FATE_PSMF_FFPROBE)
> +
> +fate-psmf: $(FATE_PSMF_FFPROBE)

This breaks:
fate-mpegts-probe-latm

i guess the PROBE_CODEC_NAME_COMMAND is what is causing this

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"You are 36 times more likely to die in a bathtub than at the hands of a
terrorist. Also, you are 2.5 times more likely to become a president and
2 times more likely to become an astronaut, than to die in a terrorist
attack." -- Thoughty2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171231/972745ac/attachment.sig>


More information about the ffmpeg-devel mailing list