From: rgb123 on
Hi

Could anyone please guide me as how to find the RGB values of a video(.avi) file.

I am a starter and I would like to know some basics to start with. Thanks
From: Axel Vogt on
rgb123 wrote:
> Hi
>
> Could anyone please guide me as how to find the RGB values of a video(.avi) file.
>
> I am a starter and I would like to know some basics to start with. Thanks

Google? Wikipedia? http://en.wikipedia.org/wiki/RGB_color_model
From: J. Clarke on
On 5/22/2010 2:14 PM, rgb123 wrote:
> Hi
>
> Could anyone please guide me as how to find the RGB values of a video(.avi) file.
>
> I am a starter and I would like to know some basics to start with. Thanks

You are more likely to get a useful answer in a video-related forum.

From: Joshua Cranmer on
On 05/22/2010 02:14 PM, rgb123 wrote:
> Could anyone please guide me as how to find the RGB values of a video(.avi) file.
>
> I am a starter and I would like to know some basics to start with. Thanks

Likely, nowhere. It depends on the codecs, but I believe most codecs
will tend to use YUV-ish color models instead of RGB. RGB is also a bit
of misnomer, since it's not "a" color model, but a set of them (sRGB
versus Adobe RGB, e.g.).

Googling online, it seems that the DivX codec for AVI uses YUV.


--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
From: Tim Little on
On 2010-05-22, rgb123 <narmada.p(a)hotmail.co.uk> wrote:
> Could anyone please guide me as how to find the RGB values of a
> video(.avi) file.

AVI files are containers which can hold any of at least dozens of
different encodings of data in practice. So the first thing you would
need to do is determine which encodings are being used, and then read
up on those.

Though in practice there is open-source code already available to do
such conversions for you, such as ffmpeg.


- Tim