Ripping and Encoding using Grip

I use Grip http://freshmeat.net/projects/grip/. Here's my .grip file: [GripConfig] This will produce output with the following file and directory characeristics. It will also do a VBR encoding with a base level of 192Kbps. Average size of an album is 100MB.

  • ./artist/
  • playlist
  • /album/
  • album-track_number-song_title.ogg

Note that all information will be lower case. Song data will be saved internally to the file as normal upper/lower case text

Rip:

  • using built in cdparanoia
  • rip file format: ~/mp3/%a/%d/%d-%t-%n.wav

Encode:

  • /usr/bin/oggenc
  • command line -b 192 -o %o -a “%A” -l “%d” -t “%n” %f
  • file format ~/mp3/%a/%d/%d-%t-%n.ogg

M3U:

  • file format ~/mp3/%a/%a-%d.m3u
  • %a

Ripping & Encoding Manually

Manually Ripping An Audio CD

cdrdao read-cd --remote 7 -v0 --read-raw --device 0,0,0 --driver generic-mmc:0x0 --paranoia-mode 3 --datafile /home/john/cdr/trance-domain.bin /home/john/cdr/trance-domain.toc

Manually Copying an Audio CD from the Command Line

cdrdao copy --device 0,0,0 --driver generic-mmc:0x0 --paranoia-mode 3 --datafile <filename.bin>

Manually Ripping an Entire CD

cdparanoia -B

Manually Ripping a Single Song From a CD

cdparanoia 5 output.wav (rip track 5, save to output.wav)

Manually Encoding to ogg using notlame

notlame -mj -V 1 -b 160 -S --ogg 21st\ Century\ Poem.wav 21st\ Century\ Poem.ogg

Note that this does not make infile data tagging.

Copying Audio CDs from Command Line in OS X

unmount audio disk first

disktool -u disk1 0

Read from disc to file

cdrdao read-cd --with-cddb --device IODVDServices --driver generic-mmc-raw -v 2 --datafile pw-01.bin pw-01.toc

Write from file to disc

cdrdao write --device IODVDServices --driver generic-mmc-raw -v 2 pw-01.toc

Other good CD/Music related programs

  • gcombust - gcombust is a GTK+ frontend for mksisofs and cdrecord.
  • gcdmaster - gcdmaster allows creation and editing of audio CD images in an easy to use GNOME environment. It can read audio CDs with jitter compensation for outstanding quality, add CD-TEXT and perform direct CD to CD copies. gcdmaster is a graphical version of the cdrdao command-line utility.

See also cdrelated


, computer

computer/rippingandencoding.txt · Last modified: by 127.0.0.1