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 C513B4FC1E for ; Thu, 3 Jul 2025 19:27:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 018F468F0E3; Thu, 3 Jul 2025 22:27:27 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 484BC68ED46 for ; Thu, 3 Jul 2025 22:27:20 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id DC953E1685 for ; Thu, 3 Jul 2025 21:24:39 +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 rnxNJPV0EomC for ; Thu, 3 Jul 2025 21:24:36 +0200 (CEST) Received: from iq (iq [217.27.212.140]) by iq.passwd.hu (Postfix) with ESMTPS id C4A76E1433 for ; Thu, 3 Jul 2025 21:24:36 +0200 (CEST) Date: Thu, 3 Jul 2025 21:24:36 +0200 (CEST) From: Marton Balint To: FFmpeg development discussions and patches In-Reply-To: <9e026df0-2732-bb53-101b-d781036c4539@passwd.hu> Message-ID: <122bf979-2f41-e074-49cb-aa10267af629@passwd.hu> References: <20250624192318.7430-1-cus@passwd.hu> <20250624192318.7430-12-cus@passwd.hu> <20250625182311.GZ29660@pb2> <9e026df0-2732-bb53-101b-d781036c4539@passwd.hu> 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 Thu, 26 Jun 2025, Marton Balint wrote: > > > 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... Will apply the series except this last patch.... 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".