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

DopeLabs dopelabs at dubstep.fm
Mon Sep 25 09:59:20 EEST 2017

in your first output paste you have

 ffmpeg -i input.m4a -af silenceremove=1:5:-20dB output.m4a

looking at the man page the example says

Trim all silence encountered from beginning to end where there is more than 1 second of silence in audio:


so you might try swapping your values in place and running that against the audio file...


> On Sep 24, 2017, at 11:45 35PM, Quinn Wood <mtcjayne at gmail.com> wrote:
> I thought I'd extracted the video by simply using the m4a extension-
> that's not the way that works and I should have noticed that. I bet
> the audio has been truncated but the video remains the full length.
> Let me strip out the video and try it.
> On Mon, Sep 25, 2017 at 12:59 AM, 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
>> 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