Page 1 of 1

Mode 1 versus Mode 2 discs

PostPosted: Mon Dec 16, 2002 2:52 am
by cfitz
BuddhaTB asked me a question about the differences between mode 1 discs and mode 2 discs, and if there is any advantage to choosing one versus the other when burning a data disc full of computer files.

I thought others might be interested also, so I am sharing my answer here.

The basic red-book CD-ROM standard for audio CDs divides a CD into logical sectors that each contain 2352 bytes (the actual raw sectors contain additional bytes for error detection and correction and control). The yellow-book standard is an outgrowth of the red-book standard, and provides a standard format for storing computer data on a CD, otherwise known as a CD-ROM. The yellow-book standard defines two modes for storing data, named unimaginatively but practically, mode 1 and mode 2. Both start with the original red-book logical sector size of 2352 bytes. Mode 1 divides those 2352 bytes into 12 synchronization bytes, 4 header bytes, 2048 bytes of user data, and 288 bytes of EDC (error detection code) and ECC (error correcting code). Mode 2 divides the 2352 bytes into 12 synchronization bytes, 4 header bytes, and 2336 bytes of user data.

Mode 1 advantage: more error detection and correction capability built in, so there is less chance of data being corrupted

Mode 2 advantage: more bytes devoted to user data, so you can record more bytes on a disc

Mode 1 is typically used for storing computer data files because even a single bit error can be fatal and the extra ECC information of mode 1 gives extra assurance that no bits are corrupted. Mode 2 is typically used for applications such as video discs and the like because these applications need to store lots of data, and an error here or there isn't very detrimental. It just manifests itself as a bit of snow on the monitor or a small glitch in the soundtrack.

But wait, you exclaim! Why do burning programs like Nero let you choose to burn a computer file data disc in mode 2? Isn't that dangerous if it doesn't include all the ECC information? Well, remember that there is already a fair amount of error correction included in the CD lower-level formats. But, more importantly, mode 2 discs are typically used in conjunction with the XA (extended architecture) format. Nero does just that. If you look at the Nero menu, you will see it doesn't allow you to select just plain mode 2. Instead, you can chose between mode 1 and mode 2 XA.

So, what is XA and why is it important? It is a format that allows mixing of computer data and video/audio data on the same disc. The XA format itself has two forms, 1 and 2 (not to be confused with modes 1 and 2, although, as you will see, there are plenty of reasons to confuse them). Form 1 is used for computer data discs, and it puts those 288 ECC bytes back in for the extra protection, leaving just 2048 bytes for user data. Thus, in terms of both available user data space and ECC capability, it ends up being functionally the same as mode 1 (even though it is really mode 2 XA form 1). Form 2 is used for video and the like, and it leaves 2324 bytes of the mode 2 sector open for user data. So mode 2 XA form 2 ends up being virtually equivalent to just plain mode 2. Confused yet? I am. And there is a lot more to it all too, but this covers the main points.

What does this all mean? In practical terms it doesn't matter whether you choose mode 1 or mode 2 XA when burning a computer data disc. If you do choose mode 2 XA for a computer data disc, your burning software will use form 1, so you will get the equivalent capacity and ECC as if you had chosen mode 1. So, you can freely choose either and not worry about it. (I personally still pick mode 1 for data discs, even though it doesn't matter, just because that is the mode that was specifically and originally designed for data discs - I guess I am just satisfying my sense of order).

If you choose to burn a VCD or SVCD, your burning software will force you to use mode 2 XA, since it is required by the VCD/SVCD standards. Your burning software will put the computer data files that describe the disc in a form 1 section, and the video data itself in a form 2 section.

cfitz

PostPosted: Mon Dec 16, 2002 4:20 am
by Spazmogen
That was well written.

It answered a few lingering questions I've had but didn't want to ask.

Thanks cfitz!


PS: Can cfitz hit 1000 posts on this thread? Wait and see. He's @ 994 right now!

PostPosted: Mon Dec 16, 2002 7:13 am
by vbl117
Thanks Cfitz :D I'm printing your post at this time ...

PostPosted: Mon Dec 16, 2002 9:39 am
by cfitz
Spazmogen wrote:PS: Can cfitz hit 1000 posts on this thread? Wait and see. He's @ 994 right now!

Hmmm. I suppose this might be considered a cheap way to do it, but since you asked... yes he can. This is post 1000 right here, just for you. :wink:

You are welcome, Spazmogen and vbl117. I hope the post was useful and informative.

cfitz

PostPosted: Mon Dec 16, 2002 12:03 pm
by Alejandra
Thanks very much, Cfitz. Very illustrative. :D

PostPosted: Mon Dec 16, 2002 12:59 pm
by cfitz
You are welcome, Alejandra.

cfitz

PostPosted: Mon Dec 16, 2002 2:09 pm
by Reg-da-Ripper
I'd like to extend my gratis to cfitz as well.

This should be a sticky or at least in the FAQ section. :)

PostPosted: Mon Dec 16, 2002 2:19 pm
by cfitz
Thanks Reg-da-Ripper. Actually, I had no idea so many people were interested in this. I'm glad BuddhaTB asked.

cfitz

PostPosted: Mon Dec 16, 2002 6:59 pm
by ryus
That was very well written and interesting.

Ps. This also adds 1 to my number of posts. :D

PostPosted: Mon Dec 16, 2002 7:10 pm
by BuddhaTB
I would like to thank cfitz once again for answering my question in such a detailed response. :D

PostPosted: Mon Dec 16, 2002 11:18 pm
by Action Jackson
Nicely done cfitz. :)

PostPosted: Tue Dec 17, 2002 12:35 am
by cfitz
You guys are making me feel embarrassed with all the thanks. :oops: But I do appreciate the kind words. Thank you and you're welcome to ryus, BuddhaTB and Action Jackson too. :D

I guess I haven't worn out my welcome yet... :o

cfitz

PostPosted: Tue Dec 17, 2002 4:49 am
by TheWizard
It's posts like this that should be deposited into the CDRLabs FAQ Forum. There are so many similar posts floating around the CD-R/CD-RW forum, as well as other forums, that should be inserted as FAQ's. Then, when someone asks what this means, simply point them to the FAQ.

PostPosted: Tue Dec 17, 2002 4:54 am
by cfitz
That will be done. Dodechedron suggested the same thing. I will wait a couple of days to see if any additions or corrections need to be made, then move a copy to the FAQ.

cfitz

PostPosted: Tue Dec 17, 2002 5:06 am
by TheWizard
*Sigh* Now we need to scour the forums for more FAQ-able material. This ought to be fun!

PostPosted: Tue Dec 17, 2002 5:43 am
by dodecahedron
TheWizard wrote:It's posts like this that should be deposited into the CDRLabs FAQ Forum.

i was going to do that. i suggested to cfitz that he do it, so that the FAQ will be under HIS name! :P

TheWizard wrote:There are so many similar posts floating around the CD-R/CD-RW forum, as well as other forums, that should be inserted as FAQ's. Then, when someone asks what this means, simply point them to the FAQ.

by all means, feel free to do so, or let me know which posts you think should be copied into the FAQ and i will do it.

PostPosted: Wed Dec 18, 2002 11:07 pm
by TheWizard
I'll see what I can do. Hopefully the search feature will be fully functional again soon, I find it most resourceful when trying to find FAQ-like posts.

By the way, I like this post, it's FAQ material and very thorough - http://www.cdrlabs.com/phpBB/viewtopic.php?t=7280

PostPosted: Fri Dec 20, 2002 1:11 pm
by blakerwry
Have you guys noticed that some CD drives can't or have problems reading mode 2 data disks?

I remember seeing this in the win98 days.. I assumed it was just part of the CD-ROM drives compatibility.... but maybe it also had to do with the nero 4.x...

Ever since I noticed this, I have stuck to mode 1.