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

2017-09-25 Thread DopeLabs
i created an audio file in ableton live which plays 10 seconds of audio, then is silent for 5 seconds and so on for ~5 mins, exported as an aif ran the ffmpeg silenceremove from your example (except i removed the :1 after the -20dB $ ffmpeg -i silencetest.aif -af silenceremove=0:0:0:-1:0.5:-20d

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

2017-09-25 Thread Paul B Mahol
On 9/25/17, Quinn Wood wrote: > I have removed the video and am getting the same results. > silenceremove is not removing silence. > > ffmpeg -i ../2017-09-24T123913.mp4.done -vn -af > silenceremove=0:0:0:-1:0.5:-20dB:1 output.m4a > > https://pastebin.com/raw/xcGQFs30 > Are you sure? Output fil

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

2017-09-25 Thread Quinn Wood
I have removed the video and am getting the same results. silenceremove is not removing silence. ffmpeg -i ../2017-09-24T123913.mp4.done -vn -af silenceremove=0:0:0:-1:0.5:-20dB:1 output.m4a https://pastebin.com/raw/xcGQFs30 ffprobe -i output.m4a https://pastebin.com/raw/183KLwZY ffmpeg

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

2017-09-25 Thread Paul B Mahol
On 9/25/17, Quinn Wood 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

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

2017-09-24 Thread DopeLabs
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

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

2017-09-24 Thread Quinn Wood
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 wrote: >

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

2017-09-24 Thread DopeLabs
well the only thing that looks odd to me is you have an h264 video stream in your 'mpeg 4 audio' file. (.m4a) have you tried extracting the audio or converting to uncompressed and running the same command? > On Sep 24, 2017, at 11:23 44PM, Quinn Wood wrote: > > https://pastebin.com/raw/KGVT

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

2017-09-24 Thread Quinn Wood
Here is silencedetect as well. https://pastebin.com/raw/QzyKW5Rz This 20 minute sample has over 18 minutes of silence according to silencedetect. However silenceremove removes absolutely nothing. input.m4a was 20:00.03 and output.m4a was 20:00.07. On Mon, Sep 25, 2017 at 1:19 AM, DopeLabs wrote

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

2017-09-24 Thread Quinn Wood
https://pastebin.com/raw/KGVTRVsR On Mon, Sep 25, 2017 at 1:19 AM, DopeLabs wrote: > please provide the complete un-truncated console output > > >> On Sep 24, 2017, at 10:59 13PM, Quinn Wood wrote: >> >> I have used the following command >>ffmpeg -i input.m4a -af silenceremove=0:0:0:-1:0.5:-

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

2017-09-24 Thread DopeLabs
please provide the complete un-truncated console output > On Sep 24, 2017, at 10:59 13PM, Quinn Wood 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

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

2017-09-24 Thread Quinn Wood
I failed to mention, silencedetect does indeed detect silence when running ffmpeg -i input.m4a -af silencedetect=n=-20dB:d=0.5 -f null - ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe

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

2017-09-24 Thread Quinn Wood
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