[FFmpeg-user] silenceremove use

Paul B Mahol onemda at gmail.com
Wed Feb 19 13:16:57 EET 2020


On 2/19/20, To ny <tonynederpel at hotmail.com> wrote:
> Hello, and thanks so much for your reply.
>
> I was actually only requesting help for the silenceremove arguments (or
> settings or
> however they're called) on the commandline.
>
> The -20 dB threshold will not be my final settings. It was just to make sure
> something is removed.
>
> I don't know if you only read my additions to the original question (be
> replying
> to my first original email) or did read my original mail. I tried a few
> variations
> of the silenceremove filter arguments but with unexpected results.

Silenceremove results are correct and your file(s) are broken.

>
> Kind regards,
>
> Tony
>
> ________________________________
> Van: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> namens Ted Park
> <kumowoon1025 at gmail.com>
> Verzonden: woensdag 19 februari 2020 10:11
> Aan: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
> Onderwerp: Re: [FFmpeg-user] silenceremove use
>
>> Is there anyone who has experience with the silenceremove filter? I'm
>> trying to remove long silences from recordings i made on my phone. The
>> silences are actually a constant noise because of the microphone gain is
>> set to 5.0x. (The playback meter in Audacity says the noise is around -48
>> to 42 dB). It is around 9 hours in duration. 1,1 GB large, signed 16 bit
>> little endian mono 16 kHz wave file. Audacity says it's 32 bit float wave
>> file though.
>
> Hey there,
> As you’ve noticed you pretty much need to know the basic “profile,” I guess,
> of the silence in your audio for best results. You could use the show volume
> filter with ffplay,
> % ffplay -f lavfi -i “amovie=$INPUT,showvolume"
> To get a general idea of what the noise is like, and apply the options
> accordingly.
> e.g.     Use the levels of the silence/noise sections for the level options,
> setting -20db would cut out a lot more than noise, I think; see if there are
> short periods of noise, other than background noise, but still noise, and
> see how long those are to set a value for the duration options; also see if
> using peak and a window of 10 seconds makes sense (It might not, even if you
> set a more sensible value for the threshold, basically I think that would
> make it treat anything as silence if in a 10 second window it rises above
> the threshold even once)
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://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