Split mp3 Files With mp3splt

October 23, 2008 by
Filed under: HowTo, linux, mp3, Ubuntu 
Sponsors

Mp3splt is a Linux program that can break mp3 files into smaller pieces without re-encoding. This is nice for long mp3 files like e-books or for putting language learning CDs onto your mp3 player. Sometimes you only have a few minutes to listen to your language lesson and you'd rather not start at the beginning of a half hour lesson every time. I'm going to show an example of how to use mp3splt to split a 30 minute mp3 into 5 minute pieces.

First, we need to make sure mp3splt is installed.

sudo apt-get install mp3splt

For my example, I'm going to split a file called Lesson_01.mp3 and put the split files into a sub-directory called Lesson_01. Simply open a terminal and cd to the directory with the files you want to split and then enter this command.

mp3splt -a -t 5.10 -o Lesson_01-@n -d Lesson_01 Lesson_01.mp3

The -a tells mp3splt to auto-adjust the split point with silence detection.
The -t 5.10 tells it to make the files 5 minutes and 10 seconds long since the file is a little over 30 minutes long. (This length may vary a bit due to the -a option).
The -o Lesson_01-@n tells it to name the files as Lesson_01 followed by a track number.
The -d Lesson_01 tells it to put the files in a directory called Lesson_01.
And finally, Lesson_01.mp3 is the file you want to split.

There are several more options that can be used which you can find in the mp3splt man page.

Happy splitting!

Sponsors

Comments

4 Responses to “Split mp3 Files With mp3splt”

  1. Anonymous says:

    Could someone post which repositories have mp3split in them? I am having difficulty finding it for kubuntu hardy.

  2. Linerd says:

    It's in the Universe repository. Search on mp3splt, not "mp3split".

    http://packages.ubuntu.com/hardy/mp3splt

  3. Anonymous says:

    Thanks a ton, this was very helpful!

  4. Mark says:

    sudo apt-get install mp3splt worked for me using 8.04 Hardy Heron.

    Thanks a load! Just the ticket!

    Cheers, Mark (UK).

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>