Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 11:09:08 +0300
From:      vadik likholetov <vadik@sensi.org>
To:        multimedia@FreeBSD.ORG
Subject:   Re: Creating MP3's under FreeBSD...
Message-ID:  <19980223110908.54543@sensi.org>
In-Reply-To: <199802211609.RAA03033@labinfo.iet.unipi.it>; from Luigi Rizzo on Sat, Feb 21, 1998 at 05:09:58PM %2B0100
References:  <Pine.BSF.3.96.980221133147.12921L-100000@thelab.hub.org> <199802211609.RAA03033@labinfo.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980223110908.54543>