[FFmpeg-trac] #9147(undetermined:new): ffmpeg gets into infinite loop with some audio chain

FFmpeg trac at avcodec.org
Wed Mar 10 22:18:52 EET 2021


#9147: ffmpeg gets into infinite loop with some audio chain
-------------------------------------+-------------------------------------
             Reporter:  bakaiadam    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 If you have a short audio and try to get only the non silent parts then
 amplify the non silent part, it just hangs. If the duration is 1.5 seconds
 for example, it works just fine.
 How to reproduce:
 {{{
 % ffmpeg -f lavfi -i "sine=frequency=1000:duration=0.5" -y test.wav ;
 ffmpeg -i test.wav  -af
 'silenceremove=stop_periods=-1:stop_duration=0.5:stop_threshold=-70dB,loudnorm,dynaudnorm=g=3:f=200'
 -y b.flac
 ffmpeg version N-56320-ge937457b7b-static
 https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg
 developers
   built with gcc 8 (Debian 8.3.0-6)
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp
 --enable-libgme --enable-gray --enable-libaom --enable-libfribidi
 --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt
 --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid
 --enable-libzvbi --enable-libzimg

 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9147>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list