Convert AC3 to M4B — Free Online Tool

Convert AC3 (Dolby Digital) audio files to M4B format, transcoding the surround sound AC3 stream into AAC audio optimized for audiobooks and podcast players. M4B adds chapter markers and bookmarking support that AC3 entirely lacks, making this conversion ideal for repurposing broadcast or DVD audio content into a listenable, navigable audiobook experience.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

AC3 (Dolby Digital) is a lossy surround sound codec — commonly carrying 5.1 channel audio — while M4B is an MPEG-4 container designed for audiobooks that requires AAC audio. Because these are two completely different codecs, the audio must be fully re-encoded: the AC3 bitstream is decoded to raw PCM, then re-encoded as AAC at 128k bitrate by default. If your source AC3 file has multiple channels (e.g., 5.1 surround), FFmpeg will automatically downmix them to stereo during the transcode, which is standard for audiobook and podcast playback. The output M4B container also receives the -movflags +faststart flag, which repositions the MPEG-4 metadata index to the beginning of the file so it can begin streaming before the full file is downloaded.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg program, the open-source multimedia processing engine that handles the AC3 decoding and AAC re-encoding pipeline for this conversion.
-i input.ac3 Specifies the input file — in this case a raw Dolby Digital AC3 audio file. FFmpeg will detect the AC3 bitstream, determine its channel layout (e.g., 5.1 surround or stereo), and decode it to PCM for re-encoding.
-c:a aac Sets the audio codec to AAC (Advanced Audio Coding) using FFmpeg's built-in AAC encoder. This is required because M4B cannot store AC3 audio — the Dolby Digital bitstream must be fully transcoded into AAC, which is the native and default codec for the MPEG-4/M4B container.
-b:a 128k Sets the AAC output bitrate to 128 kilobits per second. For spoken-word audiobook content converted from AC3, 128k AAC delivers clear, intelligible audio at a reasonable file size. For music-heavy AC3 sources, consider increasing this to 192k or 256k to reduce transcode quality loss.
-movflags +faststart Relocates the MPEG-4 container's metadata index (moov atom) to the start of the output M4B file. This enables podcast and audiobook apps to begin streaming playback before the entire file is downloaded, and is considered a best practice for all M4B files distributed online.
output.m4b Specifies the output filename with the .m4b extension, which instructs FFmpeg to write an MPEG-4 container and signals to audiobook applications like Apple Books and Overcast to enable chapter navigation and bookmarking features on the resulting file.

Common Use Cases

  • Converting the AC3 audio track extracted from a DVD or Blu-ray rip of a recorded lecture, sermon, or spoken-word performance into an M4B audiobook file navigable by chapter in Apple Books or Overcast.
  • Repurposing AC3 audio from a broadcast television recording of a documentary or educational program into a podcast-compatible M4B file that supports bookmarking so listeners can resume where they left off.
  • Converting Dolby Digital AC3 commentary tracks ripped from film DVDs into M4B format for easier listening on iPhone or iPad without needing a home theater setup.
  • Archiving AC3 audio from broadcast radio recordings into M4B for long-form listening on audiobook apps that require AAC encoding and chapter support.
  • Downmixing a 5.1 surround sound AC3 file from a live event recording into a stereo M4B suitable for distribution as a spoken-word podcast episode.
  • Preparing AC3 audio from a language-learning DVD's audio track into M4B format so learners can use chapter navigation and bookmarking features while studying on mobile devices.

Frequently Asked Questions

Yes, some quality loss is unavoidable because this conversion involves transcoding from one lossy codec (AC3/Dolby Digital) to another lossy codec (AAC). The AC3 audio is fully decoded and then re-encoded as AAC, which introduces a second generation of lossy compression artifacts. However, for spoken-word content like audiobooks or podcasts — which is the primary use case for M4B — 128k AAC is broadly considered transparent and the quality difference will be imperceptible to most listeners. If you want to minimize quality loss, increase the bitrate to 192k or 256k.
FFmpeg will automatically downmix the multichannel AC3 audio (e.g., 5.1 with six channels) to stereo when encoding to AAC for M4B. This is expected and appropriate behavior since audiobook and podcast players are designed for stereo playback, not surround sound. The downmix is handled intelligently by FFmpeg's built-in channel mixing, combining the surround channels proportionally into left and right. If your AC3 source is already mono or stereo, the channel layout will be preserved as-is.
The M4B container supports chapters natively, but this FFmpeg command alone does not add chapter markers — it converts the audio stream and creates a valid M4B file. To add chapters, you would need a separate chapter metadata file (in FFmpeg metadata format) and pass it using the -map_metadata flag, or use a dedicated audiobook tool like mp4chaps after the conversion. If your source AC3 file has no embedded chapter data (which is typical for standalone AC3 files), there is no chapter information to carry forward.
Both .m4b and .m4a use the identical MPEG-4 container with AAC audio, but the .m4b extension signals to audiobook and podcast applications — particularly Apple Books, Overcast, and Pocket Casts — that the file should be treated as a book or long-form audio with bookmarking and resume-playback features enabled. Using .m4a would produce a technically identical file but most players would treat it as regular music, disabling the bookmarking behavior that makes M4B useful for lengthy spoken-word content converted from sources like AC3 broadcast recordings.
The -movflags +faststart flag moves the MPEG-4 file's metadata (the 'moov atom') from the end of the file to the beginning. This allows media players and streaming apps to start playing the M4B file before it has fully downloaded, which is important for podcast apps that stream episodes rather than downloading them first. Without this flag, the entire file must be received before playback can begin. For locally stored audiobooks it is less critical, but it is a best practice for M4B files and adds no overhead to the conversion.
Replace the 128k value in the -b:a 128k portion of the command with your desired bitrate. For spoken-word content, 96k AAC is typically sufficient and produces smaller files, while 192k or 256k AAC is appropriate if the source AC3 contains music or high-fidelity audio you want to preserve more faithfully. For example: ffmpeg -i input.ac3 -c:a aac -b:a 192k -movflags +faststart output.m4b. Note that AC3 audio on DVDs is typically encoded at 192k to 448k, so choosing a target AAC bitrate near or above your source's bitrate will minimize transcode quality loss.

Technical Notes

AC3 and AAC are both perceptual lossy codecs, but they use fundamentally different psychoacoustic models and bitstream formats — there is no way to remux or copy the audio stream between them, so a full decode-and-reencode is always required. The default output bitrate of 128k AAC is generally considered equivalent in perceived quality to approximately 192k AC3 for stereo content, as AAC is a more efficient codec than AC3. However, AC3 files from DVD or broadcast sources are often multichannel (5.1 at 192k–448k), and downmixing six channels of Dolby Digital surround to stereo AAC at 128k is a significant reduction in both channel count and bitrate — appropriate for audiobooks but worth noting if audio fidelity matters. M4B does not support embedding subtitles or multiple audio tracks, so if your source AC3 was part of a larger container with those features, they cannot be preserved in M4B. Metadata tags (title, artist, album) can be carried through if present in the source using FFmpeg's default metadata mapping, but standalone AC3 files rarely contain rich ID3-style metadata. The -movflags +faststart flag is specific to the MPEG-4 output container and has no equivalent in the AC3 source format.

Related Tools