From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 15:41:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB49D1065682 for ; Wed, 22 Oct 2008 15:41:40 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id A635C8FC29 for ; Wed, 22 Oct 2008 15:41:40 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m9MFfM88063164; Wed, 22 Oct 2008 08:41:23 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Odhiambo Washington" , "Polytropon" Date: Wed, 22 Oct 2008 08:42:05 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <991123400810220820v462f64b2q33187a10e1e2662e@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Wed, 22 Oct 2008 08:41:24 -0700 (PDT) Cc: User Questions Subject: RE: Extract Songs from DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 15:41:41 -0000 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 wrote: > > On Wed, 22 Oct 2008 17:34:41 +0300, "Odhiambo Washington" > 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" >