Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 17:40:54 -0700
From:      Sean LeBlanc <seanleblanc@attbi.com>
To:        FreeBSD Multimedia <multimedia@FreeBSD.ORG>
Subject:   Re: Ripping with grip
Message-ID:  <20020119174053.A45968@hostwiththemost>
In-Reply-To: <20020119172725.A293@localhost>; from scott.mitchell@mail.com on Sat, Jan 19, 2002 at 05:27:25PM %2B0000
References:  <20020119101037.A37838@hostwiththemost> <20020119172725.A293@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01-19 17:27, Scott Mitchell wrote:
> On Sat, Jan 19, 2002 at 10:10:37AM -0700, Sean LeBlanc wrote:
> > Hi, I'm trying to figure out grip on FreeBSD. It seems that cdparanoia is
> > not in the ports, and when I tried building from the tarball, I was getting
> > a lot of errors. Also, if I use some other ripper like dagrab, does anyone
> > know the commandline options I should use for it in the rip config screen in
> > grip? 
> 
> I've got grip working pretty well with 'cdda2wav', which is part of the
> sysutils/cdrtools port.  Grip has cdda2wav in its menu of rippers, I think
> it got the options right from the start -- I just had to tweak the filename
> format to my liking.
> 
> This is with an ATAPI DVD-ROM drive, BTW.  It may help to symlink
> /dev/cdrom to the real device node, since grip defaults to that.

Thanks for the tip. I tried this out, and depending on the CD I tried,
either grip did nothing, or started generated a file(.wav) that just grew
and grew and grew until I finally killed it at 1.4G. Figuring I'd see if
cdda2wav would run on its own, I entered the same command style that grip
had. I have since added the -I flag to get rid of that warning about my
CDROM not being a SCSI drive. I have cut and paste what happens below. Now,
again, depending on the CD, behavior is different, but one common thread
seems to be the "cdda2wav: Operation not permitted. cannot set posix
realtime scheduling policy" message. Is that something to worry about?

bash-2.05$ cdda2wav -I cooked_ioctl -D /dev/acd0c -x -H -t 1 here.wav
266240 bytes buffer memory requested, 4 buffers, 27 sectors
#Cdda2wav version 1.10_freebsd_4.4-release_i386_i386 real time sched.
soundcard support
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1- 8           no              no     audio    2
Table of Contents: total tracks:8, (total time 816112:40.30)
  1.(128232:06.30),  2.(944563:05.13),  3.(822214:42.58),  4.(500811:32.68),
5.(411464:08.08)
  6.(306737:39.63),  7.(947883:34.46),  8.(571954:31.03),
 
Table of Contents: starting sectors
  1.(       0),  2.(577044480),  3.(532611072),  4.(4232577280),
5.(2191261952)
  6.(4042850560),  7.(1128202752),  8.(1098711552), lead-out(3672506880)
CDINDEX discid: igoTgjK1Y5eNLegLds4a7yk7MOc-
CDDB discid: 0xff2c6608
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 44 bytes.
recording 7693926.-3648 seconds stereo with 16 bits @ 44100.0 Hz ->'here'...
cdda2wav: Operation not permitted. cannot set posix realtime scheduling
policy
overlap:min/max/cur, jitter, percent_done:
27/ 0/ 1/  -2352   0%internal error: negative left_in_track:-262144
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-278020
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-293308
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-308596
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-323884
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-339172
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-354460
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-369748
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-385036
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-400324
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-415612
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-430900
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-446188
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-461476
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-476764
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-492052
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-507340
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-522628
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-537916
 1/ 1/ 1/      0   0%internal error: negative left_in_track:-553204

The above was a Chemlab CD. Below is what I get on a Sonic Youth CD:
cdda2wav -I cooked_ioctl -D /dev/acd0c -x -H -t 1 here.wav
266240 bytes buffer memory requested, 4 buffers, 27 sectors
#Cdda2wav version 1.10_freebsd_4.4-release_i386_i386 real time sched.
soundcard support
Warning: first sector has negative start sector! Setting to zero.
AUDIOtrack pre-emphasis  copy-permitted tracktype channels
      1-11           no              no     audio    2
Table of Contents: total tracks:11, (total time more than 73080:04.10)
  1.(631257:18.70),  2.(455737:20.48),  3.(943849:28.24),  4.(403628:56.40),
5.(593974:40.16)
  6.(67938:59.15),  7.(549147:59.27),  8.(478092:27.39),  9.(344311:34.62),
10.(377327:09.49)
 11.(884925:19.43),
 
Table of Contents: starting sectors
  1.(       0),  2.(2840657920),  3.(596508672),  4.(548864000),
5.(2365194240)
  6.(743112960),  7.(1048838400),  8.(3520004352),  9.(1376453120),
10.(2925855232)
 11.(328860160), lead-out(16056832)
CDINDEX discid: xBT0SdHXcYd8cI46I4j444S6T9Q-
CDDB discid: 0xfe0a450b
CD-Text: not detected
CD-Extra: not detected
CD with illegal leadout position detected!
The cdrom drive firmware does not permit access beyond the leadout position!
Audio extraction will be limited to track 1 with maximal 16056832 sectors...
samplefile size will be 44 bytes.
recording 214091.00933 seconds stereo with 16 bits @ 44100.0 Hz ->'here'...
cdda2wav: Operation not permitted. cannot set posix realtime scheduling
policy
overlap:min/max/cur, jitter, percent_done:
 1/ 1/ 1/      0   3%^C
W Child exited with 2

When I killed this, the "here.wav" file was 95M.

> 
> HTH,
> 
> 	Scott
> 
> -- 
> ===========================================================================
> Scott Mitchell          | PGP Key ID | "Eagles may soar, but weasels
> Cambridge, England      | 0x54B171B9 |  don't get sucked into jet engines"
> scott.mitchell@mail.com | 0xAA775B8B |      -- Anon
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message

-- 
Sean LeBlanc:seanleblanc@attbi.com Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
Our Age of Anxiety is, in great part, the result of trying to do today's jobs 
with yesterday's tools. 
-Marshall McLuhan 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020119174053.A45968>