Mp3splt/mp3splt-gtk/libmp3splt are tools and a library to allow frame-accurate splitting and joining of encoded audio files without requiring decoding or re-encoding. Mp3splt-gtk is a GTK3 GUI that uses libmp3splt. Features: integrated player using gstreamer; support for snackamp and audacious control; advanced zoom progress bar.
A number of the terms and concepts used in this guide are explained in How To Listen With Your CD Player. If you will be using your split files either on your digital audio player or for MP3 disks, be sure to read the caution about the limits on the length of filenames for some players.
Parameters explanation: '-s': silence mode; activate silence detection '-p': specify arguments for the silence mode 'th=-40': threshold level (dB) to be considered silence.
The main reason for splitting audio files into smaller ones isconvenience: shorter files on your digital audio player or on MP3disks, or shorter tracks on audio CDs make it easier to find yourplace again if your player doesn't remember for you.
So if your digital audio player either does remember your position orsupports bookmarking, or if your CD player remembers where you werelistening when you turn off the player (without removing the disk orpressing the Stop button), then you probably don't need to split theaudio book files from !LibriVox.
This guide explains how to use the program !Mp3Splt to split all theaudio files -- either in MP3 or Ogg Vorbis format -- which are in a folder,all in a single operation. That is, you will be batch-processing allthe files. !Mp3Splt does not alter your original files. Itworks by copying the original files and writes new, smaller filesduring the process of splitting. It also runs fast, so the splittingdoes not take long to do.
This guide applies to MS Windows, but much of it will be directlyapplicable to the other systems for which Mp3Splt available: Linux,Mac, and Unix. This information is current as of February 2008. Itis unknown if Mp3Splt runs on Windows Vista.
Mp3Splt has a GUI interface for Windows, but it seems to be able toprocess only one file at a time. Therefore, this guide tells you howto use the command line version (via Windows Command Prompt) since itis faster to use because it supports batch processing. We will do itthis way even though entering the commands is a bit cumbersome,especially at first.
See Software We Use to get and install Mp3Splt.
Now that you have installed Mp3Splt and have a set of audio books onyour PC, let's get started. The procedure will be:
- Start Command Prompt.
- Configure Command Prompt to know where you installed Mp3Splt.
- Go to the folder containing the audio book files.
- Split the files with !Mp3Splt.
- Repeat steps 3 and 4 as needed for any other audio books.
The details:
- Start the Windows program 'Command Prompt':
- Start [button on the task bar] > All Programs > Accessories > Command Prompt
- Modify this command to reflect where you actually installed Mp3Splt:
Then type the corrected line into the Command Prompt window, followed by the Enter key. This tells Windows where to find Mp3Splt.
If you think you'll being doing this again, you may find it usefulto put this command and the others below into a text file from whichyou can copy and paste them into Command Prompt. Use Notepad tocreate this file and to open it again for the copy and paste operations.
- Now, in Command Prompt, go to the folder that has the audio book
files you're going to split. Let's useThrough the Looking Glassas an example. This shows the full path to the folder where you havethe files, as assumed for this example:
To avoid having to type this in, if you first go to that folder inWindows Explorer (aka, My Computer), you can copy this folder pathfrom the Address bar, usually visible at the top of the window (youmay need to reconfigure Explorer to display it: View > Toolbars >Address bar [checked]).
With the folder path copied, type in 'cd' (without the quotationmarks), plus a space, after the prompt in the Command Prompt window.Now paste in the folder path you just copied (right-click in thewindow and select Paste from the menu). Based on the example above,you should see this in the Command Prompt window
Now press the <Enter> key. The prompt (the text to the left of theflashing underline character ('_') will change to show the folderyou're now in:
- At this point, you are nearly ready to split the files. But first,
you get to decide how you want to split them. Mainly, that meansinto how many pieces you plan to chop up the audio book.Unfortunately, !Mp3Splt does not allow you to ask directly for thenumber of pieces you want. What you can ask for is the length of eachnew file, expressed in time. For example, many commercially-producedaudio books on CD have tracks which are each about four minutes long.You can estimate how many pieces you'll get by knowing the total runtime (which is listed on the page for each work in the !LibriVoxcatalog), expressed in minutes, and dividing that number by the timelength per piece, in minutes per piece, that you will tell !Mp3Splt toproduce. For our example of Through the Looking Glass,
Mp3splt-gtk Deb
- 200 minutes / 4 minutes per piece = 50 pieces (approximately)
This estimation is complicated by the fact that the audio book isalready divided into multiple files by chapter and further so by theuse of the Auto-Adjust option (explained below).
There is no right or wrong value to pick, since it is solely a matterof convenience. If you're planning to make audio CDs from an audiobook, then four-minute tracks will give you about twenty tracks on aneighty-minute CD. Twenty tracks are easy to deal with. However, ifyou're making an MP3 disk of a long novel, you could well end up with200 or more files if you split at four-minute intervals. That couldpose a problem in trying remember and get back to track 82, where youleft off listening. In this case, it probably makes sense toincrease the length of each piece to reduce the total number ofpieces to something more manageable. Experience will show what worksbest for you.
- Do the split. The recommended command line has the form
Select a specific
TIME
(as explained below), then either type orcopy and paste the modified line into the Command Prompt window.In our example, this is what you should see:Now press the <Enter> key to start the splitting. Mp3Splt writesstatus messages in the Command Prompt window as it works.
All the command line options are listed farther below. Here's anexplanation of the recommended options:
-f
: for MP3 files only, increases precision and is needed if the MP3 files are variable bit rate (VBR).-t TIME
: specifies the length, measured in time, to make each piece. You will replace `TIME` with a numerical value expressed in minutes, such as4.0
for four minutes or7.30
for seven minutes, thirty seconds. In our example, we picked four minute pieces, so the command line will be
Mp3splt-gtk
-a
: automatically adjusts the split points to occur during silences, which avoids splitting in the middle of a word. Therefore, the pieces will vary in their exact length.-d split
: writes the split files to a sub-folder namedsplit
(you may pick any name you wish). The folder will be created if it doesn't already exist. It's more convenient if you don't put the split files in the same folder with the original ones.*.mp3
: process all the MP3 files in the current folder. If you are splitting Ogg Vorbis files, change this to*.ogg
.
By default, Mp3Splt uses the original file's name for the splitpieces, adding the time interval of each piece to the name in orderto generate unique filenames. For our example, the filename for Chapter 1 is
These are the names of the split pieces (46 characters long, which iscomparatively short):
Complete List of Command Line Options
Mp3splt-gtk 0.9
To see this list of command line options, run Mp3Splt without any options:
Mp3splt-gtk Ubuntu 16.04
![Mp3splt Mp3splt](https://yepdownload.com/storage/screens/mp3splt-gtk/mp3splt-gtk-001.jpg)
Retrieved from 'https://wiki.librivox.org/index.php?title=How_To_Split_With_Mp3Splt&oldid=1764'