From: Michael R. <mr...@us...> - 2002-09-11 13:02:51
|
Hi, > Hey if I may butt in with a question, > I apologise if this is off-topic, please forgive me. > > Is this why I cannot store a 720Mb mpeg file on a 700 MB cd > *but* I *can* vcdimage an mpg file into bin/cue and burn it > and get the whole movie? As Miguel wrote earlier, the sector format of 'normal' data CDs and VCDs is different. The raw sector size of a CD as seen by the OS is 2352 Byte. I have just looked up the layouts: Normal data CDs use the mode 1 sector layout: 12 byte sync 4 byte header 2048 byte user data 4 byte EDC (error detection code, CRC algorithm) 8 byte reserved 276 byte ECC (error correction code, I suspect some kind of parity) Therefore you have 2048 byte of usable data in each sector. Video CDs use the CD/XA Mode 2 Form 2 sector layout: 12 byte sync 4 byte header 8 byte subheader 2324 byte user data 4 byte EDC You have 2324 byte of usable data in each sector. Therefore a VCD can store 13% more data on the same physical disc. The setback is: you lose one layer of error correction. Michael -- printk("Penguin %d is stuck in the bottle.\n", i); 2.0.38 /usr/src/linux/arch/sparc/kernel/smp.c |