From XiphWiki
Revision as of 23:18, 7 November 2005 by Arc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

What is it

OggYUV is an uncompressed YUV (YCbCr) video codec for Ogg. It's a simple way to store and transfer uncompressed video within an Ogg container.

Why is it

The purpose of OggYUV is as a raw video interchange format within OggStream and other media frameworks. The format design is to be simple, complete, and efficient enough to be reasonably used to export decoded video to a media player for display.

It can also replace our dependence on yuv4mpeg2 for lossless video storage, which Ogg Theora originally used as an encoding source. The main advantage over yuv4mpeg2 files is that, within an Ogg container, it can be time-synced with OggPCM in a much more reliable way than yuv4mpeg2 + wav audio.


We need to support the following options:

  • pixel resolution
  • aspect ratio (non-square pixels)
  • interlaced video
  • frames/second (a ratio, as per Theora header)
  • chroma subsampling (typically 4:2:0, 4:2:2, or 4:4:4)
  • bits per channel (typically 8:8:8, does this ever differ?)