Skip to content

A parallelized audiobook binder with support for ID3v2 tags. MP3 to M4B converter.

License

Notifications You must be signed in to change notification settings

nikerl/parallel-audiobook-binder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parallel Audiobook Binder

This is a fully parallelized audiobook binder.

Features:

  • Parallelized MP3 to M4B conversion
  • Set chapters from either a CUE sheet or chapterized MP3 files
  • Sort input files by ID3v2 track number if available, alphabetically if not

Installation

  • Clone the repo
  • Install requirements:
pip3 install -r requirments.txt

Running the program

Run binder.py using the following command:

python3 binder.py [-i INPUT] [-o OUTPUT] [-b BITRATE] -c {mp3files,cue,none} -t {mp3,m4b}

Arguments:

Argument Description
-h, --help Show list of arguments
-i INPUT, --input INPUT Path to the input files (optional, default is current directory)
-o OUTPUT, --output OUTPUT Path to the output file (optional, default is current directory)
-b BITRATE, --bitrate BITRATE Bitrate of the output m4b file in kb/s (optional, default is 128k, use "-1" to get the same bitrate as the input mp3 files)
-c {mp3files,cue,none}, --chapters {mp3files,cue,none} Set the source for chapter data. Use "mp3files" to use each mp3 file as a chapter, "cue" to get chapter data from a CUE sheet, "none" to not embed chapters (Required)
-t {mp3,m4b}, --filetype {mp3,m4b} Audio filetype, mp3 or m4b (Required)

Dependencies

  • Python 3
  • pip3
  • ffmpeg

About

A parallelized audiobook binder with support for ID3v2 tags. MP3 to M4B converter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages