#11604(ffmpeg:new): Infinite loop filter does not shutdown gracefully on SIGTERM
#11604: Infinite loop filter does not shutdown gracefully on SIGTERM --------------------------------+---------------------------------- Reporter: r3d | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: 7.1 Keywords: loop | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------- Summary of the bug: When using the video loop filter with loop=-1 and then trying to terminate the ffmpeg process by sending a SIGTERM, the process does not terminate in a reasonable amount of time and needs to be killed. How to reproduce: {{{ % ffmpeg -hwaccel auto -nostdin -i path/to/MPEG-2/video/file.m2v -filter_complex "[0]scale=height=1080:width=1920[s0];[s0]loop=loop=-1:size=200:start=25[s1]" -map "[s1]" -f rawvideo -fps_mode passthrough -loglevel error -pix_fmt rgb24 -report pipe: ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 14 (SUSE Linux) configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' --optflags='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --enable-version3 --enable-libsmbclient --disable-openssl --enable-gnutls --enable-ladspa --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libdc1394 --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable- libfribidi --enable-libgsm --enable-libjack -- libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100 }}} Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11604> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11604: Infinite loop filter does not shutdown gracefully on SIGTERM --------------------------------+---------------------------------- Reporter: r3d | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 7.1 | Resolution: Keywords: loop | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------- Changes (by r3d): * Attachment "ffmpeg-20250523-100125.log" added. ffmpeg output log produced with "-report" -- Ticket URL: <https://trac.ffmpeg.org/ticket/11604> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11604: Infinite loop filter does not shutdown gracefully on SIGTERM --------------------------------+---------------------------------- Reporter: r3d | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: 7.1 | Resolution: Keywords: loop | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+---------------------------------- Comment (by pjw91): bug introduced in commit: https://github.com/FFmpeg/FFmpeg/commit/d119ae2fd82a494d9430ff4d4fc262961a68... -- Ticket URL: <https://trac.ffmpeg.org/ticket/11604#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg