How to remove silence part from mp3 that is extracted from tv drama

ffmpegmp3

I hear a mp3 that is extracted from some tv dramas as a English exercise.
So in that mp3 there are lot of "silence part" in which no one speaks and there is no background music.

Is there a way to remove that silence part by using ffmpeg or some other program from command line?

Best Answer

You could use SoX - Sound eXchange. To remove silence from file:

sox input.mp3 output.mp3 silence 1 0.1 1% -1 0.1 1%

Also there is a good tutorial: The SoX of Silence | digitalcardboard.com

Related Question