Log in

View Full Version : Want to extract audio (part of it) from a video


sybariten
10th January 2004, 20:50
OK so now i'll probably be flamed for not searching all the forums thoroughly before asking.... but i'm looking for a tool to extract audio from a video (mpeg1), and i basicly only want 2-3 minutes of WAV. I saw a tool from Zealotsoft but it was commercial, and besides it seems you had to define samplerate yourself, i'd prefer if the sound werent converted too much (from any gievn mpeg1 there should be a given kind of WAV to extract the sound too, shouldnt it?)

Anyhow. So i'm on WinXP and just hoping that someone here has had the same kind of peculiar task. I'm on a dualboot system, and i'd guess that a commandline video platyer such as Xine opn my linux system could do this easily with some options, but i dont wanna reboot right now...

ehm. now i'll be even more flamed.

take care!

pacohaas
10th January 2004, 22:24
i believe you can do this using the mpegtools found in TMPGEnc. You may have to do it in a few steps, but it's pretty simple:

1. use the merge&cut tab to get the section of the movie you want
2. use the demultiplex tab to save just the audio from your cut movie section
3. use besweet to convert directly from the .mp2 to whatever format you want

sybariten
11th January 2004, 03:57
Well , turns out virtualdub could do what i wanted - i could mark a range, extract the sound and get only that part as a wav. i thought i could only dump the whole videos sound.

thanks for the idea, cheers

ekenet
20th January 2004, 11:15
How would you do if you would want any type of audio file to be cut down to a selectable range without encoding it.

pacohaas
20th January 2004, 11:48
just like he said, or use virtualdubmod to demux the audio from the video that you've edited down.

ekenet
20th January 2004, 15:11
Yes, but would it work with ac3-audio for example. Cause you get a wav-file from VDubMod and an MP2 file from TMPGEnc, right?

echooff
20th January 2004, 15:16
I have never tried just a selection, but vdubmod wil demux ac3. It should word the same as vdub for selection and then streams-->demux. If you end up with a invalid ac3 try using besliced on it to correct the header.