Grip Setup and Thoughts 01/05/06 #01/05/06 - Added some thoughts about copy-protected CDs #07/29/05 - Updated to deal wtih SCSI IDE emulation #06/22/05 - Updated to reflect GRIP v3.3 #01/06/04 - Updated to use Grip 3.2.0 and new file paths # changed the CDRIP format from %A to %a to better support # Multi-artist CDs #06/13/04 - updated GRIP external command setup #05/26/04 - moved to Lame 3.96 / added performance stats #01/29/04 - Moved from LAME 3.0.5 to 3.95.1 # - Moved from r3mix to extreme # 01/06/05 file path and naming convention: # # ~/Documents/Music/New/Various Artists/This is Alice music 8/Duran Duran - This is Alice music 8 - 01 - Girls on Film.wav Copy Protected CDs: ------------------- There are various copy protected CDs out there and they seem to all work in different fashions. Personally, I view that as long as I don't hand out my encoded audio CDs, I should be able to RIP my CDs to any format I wish. I personally choose to buy CDs over downloaded versions of the music because I don't want some crappy lossy codec stripping out the best audio fidelity I can get. Possible work arounds: 1. Use a different machine. It seems that some of the copy protection systems don't work on older CDROM drives. It also sounds like Sony drives are very evil in this department. 2. Try a different OS like Apple OS-X. 3. Try to identify the CD's contents: #Find your CD/DVD drive cdrecord -dev=0,0,0 -scanbus cdrecord -dev=0,0,0 -inq cdrecord -dev=0,0,0 -msinfo cdrecord -dev=0,0,0 -toc cdrecord -dev=0,0,0 -atip cdparanoia -d /dev/sr0 -Q Here are some URLs to help you understand the issue: Tecnical details on various CD copy protections (Andy McFadden's CD Recordable FAQ): http://www.cdrfaq.org/faq02.html#S2-4-3 http://www.dsg.cs.tcd.ie/~haahrm/copying-protected-cds/ isobuster / Windows-tool Linux specific hardware notes for Grip: --------------------------------------- note: Sysfs /dev/cdroms/cdrom0 has the same performance as /dev/hdc (~2.6x) for a Dell/Toshiba DVDROM drive. note2: remove the ide-cd kernel module and enable ide-scsi to get /dev/sr0 working (~3.6x) on a Dell/Toshiba DVD ROM DRIVE. 1.8x on a CDRO Alternatively, if you want things to work with the ide-cd module you need to configure RIP --> Ripper --> Generic SCSI device: /dev/sg0 TROUBLESHOOTING: 1) if ripping even fails, you probably have the SCSI emulation enabled Grip 3.3.1 ---------- Config CD device=/dev/scd0 (make sure the symlink is ok and ide-cd module is loaded) alternatively device=/dev/sr0 (make sure the symlink is ok and ide-cd module is loaded) 0 = startup with first track if not playing 0 = auto-play on startup 0 = work around faulty eject 1 = poll disc for new disc 1 = interval RIP Ripper Ripper=grip (cdparanoia) 1= calc gain format=~/Documents/Music/New/%A/%d/%a - %d - %t - %n.wav NOTE: if you are using /dev/sr0 in the "CD" section and this is an IDE drive, you need to configure "Generic SCSI device: /dev/sg0" Options nice=0 non-encoded wavs=99 0=auto-rip on insert 1=beep after rip 1=auto eject after rip Encode Encoder Encoder=other #---- # Encode to MP3 /and/ FLAC #---- encoder executable=/usr/local/bin/encode.sh encoder command line="%w" "%m" %n %a %d %y %t %g %b encode file extension: wav encode file format=~/Documents/Music/New/%A/%d/%A - %d - %t - %n Options 1=delete wav after encode 1=use relatave paths in .m3u files 0=Create .m3u files M3U format:~/mp3/%A-%d.m3u Encode bit rate: 256 Number of CPUs: 1 Encode nice value:0 #------------- # OLD Settings #------------- #------------------------------------------ #NEW 3.96 # Encoder=LAME # encoder executable=/usr/local/bin/lame # -m j : Stereo mode - Joint # -clipdetect : automatically uses --replaygain-accurate # -q 0: Highest quality # -vbr-new : use new algs # -V 0 : zero is highest quality, bigger files - default is 4 # -b : minimum bitrate #encoder cmd-line: -m j --clipdetect --preset extreme -q 0 --vbr-new -V 0 -b %b %w %m #OLD #encoder cmd-line: --r3mix -b %b %w %m #------------------------------------------ # #Encode file format: ~/mp3/%A/%d/%A - %d - %t - %n.mp3 #------------------------------------------- #------------------------------------------- #------------------------------------------ #NEW 1.1 #FLAC settings for Grip: # # Encoder=FLAC # encoder executable=/usr/local/bin/lame # # Encoder command line: # # --replay-gain --compression-level-8 -V -T TITLE=?%n? -T ALBUM=?%d? -T TRACKNUMBER=%t # -T ARTIST=?%a -T GENRE=?%G? -T CDDB=%i? -T DATE=%y -o %m %w # # Encode File format: # ~/flac/%A/%d/%t_%n.flac # # http://flac.sourceforge.net #------------------------------------------ #------------------------------------------- ID3 1=add ID3 tags 0=Only tag files ending with MP3 ID3 comment field: ID3v1 char set: UTF-8 DiscDB Primary server DB server: freedb.freedb.org CGI path: ~cddb/cddb.cgi DB submit email: freedb-submit@freedb.org 1=use freedb exetention 1=perform disc lookups automatically Proxy none Misc email address: put in a valid email address cd update program: 1=do not lowercase filenames 1=allow high bits in filenames chars to not strip in filenames= 1=do not change spaces to underscores Once you have changed the settings, gracefully close down grip by clicking on the bottom right button and then restart Grip. Encoding Benchmarks ================================================================================== lame 3.96 / Grip stats Bonham - The Disregard Of Timekeeping --> 112,092K (112M) - V0 --> 107.920K (108M) - V4 --> RIP speed: ~3.6x (using /dev/scd0 via the genericSCSI Linux option) --> RIP speed: ~2.8x (using /dev/hdc) --> Lame Encode: 2.1x (using Dell CP 2Ghz lt) --> FLAC --best: 383.3M lame 3.95.1 / Grip stats Bonham - The Disregard Of Timekeeping --> 113,128K (113M) --> RIP speed: ~2.8x (using /dev/hdc) --> Lame Encode: 2.1x (using Dell CP 2Ghz lt) ==================================================================================