Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
abcde cdparanoia config
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
anticapitalista
n00b
n00b


Joined: 07 Oct 2005
Posts: 12
Location: Greece

PostPosted: Mon Mar 20, 2006 9:28 pm    Post subject: abcde cdparanoia config Reply with quote

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
View user's profile Send private message
anticapitalista
n00b
n00b


Joined: 07 Oct 2005
Posts: 12
Location: Greece

PostPosted: Fri Mar 24, 2006 10:25 am    Post subject: Reply with quote

anyone?
_________________
Philosophers have interpreted the world in many ways; the point is to change it.
Back to top
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Fri Mar 24, 2006 11:09 am    Post subject: Reply with quote

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
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Fri Mar 24, 2006 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Fri Mar 24, 2006 1:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Fri Mar 24, 2006 1:36 pm    Post subject: Reply with quote

Deleted, nevermind

Last edited by micmac on Fri Mar 24, 2006 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Fri Mar 24, 2006 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Fri Mar 24, 2006 1:48 pm    Post subject: Reply with quote

Sorry for the confusion :) I edited my previous posts and changed '-r3' to 'media-sound/cdparanoia-3.9.8-r3'

mic
Back to top
View user's profile Send private message
anticapitalista
n00b
n00b


Joined: 07 Oct 2005
Posts: 12
Location: Greece

PostPosted: Fri Mar 24, 2006 3:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
micmac
l33t
l33t


Joined: 28 Nov 2003
Posts: 996

PostPosted: Fri Mar 24, 2006 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum