Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Marton Balint <cus@passwd.hu>
To: ffmpeg-devel@ffmpeg.org
Cc: Marton Balint <cus@passwd.hu>
Subject: [FFmpeg-devel] [PATCH 04/12] fate/filter-video: add ffprobe test for dual output select filter
Date: Tue, 24 Jun 2025 21:23:02 +0200
Message-ID: <20250624192318.7430-4-cus@passwd.hu> (raw)
In-Reply-To: <20250624192318.7430-1-cus@passwd.hu>

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 tests/fate-run.sh                    |  4 ++++
 tests/fate/filter-video.mak          |  3 +++
 tests/ref/fate/filter-select-ffprobe | 25 +++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 tests/ref/fate/filter-select-ffprobe

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index ff44c45757..efc8b3bc6a 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -123,6 +123,10 @@ probechapters(){
     run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_chapters "$@"
 }
 
+probe(){
+    run ffprobe${PROGSUF}${EXECSUF} -bitexact "$@"
+}
+
 probegaplessinfo(){
     filename="$1"
     shift
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index df8a932750..33127387e5 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -325,6 +325,9 @@ FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternat
 fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
 fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TARGET_PATH)/tests/data/filtergraphs/select-alternate
 
+FATE_FILTER-$(call ALLYES, FFPROBE SELECT_FILTER SMPTEBARS_FILTER LAVFI_INDEV) += fate-filter-select-ffprobe
+fate-filter-select-ffprobe: CMD = probe -print_format compact -show_entries packet=stream_index,pts,pts_time -f lavfi "smptebars=d=1,select=n=2:e=1[out0][out1]"
+
 FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SETPTS_FILTER  SETTB_FILTER) += fate-filter-setpts
 fate-filter-setpts: tests/data/filtergraphs/setpts
 fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TARGET_PATH)/tests/data/filtergraphs/setpts
diff --git a/tests/ref/fate/filter-select-ffprobe b/tests/ref/fate/filter-select-ffprobe
new file mode 100644
index 0000000000..48ebf9b156
--- /dev/null
+++ b/tests/ref/fate/filter-select-ffprobe
@@ -0,0 +1,25 @@
+packet|stream_index=0|pts=0|pts_time=0.000000
+packet|stream_index=0|pts=1|pts_time=0.040000
+packet|stream_index=0|pts=2|pts_time=0.080000
+packet|stream_index=0|pts=3|pts_time=0.120000
+packet|stream_index=0|pts=4|pts_time=0.160000
+packet|stream_index=0|pts=5|pts_time=0.200000
+packet|stream_index=0|pts=6|pts_time=0.240000
+packet|stream_index=0|pts=7|pts_time=0.280000
+packet|stream_index=0|pts=8|pts_time=0.320000
+packet|stream_index=0|pts=9|pts_time=0.360000
+packet|stream_index=0|pts=10|pts_time=0.400000
+packet|stream_index=0|pts=11|pts_time=0.440000
+packet|stream_index=0|pts=12|pts_time=0.480000
+packet|stream_index=0|pts=13|pts_time=0.520000
+packet|stream_index=0|pts=14|pts_time=0.560000
+packet|stream_index=0|pts=15|pts_time=0.600000
+packet|stream_index=0|pts=16|pts_time=0.640000
+packet|stream_index=0|pts=17|pts_time=0.680000
+packet|stream_index=0|pts=18|pts_time=0.720000
+packet|stream_index=0|pts=19|pts_time=0.760000
+packet|stream_index=0|pts=20|pts_time=0.800000
+packet|stream_index=0|pts=21|pts_time=0.840000
+packet|stream_index=0|pts=22|pts_time=0.880000
+packet|stream_index=0|pts=23|pts_time=0.920000
+packet|stream_index=0|pts=24|pts_time=0.960000
-- 
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".

  parent reply	other threads:[~2025-06-24 19:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 19:22 [FFmpeg-devel] [PATCH 01/12] avfilter: factorize requesting an input frame from multi output filters Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 02/12] avfilter/filters: simplify FF_FILTER_FORWARD_WANTED_ANY Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 03/12] avfilter/avfilter: fix forwarding EOF for simple API filters in filter_activate_default Marton Balint
2025-06-24 19:23 ` Marton Balint [this message]
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 05/12] avfilter/avfilter: always forward request frame " Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 06/12] avfilter/avfilter: make filter_activate_default request frames on behalf of sinks Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 07/12] tests/fate/filter-audio: add anullsink test Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 08/12] avfilter: signal an empty buffersrc with an explicit activate error code Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 09/12] avfilter/buffersink: keep requesting frames if one activation of the graph does not provide one Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 10/12] avfilter/f_select: port to activate Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 11/12] fftools/ffmpeg_filter: always reap all available frames before requesting new ones Marton Balint
2025-06-24 19:23 ` [FFmpeg-devel] [PATCH 12/12] avfilter/ffmpeg_filter: rate control all filter graphs 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=20250624192318.7430-4-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