Phantom Cine

From MultimediaWiki
Revision as of 03:43, 28 March 2010 by Reimar (talk | contribs)
Jump to navigation Jump to search

The Phantom Cine format

This is a raw uncompressed format.

It contains a lot of metadata, and index and raw uncompressed frames, presumably in Bayer format.

Note: some of the fixed offsets below might not always be at that offset, though they are for the known samples and there are no length fields that would allow calculating them in a sensible way.

Variable length part seems to start at offset 0x16c0.

It consists of 3 parts:

1) timestamps

2) exposure values

3) index

The timestamp and exposure values parts start with a 4-byte length field allowing to skip them.

The index contains a 8-byte offset value for each frame. It does not have a length field, the number of entries is determined from the number of frames in the main header.

At each offset indicated by the index, there is first a header. The first 4 bytes of the header give the length of the header. Only the value 8 has a known meaning, in which case the next 4 bytes give the length of the frame data.