Convert MPG to WAV — Free Online Tool
Extract and convert the audio track from an MPG video file into a lossless WAV file using the PCM 16-bit signed little-endian codec. This conversion discards the MPEG-2 video stream and decodes the MP2 or AAC audio into uncompressed PCM, making it ideal for archiving, audio editing, or broadcast workflows that demand full fidelity.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MPG 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
MPG files typically carry audio encoded as MPEG Layer 2 (MP2), MP3, or occasionally AAC, multiplexed alongside an MPEG-1 or MPEG-2 video stream. During this conversion, FFmpeg demuxes the MPG container to isolate the audio stream, then fully decodes it from its compressed format into raw PCM samples. Those samples are written into a WAV container using the pcm_s16le codec — 16-bit signed integers stored in little-endian byte order — at whatever sample rate and channel count were present in the source. The video stream is automatically dropped because WAV is a pure audio container. The result is an uncompressed audio file where every sample is an exact numerical representation of the decoded audio signal, with no further lossy processing applied after the initial MP2 or AAC decode.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary, the open-source multimedia processing engine that handles demuxing the MPG container, decoding the compressed audio stream, and encoding the output WAV file. |
-i input.mpg
|
Specifies the input MPG file. FFmpeg reads the MPEG-1 or MPEG-2 container, identifies the multiplexed video and audio streams (typically mpeg2video and mp2), and makes them available for processing. |
-c:a pcm_s16le
|
Sets the audio codec for the output to PCM 16-bit signed little-endian, which is the standard uncompressed audio encoding used in WAV files. This decodes the source MP2 (or other compressed audio) from the MPG into raw PCM samples stored at full precision with no further lossy compression. |
output.wav
|
Defines the output file as a WAV container. FFmpeg infers the WAV format from the .wav extension, wraps the decoded pcm_s16le audio stream in a RIFF/WAV header, and drops the video stream automatically since WAV is an audio-only format. |
Common Use Cases
- Extracting dialogue or music from a VCD or DVD-ripped MPG file to use as a clean audio source in a video editing or DAW project
- Archiving the audio track of broadcast or legacy MPG recordings in an uncompressed format before the original media degrades
- Preparing audio from an MPEG-2 broadcast capture for use in a radio or podcast production tool that requires WAV input
- Sending MPG-sourced audio to a mastering engineer who requires uncompressed PCM WAV files rather than compressed MP2 or AAC
- Converting MPG-encoded training or instructional video audio into WAV for automated speech recognition pipelines that expect uncompressed PCM input
- Stripping the audio from an old VCD-format MPG file to create a standalone music or effects file for game development or multimedia authoring
Frequently Asked Questions
No — WAV with pcm_s16le is a lossless container, but the quality ceiling is determined by the source MPG audio, which is already lossy (typically MP2 encoded at 128–256 kbps on VCD or DVD sources). The conversion faithfully decodes whatever fidelity exists in the MP2 or AAC stream and stores it as uncompressed PCM, but any artifacts introduced during the original compression cannot be recovered. What you gain is a format free from further generational loss, making it ideal as a stable editing master.
The MPG file stores audio in a compressed format like MP2, which typically uses 128–384 kbps. PCM audio in WAV is completely uncompressed: a stereo 44.1 kHz 16-bit stream consumes roughly 10 MB per minute, compared to about 1 MB per minute for MP2 at 128 kbps. A 60-minute MPG with a few hundred megabytes of audio may expand to several hundred megabytes as WAV. This size increase is the direct trade-off for having an uncompressed, edit-ready file.
Yes. FFmpeg preserves the source sample rate and channel layout by default when no resampling flags are specified. VCD-sourced MPG files commonly carry MP2 audio at 44.1 kHz stereo, while broadcast MPEG-2 sources may use 48 kHz. The resulting WAV will reflect whichever rate was present in the MPG. If you need a specific sample rate (for example, 44.1 kHz for CD compatibility or 48 kHz for broadcast), you can add '-ar 48000' to the command.
Yes. The command uses '-c:a pcm_s16le' which produces 16-bit little-endian PCM, the most universally compatible WAV variant. If your downstream tool supports it, you can substitute '-c:a pcm_s24le' for 24-bit depth or '-c:a pcm_s32le' for 32-bit. However, because the MPG source audio is already lossy MP2 or AAC, increasing the bit depth beyond 16-bit does not recover additional dynamic range — it simply stores the same decoded signal in a wider container. 16-bit is generally sufficient for this source material.
On Linux or macOS you can run: 'for f in *.mpg; do ffmpeg -i "$f" -c:a pcm_s16le "${f%.mpg}.wav"; done' in a terminal. On Windows PowerShell use: 'Get-ChildItem *.mpg | ForEach-Object { ffmpeg -i $_.FullName -c:a pcm_s16le ($_.BaseName + ".wav") }'. Each file is processed sequentially, and the output WAV will share the base filename of each input MPG.
By default, FFmpeg selects only the first (or best-ranked) audio stream from the MPG file and writes it to the WAV output. WAV does not support multiple audio tracks in a single file, so only one stream can be captured per output file. If your MPG has secondary audio tracks (for example, a director's commentary or an alternate language), you can target a specific stream by adding '-map 0:a:1' (for the second audio track) to the command before the output filename.
Technical Notes
The pcm_s16le codec — 16-bit signed PCM in little-endian byte order — is the WAV standard's most universally supported format, compatible with virtually every audio application, operating system audio API, and hardware device. MPG files originating from VCDs use MPEG Layer 2 (MP2) audio, while DVD-ripped or broadcast MPG files may carry MP2 at higher bitrates or occasionally AC-3/AAC. All of these are fully decoded to raw PCM during this conversion. One metadata consideration: MPG containers store minimal audio metadata compared to formats like MP4, and WAV's own metadata support is limited to basic INFO chunk tags; any embedded ID3-style tags in the MPG will not transfer. The video stream is silently discarded since WAV has no video track support — if you need to retain the video, use a different output format. File sizes can be substantial: a two-hour MPG film's audio track can produce a WAV file of 1.2 GB or more at 48 kHz stereo 16-bit, which is worth considering when processing near the 1 GB browser limit (in that case, the provided FFmpeg command can be run locally without size restrictions).