LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 03-10-2003, 10:44 AM   #1
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
AVI Audio to MP3 File


Okay, I've got an AVI file with a really cool audio track. I'd like to have this audio track as an MP3 file. My first attempt at this failed miserably:

mencoder file.avi -ovc frameno -oac mp3lame -lameopts vbr=3:br=128:q=4:aq=0 -o music_track.mp3.

It played fine in MPlayer, but xmms chewed it up and spat it out again. Anyone have any idea how to do this?
 
Old 03-10-2003, 10:59 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
mplayer -dumpaudio -dumpfile music_track.mp3 film.avi

that's assuming it is ALREADY an mp3 stream in the avi file. if not then it's probably best to reencode the film, not the dumped file, as if you've just got an ac3 audio stream an encoder like lame probably won't know how to deal with ac3.
 
Old 03-10-2003, 11:27 AM   #3
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Original Poster
Rep: Reputation: 15
Cool, MPlayer truely rules! I'll try that when I get home, thanks.
 
  


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
Convert avi to mp3 dexim Linux - Software 13 10-06-2006 04:30 AM
Get mp3 and avi play back working? daedalusonlinux Suse/Novell 7 09-17-2005 10:10 PM
how to play .rmvb, .avi, .wmv, .mp3 file shawn82 Linux - General 2 07-05-2005 10:51 AM
MPlayer unable to find appropriate audio codec for avi file hbbtstar Linux - Software 1 05-23-2005 05:51 PM
Mozilla crashes when opening mp3 / avi etc etc breakerfall Linux - Software 4 04-03-2004 12:19 PM


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

Main Menu
Advertisement
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