Topic - extracting audio

Reply to this topic

Topic Starter TrupsT - Posted on Wednesday, May 21 2008 05:57:12 AM
I am trying to extract audio from a avi file using

I used Mplayer and used the following command to achieve this.

mplayer -vo null -hardframedrop -ao pcm:file=TrialMilliSec.wav Video.avi -ss 00:00 -endpos 00:10

With this I am able to extract 10 sec audio and save it in TrialMilliSec.wav

But I want milli sec accuracy, and want to extract audio like from 0-40ms etc.

Can anyone help me with this?

erroneous - Posted on Thursday, July 17 2008 02:42:10 PM
You can extract a little more than you need and open it in Audacity to cut down the audio to the specified length. You can also get the whole audio stream (normally ac3, mp3, pcm, or ogg vorbis) from the file by using -dumpaudio -dumpsfile audio.mp3