Nuno,
Unfortunately, AVI files are really containers for video and audio
streams. While there is a general specification for AVI files, the encoding
of the video and audio information is dependent on the encoding of the file
(which is what requires a specific codec).
You can get the encoding from the AVI file though, and then process
accordingly.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Nuno Magalhaes" <nu************@hotmail.com> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
How to know when the frames in AVI file is RGB or BGR because sometimes
Red appears first and sometimes Blue appears first in uncompressed
frames.
Does *anyone* know why?