Creating an audiobook (.m4b) with FFmpeg

Following on from my previous TTS post using Chatterbox Turbo (or any other TTS like Kokoro or Qwen3-TTT ), here is code to combine audio files in a single .m4b audiobook retaining author and title metadata, chapter markers, and a cover image. Mostly this is a Python wrapper to FFmpeg .