Extract Songs from DVD

Ted Mittelstaedt tedm at toybox.placo.com
Wed Oct 22 08:41:41 PDT 2008


I think ffmpeg will also convert these, and it supports more
conversions than sox does.  Actually, both sox and ffmpeg rely
heavily on external libraries to perform their conversion functions,
they are more "front end" programs than anything else.

Ted

> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Odhiambo
> Washington
> Sent: Wednesday, October 22, 2008 8:20 AM
> To: Polytropon
> Cc: User Questions
> Subject: Re: Extract Songs from DVD
> 
> 
> On Wed, Oct 22, 2008 at 6:17 PM, Polytropon <freebsd at edvax.de> wrote:
> > On Wed, 22 Oct 2008 17:34:41 +0300, "Odhiambo Washington" 
> <odhiambo at gmail.com> wrote:
> >> I bought an original DVD but I cannot play that in my car's audio
> >> player. Is there a tool that I can use to get the songs off the DVD in
> >> WAV format, or even MP3?
> >
> > If the DVD does contain standard audio CD format data, there should
> > be no problem. First, check the contents:
> >
> >        % cdcontrol info
> >
> > (I'll assume that /dev/acd0 is the drive the DVD is inserted into.)
> >
> > Then you can access every track via /dev/acd0txx, where xx is from 01
> > up to the number of tracks. Tracks can be copied from the DVD with
> > the dd command:
> >
> >        % dd if=/dev/acd0t01 of=track01.cdr bs=2352
> >
> > These usually are Audio CD data files: 44 kHz stereo, 16 bit. They can
> > be put on a media as audio tracks without any change, for example if
> > you use cdrecord with the -dao -audio flags (if I remember correctly),
> > using a CD or DVD media. You can convert them to OGG/Vorbis or MP3
> > using the encoder you wish, for example:
> >
> >        % oggenc -r -q 6 -o track01.ogg track01.cdr
> >
> > or
> >
> >        % sox -x track01.cdr track01.wav
> >        % lame track01.wav track01.mp3
> >
> > (ugly variant, but works; I'm sure you'll find a better way, just
> > have a look at the manpages).
> >
> > If you want, you can add ID3 track information, or simply use a good
> > file name. :-)
> >
> >
> >
> > --
> > Polytropon
> 
> Hello Polytropon,
> 
> That sounds like the solution I was looking for! I will give the 
> steps a shot.
> 
> Thank you do much.
> 
> 
> -- 
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> 
> "Oh My God! They killed init! You Bastards!"
>                         --from a /. post
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
> 


More information about the freebsd-questions mailing list