From owner-freebsd-multimedia Mon Feb 23 13:42:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA18881 for freebsd-multimedia-outgoing; Mon, 23 Feb 1998 13:42:32 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from thelab.hub.org (dyna2-156.acadiau.ca [131.162.2.156]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18796 for ; Mon, 23 Feb 1998 13:42:03 -0800 (PST) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.8.8/8.8.2) with SMTP id RAA01395; Mon, 23 Feb 1998 17:41:26 -0400 (AST) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Mon, 23 Feb 1998 17:41:26 -0400 (AST) From: The Hermit Hacker To: vadik likholetov cc: multimedia@FreeBSD.ORG Subject: Re: Creating MP3's under FreeBSD... In-Reply-To: <19980223110908.54543@sensi.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 23 Feb 1998, vadik likholetov wrote: > On Sat, Feb 21, 1998 at 05:09:58PM +0100, Luigi Rizzo wrote: > > > How do you get the audio tracks off the CD? > > > > the quick&dirty way is to sample them through the soundcard. > > > > the more sophisticated way is to use programs like cdda or tosha to > > grab the raw tracks from the CD. Some SCSI drives are reported to do > > this, and I have some patches on my web page to do this with (some) > > ATAPI disk as well. BEWARE though, this might freeze your IDE bus since > > our atapi code does not have timeouts. > > > > see http://www.iet.unipi.it/~luigi/cdda980108.diffs > > > > using them, you still need to patch tosha, or better cdda, to grab the > > pcm files and compensate the sync problems which many drives have > > (don't ask for more comments on this, i am not very clear on what is > > the problem and how to fix it) > > > > here's the script I'm using to create mp3's : > > #!/bin/sh > TRACK=1; > > MAXTRACK=`tosha -iq -d /dev/wcd0c 2>&1 |wc -l` > while [ $TRACK -ne $MAXTRACK ] > do > echo Encoding Track $TRACK of $MAXTRACK > # > tosha -t $TRACK -d /dev/wcd0c -o $TRACK.pcm Is this with 2.2-STABLE or 3.0-CURRENT? I get a system reboot when I try to use tosha under -current on /dev/wcd0c... Marc G. Fournier Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message