tags:

views:

50

answers:

1

Hello.

Does m4b format with all it's chapter meta data have proper spec or, even better, free library to construct it with? May be I should look for it under different name?

+1  A: 

The library MP4v2 can do this.

One of the commands, mp4chaps, can add chapters to an m4b file. It can't add urls or images to the chapter, but it can add chapters.

As one of its parameters, it takes a text file. Each line is the time, followed by a space and the name of the chapter, followed by a newline character. For example:

00:00:00.000 Start

From my experience, you must list the chapters in order, and have a chapter at the start, or else it won't work correctly.

You can install it manually, or via apt-get on Linux (as libmp4v2-0), or via MacPorts on OSX.

Alternatively, if you're on a Mac, the command line program ChapterTool can create chapters for you, and can also handle urls and images. If you have installed GarageBand, it can be found in /Applications/GarageBand.app/Contents/MacOS/ChapterTool

BernzSed