Extract Audio from M4V to AC3 — Free Online Tool
Extract and convert audio from M4V video files (Apple's iTunes-compatible MPEG-4 container) directly into AC3 Dolby Digital format — the standard codec used in DVDs, Blu-rays, and broadcast TV. This tool strips the video stream and re-encodes the AAC or MP3 audio track from your M4V file into a proper AC3 bitstream at 192kbps by default.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your M4V 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
M4V files typically carry AAC-encoded audio inside an MPEG-4 container, often sourced from iTunes downloads or iOS-compatible video. Because AAC and AC3 (Dolby Digital) are entirely different audio codecs with incompatible bitstream formats, the audio must be fully decoded and then re-encoded — this is not a simple remux. FFmpeg reads the M4V container, discards the video stream entirely using the -vn flag, decodes the AAC audio to raw PCM, and then re-encodes it using Dolby's AC3 codec at 192kbps. The result is a standalone .ac3 file containing a Dolby Digital bitstream with no video container overhead.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary. When run via this browser tool, it uses FFmpeg.wasm (a WebAssembly port) executing entirely in your browser — no data leaves your device. When copying the command for local use, this calls your system-installed FFmpeg. |
-i input.m4v
|
Specifies the input M4V file — Apple's MPEG-4 video container that typically carries H.264 video and AAC audio. FFmpeg reads both the video and audio streams from this container before the subsequent flags determine what to do with each. |
-vn
|
Disables video output entirely, telling FFmpeg to ignore the H.264 (or H.265) video stream from the M4V. Since we are extracting audio only, this prevents FFmpeg from attempting to encode or pass through the video track into the AC3 output, which is an audio-only format. |
-c:a ac3
|
Selects the AC3 (Dolby Digital) encoder for the audio stream. Because the source audio in the M4V is AAC — a completely different codec — FFmpeg must fully decode the AAC bitstream to PCM and then re-encode it as an AC3 Dolby Digital bitstream. This is not a lossless copy operation. |
-b:a 192k
|
Sets the AC3 audio output bitrate to 192 kilobits per second, which is a standard Dolby Digital bitrate suitable for stereo content and compatible with DVD and broadcast specifications. Increase this to 384k or 448k if your source M4V contains a 5.1 surround sound audio track. |
output.ac3
|
Specifies the output filename with the .ac3 extension, which tells FFmpeg to write a raw AC3 elementary stream — a standalone Dolby Digital bitstream file with no surrounding container. This format is directly compatible with Blu-ray authoring software, AV receivers, and muxers that assemble DVD VOB or MKV files. |
Common Use Cases
- Preparing iTunes-purchased movie or TV episode audio for authoring onto a DVD or Blu-ray disc, which expects AC3 Dolby Digital audio tracks
- Extracting the Dolby Digital audio layer from an M4V file to feed into a home theater receiver or AV system that requires AC3 input over S/PDIF or HDMI passthrough
- Converting an M4V lecture or training video's audio into AC3 for embedding into a broadcast or cable television production workflow
- Stripping and re-encoding audio from iOS screen recordings (saved as M4V) into AC3 for use in professional video editing timelines that require Dolby Digital stems
- Archiving the audio from an M4V video collection in AC3 format to match the audio format used across an existing DVD or Blu-ray library
- Testing AC3 audio compatibility for a media server like Plex or Kodi by converting a known M4V source file's audio track into a standalone Dolby Digital stream
Frequently Asked Questions
Yes, some quality loss is unavoidable. Both AAC (used in M4V) and AC3 are lossy codecs, so this conversion involves decoding the AAC audio to uncompressed PCM and then re-encoding it in Dolby Digital AC3 — a generation of lossy compression is added. At the default 192kbps bitrate, AC3 is broadly transparent for most content, but artifacts from the original AAC encoding are preserved and compounded by the new encode. If your source M4V has very high-quality AAC (256kbps+), bumping the AC3 output to 320kbps or 448kbps will minimize the generational loss.
M4V supports multiple audio tracks (for example, different languages or commentary tracks), but AC3 as a standalone .ac3 file format does not support multiple tracks in a single file. FFmpeg will default to encoding only the first audio stream it finds in the M4V. If you need a specific track — such as a surround sound or alternate language track — you should add '-map 0:a:1' (or the appropriate stream index) to the command before the output filename to select the desired audio stream.
Yes, if your M4V source contains a multi-channel AAC audio track (such as AAC 5.1), FFmpeg will decode all six channels and re-encode them into AC3 5.1 Dolby Digital. AC3 natively supports up to 5.1 channel configurations, which is one of its core strengths for home theater use. If your M4V only has a stereo AAC track, the AC3 output will also be stereo — no upmixing occurs by default.
Replace the '192k' value in '-b:a 192k' with your target bitrate. AC3 supports bitrates from 96kbps up to 640kbps — common choices are 192k for stereo, 320k or 384k for 5.1 surround, and 448k or 640k for the highest-quality Dolby Digital encoding used on commercial Blu-rays. For example, to encode at 448kbps run: ffmpeg -i input.m4v -vn -c:a ac3 -b:a 448k output.ac3. Note that AC3 has fixed bitrate steps, so FFmpeg will round to the nearest valid AC3 bitrate if you specify an unusual value.
Yes, on a desktop you can use a shell loop to process multiple files. On Linux or macOS, run: for f in *.m4v; do ffmpeg -i "$f" -vn -c:a ac3 -b:a 192k "${f%.m4v}.ac3"; done. On Windows Command Prompt, use: for %f in (*.m4v) do ffmpeg -i "%f" -vn -c:a ac3 -b:a 192k "%~nf.ac3". The browser-based tool on this page processes one file at a time, so the FFmpeg command is particularly valuable for batch workflows on large or multiple files.
No. AC3 as a standalone audio format does not support chapters, subtitles, or any metadata containers — it is a raw audio bitstream. M4V can carry chapter markers and subtitle tracks, but all of that is discarded during this extraction. If you need to preserve chapters alongside Dolby Digital audio, you would instead want to remux the content into a container like MKV or MP4 that supports both AC3 audio and chapter/subtitle tracks.
Technical Notes
The AC3 codec in FFmpeg (libavcodec's native ac3 encoder) is a solid implementation of the Dolby Digital standard and produces bitstreams compatible with DVD players, Blu-ray authoring tools, AV receivers, and broadcast playout systems. M4V files sourced from iTunes may include FairPlay DRM, which will prevent FFmpeg from reading the audio stream — only DRM-free M4V files can be processed by this tool. The default 192kbps output is appropriate for stereo content and matches the bitrate commonly used on standard-definition DVDs; for 5.1 surround content decoded from a multi-channel M4V source, 384kbps or 448kbps is recommended to maintain fidelity across all channels. AC3 does not support metadata fields like album art, track titles, or embedded lyrics, so any ID3-style metadata present in the M4V audio track will be lost. The output .ac3 file is a headerless elementary stream, which is directly muxable into MPEG-2 transport streams, VOB files, or MKV containers if you need to package it further.