THIS SCRIPT IS IN BETA STAGE AND IS NOT SUPPORTED ANY MORE
Some of us have audiobooks splited to many files. Ex.:
chapter01.mp3, chapter02.mp3, chapter03.mp3[...]chapter61.mp3
This script will split them into a few batches, then join every batch into one big file and finally will create m4b files.
To do it just run script in directory with files. Make sure that files are properly named and only sound files are located in working directory...
Please try to remove all non-latin (including spaces) characters from file names.
I suggest names as simple as possible with subsequent number include
For example like that:
chapter01.mp3, chapter02.mp3 [...] chapter71.mp3
but NEVER, EVER like that:
chapter01.mp3, chapter02.mp3 [...] chapter71.mp3 [...] chapter131.mp3
If there is more than 99 files you MUST use 3 (or more) figures in a number otherwise script will join them in a wrong order!
## Changes:
## 1.0.2
## + Files split function added
##
## 1.0.3
## e mpg123 was changed to madplay due some errors
##
## 1.0.4
## + other types support
## r wavmerge required
## r mplayer required
## + automatic batches execution
## + output files are numbered
## + input files type detection
##
## 1.0.5
## + remove merged files
## + sort files
## f decode no-mp3 files
##
## 1.0.6
## + encode to mp3
## d lame
## d normalize-audio
## d imagemagick
## + waves normalization
## f minor bug fixes
## + apt-get deps instalation
## + cover arts generation for an iPod and roxbox
## + hints
##
## 1.0.7
## minor changes
##
Code:
Code was removed because it was too long
Check attachment
Just d/l archive and execute:
Code:
unzip encode-mp3-m4b-1.x.x.zip
chmod a+x encode
cp encode ~/bin
Bookmarks