Convert MP4 to AC3 — Free Online Tool
Extract and convert the audio track from an MP4 video into AC3 (Dolby Digital) format, encoded with the ac3 codec at 192kbps by default. AC3 is the standard audio format for DVDs, Blu-rays, and broadcast TV, making this conversion essential for home theater authoring and professional A/V workflows.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MP4 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
During this conversion, FFmpeg discards the video stream entirely and extracts only the audio from the MP4 container. That audio — whether originally encoded as AAC, MP3, or Opus inside the MP4 — is decoded to raw PCM and then re-encoded using Dolby Digital's AC3 codec. AC3 natively supports up to 5.1 surround channels, so if your MP4 source contains multichannel audio, those channels are preserved in the output. The resulting .ac3 file is a raw Dolby Digital bitstream with no container wrapper, which is exactly what DVD authoring tools, Blu-ray encoders, and broadcast encoding systems expect.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary, the open-source multimedia processing engine that handles all decoding, encoding, and stream routing for this MP4-to-AC3 conversion. |
-i input.mp4
|
Specifies the input MP4 file. FFmpeg reads the container and identifies all streams inside — typically a video stream (H.264, H.265, etc.) and one or more audio streams (AAC, MP3, Opus) — so it can selectively process them. |
-c:a ac3
|
Instructs FFmpeg to encode the audio stream using the Dolby Digital AC3 codec, producing output compatible with DVD players, Blu-ray authoring tools, and broadcast ingest systems. No video codec is specified because AC3 is audio-only, so the video stream is automatically dropped. |
-b:a 192k
|
Sets the AC3 audio bitrate to 192 kilobits per second, which is the standard for stereo Dolby Digital audio (e.g., on DVDs). For 5.1 surround content, you would typically raise this to 384k or 448k to maintain surround channel fidelity. |
output.ac3
|
Defines the output filename with the .ac3 extension, telling FFmpeg to write a raw Dolby Digital bitstream file — the format expected by DVD authoring software, broadcast encoders, and A/V muxing tools. |
Common Use Cases
- Authoring a DVD or Blu-ray disc and needing the audio track in the Dolby Digital AC3 format required by the DVD specification
- Delivering a video project to a broadcast facility that requires a separate AC3 audio file as part of their ingest package
- Converting a home movie or screener MP4 into AC3 so it can be muxed into a VOB or TS stream for set-top box playback
- Extracting a 5.1 surround audio track from an MP4 and re-encoding it as AC3 for use with an A/V receiver or home theater processor
- Preparing audio assets for a video game cutscene pipeline that uses Dolby Digital AC3 for in-engine audio playback
- Testing how an MP4's audio track sounds when downmixed or transcoded to AC3 before committing to a full disc authoring workflow
Frequently Asked Questions
Yes — this is a lossy-to-lossy transcode if your MP4's audio is already compressed (e.g., AAC or MP3). The audio is fully decoded from its original format and then re-encoded as Dolby Digital AC3, which introduces a second generation of lossy compression artifacts. At the default 192kbps bitrate, the quality is generally transparent for most content, but you can raise it to 320k or 384k in the FFmpeg command if your source material is high-quality multichannel audio and you want to minimize degradation.
Yes — AC3 natively supports up to 5.1 channels (front left, front right, center, LFE, surround left, surround right). If your MP4 file contains a multichannel AAC or Opus audio track with 5.1 layout, FFmpeg will map those channels into the AC3 output automatically. If your MP4 only has stereo audio, the AC3 output will also be stereo encoded in Dolby Digital format.
The .ac3 extension denotes a raw Dolby Digital bitstream — it is not wrapped in a multimedia container like MP4 or MKV. This bare bitstream format is intentional: DVD and Blu-ray authoring tools, broadcast encoders, and some A/V receivers expect AC3 audio as a standalone stream without a container. If you need the Dolby Digital audio inside a container (for example, MKV for media player use), you would instead mux the AC3 stream into a container format after conversion.
The video stream is completely dropped. FFmpeg extracts only the audio track and encodes it as AC3 — no video data is written to the output file. This is by design: AC3 is a pure audio format and has no mechanism for carrying video. If you need to keep the video alongside Dolby Digital audio, you would mux the AC3 output back into a container like MKV or TS along with the original video stream.
Replace the value after -b:a with your desired bitrate. AC3 supports bitrates from 96k up to 640k, with 192k being the standard for stereo and 384k or 448k being common for 5.1 surround. For example, to encode at 384kbps for a surround sound track, use: ffmpeg -i input.mp4 -c:a ac3 -b:a 384k output.ac3. Higher bitrates reduce compression artifacts but increase file size.
Yes — on Linux or macOS you can use a shell loop: for f in *.mp4; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.mp4}.ac3"; done. On Windows Command Prompt, use: for %f in (*.mp4) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". Each MP4 file will produce a corresponding .ac3 file with Dolby Digital audio extracted from it.
Technical Notes
AC3 (ATSC A/52) is constrained to a maximum of 5.1 channels and does not support channel counts above six, so MP4 files with 7.1 or higher channel audio will be downmixed or require explicit channel mapping before encoding. Unlike AAC — which is variable bitrate by nature in many profiles — AC3 operates at a fixed constant bitrate, meaning the -b:a value you specify is exactly what you get throughout the file. Metadata such as chapter markers, subtitle tracks, and multiple audio tracks present in the MP4 are all discarded during this conversion, as raw AC3 bitstreams carry no container-level metadata. There is no lossless mode in AC3; all output is lossy regardless of bitrate. If your MP4 source audio is uncompressed PCM or lossless FLAC (uncommon but possible), the AC3 output will be the first lossy generation — use the highest practical bitrate (448k–640k) in that scenario. The .ac3 raw bitstream is not the same as Dolby Digital Plus (E-AC3 / .eac3), which is a separate, more modern codec; standard DVD authoring requires plain AC3.