> as->StartStreaming();
> [...]
>
> CImage *image;
>
>
> if(image != NULL)
> image->Release();
>
> as->ReadFrame(true);
>
> image = as->GetFrame(true);
>
> BITMAPINFOHEADER *bi;
> bi = (BITMAPINFOHEADER) image->GetFmt();
>
> Is that fine?
Yes - thought there are somewhat more complicated ways which
would allow you suplly your buffers directly to decompressor -
but the API for them isn't documented and for now I'm not sure
if it's stable enough to be documented (i.e. SetBuffering method)
it's somewhat hard to maintain compatibility and for unstable
things I prefer that people rather do not know about them :)
> Then how do I get a specific frame of that stream?
seek to position (i.e. you have to seek to key frame)
and then read to the desired precice frame position
> Then how do I get the RGB data of that frame?
check avicat sample tool - there are such code pieces...
--
.''`. Zdenek Kabelac kabi@{debian.org, users.sf.net, fi.muni.cz}
: :' : Debian GNU/Linux maintainer - www.debian.{org,cz}
`. `' Overclocker's house :)
`- http://www.bbspot.com/News/2002/08/house.html
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile