indielab.dev logo indielab.dev Back to Home

Video Audio Extractor

Upload a local video file and extract its audio track in browser. No server upload required.

Notes

Extraction uses browser media APIs. Available output formats depend on your browser.

This browser-based local extraction depends on support for MediaRecorder and captureStream. Chrome and Edge typically provide better compatibility.

Download Audio

Ready.

Preview

Video preview will appear here after selecting a file.

How it works

We load your local video into a hidden <video> element. Using the captureStream() API, we capture the audio track stream and feed it into a MediaRecorder instance. We then play the video in the background at maximum speed and record the audio stream buffer. Once finished, the recorded chunks are compiled into a single downloadable audio file.

Frequently Asked Questions

Why does extraction take as long as the video duration?

Because we record the audio stream as the video plays in the background. We are using standard browser MediaStream APIs, which process audio in real-time.

Why is the download format .webm instead of .mp3?

Browsers do not natively ship with MP3 encoders inside their MediaRecorder API due to licensing limitations. They support open formats like WebM/Opus. You can play these files on any modern media player.

Privacy Guaranteed

All file conversions and processing are executed locally inside your browser using client-side JavaScript. We never upload your files, images, videos, or private data to any server. Your information remains 100% secure.