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:

                   silenceremove=0:0:0:-1:1:-90dB



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

                   silenceremove=0:0:0:-1:0.5:-20dB



> On Sep 24, 2017, at 11:45 35PM, Quinn Wood <[email protected]> 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 <[email protected]> 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
> [email protected]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to