On Tue, Mar 30, 2004 at 10:43:04AM -0800, Corey Edwards wrote:
> On Tue, 2004-03-30 at 10:15, [EMAIL PROTECTED] wrote:
> > Is there an easy to use tool to convert a (non-encrypted)  DVD VOB file 
> > to MP3. Just the audio stream, of course.
> 
> Never tried it directly on a VOB, but something like this ought to work.
> I use it to convert Planetary Radio WMAs to mp3s.
> 
>         $ mplayer -ao pcm -vc dummy -vo null -waveheader /path/to/file
>         $ lame --preset 64 audiodump.wav <output.mp3>

Close, but this will give you disappointing results, since the audio
will be too attenuated, and you may not even get the right audio
track.  I would try something more like this:

mplayer -vo null -ao pcm -aofile stream.pcm $vob_tempfile -alang
 $lang -aid $lang_code

(where alang is en and aid is 128, in most cases.  Run mplayer -v on
the vob to make sure; one or the other is necessary, depending on your
version of MPlayer, so it's easiest just to use both)

normalize stream.pcm

oggenc -b $abr -o $ogg_filename stream.pcm

Notice the conspicuous substitution of OGG for MP3.  ;-)

Mike
.___________________________________________________________________.
                         Michael A. Halcrow                          
       Security Software Engineer, IBM Linux Technology Center       
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D  2371 2D3C FDDA 3EB6 601D

Fight mandatory .signature truncation! Call 

Attachment: pgp00000.pgp
Description: PGP signature

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to