LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-11-2004, 01:13 PM   #1
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Rep: Reputation: 32
extract audio from dvd


hi!

i would like to know if there is any good program to extract dvd audio. i'm using suse 9.1 with kde.

thanks a million

indy
 
Old 08-11-2004, 03:51 PM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
you can do it with transcode (http://www.theorie.physik.uni-goetti...ich/transcode/)
and with MPlayer (http://www.mplayerhq.hu)
...and probaply there are others as well - but I use these two excellent tools
 
Old 08-19-2004, 12:11 PM   #3
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
thanks jomen for your reply. And sorry for the delay (i've been away).

i tried with mplayer using:

mplayer -vo null -ao pcm -aofile audio.wav dvd://2

i get i ripped but when i play in xmms it jumps (out of sync???)from time to time playing in 44.1KHz. And when i played with playwave it says "Opened audio at 22050 Hz 16 bit stereo". this plays fine but in deeper 'voice' without jumping.

i even converted it to mp3 with lame but it still gets choppy in xmms.

i don't get it? why does it play 'choppy' in xmms? why are they played in different sampling rate? can i fix it somehow?

thanks again

indy
 
Old 08-19-2004, 05:08 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
first:

with mplayer you extract the audio with something like this:

mplayer last_samurai.mpeg -vc dummy -vo null -hardframedrop -ao pcm -aofile audio.wav

-this is for an already ripped mpg-stream to a file - in this case I ripped "The last samurai" off a dvd with: mplayer dvd://1 -dumpsteam -dumpfile ./last_samurai.mpg

to rip the audio directly from dvd you would use something like:

mplayer dvd://1 -vc dummy -vo null -hardframedrop -ao pcm -aofile audio.wav
(optionally giving -alang en or -aid 128 or whatever for the desired language)

after you have it as .wav on disk you convert it to whatever you want:

oggenc -q3 -o audio.ogg audio.wav

...to convert it to ogg

-use a similar approach to convert it to mp3

it is more obvious and maybe easier to do with transcode - it is described in the examples the documentation gives...

But doing it with mplayer is also described in docs, but maybe not in so obvious places - in mplayer-source/DOCS/tech/encoding-tips.txt

maybe it's choppy because of the way you ripped it - or maybe because of xmms - I use rythmbox or mplayer itself - but xmms also has no problems...
 
Old 08-22-2004, 06:55 AM   #5
freeindy
Member
 
Registered: Nov 2002
Posts: 207

Original Poster
Rep: Reputation: 32
thanks jomen.

it works!

indy
 
  


Reply



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 audio from .wmv $in Linux - Software 10 07-10-2005 05:31 PM
no audio from dvd AndrewB Mandriva 8 03-19-2005 05:19 PM
extract video audio Latem Linux - Software 0 02-05-2005 05:07 PM
no DVD audio mykrob Linux - General 3 08-02-2004 09:52 AM
DVD plays but no audio (can play audio cd's though)? guitarnix Linux - Newbie 2 10-05-2003 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration