LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Extract audio from .wmv (https://www.linuxquestions.org/questions/linux-software-2/extract-audio-from-wmv-338502/)

$in 06-29-2005 04:18 PM

Extract audio from .wmv
 
i tried mencoder but didn't suceed... could somebody help me?

Marius2 06-30-2005 09:04 AM

You should have gone into more detail about how exactly you failed, commands you used, etc.. However, google spits out several links when being asked for "mencoder wma to wav", so how about this one?
mencoder -ao pcm -aofile /your/wave.wav /your/wmafile.wma

Of course you need the wmv codecs installed on your system.


HTH

$in 07-10-2005 01:23 PM

i'm trying to single out the audio file from a .WMV video file, not .wma ;)

sval 07-10-2005 01:40 PM

Try the followwing :

Code:

$ transcode -i file.wmv -o file -y null,mp3
it might create a file called file.mp3 in the current directory

S.

aaa 07-10-2005 01:54 PM

mplayer -ao pcm -aofile /your/wave.wav /your/wmafile.wmv -vc dummy -vo null

The "vc" and "vo" turn off video so it gets done faster.

$in 07-10-2005 05:18 PM

aaa with that command i get this:
-aofile is deprecated. Use -ao pcm:file=<filename> instead.

sval 07-10-2005 05:19 PM

So ... Use this command ... what's the matter ?

$in 07-10-2005 05:21 PM

doesn't work either. says ao is not a mencoder option :-/

sval 07-10-2005 05:25 PM

No but it's a mplayer option ...

kencaz 07-10-2005 05:28 PM

Here is how I would exract audio from a .wmv using mplayer and then convert to .mp3 using lame:

mplayer -cache 128 -vc dummy -vo null -ao pcm -aofile ~/raw.pcm ~/movie.wmv

lame raw.pcm movie_audio.mp3

KC

$in 07-10-2005 05:31 PM

oops... indeed.

this finally worked:
mplayer -ao pcm:file=1.wav file.wmv -vc dummy -vo null

thnx everyone for the replies :)


All times are GMT -5. The time now is 01:19 PM.