Convert AVI to AC3 — Free Online Tool
Extract and convert the audio track from an AVI file into AC3 (Dolby Digital) format, encoding it with the ac3 codec at 192kbps by default. AC3 is the native audio format for DVDs and Blu-rays, making this conversion ideal for anyone authoring home video discs or integrating legacy AVI footage into professional broadcast pipelines.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your AVI 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
AVI files store audio and video streams in an interleaved container, with audio commonly encoded as MP3 (libmp3lame) or AAC. During this conversion, FFmpeg demuxes the AVI container, discards the video stream entirely, and re-encodes the extracted audio stream from scratch using Dolby Digital's AC3 codec. This is a full transcode — not a remux — because AVI's audio formats (MP3, AAC, Vorbis) are not the same codec as AC3, so the audio data must be decoded to PCM and then re-encoded into the AC3 bitstream. The result is a standalone .ac3 file containing only the Dolby Digital audio, with no video or container overhead.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg program, the open-source multimedia processing engine running under the hood of this browser-based tool via WebAssembly. |
-i input.avi
|
Specifies the input file — an AVI container that may hold video alongside audio encoded as MP3, AAC, or Vorbis, all of which will be decoded before the audio is re-encoded to AC3. |
-c:a ac3
|
Instructs FFmpeg to encode the audio stream using the Dolby Digital AC3 codec, producing a standards-compliant bitstream compatible with DVD-Video, Blu-ray, and broadcast television specifications. |
-b:a 192k
|
Sets the AC3 audio bitrate to 192 kilobits per second, which is a suitable default for stereo Dolby Digital content; increase this to 384k or 448k if the source AVI contains 5.1 surround audio to preserve fidelity across all channels. |
output.ac3
|
Defines the output as a raw AC3 bitstream file — the .ac3 extension signals to FFmpeg that no container wrapper is needed, producing a pure Dolby Digital audio file ready for DVD authoring tools or direct playback on compatible devices. |
Common Use Cases
- Authoring a DVD or Blu-ray disc from legacy AVI home video footage, where the disc authoring tool requires AC3 audio as a mandatory input format
- Extracting a Dolby Digital audio track from an AVI recording of a live event or broadcast capture for use in a professional video editing timeline
- Preparing an audio track from an old AVI movie rip for integration into an ISO-compliant DVD structure using tools like DVDAuthor
- Converting AVI audio to AC3 for playback on AV receivers and home theater systems that require Dolby Digital streams over S/PDIF or HDMI passthrough
- Stripping and re-encoding audio from AVI surveillance or dashcam footage into AC3 for archival in broadcast-compatible formats
- Providing a Dolby Digital audio deliverable from AVI source material when a broadcast or streaming platform requires AC3 as part of their technical specification
Frequently Asked Questions
Yes, some quality loss is inevitable. Both the source audio in the AVI (typically MP3 or AAC) and the output AC3 format are lossy codecs, so this conversion involves a decode-then-re-encode cycle — sometimes called a generation loss. The degree of degradation depends on the source bitrate and the output AC3 bitrate you choose. Using a higher output bitrate like 384k or 448k helps minimize the audible impact, and the default 192k setting is generally acceptable for stereo content, though 320k or higher is recommended for critical listening or surround sound material.
Yes, if your AVI file contains a multi-channel audio track (such as 5.1 surround), FFmpeg will preserve the channel layout during re-encoding into AC3. AC3 natively supports up to 5.1 channels, which is one of its primary strengths for DVD and Blu-ray use. However, if your AVI only has a stereo track, the output AC3 will also be stereo — AC3 does not upmix channels automatically.
When the output file has an audio-only extension like .ac3, FFmpeg automatically maps only the audio stream and ignores the video — no explicit -vn flag is needed. FFmpeg infers from the output format that video has no place in a raw AC3 bitstream file, so the video track from the AVI is silently discarded without any additional instruction.
Replace the value after -b:a in the command with your desired bitrate. For example, to encode at 448kbps — a common choice for 5.1 Dolby Digital on DVDs — the command becomes: ffmpeg -i input.avi -c:a ac3 -b:a 448k output.ac3. AC3 supports bitrates from 96k up to 640k, with 192k being the standard for stereo and 384k–448k typical for 5.1 surround content.
Yes, on Linux or macOS you can use a shell loop: for f in *.avi; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.avi}.ac3"; done. On Windows Command Prompt, use: for %f in (*.avi) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". This processes each AVI in the current directory and outputs a matching .ac3 file, which is especially useful for converting a folder of legacy video files for DVD authoring.
A raw .ac3 file is a valid, self-contained Dolby Digital bitstream that many media players (VLC, MPC-HC) and AV receivers can play directly. However, for DVD or Blu-ray authoring, the AC3 stream typically needs to be multiplexed into an MPEG-PS or VOB container alongside a video stream using a tool like FFmpeg or DVDAuthor. The standalone .ac3 output from this conversion is the correct intermediate format for those workflows.
Technical Notes
AVI is a legacy container that does not natively support AC3 audio as a stored codec in most implementations, which is why extracting the audio and re-encoding it as a standalone AC3 bitstream is the correct approach rather than attempting an in-container swap. The AC3 codec used here is the native Dolby Digital encoder built into FFmpeg, which produces a standards-compliant bitstream suitable for DVD-Video (which mandates AC3 for NTSC releases), Blu-ray, and broadcast. AC3 supports a maximum of 5.1 channels; it does not support 7.1 or object-based audio like Dolby Atmos. Metadata such as embedded tags or chapter markers from the AVI source are not carried over into the raw .ac3 output format, as AC3 bitstreams have no container-level metadata fields for this information. One important consideration: AVI files can contain multiple audio tracks (the format supports this), but this tool will by default select the first audio track. If you need to extract a specific secondary audio track from a multi-track AVI, you would add a -map 0:a:1 flag to the FFmpeg command to select the second audio stream explicitly.