LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-29-2005, 04:18 PM   #1
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Rep: Reputation: 15
Extract audio from .wmv


i tried mencoder but didn't suceed... could somebody help me?
 
Old 06-30-2005, 09:04 AM   #2
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274

Rep: Reputation: 30
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
 
Old 07-10-2005, 01:23 PM   #3
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
i'm trying to single out the audio file from a .WMV video file, not .wma
 
Old 07-10-2005, 01:40 PM   #4
sval
LQ Newbie
 
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7

Rep: Reputation: 0
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.

Last edited by sval; 07-10-2005 at 01:46 PM.
 
Old 07-10-2005, 01:54 PM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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.
 
Old 07-10-2005, 05:18 PM   #6
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
aaa with that command i get this:
-aofile is deprecated. Use -ao pcm:file=<filename> instead.
 
Old 07-10-2005, 05:19 PM   #7
sval
LQ Newbie
 
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7

Rep: Reputation: 0
So ... Use this command ... what's the matter ?
 
Old 07-10-2005, 05:21 PM   #8
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
doesn't work either. says ao is not a mencoder option :-/
 
Old 07-10-2005, 05:25 PM   #9
sval
LQ Newbie
 
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7

Rep: Reputation: 0
No but it's a mplayer option ...
 
Old 07-10-2005, 05:28 PM   #10
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 47
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
 
Old 07-10-2005, 05:31 PM   #11
$in
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
oops... indeed.

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

thnx everyone for the replies
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extract video audio Latem Linux - Software 0 02-05-2005 05:07 PM
extract audio from dvd freeindy Linux - Software 4 08-22-2004 06:55 AM
Stripping audio from a .wmv file Ikebo General 1 08-07-2004 02:21 PM
MPlayer, WMV audio, and urpmi SteelWheel Mandriva 17 07-03-2004 12:17 PM
mplayer cannot play audio (asf) and wmv in firefox caneforever97 Linux - Newbie 8 04-23-2004 11:45 AM


All times are GMT -5. The time now is 08:22 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration