[linux] Re: rippen CD's

Robert M. Stockmann stock op stokkie.net
Di Apr 12 12:54:04 CEST 2005


On Tue, 12 Apr 2005, Robert M. Stockmann wrote:

> On Mon, 11 Apr 2005, Cecil Westerhof wrote:
> 
> > Als ik met Grib een CD rip, dan duurt dit meestal rond het half uur. Op
> > het internet kwam ik tegen dat het in driie á vier minuten zou moeten
> > kunnen. Is er iets flink mis met mijn systeem, of is drie á vier minuten
> > gewoon een broodje aap?
> > 
> > 
> 
> Ik heb er een tooltje voor geschreven (aantal shell en awk scriptjes
> gekoppeld aan een Makefile) genaamd mp3-ripkit .
> Als je dan make -j 4 draait, worden er 4 mp3's tegelijk ge-encodeerd.
> De mp3 namen worden opgeslagen volgens de informatie in de online cddb
> database.
> 
> http://crashrecovery.org/mp3-ripkit.html
> 
> om van een aantal mp3's weer een audio cd te maken gebruik ik dit
> scriptje wat ook CD-TEXT toevoegd :
> 
> http://crashrecovery.org/mp3-ripkit/utils/make-audio-cd
> 

Hier een log van een cd-rip :

[jackson:root]:(/mnt/dvdrip2/cranberries)# ./runit.sh 

Tue Apr 12 12:43:47 CEST 2005 : started 

cdda2wav -B -D ATA:1,0,0 cranberries
Type: ROM, Vendor '_NEC    ' Model 'DVD_RW ND-2500A ' Revision '1.07' MMC+CDDA
569344 bytes buffer memory requested, 4 buffers, 54 sectors
#Cdda2wav version 2.01a32_linux_2.6.7_x86_64_amd-opteron-tm--processor-246, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1-12           no              no     audio    2
Table of Contents: total tracks:12, (total time 41:02.25)
  1.( 3:16.53),  2.( 4:32.05),  3.( 3:31.05),  4.( 2:16.15),  5.( 3:38.00),
  6.( 4:20.07),  7.( 4:34.58),  8.( 2:08.10),  9.( 3:39.62), 10.( 2:42.10),
 11.( 2:51.63), 12.( 3:31.37)

Table of Contents: starting sectors
  1.(      32),  2.(   14785),  3.(   35190),  4.(   51020),  5.(   61235),
  6.(   77585),  7.(   97092),  8.(  117700),  9.(  127310), 10.(  143797),
 11.(  155957), 12.(  168845), lead-out(  184707)
CDINDEX discid: fVYFQQA7TNBmeCeSPQYjSOcMT4A-
CDDB discid: 0xb0099e0c
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 434355644 bytes.
recording 2462.3333 seconds stereo with 16 bits @ 44100.0 Hz ->'cranberries'...
percent_done:
100%  track  1 recorded successfully
100%  track  2 recorded successfully
100%  track  3 recorded successfully
100%  track  4 recorded successfully
100%  track  5 recorded successfully
100%  track  6 recorded successfully
100%  track  7 recorded successfully
100%  track  8 recorded successfully
100%  track  9 recorded successfully
100%  track 10 recorded successfully
100%  track 11 recorded successfully
100%  track 12 recorded successfully
touch wave 
touch cranberries.ini 
sync ; sync ; sync
touch cranberries.ini
/usr/bin/cdrdao read-toc --device ATA:1,0,0 --datafile cranberries.toc --with-cddb --cddb-servers sj.ca.us.cddb.com:/~cddb/cddb.cgi,sc.ca.us.cddb.com:8880,sc.ca.us.cddb.com:/~cddb/cddb.cgi  cranberries.toc
Cdrdao version 1.1.9 - (C) Andreas Mueller <andreas op daneb.de>
  SCSI interface library - (C) Joerg Schilling
  Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

Using libscg version 'schily-0.8'

ATA:1,0,0: _NEC DVD_RW ND-2500A Rev: 1.07
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0003)

Reading toc data...

Track   Mode    Flags  Start                Length
------------------------------------------------------------
 1      AUDIO   0      00:00:32(    32)     03:16:53( 14753)
 2      AUDIO   0      03:17:10( 14785)     04:32:05( 20405)
 3      AUDIO   0      07:49:15( 35190)     03:31:05( 15830)
 4      AUDIO   0      11:20:20( 51020)     02:16:15( 10215)
 5      AUDIO   0      13:36:35( 61235)     03:38:00( 16350)
 6      AUDIO   0      17:14:35( 77585)     04:20:07( 19507)
 7      AUDIO   0      21:34:42( 97092)     04:34:58( 20608)
 8      AUDIO   0      26:09:25(117700)     02:08:10(  9610)
 9      AUDIO   0      28:17:35(127310)     03:39:62( 16487)
10      AUDIO   0      31:57:22(143797)     02:42:10( 12160)
11      AUDIO   0      34:39:32(155957)     02:51:63( 12888)
12      AUDIO   0      37:31:20(168845)     03:31:37( 15862)
Leadout AUDIO   0      41:02:57(184707)

Cooked R-W sub-channel reading (audio track) is supported.
Analyzing track 01 (AUDIO): start 00:00:32, length 03:16:53...
Found pre-gap: 00:00:32
Control nibbles of track match CD-TOC settings.
Analyzing track 02 (AUDIO): start 03:17:10, length 04:32:05...
Found pre-gap: 00:00:45
Control nibbles of track match CD-TOC settings.
Analyzing track 03 (AUDIO): start 07:49:15, length 03:31:05...
Found pre-gap: 00:00:38
Control nibbles of track match CD-TOC settings.
Analyzing track 04 (AUDIO): start 11:20:20, length 02:16:15...
Control nibbles of track match CD-TOC settings.
Analyzing track 05 (AUDIO): start 13:36:35, length 03:38:00...
Control nibbles of track match CD-TOC settings.
Analyzing track 06 (AUDIO): start 17:14:35, length 04:20:07...
Control nibbles of track match CD-TOC settings.
Analyzing track 07 (AUDIO): start 21:34:42, length 04:34:58...
Found pre-gap: 00:00:07
Control nibbles of track match CD-TOC settings.
Analyzing track 08 (AUDIO): start 26:09:25, length 02:08:10...
Found pre-gap: 00:00:05
Control nibbles of track match CD-TOC settings.
Analyzing track 09 (AUDIO): start 28:17:35, length 03:39:62...
Control nibbles of track match CD-TOC settings.
Analyzing track 10 (AUDIO): start 31:57:22, length 02:42:10...
Found pre-gap: 00:01:22
Control nibbles of track match CD-TOC settings.
Analyzing track 11 (AUDIO): start 34:39:32, length 02:51:63...
Found pre-gap: 00:00:45
Control nibbles of track match CD-TOC settings.
Analyzing track 12 (AUDIO): start 37:31:20, length 03:31:37...
Control nibbles of track match CD-TOC settings.
        
CDDB: Connecting to http://sj.ca.us.cddb.com:80/~cddb/cddb.cgi ...
CDDB: Ok.
Reading CDDB record for: b0099e0c-rock-The Cranberries / Everybody Else Is Doing It, So Why Can't We?
CDDB: Connecting to http://sj.ca.us.cddb.com:80/~cddb/cddb.cgi ...
CDDB: Ok.
CD-TEXT data was added to toc-file.
Reading of toc data finished successfully.
touch toc
sync ; sync ; sync
./doit.sh cranberries
touch doit
lame --quiet -h -b 192 cranberries_01.wav cranberries_01.mp3
lame --quiet -h -b 192 cranberries_02.wav cranberries_02.mp3
lame --quiet -h -b 192 cranberries_03.wav cranberries_03.mp3
lame --quiet -h -b 192 cranberries_04.wav cranberries_04.mp3
lame --quiet -h -b 192 cranberries_05.wav cranberries_05.mp3
lame --quiet -h -b 192 cranberries_06.wav cranberries_06.mp3
lame --quiet -h -b 192 cranberries_07.wav cranberries_07.mp3
lame --quiet -h -b 192 cranberries_08.wav cranberries_08.mp3
lame --quiet -h -b 192 cranberries_09.wav cranberries_09.mp3
lame --quiet -h -b 192 cranberries_10.wav cranberries_10.mp3
lame --quiet -h -b 192 cranberries_11.wav cranberries_11.mp3
lame --quiet -h -b 192 cranberries_12.wav cranberries_12.mp3
./rename.sh cranberries
touch rename
rm -f titles track wave doit rename toc *.ini *.toc *.inf *.wav
sync ; sync ; sync
cp Makefile.dist Makefile
sync ; sync ; sync

Tue Apr 12 12:51:04 CEST 2005 : finished 

[jackson:root]:(/mnt/dvdrip2/cranberries)# rm *.awk *.sh Makefile* Changelog README
[jackson:root]:(/mnt/dvdrip2/cranberries)# ls
01 - I Still Do.mp3    06 - Not Sorry.mp3       11 - How.mp3
02 - Dreams.mp3        07 - Linger.mp3          12 - Put Me Down.mp3
03 - Sunday.mp3        08 - Wanted.mp3          cranberries.tocfile
04 - Pretty.mp3        09 - Still Can't....mp3
05 - Walking Back.mp3  10 - I Will Always.mp3
[jackson:root]:(/mnt/dvdrip2/cranberries)# 

vr.gr.

Robert
-- 
Robert M. Stockmann - RHCE
Network Engineer - UNIX/Linux Specialist
crashrecovery.org  stock op stokkie.net




More information about the Linux mailing list