RID Code

No posting when you’re drunk please

I am worried about most all my previous posts now… :wink:

Yesterday I created a CD-R from some MP3s. I have a LITE-ON SOHW-1693S. I did this in DAO mode with Nero

Today I read the Q-Channel from the CD-R and found some mode 3 Q-Channel entries that were not ISRCs. I do not have the Orange book in front of me so I do not know how to decode these findings. However, if I use the info below, I can make the first 5 characters out to be ‘SNYGF’. This would seem to be a Sony RID.

 01	 01	  01	00:00:01   00	00:02:01   D955	 *Normal Q-Channel
 03	 96	  38	93:44:05   12	34:50:02   ####	 *If next sector is ISRC = USRCA0512345
The MODE, A-Time 'Frame' field, and CRC are not part of the ISRC.
The MODE is 03 for ISRC.
A-Time 'Frame' field increments as normal.
The CRC is calculated as normal.
#### means I don't know the CRC of this right now.

ISRC encoding in Q-Channel mode 3:
First 5 digits of ISRC are encoded as 6 bit Octal. Total of 30 bits. (see below)
Next 2 reserved bits shall be 00. (see note below)
Remaining 7 digits of ISRC are encoded as 4 bit BCD. Total of 28 bits.
Next 4 bits shall be 0000.
A-Time 'Frame' field is normal. Total 8 bits.
Total bits = 72

Add MODE (8 bits) and CRC (16 bits) and you have your 96 bits (12 bytes) of Q-Channel.

When the 2 reserved 00 bits are set to 11, then this is RID and not ISRC. I think this is correct.
Below is the conversion table for the ISRC to Octal
  0	000000	  00
  1	000001	  01
  2	000010	  02
  3	000011	  03
  4	000100	  04
  5	000101	  05
  6	000110	  06
  7	000111	  07
  8	001000	  10
  9	001001	  11
  A	010001	  21
  B	010010	  22
  C	010011	  23
  D	010100	  24
  E	010101	  25
  F	010110	  26
  G	010111	  27
  H	011000	  30
  I	011001	  31
  J	011010	  32
  K	011011	  33
  L	011100	  34
  M	011101	  35
  N	011110	  36
  O	011111	  37
  P	100000	  40
  Q	100001	  41
  R	100010	  42
  S	100011	  43
  T	100100	  44
  U	100101	  45
  V	100110	  46
  W	100111	  47
  X	101000	  50
  Y	101001	  51
  Z	101010	  52

I hope this info is helpful to someone. If anyone knows how to decode RID, please post it here.


OK. I haven’t read Orange Book. But are all standards of orange book implemented in modern drives? (i’m not calling orange book - bullshit or something, because standards an implementation are often deifferent)

Sorry, if I insulted you. I don’t call it bullshit - i just trying to understand.
Everyone makes mistake in their quest of knowledge…

What I realy don’t understand is the lack of information about RID code. So far I see that some gurus (no insult) really know about RID code, but majority of community don’t know about existence of RID code.

So far, CDROM, CD Mixed mode (only data track).

Very interesting… And what size of your disc? Is - 34:50:02 - end or middle of disc?

So far I haven’t found different from mode 1 Q-subchannel in Data Area…

34:50:02 is not an A-Time. The 34 and 50 is part of the ISRC. The 02 is like I said above, a normal A-Time ‘Frame’ field. In my example USRCA0512345 is the ISRC that is defined in that line of mode 3 Q-Channel. You can see the 0512345 in the R-Time, Zero, and A-Time fileds. The USRCA is encoded in the 96 38 93:44.

In my example, the ISRC was at A-Time 00:02:02 but the minutes and seconds fields are used by ISRC. ‘*If next sector is ISRC = USRCA0512345’ should have read ‘*If THIS sector is ISRC = USRCA0512345’.

I was describing the ISRC layout so I could show that mode 3 (normally ISRC) can also be used for RID when the two 00 bits are 11 instead.

Looks like IpseDixit lost his mind and decided to spam this board, so he´s out of here.

Now back on topic :

All drives which burn CD-Rs have to follow the Orange book. However, the
Orange book (like other specifications) uses different words for different
meanings : “shall” means that all drives must do what is asked, while “can”
means that drive manufacturers are free not to follow the rule.

You did not insult me, it´s just that there´s no point for me to discuss with
people who deny the disc specifications.

Hmm, I don´t have this feeling. RID is mentioned in the CD-R FAQs, which
are hardly secret info. And the details of RID format have been available on the
internet for quite some time, for instance at http://www.feurio.com/English/faq/faq_wrongisrc.shtml

FYI (if anyone cares)

The RID code in mode 3 Q-Channel is encoded as follows:

First 5 characters are encoded as 6 bit octal just like for ISRC in Red Book.
Characters 6-7 are 4 bit BCD.
Characters 8-12 are a unique 20 bit unsigned number assigned to the drive model (or is it the unique drive itself).

Hi IK,

Nice little util. Any chance of a look at your source code?
Stephen Smith

Can the RID code only be read by certain drives (IE: Plextor ?) I have several forensic utilities which supposedly will display the RID code, yet they never do. I have tried them on a large assortment of CD-Rs, data, audio, and otherwise. I have yet to find any utility which ever shows me a RID code.

Well, I came because I wanted to verify my findings and to see weather it is possible to RID codes. I got 3 LG writers - GSA-4120B, GSA-H22N and GGC-H20N. I used simple tools like Nero DiscSpeed and Nero InfoTool to check additional informations about my recorded DVDs and accordingly to my experience, none of my drives are able to write or read RID codes from DVD+R/+R DL media. But they are able to read it for sure from DVD-RW and if I’m not wrong also from DVD+RW discs. My private DVD-RW disc is from Verbatim and is desribed as “For Authoring” (in Disc Application Code), I don’t remember how it was with the rest. Just for your information…

I must correct myself. LG drives read RID codes from -R/-RW media, and none of the “+”. They just read model of recorder used to record partocular DVD-R/-RW. Tested with Nero DiscSpeed.