Date: Thu, 23 Dec 2010 09:58:04 -0500 (EST) From: Stuart Barkley <stuartb@4gh.net> To: freebsd-multimedia@freebsd.org Subject: Re: unplayable audio CD Message-ID: <alpine.BSF.2.00.1012230952580.68246@freeman.4gh.net> In-Reply-To: <20101223131218.GA7979@orange.esperance-linux.co.uk> References: <20101223131218.GA7979@orange.esperance-linux.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Dec 2010 at 08:12 -0000, Frank Shute wrote: > I believe I can dd the tracks (can somebody give me an example > command? I don't know what blocksize to use) and then encode > although it's all a bit painful compared to using Grip. I have the following in my perl ripping script: my $cmd = "dd if=${device}t${nn_track} bs=2352 ". "| lame -r -x -b $opt_bitrate -h -m j -q1 - ". "> ${disk}_${nn_track}.mp3"; Or for a .wav file: my $cmd = "dd if=${device}t${nn_track} bs=2352 ". "| sox -t raw -r44100 -sw -c2 - -t wav -". "> ${disk}_${nn_track}.wav"; Or just the raw stuff: my $cmd = "dd if=${device}t${nn_track} bs=2352 ". "> ${disk}_${nn_track}.raw"; Stuart Barkley -- I've never been lost; I was once bewildered for three days, but never lost! -- Daniel Boone
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1012230952580.68246>