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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-29-2005, 04:18 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Slackware current
Posts: 27
Rep:
|
Extract audio from .wmv
i tried mencoder but didn't suceed... could somebody help me?
|
|
|
|
06-30-2005, 09:04 AM
|
#2
|
|
Member
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 274
Rep:
|
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
|
|
|
|
07-10-2005, 01:23 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Slackware current
Posts: 27
Original Poster
Rep:
|
i'm trying to single out the audio file from a .WMV video file, not .wma 
|
|
|
|
07-10-2005, 01:40 PM
|
#4
|
|
LQ Newbie
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7
Rep:
|
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.
|
|
|
|
07-10-2005, 01:54 PM
|
#5
|
|
Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
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.
|
|
|
|
07-10-2005, 05:18 PM
|
#6
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Slackware current
Posts: 27
Original Poster
Rep:
|
aaa with that command i get this:
-aofile is deprecated. Use -ao pcm:file=<filename> instead.
|
|
|
|
07-10-2005, 05:19 PM
|
#7
|
|
LQ Newbie
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7
Rep:
|
So ... Use this command ... what's the matter ?
|
|
|
|
07-10-2005, 05:21 PM
|
#8
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Slackware current
Posts: 27
Original Poster
Rep:
|
doesn't work either. says ao is not a mencoder option :-/
|
|
|
|
07-10-2005, 05:25 PM
|
#9
|
|
LQ Newbie
Registered: Dec 2004
Location: Namur / Belgium
Distribution: Debian / Unbuntu /Suse / Fedora
Posts: 7
Rep:
|
No but it's a mplayer option ...
|
|
|
|
07-10-2005, 05:28 PM
|
#10
|
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
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
|
|
|
|
07-10-2005, 05:31 PM
|
#11
|
|
LQ Newbie
Registered: Dec 2003
Distribution: Slackware current
Posts: 27
Original Poster
Rep:
|
oops... indeed.
this finally worked:
mplayer -ao pcm:file=1.wav file.wmv -vc dummy -vo null
thnx everyone for the replies 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|