Extract Audio from M2TS to MP3 — Free Online Tool
Extract audio from M2TS Blu-ray and AVCHD files and save it as MP3. This tool decodes the audio stream — which is typically AAC, AC-3, DTS, or TrueHD inside the M2TS container — and re-encodes it to MP3 using the LAME encoder at 128kbps by default.
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 use an MPEG-2 Transport Stream container and commonly carry audio encoded in formats like AAC, Dolby AC-3, DTS, or lossless TrueHD — none of which are directly compatible with MP3 output. This means the audio stream must be fully decoded and then re-encoded using the LAME MP3 encoder (libmp3lame). The video stream is discarded entirely using the -vn flag, so no video decoding or re-encoding takes place. The result is a standalone MP3 file containing only the primary audio track from the M2TS source. Because the source audio is often high-bitrate surround sound (e.g., 5.1 channels), FFmpeg will automatically downmix to stereo during the encode, since MP3 supports a maximum of 2 channels.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg multimedia processing tool. All audio extraction and re-encoding logic for this M2TS-to-MP3 conversion is handled by FFmpeg under the hood, both in the browser via WebAssembly and when run locally on the command line. |
-i input.m2ts
|
Specifies the input M2TS file — a Blu-ray or AVCHD container that may contain video, one or more audio tracks in formats like AC-3, AAC, or TrueHD, and subtitles. FFmpeg reads all available streams from this file before applying the output flags. |
-vn
|
Disables video output entirely, telling FFmpeg to ignore the video stream in the M2TS file. This is essential for audio extraction — it prevents unnecessary video decoding and ensures the output MP3 contains only audio data. |
-c:a libmp3lame
|
Selects the LAME MP3 encoder to re-encode the audio. Because M2TS audio codecs like AC-3, DTS, or TrueHD cannot be stored directly in an MP3 file, the audio must be fully decoded and then re-encoded to MPEG Audio Layer III format using this encoder. |
-b:a 128k
|
Sets the MP3 audio bitrate to 128 kilobits per second, which is the default for broad compatibility and reasonable file sizes. For music extracted from high-quality Blu-ray sources, increasing this to 192k or 320k will better preserve audio fidelity at the cost of a larger output file. |
output.mp3
|
Defines the output file name and format. The .mp3 extension tells FFmpeg to write an MPEG Audio Layer III file, which is universally compatible with music players, smartphones, car audio systems, and streaming software. |
Common Use Cases
- Ripping the musical score or soundtrack from a Blu-ray disc backup to listen to as standalone MP3 audio
- Extracting dialogue or commentary tracks from AVCHD camcorder footage for use in a podcast or voiceover project
- Pulling the audio from a recorded live concert or event stored in M2TS format to build a portable music library
- Creating MP3 audio files from Blu-ray movie rips for playback on older MP3 players, car stereos, or devices that don't support M2TS or AC-3
- Separating the audio from an AVCHD home video recording to archive or share without the video component
- Extracting a specific audio track from a multi-language M2TS file for translation or transcription workflows
Frequently Asked Questions
No — MP3 supports a maximum of two audio channels (stereo), so any surround sound format present in the M2TS file, such as Dolby AC-3 5.1 or DTS, will be automatically downmixed to stereo during the LAME encoding process. The downmix is handled by FFmpeg and is generally well-balanced, but spatial audio information from the original surround mix will be lost. If preserving multichannel audio is important, consider extracting to a format like FLAC or AC-3 instead.
Yes, there is always some quality loss when converting to MP3 because it is a lossy compression format. If the original M2TS audio is lossless (such as TrueHD or PCM), the quality reduction may be noticeable at lower bitrates. If the source is already lossy (like AAC or AC-3), this conversion involves decoding one lossy format and re-encoding to another — a process sometimes called 'generation loss' — which compounds the quality reduction slightly. Using a higher bitrate like 192k or 320k in the FFmpeg command will minimize but not eliminate this loss.
Replace the value after -b:a in the command. For example, to encode at 320kbps for higher quality, use: ffmpeg -i input.m2ts -vn -c:a libmp3lame -b:a 320k output.mp3. The available options typically range from 64k (small file, lower quality) up to 320k (largest MP3 file, best quality). For casual listening, 192k is a common sweet spot between file size and quality.
Yes — M2TS files from Blu-ray discs often contain multiple audio tracks for different languages or commentary. You can target a specific track by adding the -map flag to the FFmpeg command. For example, to select the second audio track (index 1), use: ffmpeg -i input.m2ts -map 0:a:1 -vn -c:a libmp3lame -b:a 128k output.mp3. Run ffmpeg -i input.m2ts first to see a list of all available audio streams and their indices.
M2TS files typically carry minimal metadata compared to media formats like MKV or MP4, and Blu-ray transport streams generally do not embed rich ID3-style metadata. FFmpeg will copy any available metadata it can read during the conversion, but in practice the resulting MP3 is likely to have little or no title, artist, or album tag data. You will likely need to tag the output MP3 manually using a tool like MusicBrainz Picard or Mp3tag after the conversion.
Yes — on Linux or macOS, you can use a shell loop: for f in *.m2ts; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.m2ts}.mp3"; done. On Windows Command Prompt, use: for %f in (*.m2ts) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.mp3". This is especially useful for processing large collections of AVCHD recordings or Blu-ray chapter files. Note that the browser-based tool processes one file at a time, so the FFmpeg command is the recommended approach for batch work.
Technical Notes
M2TS uses an MPEG-2 Transport Stream container, which is designed for broadcast and disc delivery and can multiplex many streams — including multiple audio tracks in formats such as AAC, AC-3, E-AC-3, DTS, DTS-HD MA, TrueHD, and LPCM. Because none of these formats are compatible with an MP3 output container, full decode-and-reencode is always required; there is no possibility of a lossless stream copy to MP3 as there would be in some container-to-container conversions. The -vn flag ensures the video stream is completely skipped, making the process faster since no video decoding occurs. MP3 via libmp3lame supports only mono or stereo output, so multichannel source audio will be downmixed. The default bitrate of 128kbps is suitable for speech and casual listening but may fall short for high-fidelity music extracted from a Blu-ray source; 192kbps or 320kbps is recommended for music content. M2TS files can exceed 1GB for feature-length content — the browser tool supports files up to 1GB, and the provided FFmpeg command is ideal for larger files processed locally.