Video MP3
Videodaki sesi çıkarın ve MP3, WAV ya da OGG olarak saklayın. Hiçbir şey yüklenmez — dönüştürme sizin makinenizde olur.
Dosyayı sizin tarayıcınız okur ve yeniden kodlar. Hiçbir istek onu bir yere göndermez — bu sayfanın yükleme yapacağı bir sunucu yok.
Sorular
Videom yükleniyor mu?
Hayır. Tarayıcı dosyayı çözer ve sesi yerelde kodlar, dolayısıyla hiçbir şey dışarı çıkmaz. Burada bu, çoğu dönüştürmeden daha önemlidir: bir videodan sesi çıkarmanın nedeni çoğu zaman videonun kişisel olmasıdır — bir ders, bir söyleşi, kendi kaydınız — ve dizüstünüzün kendi başına yanıtladığı bir soru için kimsenin sunucusuna uğraması gerekmez.
Hangi biçimi seçmeliyim?
Bir yere gidecekse MP3: her şey oynatır ve 192 kbps'de konuşma için şeffaf, müzik için buna yakındır. Ses bir kurgu programına ya da deşifre aracına gidiyorsa WAV, çünkü sıkıştırılmamıştır ve hiçbir şey kaybetmez. OGG (Vorbis) aynı kalitede MP3'ten küçüktür ama tarayıcılar ve Android dışında daha az desteklenir.
Hangi bit hızı gerekir?
Konuşma için 96–128 kbps fazlasıyla yeter ve dosyayı varsayılanın yarısına indirir. Müzik için 192 kbps alışılmış tatlı noktadır, 320 ise MP3'ün üst sınırı. Kaynağın kaydedildiğinden fazlasını istemek hiçbir şey kazandırmaz: 128 kbps'lik bir podcast'i 320 kbps'ye çevirmek, kulağa birebir aynı gelen iki buçuk kat büyük bir dosya üretir.
WAV dosyam neden bu kadar büyük?
Çünkü sıkıştırılmamıştır — içeriği ne olursa olsun 44,1 kHz stereoda dakikada yaklaşık 10 MB. Amacı da budur: hiçbir şey atılmaz. Boyut sorun oluyorsa ve ses bir kurgu programına gitmiyorsa, MP3 yirmide bir yer kaplar ve farkı duymazsınız.
Videonun yalnızca bir bölümünü dönüştürebilir miyim?
Bu sayfada hayır — dosyanın tamamını dönüştürür. Videoyu önce kesiciyle kırpıp çıkanı dönüştürün ya da hepsini dönüştürüp sesi götürdüğünüz yerde kesin.
Diğer araçlar
Kendi projenize ekleyin
Pulling audio out of a video, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
// npm i mediabunny @mediabunny/mp3-encoder
import { Input, Output, Conversion, BlobSource, BufferTarget, Mp3OutputFormat, ALL_FORMATS } from 'mediabunny';
import { registerMp3Encoder } from '@mediabunny/mp3-encoder';
registerMp3Encoder(); // LAME compiled to WASM; only needed for MP3 output
export async function extractAudio(file, { bitrate = 192_000, mono = false } = {}) {
const input = new Input({ source: new BlobSource(file), formats: ALL_FORMATS });
const output = new Output({ format: new Mp3OutputFormat(), target: new BufferTarget() });
const conversion = await Conversion.init({
input,
output,
video: { discard: true }, // leave the picture behind
audio: { bitrate, ...(mono ? { numberOfChannels: 1 } : {}) },
});
if (!conversion.isValid) throw new Error('No audio track, or it cannot be decoded');
await conversion.execute();
return new Blob([output.target.buffer], { type: 'audio/mpeg' });
}
const mp3 = await extractAudio(file, { bitrate: 192_000 }); Add "extract the audio from a video" to my project. It must run entirely in the browser — the
files are personal (lectures, interviews, recordings) and must not be uploaded anywhere.
Requirements:
- Use "mediabunny" for decoding and "@mediabunny/mp3-encoder" for MP3 (LAME compiled to WASM).
Import the MP3 encoder lazily — only load it when the user actually picks MP3.
- Support MP3, WAV and OGG output. Set video: { discard: true } so only the audio is written.
- WAV has no bitrate to choose: hide that control when WAV is selected, because its size is
sampleRate x 2 bytes x channels and nothing else.
- Predict the output size before converting, and read the real channel count and sample rate off the
file to do it — assuming stereo doubles the estimate for a mono source. For Vorbis apply about 0.7
to the nominal bitrate, since it runs variable-rate and lands under.
- Tell the user when a requested bitrate exceeds what the source was recorded at: it makes the file
bigger without making it sound better.
- Fail clearly when the file has no audio track at all, before doing any work.
Reference implementation: https://life2film.com/tools/video-to-mp3/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.