Convert M4B to AC3 — Free Online Tool
Convert M4B audiobook files to AC3 (Dolby Digital) format, transcoding the AAC audio stream into the AC3 codec used in DVDs, Blu-rays, and home theater systems. This is useful when you need to bring audiobook or podcast audio into a Dolby Digital pipeline for disc authoring or broadcast workflows.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your M4B file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
M4B files store audio using AAC encoding inside an MPEG-4 container, along with chapter markers and bookmarking metadata. During conversion to AC3, FFmpeg decodes the AAC audio stream to raw PCM and then re-encodes it using the Dolby Digital AC3 codec at 192k bitrate by default. Because AC3 is a standalone audio bitstream format (not a container), all M4B-specific metadata — including chapter titles, bookmarks, and cover art — is discarded in the output. The result is a raw AC3 audio stream ready for integration into DVD, Blu-ray, or broadcast systems.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool, which handles all decoding, encoding, and stream processing. This runs locally in your browser via WebAssembly (FFmpeg.wasm), meaning no file data leaves your machine. |
-i input.m4b
|
Specifies the input M4B audiobook file. FFmpeg reads the MPEG-4 container, identifies the AAC audio stream, and also parses any chapter markers or metadata present — though these will not carry over to the AC3 output. |
-c:a ac3
|
Tells FFmpeg to encode the audio stream using the Dolby Digital AC3 codec. The AAC audio from the M4B is decoded to PCM first, then re-encoded as AC3 — this is a full transcode, not a copy, because AAC and AC3 are incompatible codecs. |
-b:a 192k
|
Sets the AC3 audio bitrate to 192 kilobits per second, which is a standard stereo Dolby Digital bitrate used in DVD and broadcast applications. For spoken-word audiobook content this bitrate delivers clean, intelligible audio; increase to 320k or 384k for music-heavy material or Blu-ray targets. |
output.ac3
|
Specifies the output filename with the .ac3 extension, producing a raw Dolby Digital audio bitstream. Unlike M4B, this is not a container — it holds only the AC3 audio data with no metadata, chapters, or wrapper structure. |
Common Use Cases
- Authoring a DVD or Blu-ray disc that includes a narrated audio program or audiobook, where the authoring software requires AC3/Dolby Digital audio tracks
- Integrating an audiobook or long-form podcast into a home theater media server that streams Dolby Digital AC3 to AV receivers
- Preparing narration audio from an M4B source for inclusion in a broadcast television package that mandates Dolby Digital encoding
- Replacing or supplementing the audio track on a video production timeline in a non-linear editor that accepts raw AC3 audio files
- Testing surround-sound encoding pipelines using existing M4B spoken-word content as a mono or stereo source before mixing to 5.1
Frequently Asked Questions
No. AC3 is a raw audio bitstream format with no container structure capable of storing chapters, bookmarks, or metadata. All M4B-specific features — including chapter titles, timestamps, cover art, and ID3-style tags — are permanently lost during conversion. If preserving chapters is important, consider an intermediate format like MP4 or MKV that supports both AC3 audio and chapter metadata.
Yes, there is generational quality loss because both AAC and AC3 are lossy codecs. The M4B's AAC audio is first decoded to uncompressed PCM and then re-encoded as AC3, which introduces a second round of lossy compression artifacts. For spoken-word audiobook content at 192k AC3, the result is generally clean and intelligible, but for music or high-fidelity audio the double-encoding may introduce subtle degradation compared to encoding from a lossless source.
192k is a standard AC3 bitrate commonly used for stereo Dolby Digital in DVD and broadcast applications. For speech-based audiobook content, 192k AC3 is more than sufficient and will sound clean. If you are encoding a music-heavy podcast or need to match a specific disc authoring specification, you may want to increase the bitrate to 256k or 320k. For maximum compatibility in DVD authoring, 192k is widely accepted.
Replace the value after '-b:a' in the command. For example, to encode at 320k use: ffmpeg -i input.m4b -c:a ac3 -b:a 320k output.ac3. AC3 supports bitrates ranging from 96k up to 640k, with 192k, 384k, and 448k being common targets for DVD and Blu-ray authoring. Note that AC3 has specific valid bitrate steps — FFmpeg will select the nearest valid rate if you specify an unsupported value.
Yes. On Linux or macOS you can run: for f in *.m4b; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.m4b}.ac3"; done. On Windows Command Prompt use: for %f in (*.m4b) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". The browser-based tool processes one file at a time, so the FFmpeg command shown on this page is especially valuable for batch workflows involving large collections of audiobook files.
Generally yes. A raw AC3 file at 192k stereo is accepted by most DVD authoring applications including DVD Architect, Encore, and DVDStyler. Some tools expect the AC3 stream muxed into a VOB or MPEG-PS container rather than a standalone .ac3 file, so you may need an additional muxing step. Blu-ray authoring typically requires higher bitrates (384k or 448k) for AC3 tracks, so adjust the '-b:a' flag accordingly.
Technical Notes
M4B is an MPEG-4 audio container closely related to M4A, distinguished by its support for chapter markers and bookmarking — features that make it the dominant format for commercial audiobooks and Apple Podcasts. AC3, developed by Dolby Laboratories, is a perceptual audio codec designed for multi-channel surround sound, though it handles stereo and mono signals equally well. When converting M4B to AC3, the source audio is almost always mono or stereo (not 5.1), so the AC3 output will reflect the same channel layout as the input — no upmixing to surround occurs automatically. The '-movflags +faststart' flag present in M4B output workflows is not applicable here since AC3 has no container header to optimize. Because M4B files often originate from DRM-protected sources (iTunes purchases), FFmpeg cannot process files with FairPlay DRM applied — only DRM-free M4B files can be converted. File sizes will vary: AC3 at 192k is generally comparable in size to AAC at 128k for the same duration, so expect AC3 output files to be somewhat larger than the M4B source if the source was encoded at a lower AAC bitrate.