Hi,
I'm trying to get directly to RGB data of played movie.
My code looks like this:
1. Initialization:
avm::IReadFile *avifile =
avm::CreateReadFile("file.avi") ;
avm::IReadStream *avistream =
avifile->GetStream(0, avm::IReadStream::Video );
avistream->StartStreaming();
2. Reading data:
CImage *image = avistream->GetFrame(true)
Now when I try to access image->Data(), it seems it's 8-bit luminance only
buffer.
I would like to have 24-bit RGB. I tried various things, yet couldn't make
it :(
Anyone can help?
Thanks in advance.
--
Marcin Zukowski < [EMAIL PROTECTED] >
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile