[FFmpeg-trac] #9889(avfilter:new): Silenceremove filter fails to stop trimming if audio does not start silent

FFmpeg trac at avcodec.org
Tue Aug 23 21:53:30 EEST 2022


#9889: Silenceremove filter fails to stop trimming if audio does not start silent
----------------------------------+--------------------------------------
             Reporter:  y3kcjd5   |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 How to reproduce:
 {{{
 ffmpeg -loglevel verbose -ss 0.001 -i dummysine.wav -filter:a
 "silenceremove=start_periods=1:start_threshold=-200dB:detection=peak:window=0"
 -map 0:a -c libmp3lame -q 0 "tryout.mp3"
 }}}
 FFmpeg reports no data encoded, and the resulting file contains no audio.
 Removing the -ss tag will cause expected behavior to be restored,
 presumably because sine waves start from 0 amplitude.
 Run on ffmpeg-2022-08-22-git-f23e3ce858-full_build from gyan.dev
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9889>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list