Extract Audio from M4V to FLAC — Free Online Tool

Extract lossless audio from M4V video files — converting the AAC audio track into a FLAC file with zero quality loss. Unlike lossy-to-lossy conversions, FLAC preserves every bit of audio data from your iTunes or iOS video content as a compressed-but-lossless archive.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

M4V files typically contain an AAC audio track (Apple's preferred lossy codec) wrapped inside an MPEG-4 container. This tool discards the video stream entirely and re-encodes the AAC audio into FLAC — a lossless codec. Because AAC is already a lossy format, the FLAC output is a perfect, bit-perfect capture of the decoded AAC audio: no further quality is lost in the conversion, but you also cannot recover quality that AAC's original encoding already discarded. The resulting FLAC file uses compression level 5 (the default balance between file size and encoding speed) to store the audio in an open, archival-grade format. Any embedded metadata such as title, artist, or album tags carried in the M4V container will be mapped to FLAC's native Vorbis comment tags during conversion.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg tool, the open-source multimedia processing engine that powers this conversion both in the browser (via FFmpeg.wasm) and on the desktop command line.
-i input.m4v Specifies the input file — an M4V video container that typically holds an H.264 video stream and an AAC audio stream in an Apple MPEG-4 wrapper.
-vn Disables video output entirely, telling FFmpeg to ignore the H.264 or H.265 video stream in the M4V and produce an audio-only output file.
-c:a flac Sets the audio codec to FLAC (Free Lossless Audio Codec), which fully decodes the M4V's AAC audio track and re-encodes it as a lossless FLAC stream.
-compression_level 5 Sets FLAC's compression level to 5 (on a 0–8 scale), the default that balances encoding speed and output file size — all levels are fully lossless, so this only affects how efficiently the audio data is compressed, not its quality.
output.flac Defines the output filename and format. The .flac extension tells FFmpeg to write a standalone FLAC audio file, which is widely supported by audiophile players, DAWs, and music library software.

Common Use Cases

  • Archive the audio commentary track from an iTunes movie purchase as a lossless FLAC file for long-term storage
  • Extract a high-quality audio recording from an M4V lecture or conference video for use in a podcast editing workflow that requires lossless source material
  • Pull the AAC soundtrack from an iOS-recorded video and store it as FLAC before further mastering or processing in a DAW like Audacity or Reaper
  • Convert M4V audiobook or spoken-word content downloaded from iTunes into FLAC for playback on FLAC-compatible audiophile players like Foobar2000 or dedicated DAPs
  • Strip and preserve the stereo music track from an M4V music video download as a FLAC archive before sharing or editing
  • Extract background music from an M4V home video to use as lossless source audio in a video editing project

Frequently Asked Questions

The FLAC file will be a lossless representation of the decoded AAC audio — meaning no additional quality is lost during this conversion. However, AAC is itself a lossy codec, so some quality was already sacrificed when the M4V was originally encoded. FLAC cannot restore that lost information. Think of it as a perfect, archival snapshot of whatever quality the AAC track currently holds.
AAC is a highly efficient lossy codec that achieves small file sizes by permanently discarding audio data the encoder deems inaudible. FLAC, while compressed, is lossless — it must store the full decoded audio waveform. Decoding AAC and re-storing it as FLAC typically results in a file 3–6x larger than the original AAC stream, which is expected and correct behavior.
Yes, FFmpeg maps iTunes-style MP4 metadata atoms (such as title, artist, album, and year) to FLAC's Vorbis comment tags during conversion. Most standard tags transfer correctly. However, M4V-specific metadata like chapter markers, multiple audio tracks, and Apple DRM licensing information are not supported by FLAC and will be dropped in the output file.
DRM-protected M4V files purchased from iTunes cannot be processed by FFmpeg or this tool. FFmpeg will return an error because it cannot decrypt the protected stream. Only DRM-free M4V files — such as those you've recorded yourself, exported from video editing software, or purchased from stores that offer DRM-free downloads — can be converted.
The compression level is controlled by the -compression_level flag, which accepts values from 0 (fastest encoding, largest file) to 8 (slowest encoding, smallest file). For example, replace '-compression_level 5' with '-compression_level 8' for maximum compression: 'ffmpeg -i input.m4v -vn -c:a flac -compression_level 8 output.flac'. Importantly, all compression levels are fully lossless — this setting only affects encoding speed and file size, never audio quality.
Yes, on Linux or macOS you can use a shell loop: 'for f in *.m4v; do ffmpeg -i "$f" -vn -c:a flac -compression_level 5 "${f%.m4v}.flac"; done'. On Windows Command Prompt, use: 'for %f in (*.m4v) do ffmpeg -i "%f" -vn -c:a flac -compression_level 5 "%~nf.flac"'. This browser-based tool processes one file at a time, so the FFmpeg command is especially valuable for bulk conversions of large M4V libraries.

Technical Notes

M4V is functionally identical to MP4 but with an optional Apple-specific DRM layer and a file extension that signals iTunes compatibility. The audio codec in M4V files is almost universally AAC (Advanced Audio Coding), typically encoded at 128–256 kbps for iTunes content. Since FLAC does not support AAC as a passthrough codec, a full decode-and-re-encode cycle is required — the AAC stream is fully decoded to PCM and then encoded into FLAC. This makes the conversion CPU-intensive compared to a simple remux, but ensures a perfectly lossless FLAC output. FLAC's -compression_level 5 default is a well-regarded middle ground: it produces files roughly 10–15% larger than level 8 but encodes significantly faster. FLAC does not support multiple audio tracks, so if your M4V contains secondary audio streams (e.g., director's commentary or alternate language tracks), only the first audio stream will be extracted by default — use '-map 0:a:1' to target a specific track. Subtitle streams and chapter data from the M4V are inherently incompatible with FLAC and are silently discarded. The output FLAC file will be a standard stereo or multichannel audio file fully compatible with VLC, foobar2000, iTunes, and virtually all modern audio players.

Related Tools