Skip to content

Instantly share code, notes, and snippets.

@hank
Created August 2, 2024 04:46
Show Gist options
  • Save hank/4b7622dd8efed8c32802453dd82d9372 to your computer and use it in GitHub Desktop.
Save hank/4b7622dd8efed8c32802453dd82d9372 to your computer and use it in GitHub Desktop.
M4B Generation on Linux with Docker
$ tree
├── RootDir
│   └── Philosophy
│   └── Author
│   └── Title
│   ├── 00 Intro_Preface.mp3
│   ├── 01 CH1.mp3
│   ├── 02 CH2.mp3
│   ├── 03 CH3.mp3
│   ├── 04 CH4.mp3
│   ├── 05 CH5.mp3
│   ├── 06 CH6.mp3
│   ├── 07 CH7.mp3
│   ├── 08 CH8.mp3
│   ├── 09 CH9.mp3
│   ├── 10 CH10.mp3
│   ├── 11 CH11.mp3
│   ├── 12 CH12.mp3
│   ├── 13 Acknowledgements.mp3
│   ├── cover.png
│   └── description.txt
# Use Picard to change all the track names in the chapter MP3s to the desired chapter names.
# Generate the book
$ m4b-tool merge Philosophy/Author/Title/ --output-file='AuthorNoSpaces-TitleNoSpaces.m4b' --name="The Title" --album=""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment