From owner-freebsd-questions@FreeBSD.ORG Wed Oct 22 15:20:19 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 896191065672 for ; Wed, 22 Oct 2008 15:20:19 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-gx0-f16.google.com (mail-gx0-f16.google.com [209.85.217.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4D48FC1C for ; Wed, 22 Oct 2008 15:20:18 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by gxk9 with SMTP id 9so7145609gxk.19 for ; Wed, 22 Oct 2008 08:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=UEElPemV31q1xcWEdjd55S+EEiONhyv1jZI7RaeMVKg=; b=VjLMPxfKzs5UrUFYZvjOZyn2nWAruzxvjd7cCBw0XxdgudEO+ZFfeIKVGHKq9puLYo YLELOvEkE7Sh1ymzdgIA6Cc2oJS6NErB2M8Baq4Bj6dEWoe5ZgbPYhfDM9on/u7zxkA1 W5nt0sxNAfIC1SSvw+ReGqvGqBYvUchLbPFhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HL2jIn1BpOLE/PuDJ+9RR02Yco8wPTbTvJ5wNNAjmsum39M2FIeYnlPURg5mY+SEtP 7qz20SnE3gx422DAJy37Jp5YKGQN7Tpq+9dI+iYypcEPJA/hAIp96SiZO3XLa9Woc8SX g7KCw7mFGB8ir05DptYEHX2rUK2nwVv+2tWwg= Received: by 10.114.124.12 with SMTP id w12mr7602219wac.210.1224688817085; Wed, 22 Oct 2008 08:20:17 -0700 (PDT) Received: by 10.114.120.9 with HTTP; Wed, 22 Oct 2008 08:20:17 -0700 (PDT) Message-ID: <991123400810220820v462f64b2q33187a10e1e2662e@mail.gmail.com> Date: Wed, 22 Oct 2008 18:20:17 +0300 From: "Odhiambo Washington" To: Polytropon In-Reply-To: <20081022171708.43023af8.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <991123400810220734i3c981038ocae053bc24d44336@mail.gmail.com> <20081022171708.43023af8.freebsd@edvax.de> 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:20:19 -0000 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