View Single Post
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Sep 30, 2010, 06:49 PM
Violet CLM is offline
Reply With Quote
Code:
struct j2v_header {
	char Magic[8]; //"CineFeed"
	long Filesize;
        long crc32; //Haven't actually tested this, but analogy with other files suggests a checksum.
	long Width; //640, or 320 for the low quality versions
	long Height; //480, or 200
}
After that I dunno. The next eight bytes are similar but not necessarily identical between high- and low-quality versions, so maybe it's length or something. Before each zlib block there's a long which is related to the block's length, but the blocks seem to have some extra non-zlib material after them that's also included in the value of the length longs. There's a lot of random other stuff floating around in there too, though. You could check against the JJ1 format for reference, but I doubt the two are actually too similar.
__________________