From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id AF9A44FA13 for ; Tue, 24 Jun 2025 19:24:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id C2E3E68D296; Tue, 24 Jun 2025 22:23:38 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 77CEB68D278 for ; Tue, 24 Jun 2025 22:23:35 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 7AA77E9F3E; Tue, 24 Jun 2025 21:20:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8nVbJ0vGTdzh; Tue, 24 Jun 2025 21:20:47 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id D23CBE9E73; Tue, 24 Jun 2025 21:20:46 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Tue, 24 Jun 2025 21:23:02 +0200 Message-ID: <20250624192318.7430-4-cus@passwd.hu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250624192318.7430-1-cus@passwd.hu> References: <20250624192318.7430-1-cus@passwd.hu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 04/12] fate/filter-video: add ffprobe test for dual output select filter X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marton Balint Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: Marton Balint --- 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".