Split MP3 Audio and Convert M4B to MP3

Refer: https://askubuntu.com/questions/1264779/how-to-split-an-mp3-file-by-detecting-silent-parts

Use ffmpeg to convert m4b to mp3

Refer: Refer: https://superuser.com/questions/173571/how-to-convert-m4b-files-to-mp3

ffmpeg -i "file.m4b" -acodec libmp3lame -ar 22050 "file.mp3"

Install Software

sudo apt install -y mp3splt

Sample Usage:

mp3splt -s your.mp3

If it creates TOO MANY TRACKS

Mp3splt will try to automatically detect splitpoints with silence detection and will split all tracks found with default parameters.

mp3splt -s -p th=-50,nt=100 your.mp3

passing desired parameters, splitting 100 tracks (or less if too much) with the most probable silence points at a threshold of -50 dB.

In this example we are setting the minimum silence to 4.9 seconds and still

mp3splt -s -p th=-40,min=4.9,nt=100 'The Catcher in the Rye By Salinger.mp3'

Leave a Reply