OK, DVD always use 2048 bytes / sector. Data CDs always use 2048 bytes per sector. AudioCDs use 2352 bytes per sector. VCD/SVCDs use 2048 bytes / sector for first data track (2-2.5 megabytes) and rest is with 2324 "long" sectors (MPEG track).
stebi wrote:
Hi,
I try to calculate if the size of a file oder video image (VCD, SVCD, DVD) fits on the disc. Therefore I have to use different blocksizes and compare them with the . Which one do I have to use for which format?
There are some constants defined.
MODE1_LB_SIZE_IN_UCHARS = 2048;
MODE2_FORMLESS_LB_SIZE_IN_UCHARS = 2336;
MODE2_FORM1_LB_SIZE_IN_UCHARS = 2048;
MODE2_FORM2_LB_SIZE_IN_UCHARS = 2324;
MODE2_FORM2_SUB_LB_SIZE_IN_UCHARS = 2332;
Which one do I have to use for which purpose?
Files/Data: ?
VCD: ?
SVCD: ?
Video-DVD: ?
Thanks in advance.