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 50C734E100 for ; Sun, 6 Jul 2025 22:01:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 4ABCA691322; Mon, 7 Jul 2025 01:00:46 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 8289A691318 for ; Mon, 7 Jul 2025 01:00:39 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id CF88DEAFB7; Sun, 6 Jul 2025 23:58:01 +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 PV6GupeRFCho; Sun, 6 Jul 2025 23:58:00 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id D7CB3EA94B; Sun, 6 Jul 2025 23:57:59 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Mon, 7 Jul 2025 00:00:04 +0200 Message-ID: <20250706220011.5799-4-cus@passwd.hu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250706220011.5799-1-cus@passwd.hu> References: <20250706220011.5799-1-cus@passwd.hu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 4/4] tests/fate: add fate test for excessive frame buffering when using filters 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: Based on the command line of ticket #10959. Signed-off-by: Marton Balint --- tests/fate/filter-video.mak | 4 ++++ tests/filtergraphs/select-buffering | 1 + tests/ref/fate/filter-select-buffering | 30 ++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 tests/filtergraphs/select-buffering create mode 100644 tests/ref/fate/filter-select-buffering diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 34cf7afa83..65d4cc6c14 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -328,6 +328,10 @@ fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TA 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-$(call FILTERFRAMECRC, SMPTEBARS SELECT, LAVFI_INDEV WRAPPED_AVFRAME_ENCODER NULL_MUXER) += fate-filter-select-buffering +fate-filter-select-buffering: tests/data/filtergraphs/select-buffering +fate-filter-select-buffering: CMD = framecrc -filter_buffered_frames 1 -f lavfi -i "smptebars=d=21" -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/select-buffering -map "[o1]" -f null none -map "[o2]" -f null none -map "[o3]" + 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/filtergraphs/select-buffering b/tests/filtergraphs/select-buffering new file mode 100644 index 0000000000..38b23db896 --- /dev/null +++ b/tests/filtergraphs/select-buffering @@ -0,0 +1 @@ +select=n=3:e='lt(t,10)+gte(t,10)*lt(t,20)*2+gte(t,20)*3'[o1][o2][o3] diff --git a/tests/ref/fate/filter-select-buffering b/tests/ref/fate/filter-select-buffering new file mode 100644 index 0000000000..b9834bf4da --- /dev/null +++ b/tests/ref/fate/filter-select-buffering @@ -0,0 +1,30 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 500, 500, 1, 115200, 0x87d91dc5 +0, 501, 501, 1, 115200, 0x87d91dc5 +0, 502, 502, 1, 115200, 0x87d91dc5 +0, 503, 503, 1, 115200, 0x87d91dc5 +0, 504, 504, 1, 115200, 0x87d91dc5 +0, 505, 505, 1, 115200, 0x87d91dc5 +0, 506, 506, 1, 115200, 0x87d91dc5 +0, 507, 507, 1, 115200, 0x87d91dc5 +0, 508, 508, 1, 115200, 0x87d91dc5 +0, 509, 509, 1, 115200, 0x87d91dc5 +0, 510, 510, 1, 115200, 0x87d91dc5 +0, 511, 511, 1, 115200, 0x87d91dc5 +0, 512, 512, 1, 115200, 0x87d91dc5 +0, 513, 513, 1, 115200, 0x87d91dc5 +0, 514, 514, 1, 115200, 0x87d91dc5 +0, 515, 515, 1, 115200, 0x87d91dc5 +0, 516, 516, 1, 115200, 0x87d91dc5 +0, 517, 517, 1, 115200, 0x87d91dc5 +0, 518, 518, 1, 115200, 0x87d91dc5 +0, 519, 519, 1, 115200, 0x87d91dc5 +0, 520, 520, 1, 115200, 0x87d91dc5 +0, 521, 521, 1, 115200, 0x87d91dc5 +0, 522, 522, 1, 115200, 0x87d91dc5 +0, 523, 523, 1, 115200, 0x87d91dc5 +0, 524, 524, 1, 115200, 0x87d91dc5 -- 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".