[ogg-dev] OggYUV

illiminable ogg at illiminable.com
Tue Nov 8 17:59:02 PST 2005

> FourCC is a codec identifier, nothing more.  It's four letters which can 
> be
> referenced against a table to see what codec it is, it's a standard used 
> by RIFF
> (aka, wav and avi) and older Macintosh formats, and in my opinion, its 
> obsolete.

While it's true there are a bunch of FOURCC's that represent non-raw formats 
like DIVX etc, the ones which represent raw YUV types are pretty well 
defined. Yes you certainly still need the width, height, aspect ratio and 
frame rate.

> This is also interesting work in that, once we're done, we'll have a 
> standard to
> use for a compressed lossless format.. a FLAC for video, for editing or 
> archival
> purposes, similar to HuffYUV.

I think that's something completely different. Any specialised lossless 
compression, as opposed to raw data will have it's own special setup 

> I'm drafting OggYUV and OggRGB on the wiki right now, so everyone can be 
> on the
> same page for what the result of this will look like.  The questions we 
> need to
> answer are which colorspaces are needed and which encoding methods are 
> needed.

At the end of the day, the reason such a codec doesn't exist, is not because 
no one has written a spec... it's because no-one has written the code yet. I 
know from my perspective, a far more useful format in directshow would be a 
simple rawFOURCC code for the yuv types, if we insist on keeping RGB and yuv 

As far as  i see it there's no reason not to use such a simple fourcc based 
format for the common cases, and use a more complete/complicated format for 
the strange cases where people want to get fancy. Since all the data being 
worked with in directshow is either a fourcc yuv, or one of a handful of rgb 


More information about the ogg-dev mailing list