From owner-freebsd-multimedia Mon Feb 23 00:09:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09114 for freebsd-multimedia-outgoing; Mon, 23 Feb 1998 00:09:34 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from sensi.pu.ru (sensi.pu.ru [194.58.105.40]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09106 for ; Mon, 23 Feb 1998 00:09:28 -0800 (PST) (envelope-from vadik@sensi.pu.ru) Received: (from vadik@localhost) by sensi.pu.ru (8.8.8/8.7.3) id LAA13549; Mon, 23 Feb 1998 11:09:09 +0300 (MSK) Message-ID: <19980223110908.54543@sensi.org> Date: Mon, 23 Feb 1998 11:09:08 +0300 From: vadik likholetov To: multimedia@FreeBSD.ORG Subject: Re: Creating MP3's under FreeBSD... References: <199802211609.RAA03033@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e In-Reply-To: <199802211609.RAA03033@labinfo.iet.unipi.it>; from Luigi Rizzo on Sat, Feb 21, 1998 at 05:09:58PM +0100 X-NCC-RegID: ru.hqlgu Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 ./l3enc $TRACK.pcm $TRACK.mp3 -br 128000 -sr 44100 rm -rf $TRACK.pcm # TRACK=`expr $TRACK + 1` done -- vadik likholetov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message