Convert M2TS to AIFF — Free Online Tool
Extract and convert the audio track from an M2TS Blu-ray or AVCHD file into a lossless AIFF file using PCM 16-bit big-endian encoding. This tool is ideal for archiving high-definition disc audio in an uncompressed format natively compatible with macOS and professional audio applications like Logic Pro and Pro Tools.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your M2TS 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
M2TS files typically carry audio encoded in compressed formats such as Dolby TrueHD, DTS-HD MA, AAC, or AC-3. Because AIFF is a purely audio container that only supports uncompressed PCM streams, FFmpeg decodes whichever audio track is present in the M2TS and re-encodes it to PCM signed 16-bit big-endian (pcm_s16be) — the default and most widely compatible PCM variant for AIFF. The video stream, subtitles, and any secondary audio tracks in the M2TS are discarded entirely, since AIFF supports only a single uncompressed audio track. The result is a fully lossless representation of the decoded audio at its original sample rate and channel layout.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool, which handles the demuxing of the M2TS transport stream, decoding of its compressed audio track, and re-encoding to uncompressed PCM for the AIFF output. |
-i input.m2ts
|
Specifies the input M2TS file — a Blu-ray or AVCHD container that may contain video, one or more compressed audio tracks, and subtitles. FFmpeg reads the entire transport stream but only the primary audio track is carried through to the AIFF output. |
-c:a pcm_s16be
|
Sets the audio codec to signed 16-bit big-endian PCM, which is the standard uncompressed audio encoding for AIFF files. This decodes whatever compressed format (AC-3, AAC, DTS, TrueHD, etc.) was in the M2TS and writes fully uncompressed audio samples in the byte order expected by AIFF and macOS audio APIs. |
output.aiff
|
Defines the output filename and tells FFmpeg to write an AIFF container. FFmpeg infers the AIFF format from the .aiff extension and ensures the PCM audio stream is wrapped with the correct AIFF header, making the file immediately playable in macOS Finder, Logic Pro, and other Apple or professional audio tools. |
Common Use Cases
- Extracting a high-fidelity stereo or surround mix from a Blu-ray rip for import into Logic Pro or GarageBand on macOS without any lossy compression artifacts
- Archiving the audio from AVCHD camcorder footage as a lossless AIFF master before editing or mixing in a professional DAW
- Pulling the original soundtrack from a Blu-ray M2TS file to use as a lossless reference track when comparing audio quality against compressed streaming versions
- Preparing uncompressed audio stems from M2TS broadcast recordings for delivery to post-production facilities that require AIFF masters
- Converting the audio from a Blu-ray concert or live performance recording into AIFF for lossless playback in Apple Music or iTunes on macOS
- Stripping and preserving the raw PCM audio from an M2TS file before the original source disc becomes unavailable or degrades
Frequently Asked Questions
No — as long as the source audio in the M2TS is a lossless or uncompressed track (such as Dolby TrueHD or PCM), the resulting AIFF will be a bit-perfect decoded representation with no quality loss. If the M2TS contains a lossy track like AC-3 or AAC, the AIFF will be an uncompressed copy of that lossy signal — it won't degrade further, but it also won't recover quality that was lost when the M2TS was originally encoded. AIFF itself introduces zero additional compression.
M2TS files store audio in compressed formats (AC-3, AAC, DTS, etc.) that can be 10–20 times smaller than raw PCM. AIFF with pcm_s16be is fully uncompressed, so a 5-minute audio track that occupies 50MB in AC-3 inside an M2TS might expand to 50–100MB as a 16-bit stereo AIFF at 48kHz. This is expected behavior and the trade-off for lossless, uncompressed storage.
By default FFmpeg selects the first audio stream it finds in the M2TS container, which is typically the primary language track or the highest-priority track as defined in the file. If you want to target a specific track — for example, the second audio stream — you can modify the command to add '-map 0:a:1' before the output filename, where '1' is the zero-based index of the desired audio stream.
Yes, AIFF can store multi-channel PCM audio, so a 5.1 or 7.1 surround track from an M2TS will be preserved in the AIFF output with all channels intact. However, compatibility with multi-channel AIFF files varies by application — macOS Core Audio and most professional DAWs handle them correctly, but some consumer players may only play back the stereo downmix or the front channels.
Yes. The default command uses '-c:a pcm_s16be' which produces 16-bit PCM, but AIFF also supports higher bit depths. You can substitute '-c:a pcm_s24be' for 24-bit or '-c:a pcm_s32be' for 32-bit signed big-endian PCM. If your M2TS source contains a 24-bit lossless track (common on Blu-ray), using pcm_s24be will preserve the full resolution of the original. For example: ffmpeg -i input.m2ts -c:a pcm_s24be output.aiff
Yes. On macOS or Linux you can use a shell loop: 'for f in *.m2ts; do ffmpeg -i "$f" -c:a pcm_s16be "${f%.m2ts}.aiff"; done'. On Windows Command Prompt, use: 'for %f in (*.m2ts) do ffmpeg -i "%f" -c:a pcm_s16be "%~nf.aiff"'. The in-browser tool processes one file at a time, so the FFmpeg command is especially useful when you have a large batch of M2TS files to convert locally.
Technical Notes
M2TS wraps MPEG-2 Transport Stream data and commonly carries audio in Dolby Digital (AC-3), Dolby TrueHD, DTS, DTS-HD Master Audio, AAC, or uncompressed LPCM depending on the disc or recording device. When FFmpeg decodes the M2TS and writes AIFF, it fully decodes the compressed audio to raw PCM before encoding to pcm_s16be — this means the AIFF output is always uncompressed regardless of what was in the source. The default 16-bit depth is appropriate for standard Blu-ray and AVCHD sources, but Blu-ray discs frequently carry 24-bit lossless audio; in those cases using pcm_s24be preserves the additional dynamic range. AIFF does not support metadata fields like chapter markers, subtitle streams, or multiple audio tracks, all of which are silently dropped from the M2TS during conversion. The sample rate from the source (commonly 48kHz for Blu-ray and broadcast, or 44.1kHz for some music discs) is preserved as-is in the AIFF output without resampling unless you explicitly add a '-ar' flag. Because AIFF uses big-endian byte ordering (a legacy of its Apple/Motorola 68k origins), it is natively supported on macOS but may require explicit codec selection in some Windows applications that prefer WAV with little-endian PCM.