[FFmpeg-devel] [PATCH 12/12] avfilter/ffmpeg_filter: rate control all filter graphs

Michael Niedermayer michael at niedermayer.cc
Wed Jun 25 21:23:11 EEST 2025


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 <cus at passwd.hu>
> ---
>  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

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250625/31539a4a/attachment.sig>


More information about the ffmpeg-devel mailing list