View Full Version : MCF-CD ideas
ReferenceDivx
16th April 2002, 04:26
I created a site with a lot of information on cd formats. It also has various links to ISO specs, MSDN information, and source code.
After spending hours reviewing the problems i think that Ingo's version looks very promising.
I'll be looking over some of the source code.
You can find my site here:
http://www.wsu.edu/~benp/mcfcd.htm
avih
16th April 2002, 08:26
very nice informative page. :) i'm gonna read it all now!
BlackSun
16th April 2002, 09:34
Very nice, I have just give the url to Tronic and Ingo. Thanks !
DeXT
16th April 2002, 12:52
Great stuff. I found this in VCDimager sources, about the XA signature format. This overrides my last post, since it's much more complete.
/* XA attribute definitions */
#define XA_ATTR_U_READ (1 << 0)
/* reserved */
#define XA_ATTR_U_EXEC (1 << 2)
/* reserved */
#define XA_ATTR_G_READ (1 << 4)
/* reserved */
#define XA_ATTR_G_EXEC (1 << 6)
/* reserved */
#define XA_ATTR_O_READ (1 << 8)
/* reserved */
#define XA_ATTR_O_EXEC (1 << 10)
#define XA_ATTR_MODE2FORM1 (1 << 11)
#define XA_ATTR_MODE2FORM2 (1 << 12)
#define XA_ATTR_INTERLEAVED (1 << 13)
#define XA_ATTR_CDDA (1 << 14)
#define XA_ATTR_DIRECTORY (1 << 15)
/* some aggregations */
#define XA_PERM_ALL_READ (XA_ATTR_U_READ | XA_ATTR_G_READ | XA_ATTR_O_READ)
#define XA_PERM_ALL_EXEC (XA_ATTR_U_EXEC | XA_ATTR_G_EXEC | XA_ATTR_O_EXEC)
#define XA_PERM_ALL_ALL (XA_PERM_ALL_READ | XA_PERM_ALL_EXEC)
/* the struct */
typedef struct /* big endian!! */
{
uint16_t user_id GNUC_PACKED; /* 0 */
uint16_t group_id GNUC_PACKED; /* 0 */
uint16_t attributes GNUC_PACKED; /* XA_ATTR_ */
uint8_t signature[2] GNUC_PACKED; /* { 'X', 'A' } */
uint8_t filenum GNUC_PACKED; /* file number, see also XA subheader */
uint8_t reserved[5] GNUC_PACKED; /* zero */
} vcd_xa_t;
This is very interesting, too, about how XA subheader is being used in VCD and SVCD:
/* subheader */
/*
SVCD 1.0
~~~~~~~~
empty sector: fn=0 cn=0 sm=%00100000 ci=0
data sector: fn=0 cn=0 sm=%x0001000 ci=0
mpeg sector: fn=1 cn=1 sm=%x11x001x ci=0x80
VCD 2.0
~~~~~~~
/MPEGAV/AVSEQyy.DAT
empty sector: fn=yy cn=0 sm=%x11x000x ci=0
video sector: fn=yy cn=1 sm=%x11x001x ci=0x0f
audio sector: fn=yy cn=1 sm=%x11x010x ci=0x7f
/SEGMENT/ITEMzzzz.DAT
empty sector: fn=1 cn=0 sm=%x11x000x ci=0
video sector: fn=1 cn=1 sm=%x11x001x ci=0x0f
lores still: fn=1 cn=2 sm=%x11x001x ci=0x1f
hires still: fn=1 cn=3 sm=%x11x001x ci=0x3f
audio sector: fn=1 cn=1 sm=%x11x010x ci=0x7f
/VCD/ *.VCD
data sector: fn=0 cn=0 sm=%x000100x ci=0
*.*
data sector: fn=1 cn=0 sm=%x0001000 ci=0
*/
You may wish to include it in your web page, if you find it useful.
Oh and I guess all this stuff should move to "New A/V Formats" forum.. General forum is not the best place to discuss this, I think.
Ookami
16th April 2002, 14:31
Yummy, a new link to add to my programmers corner :) .
Neo Neko
16th April 2002, 21:59
Things are starting to shape up! ;)
ReferenceDivx
17th April 2002, 01:19
I just updated my page with some selection of Vcdimager Souce. I included some of Dext ideas and included some of my own.
MaTTeR
17th April 2002, 01:44
Now I'm drooling, so I say thx for the continued effort:)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.