FFV1

From MultimediaWiki
Jump to navigation Jump to search

The FFV1 video codec is a simple and efficient lossless intra-frame only codec.

Bitstream structure

Global Header

Version 1 does not have a global header, from version 2 the following field compose the global header.

  • version
  • minor version
  • coder type
  • state transition table
  • colorspace type
  • bits per sample
  • chroma_planes
  • horizontal subsampling
  • vertical subsampling
  • alpha plane presence
  • number of horizontal slices
  • number of vertical slices
  • quantization tables
  • error correction
  • cyclic redundancy check

Frame

Header

Slice

Frame Encoding

Prediction

Quantization

Colorspace

Value encoding modes

Range coding

Huffman coding