Extract Audio from MPEG to MP3 — Free Online Tool
Extract the audio track from an MPEG video file and save it as an MP3, discarding the MPEG-1/2 video stream entirely. This is ideal for pulling music, speech, or soundtracks from legacy broadcast or DVD-compatible MPEG files into a universally playable format.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MPEG 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
MPEG files typically carry audio encoded as MPEG Audio Layer II (MP2) — an older sibling of MP3 that lacks broad modern support. During this conversion, FFmpeg strips the MPEG-1 or MPEG-2 video stream completely using the -vn flag, then decodes the MP2 (or AAC/MP3) audio and re-encodes it using the LAME encoder (libmp3lame) into MP3 format at 128k bitrate. Because the source audio codec (MP2) is not the same as the output (MP3/libmp3lame), a full audio transcode is required — the audio is decoded to raw PCM internally and then re-compressed as MP3. No video processing occurs at all, making this conversion fast even for long MPEG files.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool. In the browser this runs via FFmpeg.wasm (WebAssembly), but the command is identical to what you would run in a terminal on Windows, macOS, or Linux for local processing of files over 1GB. |
-i input.mpeg
|
Specifies the input MPEG file. FFmpeg will detect whether it contains MPEG-1 or MPEG-2 video and identify the audio codec (typically MP2 in broadcast or VCD sources) automatically from the container. |
-vn
|
Disables video output entirely, telling FFmpeg to ignore the MPEG-1 or MPEG-2 video stream. Without this flag, FFmpeg would attempt to include a video stream in the output, which is not valid for a .mp3 file. |
-c:a libmp3lame
|
Selects the LAME MP3 encoder to transcode the source audio (typically MP2 from the MPEG file) into MP3. Since MP2 and MP3 are different codecs, this re-encode is mandatory — the audio cannot be stream-copied directly. |
-b:a 128k
|
Sets the MP3 output bitrate to 128 kilobits per second. This is the standard default that balances file size and audio quality for general listening; raise it to 192k or 320k if extracting audio from higher-quality MPEG sources or for music archiving. |
output.mp3
|
Defines the output filename and format. The .mp3 extension instructs FFmpeg to wrap the libmp3lame-encoded audio in an MP3 file with ID3 tag support, producing a file compatible with virtually all modern devices, players, and streaming platforms. |
Common Use Cases
- Extracting a music performance or concert recording captured in MPEG format from a DVD rip or broadcast archive for playback in a modern media player or streaming app.
- Pulling a voiceover or narration track from a legacy MPEG training video to use as a standalone audio file for podcast distribution or transcription.
- Converting MPEG files recorded by older broadcast equipment or VCD (Video CD) sources into MP3 for easier archiving and sharing without requiring a video player.
- Extracting the audio from an MPEG television broadcast recording to listen to a show or interview on a phone or portable MP3 player offline.
- Recovering the audio soundtrack from a degraded or partially corrupted MPEG video where the video stream is unplayable but the audio is still intact.
- Preparing audio content from MPEG source material for upload to platforms like SoundCloud or Spotify, which accept MP3 but not raw MPEG video files.
Frequently Asked Questions
Yes, some quality loss is expected. The original MPEG file most likely contains MP2 audio, which must be fully decoded and then re-encoded as MP3 — this is a lossy-to-lossy transcode. Each generation of lossy compression introduces additional artifacts. At the default 128k bitrate the result is acceptable for speech and general listening, but if you need the highest possible fidelity, increase the bitrate to 192k or 320k in the FFmpeg command by changing -b:a 128k to -b:a 320k.
MPEG files commonly store audio as MP2 (MPEG Audio Layer II), which uses a different psychoacoustic model than MP3. When FFmpeg decodes the MP2 stream and re-encodes it as MP3 via libmp3lame, subtle compression artifacts from both the original MP2 encoding and the new MP3 encoding compound. The result is perceptually similar but not bit-for-bit identical. For critical audio work, using a higher output bitrate like 256k or 320k minimizes the difference.
Yes. VCD files use MPEG-1 video with MP2 audio, and DVD VOB files are often MPEG-2 program streams — both are handled by this conversion. The tool strips the video stream and re-encodes the audio as MP3. Note that for multi-program or segmented MPEG streams (like VOBs split across a DVD), you may need to concatenate them first for a seamless output, which is easier to do via the desktop FFmpeg command shown on this page.
MPEG container files rarely carry structured ID3-style metadata — they were designed for broadcast and streaming rather than tagged media libraries. FFmpeg will pass through any metadata it finds in the MPEG container to the MP3 output as ID3 tags, but in practice most MPEG files have no embedded title, artist, or album information. You will likely need to tag the resulting MP3 manually using a tool like MusicBrainz Picard or Mp3tag after conversion.
Change the -b:a 128k argument to your desired bitrate. For example, use -b:a 192k for a good balance of size and quality, or -b:a 320k for the highest MP3 bitrate available. The full command would then read: ffmpeg -i input.mpeg -vn -c:a libmp3lame -b:a 320k output.mp3. Note that increasing the bitrate beyond the quality of the original MP2 audio will not recover lost detail — it only reduces additional compression loss from the re-encode step.
Yes. On Linux or macOS you can loop over files in a shell: for f in *.mpeg; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.mpeg}.mp3"; done. On Windows Command Prompt, use: for %f in (*.mpeg) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.mp3". This is particularly useful when you have many MPEG files larger than 1GB that exceed the browser tool's processing limit.
Technical Notes
MPEG containers (with extensions .mpeg, .mpg, .m1v, .m2v) encapsulate MPEG-1 or MPEG-2 video alongside audio that is almost universally MP2 (MPEG Audio Layer II) in broadcast and VCD contexts, though some authoring tools embed MP3 or even AAC. FFmpeg auto-detects the actual audio codec present, so the -c:a libmp3lame flag ensures the output is always proper LAME-encoded MP3 regardless of the specific source audio codec. The -vn flag tells FFmpeg to include no video stream in the output, which prevents FFmpeg from attempting to wrap the MP3 audio inside an MPEG container. Output file size is determined solely by the audio duration and the chosen bitrate — for a 128k bitrate, expect roughly 1MB per minute. MP3 output via libmp3lame supports ID3v2 tag embedding, but because MPEG sources rarely carry metadata, tags will typically be empty. MPEG files do not support subtitles, chapters, or multiple audio tracks in the standard sense, so there is no risk of silently discarding attached subtitle streams during this extraction.