OggYUV4MPEG

From XiphWiki
Revision as of 16:00, 17 August 2008 by Rillian (talk | contribs) (Start a page for the Ogg encapsulation of YUV4MPEG)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

This is a draft spec for encapsulation of the YUV4MPEG2 uncompressed video format in Ogg. This is is primarily useful for multiplexing it with audio for transmission through a single pipe.

Introduction

The YUV4MPEG format was created and defined by the linux audio/video tools package. It is a combination of text-based headers and 'raw' frame data. This is just an informational summary. See the lav-tools documentation for the complete definition.

A YUV4MPEG file begins with a single text line which defined the stream parameters like image size, framerate, chroma subsampling and so on. For example:

YUV4MPEG2 W352 H288 F30000:1001 Ip A128:117

This header is followed by a sequence of frames. Each frame has a text header "FRAME", followed by the raw frame data, a plane at a time, in binary.