Skip to main content

Merge audio files into an audiobook.

Project description

makem4b

Docker Build GitHub Release python downloads

Maintainability ruff poetry pre-commit

Merge audio files into an audiobook.

Setup

Recommended: use it via Docker:

docker run --tty --rm ghcr.io/janw/makem4b --help

Or install via pipx (requires you to supply FFmpeg yourself)

pipx install makem4b

Usage

Basic

docker run --tty --rm -w /here -v "$PWD:/here" ghcr.io/janw/makem4b glob/of/files/*.mp3

Slightly more advanced:

docker run --tty --rm -e PUID=816 -e PGID=1006 -v /here -v "$PWD:/here" ghcr.io/janw/makem4b -Tr -m originals glob/of/files/*.mp3
  • -e PUID=816 -e PGID=1006 Writing/moving files as user:group 816:1006
  • -T: Never transcode, bail if files use different codec parameters
  • -r: Prefer remuxing, saving output with original filetype (mp3) as long as code parameters match
  • -m originals: Move original files to a subdirectory within originals after completion

Fraunhofer FDK AAC

Fraunhofer FDK AAC, aka libfdk-aac, is a high-quality AAC encoder and thus predestined to encode audiobooks with. But due to licensing issues with FFmpeg, the makem4b docker image cannot include libfdk-aac by default. A docker image including libfdk-aac can be built by passing a non empty value to the build-arg ENABLE_FDKAAC:

docker build --build-arg ENABLE_FDKAAC=1 . -t my-makem4b:latest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

makem4b-1.0.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

makem4b-1.0.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file makem4b-1.0.0.tar.gz.

File metadata

  • Download URL: makem4b-1.0.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for makem4b-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5cb8005db6a593ff352cc7231c83b1eb4317e837c85c968ec97424687765b481
MD5 243736aa96ae91502d2a42f5faa5f3f0
BLAKE2b-256 80469fe72bcf028e2c49a7a80b96fb67956dd06d2afd32e385388e6391503ccf

See more details on using hashes here.

Provenance

The following attestation bundles were made for makem4b-1.0.0.tar.gz:

Publisher: publish.yaml on janw/makem4b

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file makem4b-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: makem4b-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for makem4b-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c03b80eb48fd101d7139f4f158b3d736052e5f42fdab2cc0561e0a4e76cadd4d
MD5 eb79ede3a2533246eec77d72c6ebbe76
BLAKE2b-256 ffb8d062d0d7c1bfefabd0a9ea2c41670209762baa21d695b3302455655665c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for makem4b-1.0.0-py3-none-any.whl:

Publisher: publish.yaml on janw/makem4b

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page