Extract Audio from MXF to ALAC — Free Online Tool
Extract audio from MXF broadcast files and convert it to ALAC, Apple's lossless audio format stored in an M4A container. This tool decodes PCM audio tracks from professional MXF media — common in broadcast and post-production workflows — into perfectly compressed ALAC, preserving every bit of the original audio without any quality loss.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MXF 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
MXF files used in broadcast environments typically carry uncompressed PCM audio (most commonly 16-bit or 24-bit linear PCM) alongside video streams encoded with codecs like MPEG-2 or H.264. This conversion strips the video stream entirely using the -vn flag, then transcodes the raw PCM audio into ALAC — Apple Lossless Audio Codec. Because ALAC is a lossless compression format, the encoder mathematically compresses the PCM samples without discarding any audio data, meaning the decoded output is bit-for-bit identical to the original uncompressed audio. The result is an M4A file that is smaller than the raw MXF audio track but sonically identical to it, wrapped in an MPEG-4 container that is natively compatible with Apple devices, iTunes, and Logic Pro.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg media processing tool. In the browser version, this runs via FFmpeg.wasm compiled to WebAssembly, so no files leave your device. |
-i input.mxf
|
Specifies the input MXF file — a professional broadcast container that may carry MPEG-2, H.264, or MJPEG video alongside uncompressed PCM audio tracks typical of broadcast production workflows. |
-vn
|
Disables video output entirely, stripping all video streams from the MXF and ensuring only the audio track is processed. This is essential for audio extraction — without it, FFmpeg would attempt to include or re-encode the MXF video stream in the output. |
-c:a alac
|
Sets the audio codec to ALAC (Apple Lossless Audio Codec), which losslessly compresses the raw PCM audio from the MXF source. This flag appears in the command and encodes the audio into a format natively supported across the entire Apple ecosystem including Final Cut Pro, Logic Pro, and iOS devices. |
output.m4a
|
Defines the output filename with the .m4a extension, which tells FFmpeg to wrap the ALAC-encoded audio in an MPEG-4 container — the standard and most compatible container for ALAC files used on Apple platforms. |
Common Use Cases
- Archiving isolated dialogue, music, or sound design stems from a broadcast MXF master into lossless M4A files for long-term storage in an Apple-centric studio
- Delivering clean, lossless audio tracks from a finished MXF broadcast package to a music supervisor or composer who works in Logic Pro or GarageBand
- Extracting a recorded live performance or orchestral session captured on a broadcast camera or deck into ALAC for iTunes library management without sacrificing any audio fidelity
- Converting MXF audio tracks from a news or documentary production archive into ALAC for import into Final Cut Pro, which handles ALAC natively and efficiently
- Pulling 16-bit or 24-bit PCM audio from an MXF file delivered by a broadcast facility into a lossless ALAC file that is easier to share and store than raw uncompressed WAV or AIFF
- Preparing reference audio from an MXF broadcast master for quality-control listening on Apple devices where ALAC playback is hardware-accelerated and guaranteed lossless
Frequently Asked Questions
No — this conversion is completely lossless. MXF files in broadcast contexts typically carry uncompressed PCM audio (16-bit or 24-bit), and ALAC is a lossless codec, meaning it compresses that PCM data using a reversible algorithm. When decoded, the audio is mathematically identical to the original PCM source. There is no lossy encoding step at any point in this conversion chain.
The video stream is completely discarded. The -vn flag in the FFmpeg command instructs the encoder to ignore all video tracks and process only the audio. The resulting M4A file contains only audio data, which is why it is dramatically smaller than the original MXF file. No video re-encoding takes place, which also keeps processing fast.
MXF files in broadcast production frequently carry multiple audio tracks — for example, separate dialogue, music, and effects stems, or dual-mono channels mapped to a stereo pair. The default FFmpeg command will mix all available audio tracks into a single ALAC output. To target a specific track, you would add a flag like -map 0:a:1 (to select the second audio stream, zero-indexed) before the output filename when running the command locally. The browser tool processes the default audio mapping, so for multi-track extraction, the local FFmpeg command shown on this page is especially useful.
Yes, fully. ALAC was developed by Apple and is natively supported across the entire Apple ecosystem — iOS, macOS, tvOS, iTunes, Apple Music, Logic Pro, Final Cut Pro, and QuickTime Player all handle ALAC M4A files without any additional plugins or conversion. Final Cut Pro in particular imports ALAC efficiently and can use it directly in a timeline without transcoding to a proxy format.
The output M4A file will be substantially smaller than the MXF for two reasons: the video stream is removed entirely (which typically accounts for the vast majority of an MXF file's size), and the PCM audio is losslessly compressed by ALAC, which typically reduces raw PCM audio size by 40–60% depending on the content. For a one-hour MXF broadcast file that might be 50GB with H.264 video, the extracted ALAC audio track might be only 300–600MB — purely audio, fully lossless.
No modification is needed — ALAC natively supports both 16-bit and 24-bit source audio, and FFmpeg's ALAC encoder will automatically detect the bit depth of the PCM audio in the MXF and encode accordingly. If you want to explicitly force a specific bit depth in the output, you can add -sample_fmt s32p for 24-bit output when running the command locally. The command as shown — ffmpeg -i input.mxf -vn -c:a alac output.m4a — handles both 16-bit and 24-bit MXF source audio correctly without any changes.
Technical Notes
MXF (Material Exchange Format) is a container designed for professional broadcast and post-production environments, and its audio tracks are almost universally uncompressed PCM — either pcm_s16le (16-bit signed little-endian) or pcm_s24le (24-bit signed little-endian). This makes MXF audio an ideal source for lossless conversion to ALAC, since there is no generation loss from a prior lossy encoding step. ALAC stores audio in an MPEG-4 container with the .m4a extension and uses integer-based lossless compression similar in philosophy to FLAC, but designed for Apple's ecosystem. One important limitation: ALAC (and the M4A container) does not support multiple discrete audio tracks — it carries a single audio stream. If your MXF has separate audio tracks (e.g., stereo dialogue on tracks 1–2 and stereo music on tracks 3–4), the default conversion will mix them together or select the first stream; you will need to run separate FFmpeg commands with explicit -map flags to extract each track individually. Metadata from MXF — including timecode, clip name, and production metadata stored in MXF descriptors — will not be carried over to the M4A file, as ALAC/M4A uses a different metadata system (iTunes-style tags). Basic tags can be added manually using FFmpeg's -metadata flag when running locally.