From: Marton Balint <cus@passwd.hu> To: ffmpeg-devel@ffmpeg.org Cc: Marton Balint <cus@passwd.hu> Subject: [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 in wav Date: Sun, 11 May 2025 21:01:46 +0200 Message-ID: <20250511190151.29248-1-cus@passwd.hu> (raw) Signed-off-by: Marton Balint <cus@passwd.hu> --- tests/fate-run.sh | 4 ++++ tests/fate/probe.mak | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 45dcb6e8dc..5d904ab8bf 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -98,6 +98,10 @@ probefmt(){ run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@" } +probecodec(){ + run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name -print_format default=nw=1:nk=1 "$@" +} + probeaudiostream(){ run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@" } diff --git a/tests/fate/probe.mak b/tests/fate/probe.mak index 4be9356f5f..6faafb7e37 100644 --- a/tests/fate/probe.mak +++ b/tests/fate/probe.mak @@ -10,6 +10,9 @@ fate-probe-format-roundup1414: REF = mpeg FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015 fate-probe-format-roundup2015: REF = dv +FATE_PROBE_FORMAT-$(CONFIG_WAV_DEMUXER) += fate-probe-format-codec-trac11581 +fate-probe-format-codec-trac11581: REF = pcm_s16le + FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes) FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT) @@ -18,3 +21,4 @@ fate-probe-format: $(FATE_PROBE_FORMAT) $(FATE_PROBE_FORMAT): ffprobe$(PROGSSUF)$(EXESUF) $(FATE_PROBE_FORMAT): CMP = oneline fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%) +fate-probe-format-codec-%: CMD = probecodec $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%) -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2025-05-11 19:02 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-05-11 19:01 Marton Balint [this message] 2025-05-11 19:01 ` [FFmpeg-devel] [PATCH 2/2] tests/fate/probe: add test for dts " Marton Balint 2025-05-15 21:29 ` [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 " Marton Balint
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20250511190151.29248-1-cus@passwd.hu \ --to=cus@passwd.hu \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git