-- Leo's gemini proxy

-- Connecting to seydaneen.nahtgards.de:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

What the fuck am i doing here? (Hörbücher, Audiobooks, CD, MP3, m4b)


"Was mach ich hier eigentlich?"...


..., fragte ich mich schon ein paar mal gestern Abend. Martina Hill ist auf jeden Fall schuld, dass ich nun von CDs m4b-Dateien erzeugen, eben Hörbücher fürs Handy selbst erstellen möchte.


Man könnte meinen, bei den ganzen Quellen - beispielsweise [1] und [2] - sollte es eine einfache Möglichkeit geben eine CD in ein Hörbuch umzuwandeln...

Aber Pustekuchen! Was unter macOS oder Windows einfach mit ein paar GUI-Programmen relativ einfach geht, muss noch lange nicht unter Linux einfach sein. Ja, es gibt ein paar Tools [2] und viele Kommandozeilenprogramme für das "Problem", aber entweder brauchen diese Tools wieder viele andere kleine Tools, die teilweise nicht in den normalen Repositories vorhanden sind, oder sind mMn komplex zu nutzen. Was mit Klickibuntioberfläche oder einem einfachen Kommandozeilenbefehl gibt (gab) es nicht wirklich - OpenAudible als hakelige proprietäre crossplatform-paid-Ware mal ausgenommen.


Ich habe mich also ein paar Stunden durch einige Man-Pages, Bugtracker, Foreneinträge und Wikis gelesen und ein kleines Skript zusammengezimmert, welches CDs als MP3 gerippte Hörbücher in m4b-Dateien umwandelt. Das Skript verwendet ffmpeg, faac und mpg123. Als Ripper nutze ich fre:ac [3].

Ein kleines Problem hat es noch: die Header sind nicht 100%ig so wie iPod-kompatible Hörbücher sein sollen - ffmpeg ist schuld, aber ohne gibts keine Kapitelmarken. Die Hörbücher funktionieren problemlos beispielsweise mit Cozy [4], Talefish [5], vlc oder Audacious.

Wer Ideen dazu hat wie man (mit MP4Box ? s. Skript) dieses Problem noch beseitigen könnte, bitte melden... :)


Viel Spaß damit:

mp3folder2m4b.sh


# Konvertiert den Ordner "My Audiobook" in Home => Music => ripped zu "My Audiobook.m4b" im aktuellen Ordner
mp3folder2m4b.sh "~/Music/ripped/My Audiobook"

P.S.: Es gibt nun einen neuen allgemeinen Linuxbereich meiner Kapsel


... and now in english


A german comedian causes me to think of 'what the fuck am i doing here' late yesterday evening - just like her (audio) book is called "Was mache ich hier eigentlich?". I wanted to create audio books (m4b) from CDs.


One could think because of the stuff out there about creating audio books on linux like [1] or [2] it isn't a big deal...

Fiddlesticks! It's not a big deal on macOS or Windows with a bunch of gui based tools, but on linux it isn't that easy. Yeah, there are some tools out there like m4b-tools [2] out there, but either they need a bunch other of tools, which aren't available on all distros, and/or they are difficult to use. Something with a shiny gui or a simple command line isn't (wasn't) available at all - besides "OpenAudible", which is a notchy cross-platform-paied-ware you shouldn't use/try out.


So i spend several hours on reading man pages, wikis, forums and bug trackers to create a simple script to convert MP3 ripped CD-folders into m4b files. The script uses ffmpeg, faac and mpg123. I rip CDs with Fre:ac [3].

There is a little problem remaining: The resulting files aren't fully iPod compatible because of different headers - it's ffmpegs fault, but without there would be no chapter marks. The m4b working nicely on Cozy [4], Talefish [5], vlc or Audacious.

If someone has ideas to this problem - maybe by using MP4Box? see the script - please message me :)


Have fun:

mp3folder2m4b.sh


# Converts the folder "My Audiobook" in Home => Music => ripped to "My Audiobook.m4b" in the current folder
mp3folder2m4b.sh "~/Music/ripped/My Audiobook"

P.S.: there is now a new general linux area of my capsule



Links

[1] Archlinux Wiki zu Hörbüchern / ... to audio books

[2] m4b-tool

[3] fre:ac

[4] Cozy

[5] Talefish


---

zurück (back)

-- Response ended

-- Page fetched on Sun May 19 14:11:32 2024