sunGrab - tool to convert cd's to mp3's
Ok...so I've been working on a mp3 burner w/ a GUI, you will see this in the future (called sunBurn)
SunBurn will support mp3 burning to cd recorder AND cd ripping.
This is in the future though and for right now I will share this script that I wrote to grab cd tracks from your cd player.....
This script "should" work on linux and solaris, but I'm not sure...I've only tested it on Solaris....
Without further adieu I present to you sunGrab, download it here.
PURPOSE: To convert cd-audio tracks to mp3's
[root@unknown:] # ./sunGrab -h
sunGrab: A tool to convert your cd's to mp3's
Usage: sunGrab [OPTIONS]
Command line OPTIONS:
-l, --lame path to lame codec
-c, --cdda2 wavpath to cdda2wav binary
-t, --temp directory to store mp3's
-vbr choose this to use Variable encoding (I prefer)
-b, --bitrate bitrate (options are 96 112 128 160 192 224 256 320)
-d, --device device to rip from (use cdda2wav --scanbus to find (1,0,0)
-h, --help display this help and exit
-v, --version display this version and exit
Examples:
sunGrab -l=/opt/csw/bin/lame -c=/opt/csw/bin/cdda2wav -t=/tmp -d=1,0,0 -bitrate=320
sunGrab -l=/opt/csw/bin/lame -c=/opt/csw/bin/cdda2wav -t=/tmp -d=1,0,0 -vbr
sunGrab -- NOTE*- any option can be left blank, and it will prompt you and autodetect in most cases
Looks pretty self explanatory, one thing to note, is that if you leave any or ALL options blank, this script will prompt you for your answers and try to autodetect most options...so the best thing (if you don't know what your doing) is to just call ./sunGrab.
soon sunGrab will be integrated into sunBurn. so for now..let this screenshot do the justice for sunBurn.

By the way, sunGrab probably (most likely) have bugs...so if you find any problems, let me know and I will update.
BTW - its LGPL.
here are some ways i use it....
sunGrab -l=/opt/csw/bin/lame -c=/opt/csw/bin/cdda2wav -t=/tmp -d=1,0,0 -bitrate=320
sunGrab -l=/opt/csw/bin/lame -c=/opt/csw/bin/cdda2wav -t=/tmp -d=1,0,0 -vbr
sunGrab (I like this option b/c it will ask me for all my input...and autodectect)
Dependicies:
lame - http://www.blastwave.org/packages.php/lame or http://lame.sourceforge.net/index.php
cdda2wav -- This utility is part of cdrtools. The source for cdrtools is available in the SUNWmkcdS package.
perl - Its a perl script......
Posted at 10:28PM Jun 19, 2007 by Eric Shobe in Code | Comments[1]
Today's Page Hits: 29
Hello, I have interest in sun too. I support Sun products as well. Hope we can discuss about Sun stuffs in details. Take care :)
Posted by Ronny on December 07, 2007 at 12:57 AM PST #