[FFmpeg-devel] Support rawvideo in mkv

Aurelien Jacobs aurel
Thu Jan 6 00:14:39 CET 2011


On Wed, Jan 05, 2011 at 11:02:00AM -0800, James Zern wrote:
> On Wed, Jan 5, 2011 at 08:30, Vladimir Pantelic <vladoman at gmail.com> wrote:
> > Michael Niedermayer wrote:
> >>
> >> On Tue, Jan 04, 2011 at 04:49:35PM +0100, Luca Barbato wrote:
> >>>
> >>> ?I added the bare minimum to make rawvideo in mkv usable, any mkv expert
> >>> ?could point me if there is a standard way to encode the pixel format?
> >>
> >> If noone awnsers, have you tried asking on a matroska related forum or ML
> >> ?
> >
> > http://matroska.org/technical/specs/codecid/index.html
> >
> > says:
> >
> > V_UNCOMPRESSED: Video, raw uncompressed video frames
> >
> > The private data is void, all details about the used colour specs and bit
> > depth are to be put/read from the KaxCodecColourSpace elements.
> 
> I was wondering if this last line was out of date and was meant to
> reference the ColourSpace element in the video track [1]. Unless I'm
> missing the definition for KaxCodecColourSpace somewhere.

Yes, I think it is refering to the ColourSpace element.
It is available in the demuxer in track->video.fourcc, so you can try to
use it.

BTW: is there a sample file available ?

Aurel



More information about the ffmpeg-devel mailing list