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 A8EC24FB0E for ; Thu, 26 Jun 2025 19:24:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id B878F68E480; Thu, 26 Jun 2025 22:24:12 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 1DA9868E46B for ; Thu, 26 Jun 2025 22:24:05 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 54DE2E9E6F for ; Thu, 26 Jun 2025 21:21:19 +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 OXVNAc8-fyn8 for ; Thu, 26 Jun 2025 21:21:17 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id 0996DE9D6F for ; Thu, 26 Jun 2025 21:21:17 +0200 (CEST) Date: Thu, 26 Jun 2025 21:21:16 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <20250625182311.GZ29660@pb2> Message-ID: <9e026df0-2732-bb53-101b-d781036c4539@passwd.hu> References: <20250624192318.7430-1-cus@passwd.hu> <20250624192318.7430-12-cus@passwd.hu> <20250625182311.GZ29660@pb2> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 12/12] avfilter/ffmpeg_filter: rate control all filter graphs 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Wed, 25 Jun 2025, Michael Niedermayer wrote: > On Tue, Jun 24, 2025 at 09:23:10PM +0200, Marton Balint wrote: >> It was never reliable to detect if a filtergraph have sources, because a filter >> can act as a source only after some time, for example the loop filter. >> >> So it is better to remove the source detection entirely and always give the >> scheduler an oppurtunity to stop processing. >> >> Fixes ticket #11604. >> >> Signed-off-by: Marton Balint >> --- >> fftools/ffmpeg_filter.c | 25 ++++--------------------- >> 1 file changed, 4 insertions(+), 21 deletions(-) > > breaks: (infinite loop) > > ./ffmpeg -y -i tickets//507/avdesync_cut.avi -bitexact -af aresample=first_pts=-50000 -r 24000/1001 -t 145 out.avi > > sample seems attached to the ticket: https://trac.ffmpeg.org/ticket/507 Seems like an issue already present before the patch series if "sources" were used, because this hangs for me even without the patch series: ffmpeg -threads 16 -i avdesync_cut.avi -bitexact -af aresample=first_pts=100,apad=pad_len=1000 -f null none I have no better idea than to drop this patch until this is figured out, because this issue would become more common if all filters are going to be treated as sources... Regards, Marton _______________________________________________ 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".