[FFmpeg-user] Audio filter: removesilence doesn't appear to do anything

Paul B Mahol onemda at gmail.com
Mon Sep 25 10:01:20 EEST 2017


On 9/25/17, Quinn Wood <mtcjayne at gmail.com> wrote:
> I have used the following command
>     ffmpeg -i input.m4a -af silenceremove=0:0:0:-1:0.5:-20dB output.m4a
>

Try to set peak detection instead of rms.

> on a file. When I use another tool (Audacity) to truncate periods over
> 0.5 seconds of under -20dB volume it removes upwards of an hour from
> the input file. When I run this command ffmpeg doesn't remove a single
> second. I have tried numerous variations of the command and numerous
> input files, and am simply unable to replicate the effect Audacity is
> producing.
>
> The input files have a period of silence at the beginning that is
> predictable, intermittent periods of silence throughout the file of
> unknown quantity and length, and a period of silence at the end that
> is predictable.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list