PDA

View Full Version : Good way to extract audio for a video file?


ryanlancer
22nd March 2010, 00:21
Hi,
My application needs to extract audio from a specified video file and store it as an mp3 file.

What would be a good way to do this...using some avisynth function,or lame.exe etc.

thanks.

kypec
22nd March 2010, 05:32
:readrule: especially point 12. Moreover, please provide info what type/containers are your input video+audio files if you expect to receive some meaningful answers.

neuron2
22nd March 2010, 13:02
Based on his other post, I suppose the answer will be "all possible containers and stream types". :)

ryanlancer
22nd March 2010, 18:20
Thanks kypec for reminding me about the rules.But I didn't mean to compare whether abc.exe is better than xyz.exe,bear with me as my English is not that good.
Here let me rephrase:-
In my simple application all I want is this-
INPUT-any video format/container(as pointed out by neuron2)
OUTPUT-an avi file(A+V) re-sized to user specified size.

I want to keep the size of my application low so want to avoid adding unnecessary tools.
I know ffpmeg would do the job but it's almost 10MB so I tried xvid_encraw but shoot I didn't get the audio.
I am newbie to the transcoding world so just getting the application up and running is my priority.
I know learning to tune for quality vs size will take time.
Again not comparing any tools just want the path that requires least no. of tools involved.

thanks