On 2/20/20, To ny <tonynederpel@hotmail.com> wrote:
The sample is the best example since the thumps are quite soft and just a little louder than the noise.
Use peak level detector instead of rms one. Also reduce window size too.
If all the three thumps and the voice would be left in the output, that would be great.
I'll run your command and see what comes out.
Ideally, it would be, if the thumps and voice would have some space between them during playback (of the output file), like three seconds apart and little bit of silence at the beginning. At the end silence isn't necessary.
Ffplay i don't have compiled but using the silenceremove arguments with ffmpeg removes everything up until right before the two thumps with threshold set at -38dB. The first thump is removed unfortunately. The silence between the two thumps and my voice unfortunately isn't removed.
At -37dB only my voice is left and none of the thumps are unfortunately left in.
Just for clarification... In the whole recording is no absolute silence. Throughout the recording is noise of around -46dB. This is what i call "silence".
________________________________ Van: ffmpeg-user <ffmpeg-user-bounces@ffmpeg.org> namens Ted Park <kumowoon1025@gmail.com> Verzonden: donderdag 20 februari 2020 08:44 Aan: FFmpeg user questions <ffmpeg-user@ffmpeg.org> Onderwerp: Re: [FFmpeg-user] silenceremove use
The attachment in your first reply went through fine, I can see it. But it is too simple, I mean I can remove silence in it pretty well with % ffplay Downloads/sample.wav -af "silenceremove=start_periods=1:start_threshold=-30dB" But I assume you’re having more trouble with the original file because there’s occasional noise in the “silence” you want to remove, and the silence isn’t just at the beginning. Something more representative of the file you’re working with would be more helpful.
The first command i copied directly from a forum post. The recording on my phone doesn't have a noise or sound that exceeds -20dB until 10 minutes 47 seconds.
The output file left by the first command has the first 2,5 seconds missing and starts directly with a sound. Where in the recording on my phone that sound starts at 2,5 seconds.
The second command as it seems left an output file that sounds like it plays at twice the speed. Coincidentally it's about half the size and duration. But everything seems to be still there and nothing is removed.
I was confused by this at first since it doesn’t seem consistent with what you described before but is this the result when the sample you sent us is used with the same commands?
Unfortunately i can't send a more extensive logging because it seems when -loglevel or -v is used i get no output in console at all.
No output at all is weird, but did you set -loglevel $LEVEL where LEVEL is quiet, panic, fatal, error, warning, info, verbose, debug, or trace? _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email ffmpeg-user-request@ffmpeg.org with subject "unsubscribe".