Duck IVF

From MultimediaWiki
Revision as of 09:49, 21 May 2010 by Multimedia Mike (talk | contribs) (fill in the unknown fields according to libvpx's simple_encoder.c utility)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • Extension: ivf

IVF is a simple file format that transports raw VP8 data.

Multi-byte numbers of little-endian. An IVF file begins with a 32-byte header:

bytes 0-3    signature: 'DKIF'
bytes 4-5    version (should be 0)
bytes 6-7    length of header in bytes
bytes 8-11   codec FourCC (e.g., 'VP80')
bytes 12-13  width in pixels
bytes 14-15  height in pixels
bytes 16-19  frame rate
bytes 20-23  time scale
bytes 24-27  number of frames in file
bytes 28-31  unused

The header is followed by a series of frames. Each frame consists of a 12-byte header followed by data:

bytes 0-3    size of frame in bytes (not including the 12-byte header)
bytes 4-11   64-bit presentation timestamp
bytes 12..   frame data