Skip to content

Instantly share code, notes, and snippets.

@lincalinca
lincalinca / m4b.sh
Last active May 29, 2024 08:59 — forked from anonymous/mp4.sh
Merge multiple mp3 or m4a files as a chaptered m4b file
#! /usr/bin/env bash
####################################################
# Required Libraries
#
# library name | commands used | verified version
# ------------------------------------------------
# ffmpeg | ffmpeg/ffprobe | 3.1.4 3.2
# gpac | mp4box | 0.6.1
# mp4v2 | mp4chaps | 2.0.0