Video Audio Extractor
Extract one audio track from a local video as compatible MP3, editable WAV, or copied original packets with post-conversion verification.{{ summaryTitle }}
{{ summaryLine }}
Audio preview
Verified- Format
- {{ resultFormatLabel }}
- File size
- {{ byteLabel(resultBlob.size) }}
- Duration
- {{ durationLabel(resultDuration) }}
- Audio
- {{ channelName(resultChannels) }} · {{ sampleRateLabel(resultSampleRate) }}
The chart renderer is unavailable. The same source and output values remain in the extraction ledger.
| Signal | Source | Extracted file | Copy |
|---|---|---|---|
| {{ row.label }} | {{ row.source }} | {{ row.output }} |
A video file is a container that can hold a video track, one or more audio tracks, subtitles, and descriptive metadata. The audio may be the main mix, another language, director commentary, or an accessibility track. Extracting audio begins by choosing the correct track, not merely removing the picture.
| Output Choice | Best Fit | Tradeoff |
|---|---|---|
| Original track | Archiving or reuse when the source codec can be placed in a supported standalone audio container. | Preserves encoded packets but may be less convenient for some players or editors. |
| MP3 | Broad playback compatibility, sharing, and ordinary listening. | Lossy re-encoding at 192 kbit/s; output is limited to stereo and at most 48 kHz. |
| WAV | Editing, waveform work, or software that expects uncompressed PCM. | 16-bit PCM can be much larger than the compressed source and is limited to stereo here. |
The output choice determines whether the sound is copied or converted. Packet copying keeps the selected encoded audio without decoding and re-encoding it, which avoids generational quality loss. Conversion decodes the source and encodes a new format for wider playback or editing compatibility. That can change bitrate, sample rate, channel count, file size, and fidelity.
Codec and container are related but different. AAC is an audio codec and commonly belongs in an M4A container; Opus and Vorbis packets commonly use Ogg; PCM samples can be written to WAV. Renaming a file extension does not perform this packaging or conversion.
Audio extraction does not grant reuse rights. Confirm that you own the recording or have permission to copy the selected mix, language track, commentary, music, or speech before downloading or distributing it.
How to Use This Tool:
Inspect one local video, choose the intended audio stream, and select an output based on compatibility or signal preservation.
- Drop or browse for one MP4, MOV, WebM, or MKV video up to 50 MiB and 10 minutes. The file must contain both a readable video track and at least one readable audio track.
- Choose Audio track using the track number, language or title, codec, channel count, and sample rate shown from the source.
- Select MP3 for compatibility, WAV for 16-bit PCM editing, or Original to copy supported source packets without re-encoding.
- Select Extract audio and wait for inspection, packet isolation, any required conversion, and output verification to finish.
- Preview the result and compare its duration, sample rate, channels, and codec with the reviewed plan before downloading.
Interpreting Results:
A verified result contains exactly one readable audio stream and no video stream. Its codec, sample rate, and channel count match the selected output policy, and its duration stays within the larger of 0.25 seconds or 3% of the selected source track.
Verification confirms structure and reviewed media properties, not perceptual quality. Listen for clipping, silence, language choice, timing, and channel balance. Packet copy avoids re-encoding loss, while MP3 changes the signal through lossy encoding and WAV changes it to 16-bit PCM.
If a browser cannot decode a supported source track for MP3 or WAV conversion, use Original when available. If the codec cannot be safely copied into a supported standalone container, choose another source video or convert it in a media application that supports that codec.
Technical Details:
Encoded audio is stored as timed packets inside a media container. Packet extraction reads only the selected audio track and writes those packets into a standalone audio container. Compatibility conversion adds a decode step that produces raw samples, followed by a new encode with a specific sample-rate, channel, and bitrate policy.
Transformation Core:
| Stage or Branch | Transformation | Output Property |
|---|---|---|
| Inspect | Read local container metadata and enumerate valid audio tracks with track number, codec, duration, sample rate, channels, language, and title. | The selected stream is tied to visible source facts. |
| Isolate packets | Copy only the chosen audio track into a compatible standalone container and normalize a negative starting timestamp when necessary. | One audio stream with no video. |
| Original branch | Finalize the isolated encoded packets without decoding or re-encoding them. | Source codec, sample rate, and channel count are retained. |
| MP3 branch | Decode the isolated audio and encode MP3 at 192,000 bit/s. | Sample rate is the lower of the source rate or 48,000 Hz; channels are limited to two. |
| WAV branch | Decode the isolated audio and write 16-bit signed PCM. | Source sample rate is retained; channels are limited to two. |
| Verify | Reopen the generated file and compare stream count, codec, duration, sample rate, and channels with the plan. | The file becomes available only after every comparison passes. |
Rule Core:
| Source Codec | Copied Container and Extension | Copy Policy |
|---|---|---|
| AAC | M4A, .m4a | Encoded AAC packets are copied. |
| FLAC | FLAC, .flac | Encoded FLAC packets are copied. |
| MP3 | MP3, .mp3 | Encoded MP3 packets are copied. |
| Opus or Vorbis | Ogg, .ogg | Encoded packets are copied into an Ogg audio file. |
| 16-bit or 24-bit signed PCM | WAV, .wav | PCM packets are copied into a WAV file. |
| Input Property | Accepted Boundary | Effect |
|---|---|---|
| Source size | 32 bytes through 50 MiB | Empty, tiny, or oversized files are rejected. |
| Selected track duration | 0.05 through 600 seconds | Longer or invalid media is not processed. |
| Track number | Whole number from 1 through 255 | The chosen stream must exist in the inspected source. |
| Sample rate | 8,000 through 192,000 Hz | Values outside the supported audio range are rejected. |
| Channel count | 1 through 8 | MP3 and WAV conversion reduce counts above two to stereo. |
| Generated duration | Within max(0.25 seconds, 3% of source-track duration) | A larger mismatch fails output verification. |
The original branch preserves encoded audio packets, not the surrounding video container, video track, subtitles, chapters, attachments, or all source metadata. The standalone output is a new media file built around the selected audio stream.
Privacy and Accuracy Notes:
The selected media is read, transformed, verified, and previewed in the current browser session. The video and extracted audio are not uploaded by this tool.
- Browser codec support affects whether a track can be decoded for MP3 or WAV conversion.
- Large compressed files can require much more memory after audio is decoded, even within the file and duration limits.
- Playback success in the browser is a useful check but does not guarantee compatibility with every editor, device, or publishing service.
- Use only media that you are authorized to copy, convert, and distribute.
References:
- Reading media files, Mediabunny Documentation.
- Packets and samples, Mediabunny Documentation.
- Supported formats and codecs, Mediabunny Documentation.