Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 2008 08:42:05 -0700
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Odhiambo Washington" <odhiambo@gmail.com>, "Polytropon" <freebsd@edvax.de>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   RE: Extract Songs from DVD
Message-ID:  <BMEDLGAENEKCJFGODFOCEEPFCFAA.tedm@toybox.placo.com>
In-Reply-To: <991123400810220820v462f64b2q33187a10e1e2662e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@freebsd.org
> [mailto:owner-freebsd-questions@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@edvax.de> wrote:
> > On Wed, 22 Oct 2008 17:34:41 +0300, "Odhiambo Washington" 
> <odhiambo@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BMEDLGAENEKCJFGODFOCEEPFCFAA.tedm>