![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
| View Poll Results: Is this how-to useful to you ? | |||
| yes |
|
38 | 88.37% |
| no |
|
5 | 11.63% |
| Voters: 43. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() |
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 Code:
Code was removed because it was too long Check attachment Code:
unzip encode-mp3-m4b-1.x.x.zip chmod a+x encode cp encode ~/bin
__________________
Last edited by Sir_Yaro; October 19th, 2007 at 07:03 PM.. |
|
|
|
|
|
#2 |
|
100% Pure Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Why choose m4b over mp3 or ogg?
Nice conversion script though. |
|
|
|
|
|
#3 | ||
|
A Carafe of Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Quote:
Quote:
__________________
|
||
|
|
|
|
|
#4 |
|
100% Pure Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Does the ipod automatically put m4b files into the Audiobook directory?
|
|
|
|
|
|
#5 |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
yes, it does.
and you can use speed settings with them
__________________
|
|
|
|
|
|
#6 |
|
100% Pure Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Firefox -> Bookmarks -> Bookmark This Page...
|
|
|
|
|
|
#7 |
|
Gee! These Aren't Roasted!
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Yeah Baby Yeah man ive searched for this ****
but how must the files be named so that it can convert them? sinaen@Neko:/media/space/audiobooks/Terry Pratchett$ ./kodowanie-mp3-m4b DW09\ -\ Eric/ bash: ./kodowanie-mp3-m4b: /bin/bash: bad interpreter: Permission denied sinaen@Neko:/media/space/audiobooks/Terry Pratchett$ sudo ./kodowanie-mp3-m4b DW09\ -\ Eric/ Password: sudo: unable to execute ./kodowanie-mp3-m4b: Permission denied ive tried to execute the script in the folder too Later: Ive tried a little more now. and it seems i must write /bin/bash <scriptname> and then i get a error-message that i am missing faac. but i have the latest libfaac-codec installed 1.24 cleanubuntu Last edited by sinaen; May 22nd, 2006 at 05:41 AM.. |
|
|
|
|
|
#8 | |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
To run any script you must chmod it.
chmod +x file_name or run: bash file_name Quote:
I suggest name as simple as possible with subsequent number included For example like that: chapter01.mp3, chapter02.mp3 [...] chapter71.mp3 but NEVER 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 because otherwise script will join them in a wrong order! faac might be found in faac*.deb package (faac_1.24clean-0ubuntu3_i386.deb) http://packages.ubuntu.com/breezy/sound/faac I've updated script to most recent version
__________________
Last edited by Sir_Yaro; May 24th, 2006 at 02:16 PM.. |
|
|
|
|
|
|
#9 | |||
|
Gee! These Aren't Roasted!
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Quote:
Quote:
Quote:
* wavmerge is missing.... Check on http://huli.org/wavbreaker/ Missing dependencies... Can't continue. going to check on huli.org/wavbreaker Edit: now the script works as it should Edit: ok another program thats missing as i can se it when i ls the dir its made the mp3s merge into 4 great mp3 in batch 1 2 3 4 5 folders should i just move the files out to the original folder and try the script again? Did so now it works, i really love that you made this script Last edited by sinaen; May 25th, 2006 at 08:53 AM.. |
|||
|
|
|
|
|
#10 | |
|
A Carafe of Ubuntu
![]() |
Re: HOWTO create ipod Audiobook (m4b) from mp3
Quote:
i just know from an experience that simple names are usually better. It should work fine fine with almost any file file name but i can't guarantee that... mostly is all about good files numbering ex: if you have files: 1.mp3, 2.mp3, 10.mp3 look what ls returns: Code:
[yaro][~/tmp/1]$ ls razem 0 -rw-r--r-- 1 yaro yaro 0 2006-05-29 20:25 10.mp3 -rw-r--r-- 1 yaro yaro 0 2006-05-29 20:25 1.mp3 -rw-r--r-- 1 yaro yaro 0 2006-05-29 20:25 2.mp3 [yaro][~/tmp/1]$ btw I'm posting new version right now.
__________________
Last edited by Sir_Yaro; May 30th, 2006 at 12:46 PM.. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|