From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 15:17:12 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 590D510656C5 for ; Wed, 22 Oct 2008 15:17:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 187778FC1E for ; Wed, 22 Oct 2008 15:17:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-41-11.dynamic.qsc.de [92.195.41.11]) by mx02.qsc.de (Postfix) with ESMTP id 88F9D16C012B; Wed, 22 Oct 2008 17:17:10 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m9MFH9Hu003166; Wed, 22 Oct 2008 17:17:09 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 22 Oct 2008 17:17:08 +0200 From: Polytropon To: "Odhiambo Washington" Message-Id: <20081022171708.43023af8.freebsd@edvax.de> In-Reply-To: <991123400810220734i3c981038ocae053bc24d44336@mail.gmail.com> References: <991123400810220734i3c981038ocae053bc24d44336@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: Extract Songs from DVD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2008 15:17:12 -0000 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 >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...