The AC3 (.ac3, .eac3) Format, Explained
iLoveConverter Team 6 min read
On this page
An .ac3 file is a raw Dolby Digital bitstream — the surround audio codec Dolby Laboratories built for cinemas in the early 1990s and that DVD-Video later made mandatory. It is the audio standard of the DVD era, the required codec of ATSC digital television in North America, and a supported track on Blu-ray discs. An .eac3 file carries its successor, E-AC3, marketed as Dolby Digital Plus: same family, better engine.
How the bitstream is built
AC3 has no file header and no container. The file is simply audio frames concatenated end to end:
- Syncframe. Every frame starts with the 16-bit syncword
0x0B77. A frame always carries 1536 samples — six blocks of 256 samples each. - Bit stream information (bsi). The frame header records the sample rate, the bitrate code, the channel layout (
acmodplus an LFE flag) and the dialogue level. Parsing tools read this first. - Coding engine. Audio passes through a hybrid filterbank into an MDCT, then is coded as exponents plus mantissas. A psychoacoustic model steers bit allocation toward the bands your ear actually follows.
- Metadata in-stream. Dialogue normalization (dialnorm), dynamic range control (DRC) profiles and downmix coefficients ride along with the audio. Receivers honor them — which is why some AC3 tracks play quieter than others at the same volume setting.
- Channels. 5.1 means left, right, center, left surround, right surround plus the low-frequency effects channel — the “.1” in the name. Mono and stereo are just smaller
acmodconfigurations.
There is no index and no random access. To seek, a player must walk the frames from the start or hunt for syncwords. That is simple, and entirely sufficient for a disc player that reads sequentially.
AC3 vs E-AC3 (Dolby Digital Plus)
E-AC3 keeps the syncword and the family resemblance but changes the engine:
- Variable-length frames instead of a fixed 1536-sample frame.
- Up to 16 channels and multiple independent substreams — AC3 stops at 5.1.
- Better coding efficiency. At the same perceived quality, E-AC3 needs noticeably fewer bits. Streaming services run 5.1 tracks comfortably inside profiles AC3 could not hold; the exact rates are each service’s current decision, not a fixed standard.
- Dolby Atmos over streaming is E-AC3 with Joint Object Coding (JOC) layered on top — the same track that plays 5.1 on older gear carries object metadata for Atmos-capable systems.
The split in practice: AC3 owns discs and broadcast; E-AC3 owns streaming TV, UHD Blu-ray and HD broadcast. The film you stream tonight almost certainly arrives as DD+.
Technical parameters
| Parameter | AC3 (Dolby Digital) | E-AC3 (Dolby Digital Plus) |
|---|---|---|
| Sample rates | 32 / 44.1 / 48 kHz | 32 / 44.1 / 48 kHz |
| Bitrate | 32–640 kbps (spec range) | Same quality at lower rates; streaming 5.1 typically lands in the hundreds of kbps, per each service’s current profiles |
| Channels | Up to 5.1 | Up to 16, multi-stream; Atmos via JOC |
| Frame size | 1536 samples (6 × 256) | Variable |
| Compression | Lossy, MDCT-based | Lossy, improved coding |
| Native homes | DVD-Video, Blu-ray, ATSC/DVB broadcast | Streaming TV, UHD Blu-ray, HD broadcast |
AC3 next to DTS, AAC and PCM
| Aspect | AC3 | DTS | AAC | PCM (WAV) |
|---|---|---|---|---|
| Compression | Lossy | Lossy | Lossy | Lossless |
| 5.1 at 48 kHz, typical | 384–448 kbps | ~0.75–1.5 Mbps core | A few hundred kbps (service profiles) | ~4.6 Mbps (16-bit × 6 ch) |
| Strength | Near-universal on discs and broadcast | Higher-rate home-theater mixes | Efficient stereo for mobile and streaming | Bit-perfect editing master |
| Weakness | Dated efficiency | Large files, little mobile support | No role on legacy discs | Enormous size |
The pattern is the usual one: AC3 trades some efficiency for near-universal support on optical discs and TV; PCM trades size for perfection; AAC owns mobile; DTS owns the enthusiast niche.
Converting AC3
With ffmpeg — three commands cover nearly everything:
ffmpeg -i movie.ac3 -c:a pcm_s16le audio.wav # WAV, keeps all 5.1 channels
ffmpeg -i movie.ac3 -c:a libmp3lame -b:a 320k audio.mp3 # MP3, downmixed to stereo
ffmpeg -i movie.mp4 -map 0:a:0 -c:a copy audio.ac3 # pull the AC3 track out of an MP4
The honest caveat: MP3 is a stereo format in practice, so the second command downmixes the 5.1 mix to two channels. WAV keeps every channel and every sample — that is the route to take when the audio is headed for an editor.
In the browser, without installing anything: MP4 to MP3 extracts audio from video files, MP3 to WAV turns a compressed track into an editable WAV, and WAV to MP3 goes back the other way for sharing. All of these run locally with WebAssembly — the file never leaves your device, with no upload, no watermark and no sign-up. The format’s own reference page is the AC3 format guide.
Common problems
- No sound on a phone or in a browser — iOS Safari and most Android browsers do not decode AC3. Convert to MP3, AAC or WAV for anything beyond a home-theater file server.
- The track plays too quietly — the dialnorm metadata is doing its job. Receivers honoring dialogue normalization gain down; raise the volume or strip the metadata by re-encoding.
- Your editor refuses the file — most editors and DAWs want PCM. Convert to WAV first, and avoid stacking one lossy generation on another when you can.
- 5.1 collapses to stereo — the player or soundbar is downmixing. Check its audio output settings before blaming the file.
- Audio drifts out of sync after conversion — usually a resample somewhere in the chain. Keep 48 kHz end to end; drift tends to start there.
FAQ
Is AC3 the same as Dolby Digital?
Yes. AC3 (properly AC-3, “Audio Codec 3”) is the codec’s working name; Dolby Digital is the marketing name. Same bitstream, same 0x0B77 syncword.
What is AC3 EX?
A matrixed back-surround channel added on top of 5.1 (Dolby Digital Surround EX). The extra channel is folded into the two surround channels with a matrix and unfolded by a compatible receiver — the file is still a normal 5.1 AC3 stream.
AC3 vs E-AC3 — which should I keep?
For archival and home-theater use, keep what you were given: both play fine on disc-oriented players. Convert when the destination is mobile or the web — neither plays widely in browsers, and E-AC3 support outside streaming hardware is spotty.
Why doesn’t my phone play .ac3 files?
Phones ship AAC and MP3 decoders, not Dolby’s — licensing, mostly. Convert to MP3 or WAV and the file plays everywhere.
Does converting AC3 to MP3 keep the surround?
No. MP3 output is stereo, so the conversion downmixes the five main channels into two; the LFE and the discrete surrounds are folded in. If surround matters, stay in WAV.
What bitrate is a DVD’s AC3 track?
5.1-channel DVD tracks typically run 384–448 kbps, and stereo tracks around 192 kbps — all inside the 32–640 kbps the spec allows.
Try it yourself — free, right in your browser
Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.
Format deep-dives: AC3 (.ac3.eac3) , MP3 (.mp3) , WAV (.wav)