Language: ENDE

Linux Journal :: July 2012 Issue wrote:
"If you want to create iPod-compatible audiobooks, abc is as simple as, well, ABC!"

 

abc_logo

>> Download version 0.0.6 <<

This program creates iPod compatible audiobooks including chapters. It can be used in a shell (php script) as well as with the delivered graphical user interface. As most people have audiobooks split into many mp3-files, this script will enable you to use all the features of audiobooks (*.m4b). Needless to say that you can listen to this kind of audiobooks on Android as well. Appropriate players are Listen Audiobook Player or Smart AudioBook Player for example. You can find many others in Google's play store.

abc depends on an encoder (NeroAacEnc - 32bit) offered by Nero to create audiobooks. This encoder is not free to use. It underlies a license agreement that you have to be aware of. Nevertheless, private or non-commercial use of the encoder is allowed. With abc version 0.0.6 the installation of the encoder has be automated. Please read the appropriate license agreement when you start abc for the first time. If you accept the license agreement you are able to use abc. If you want to use previous versions of abc you have to install NeroAacEnc manually. To do so, please find a description below.

Additionally there are some more changes in abc version 0.0.6 you should know. It is no longer required to install mp4 tools manually. Required packages will be downloaded from Ubuntu repositories during installation. This version has been made to run with Ubuntu Trusty Tahr (14.04 LTS) and Ubuntu Xenial Xerus (16.04 LTS). Because NeroAacEnc was build in 32bit only, you can now download packages for 32bit and 64bit architecture.

When using a 64bit package, all necessary libraries needed to run the 32bit encoder will be installed automatically.

The version 0.0.6 has been compiled with Gambas3 (3.8.4) which comes with Ubuntu Xenial Xerus (16.04 LTS). To run it with Ubuntu Trusty Tahr (14.04 LTS) you have to use Gambas provided by a dedicated PPA. Please run the following command in a terminal:

$ sudo add-apt-repository ppa:gambas-team/gambas3 && sudo apt-get update

Features:

  • Ogg-Vorbis and MP3 support
  • Create audiobooks directly from CD - now up to 999 tracks
  • Audiobooks are displayed in the correct menu section on your iPod device
  • Chapter selection (with title-names)
  • Cover-art (if you have an appropriate "cover.jpg")

 

abc - Übersicht abc - Schritt A
abc - Schritt B
abc - Schritt C

The script and graphical interface of abc version 0.0.6 has been tested with Ubuntu Xenial Xerus(16.04 LTS 32bit and 64bit). To run abc on previous versions of Ubuntu, you have to install previous versions of abc. You can find an overview in the changelog below.

Furthermore abc runs with other Ubuntu or Debian based distributions (e.g. Kubuntu, Xubuntu, Lubuntu, s.o.)

Requirements and dependencies
The following programs *MUST* be installed to make abc work:

Software
Description

Version 0.0.1
Version 0.0.2 Version 0.0.3 Version 0.0.4 Version 0.0.5 Version 0.0.6
php-cli PHP commandline interpreter * X
X
X
X X X
soundconverter MP3_2_WAV converter * X
X
-
- -  -
gstreamer-tools (v0.1)
MP3/OGG_2_WAV converter * -
-
X
X X  -
gstreamer-tools (v1.0) MP3/OGG_2_WAV converter * - - - - - X
gstreamer fluendo (v.0.1)
Free MP3 codec * - - - X X  -
gstreamer fluendo (v.1.0) Free MP3 codec * - - - - - X
cdrdao CD tool * -
X
X
X X X
iconv libtext-iconv-perl * -
X
X
X X  X
flac lossless encoder * -
X
X
X X  X
mkcue create cuesheets * -
X
X
X X  X
cuetools edit cuesheets * -
X
X
X X  X
shntool split WAV-files * -
X
X
X X  X
gpac MPEG4 framework * - - - X X  X
neroAacEnc nero-encoder [1] X
X
X
X X  X
mp4art mp4-tag tool for AAC files [2] X
X
X
X X  X*
mp4chaps mp4-chapter tool from mp4v2 [2] X
X
X
X X  X*
mp4tags mp4-tag tool from mp4v2 [2] X
X
X
X X  X*
* files will be automatically installed with Ubuntu

[1] http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip
[2] http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2

Because mp4 tools needed by abc (< version 0.0.6) have to be compiled before use, please ensure that package "
build-essential" is installed. If not type:
 
$ sudo apt-get install build-essential
 

How to install neroAacEnc and mp4v2 tools manually (abc version < 0.0.6)
NeroAacEnc
To install NeroAacEnc with Ubuntu 32bit enter the following commands row by row into a terminal:
 
$ mkdir aac
$ cd aac/
$ wget http://ftp6.nero.com/tools/NeroAACCodec-1.5.1.zip
$ unzip -j NeroAACCodec-1.5.1.zip
$ sudo install -m 0755 neroAacEnc /usr/local/bin/

For more details visit: http://lifeofageekadmin.com/enable-aac-encoder-ubuntu-fedora-using-neroaac/


mp4v2 tools
The installation of mp4 tools is quite easy. Enter the following commands row by row into a terminal:

$ mkdir mp4v2
$ cd mp4v2/
$ wget http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2
$ tar -xf ./mp4v2-1.9.1.tar.bz2
$ cd mp4v2-1.9.1
$ ./configure
$ make
$ sudo make install

Afterwards create a symlink this way:

$ sudo ln -s /usr/local/lib/libmp4v2.so.1.9.1 /usr/lib/libmp4v2.so.1

Now you are ready to create audio books.
 

Usage
Convert MP3/OGG files to audiobooks

Select the directory where the MP3 or OGG files are located that you want to be converted. The next step is to enter the artists name, the name of the album, the title, the genre and the year when the album was produced as well. Only if all fields are filled you are able to create an audiobook. The usage of a picture is optional.

If all fields are filled press in the next step the button "Create audio book!"
The convertion process will start immediately. When this operation has finished, the created audio book (*.m4b) appears in the listing too.

Now you can upload your new audiobook to your iPod

 

Create audiobooks directly from CD

Just insert an audio CD and start the read-process. If you have an active internet connection a query will be sent to a free CD-DB service to determine information about CD/Tracks. The data will be added automatically if the query has been successful. Otherwise you will have to enter the artists name, the name of the album, the title, the genre and the year when the album was produced within the next step manually.

If all fields are filled press in the next step the button "Create audio book!"

The convertion process will start immediately. When this operation has finished, the created audio book (*.m4b) appears in the listing too.

Now you can upload your new audio book to your iPod.
 
 
Connect to CDDB using a proxy server
When using a proxy server and you are facing problems to connect to CDDB (to fetch CD information) you can solve this issue that way. Open the appropriate script into a text-editor. Here an example using gedit as editor:

$ sudo gedit /usr/bin/abcrcd.php

Then comment the row 57 with a hash (#) and remove the hash at the beginning of the row after.
Replace
[YOURPROXY] and [YOURPROXYPORT] with your setup. That's it.
 

Known issues
When using Ubuntu 12.04 (precise pangolin) problems mounting the CD-Rom/DVD drive may occur. This is a known bug. Details and a workaround are described here: https://bugs.launchpad.net/ubuntu/+source/udev/+bug/993728

Furthermore there might be issues with Audio-CD direct access. This is caused by a process called "gvfsd-cdda" which sometimes makes direct access to a CD impossible. If so, just kill the process when the CD is inserted and you see a pop-up message asking you for action. Use the following commands to do so. To find out if the process is running open a terminal and type "ps -A |grep gvfsd-cdda" and to kill the process type "pkill gvfsd-cdda". Now start abc. You have to repeat this every time you change the CD.

Another option is to use the starters context menu is to kill the process. This works with unity only. If you are using unity right-click on abc's starter-icon on the left panel and choose the option "Exit Automount (gvfsd-cdda)" before abc itself is started. The process is going to be killed that way, too.

 
Changelog
abc 0.0.6 - Ubuntu 16.04 (Xenial Xerus)
* NEW: 32bit and 64bit packages available
* NEW: Automatically installs 32bit environment on 64bit systems
* NEW: Improved support for dark themes
* NEW: Added setup for NeroAacEnc
* NEW: Use MP4 tools from Ubuntu repositories
* NEW: Use GStreamer 1.0
* NEW: Compiled with Gambas 3.8.4
* Minor bugfixes

abc 0.0.5 - Ubuntu 14.10 (Utopic Unicorn)
* NEW: Added "check for update" feature
* NEW: Added "Spinner" object to improve visual feedback while encoding m4b file
* NEW: Compiled with Gambas 3.6.0

abc 0.0.4 - Ubuntu 14.04 (Trusty Tahr)
* NEW: Create audiobooks with up to 999 tracks
* NEW: Added description how to use a proxy servers for CDDB connection
* NEW: Added description how to use abc on 64bit systems
* NEW: Compiled with Gambas (3.5.4) to provide reliabilty
* Bugfix: Fixed translation issues
* Minor bugfixes

abc 0.0.3 - Ubuntu 12.10 (Quantal Quetzal)
* NEW: Compiled with Gambas 3
* NEW: Use GStreamer instead of SoundConverter
* NEW: Added support for Ogg-Vorbis files
* Minor bugfixes and code optimization
* Dropped trayicon

abc 0.0.2 - Ubuntu 12.04 (Precise Pangolin)
* NEW: Create audiobooks directly from CD
* Minor bugfixes and code optimization

abc 0.0.1 - Ubuntu 10.04 (Lucid Lynx)
* Initial release


For any feedback or issues please send a mail to  abc[at]ausge.de or leave a comment

 


Comments powered by CComment' target='_blank'>CComment