View previous topic :: View next topic |
Author |
Message |
anticapitalista n00b
Joined: 07 Oct 2005 Posts: 12 Location: Greece
|
Posted: Mon Mar 20, 2006 9:28 pm Post subject: abcde cdparanoia config |
|
|
Firstly apologies if this has been asked before.
I'm using abcde with lame to rip audio cds to mp3, via cdparanoia.
It works great, so getting to my question.
Is there any way to configure the output from (I think it's cdparanoia) in a terminal so the %%%% can be coloured?
A bit like configuring nanorc for highlighting.
It would be really cool to do so. _________________ Philosophers have interpreted the world in many ways; the point is to change it. |
|
Back to top |
|
|
anticapitalista n00b
Joined: 07 Oct 2005 Posts: 12 Location: Greece
|
Posted: Fri Mar 24, 2006 10:25 am Post subject: |
|
|
anyone? _________________ Philosophers have interpreted the world in many ways; the point is to change it. |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Fri Mar 24, 2006 11:09 am Post subject: |
|
|
If you're worried about extraction results and you got an ATAPI cdrom and you're using a kernel > 2.6.8 you should switch to the media-sound/cdparanoia-3.9.8-r3 first. Otherwise cdparanoia will use the cooked interface and you can't trust it at all.
If you're going to try media-sound/cdparanoia-3.9.8-r3 see that you got a kernel >2.6.15.
About the coloring I don't know. The thing is that cdparanoia doesn't use ncurses. It uses plain C functions to print output. There's no way for a program to use colors with these (afaik).
Best of luck
mic
Last edited by micmac on Fri Mar 24, 2006 1:46 pm; edited 1 time in total |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Fri Mar 24, 2006 12:34 pm Post subject: |
|
|
What does this "-r3" precisely do and why is the output not trusted if you don't use that? Can you please explain more in detail since I'm in the proces of ripping 300 CDs again and I want an optimal result
Thanx in advance
swimmer
PS: My kernel is 2.6.15 atm ... |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Fri Mar 24, 2006 1:34 pm Post subject: |
|
|
Hi,
I'll try the best I can.
Basically it's about SCSI commands. Since kernel 2.6.8 or 2.6.9 scsi-ide emulation is no longer supported. But cdparanoia used ide-scsi per default. So after ide-scsi vanished cdparanoia fell back to the so called "cooked interface". So it was no longer using SCSI commands (MMC) with ATAPI drives. Without them it's not able to catch errors and error correction completely depends on the drive. Most drives suck.
So Peter Jones from Red Hat patched cdparanoia for SG_IO support. SG_IO is so to speak the successor for ide-scsi regarding DAE. And those patches are included in media-sound/cdparanoia-3.9.8-r3 as you can also see in this bugzilla item.
Cheers
mic
Last edited by micmac on Fri Mar 24, 2006 1:47 pm; edited 1 time in total |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Fri Mar 24, 2006 1:36 pm Post subject: |
|
|
Deleted, nevermind
Last edited by micmac on Fri Mar 24, 2006 4:06 pm; edited 1 time in total |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Fri Mar 24, 2006 1:43 pm Post subject: |
|
|
micmac wrote: | Hi,
I'll try the best I can.
Basically it's about SCSI commands. Since kernel 2.6.8 or 2.6.9 scsi-ide emulation is no longer supported. But cdparanoia used ide-scsi per default. So after ide-scsi vanished cdparanoia fell back to the so called "cooked interface". So it was no longer using SCSI commands (MMC) with ATAPI drives. Without them it's not able to catch errors and error correction completely depends on the drive. Most drives suck.
So Peter Jones from Red Hat patched cdparanoia for SG_IO support. SG_IO is so to speak the successor for ide-scsi regarding DAE. And those patches are included in cdparanoia -r3 as you can also see in this bugzilla item.
Cheers
mic |
Uh - now I understand! I thought "-r3" was an argument to use with cdparanoia Many thanks for your patient explanation - I'll emerge -r3 immediately!
Thanks again
swimmer |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Fri Mar 24, 2006 1:48 pm Post subject: |
|
|
Sorry for the confusion I edited my previous posts and changed '-r3' to 'media-sound/cdparanoia-3.9.8-r3'
mic |
|
Back to top |
|
|
anticapitalista n00b
Joined: 07 Oct 2005 Posts: 12 Location: Greece
|
Posted: Fri Mar 24, 2006 3:47 pm Post subject: |
|
|
micmac
Thanks a lot for the info.
I'm not having any problems with cdparanoia, and abcde output is satisfactory for my needs.
I just wondered about the coloured part. But you answered that too.
Thanks again, and I sure learnt a lot from your answers. _________________ Philosophers have interpreted the world in many ways; the point is to change it. |
|
Back to top |
|
|
micmac l33t
Joined: 28 Nov 2003 Posts: 996
|
Posted: Fri Mar 24, 2006 10:53 pm Post subject: |
|
|
Hi,
there's another way of checking the cdparanoia output, the data output (wav data) that is. I posted a patch to introduce Test & Copy into abcde. You can find out about it at Hydrogenaudio.
mic |
|
Back to top |
|
|
|