Compress AC3 Online — Free File Size Reducer
Compress an AC3 (Dolby Digital) audio file by re-encoding it at a lower bitrate, reducing file size while keeping it in the same AC3 format. This is useful for trimming oversized Dolby Digital streams — for example, downgrading a 640kbps broadcast AC3 track to 192kbps for DVD or streaming use.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your AC3 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
Because both the input and output are AC3, FFmpeg decodes the source Dolby Digital bitstream and then re-encodes it using its built-in AC3 encoder at the target bitrate (default 192kbps). This is a full decode-and-re-encode cycle, not a remux — the audio passes through FFmpeg's AC3 encoder, which applies Dolby Digital's perceptual coding (modified discrete cosine transform with bit allocation) at the new bitrate. Reducing the bitrate below the original compresses the file but introduces additional generation loss on top of the losses already present in the source. The channel layout (e.g., 5.1 surround) is preserved as long as the target bitrate is sufficient to support it.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool. In this browser-based tool, it runs via FFmpeg.wasm (WebAssembly) entirely in your browser — no server upload occurs. The same command works identically in a local FFmpeg installation for files over 1GB. |
-i input.ac3
|
Specifies the source AC3 file. FFmpeg reads the Dolby Digital elementary stream, detecting the channel layout (e.g., stereo or 5.1) and bitrate automatically before passing it to the decoder. |
-c:a ac3
|
Instructs FFmpeg to encode the audio stream using its native AC3 (Dolby Digital) encoder. This is required here because the output is also AC3 — FFmpeg will not simply copy the stream, it re-encodes it to hit the target bitrate. |
-b:a 192k
|
Sets the output AC3 bitrate to 192kbps, which is the DVD-Video minimum for 5.1 and a standard stereo broadcast bitrate. Change this value to 384k or 448k for higher-quality surround mixes, or lower to 128k for stereo-only content where file size is the priority. |
output.ac3
|
The destination filename for the compressed Dolby Digital file. The .ac3 extension denotes a raw AC3 elementary stream, which can be played directly or muxed into a container such as VOB, MPEG-TS, or MKV. |
Common Use Cases
- Downmixing a 640kbps broadcast-recorded AC3 track to 192kbps or 256kbps so it fits within DVD-Video's per-stream bitrate budget
- Reducing the size of an AC3 audio track extracted from a Blu-ray disc before embedding it into a smaller streaming container
- Preparing a Dolby Digital 5.1 surround track for cable or satellite contribution feeds that have a strict 384kbps AC3 bitrate cap
- Archiving a large collection of AC3 broadcast recordings at reduced bitrates to reclaim disk space while retaining Dolby Digital format compatibility
- Creating a smaller AC3 proxy file for editing or review purposes before committing to a full-quality export
- Testing how a Dolby Digital audio track degrades at various bitrates (96k, 128k, 192k) to choose the best quality-to-size tradeoff for a distribution pipeline
Frequently Asked Questions
Yes, and it compounds the quality loss already present in the source. AC3 is a lossy format, so the original file was already encoded with perceptual data reduction. Re-encoding it at a lower bitrate runs that lossy process again, discarding more audio information. The degradation is most noticeable in complex surround mixes at very low bitrates (96k or 128k). For most listening purposes, 192kbps for stereo or 384kbps for 5.1 is a reasonable floor.
Dolby Digital officially supports 5.1 (six-channel) audio at bitrates from 192kbps up to 640kbps. In practice, 192kbps is the DVD specification's minimum for 5.1 AC3 tracks and is technically valid, but audible compression artifacts become noticeable. A bitrate of 384kbps is widely considered the practical minimum for transparent 5.1 AC3, and 448kbps is the DVD-Video recommended default. Dropping below 192kbps will cause FFmpeg to either error or silently degrade the channel layout.
Replace the value after -b:a with your desired bitrate. For example, to encode at 384kbps for a higher-quality 5.1 mix, use: ffmpeg -i input.ac3 -c:a ac3 -b:a 384k output.ac3. Valid AC3 bitrates supported by FFmpeg's encoder include 96k, 128k, 192k, 256k, 320k, 384k, 448k, and 640k. Choosing a bitrate higher than the source's original bitrate will not recover lost quality — it will only inflate the file size.
Yes. On Linux or macOS, use a shell loop: for f in *.ac3; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "compressed_$f"; done. On Windows Command Prompt: for %f in (*.ac3) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "compressed_%f". This processes every AC3 file in the current directory, prefixing each output with 'compressed_' to avoid overwriting the originals.
Yes, as long as the bitrate you choose is within the Dolby Digital specification. DVD-Video players are required to support AC3 bitrates from 192kbps to 448kbps, and most modern AV receivers handle up to 640kbps. The output file is a standard AC3 elementary stream, so it can be muxed into VOB, TS, or MKV containers with full device compatibility. The encoded channel layout (e.g., 5.1) is embedded in the AC3 bitstream headers and will be read correctly by compliant decoders.
If you specify a target bitrate equal to or higher than the source file's original bitrate, the output will be roughly the same size or larger due to re-encoding overhead. Also, if the source was encoded at a variable or average bitrate internally (which some broadcast AC3 streams use), the constant bitrate output of FFmpeg's encoder may exceed the average of the source. Always check the source file's actual bitrate with ffprobe before choosing a target to ensure genuine size reduction.
Technical Notes
FFmpeg encodes AC3 using its native ac3 encoder, which is a compliant Dolby Digital encoder supporting mono through 5.1 channel layouts. The encoder operates at a constant bitrate (CBR), unlike some audio codecs that offer variable bitrate modes — AC3 by specification is always CBR. When compressing, the channel count and sample rate from the source are preserved by default; FFmpeg will only change them if the target bitrate is mathematically insufficient for the channel layout. One important limitation: AC3 does not support embedded metadata beyond basic channel configuration and dialnorm (dialogue normalization) values, so there are no ID3 tags or cover art to worry about. The dialnorm value from the source stream is not automatically copied during re-encoding — FFmpeg's AC3 encoder inserts a default value of -31 dBFS unless you override it with the -dialnorm flag. For broadcast delivery where loudness compliance matters, you should explicitly set dialnorm to match your measured loudness. Files over 1GB can be processed by copying the FFmpeg command and running it locally.