If I have an audio file in .wav format, I can run
sox on it as follows :
sox in.wav out6.wav silence -l 1 0.1 1% -1 2.0 1% and this command works really really well for removing silence.
Is there some similar command that I can use in ffmpeg?
At the moment, I'm converting from .mp4 to .wav by doing
ffmpeg -i input.mp4 output.wav
and then doing the sox silence removal command.
What I want to do is, not shorten the audio but keep the silenced out regions in the audio as empty portions/pauses.