PDA

View Full Version : Difference between RGB and YUY2?


simdavid
11th November 2002, 18:34
I like to know the difference between RGB and YUY2, UYVY.
Which will give a true colour from the capture source? I notice
that when I capture in YUY2, the capture turn out to be more
yellowish in the skin colour, colour in general are more saturated.
RGB will give a more natural skin colour, colour in general are more
smoothing and evenly blended. I would prefer RGB in my capture but
I do not know the differnce at this stage. Moreover, the colour from
my source tape is in between RGB and YUY2. That's what I get after
comparing.

Which will compress better and faster? I get dropped frame
during capturing with RGB instead of YUY2. What are the advantage and
disadvantage?

Which codec is better for capturing, PIC video of HuffYuv. I have try
experienmenting this 2 with PIC at quality 19 and 20. I get dropped frames
at quality 20. My Hdd is 5400 RPM. Is this the reason I dropping frames?

On the other hand, my capture frame rate is around 10 -13 Fps with HuffYuv.
My capture setting is 29.97 Fps.
During playback is smooth, video and audio is synchronised but send to TMPG for conversion
to SVCD. Video is running very fast, it's like as if in fast forward mode.
Audio is very much out of sync. Why is it that while playback is smooth and
conversion is UnSync. Is it becos of Fps? Opening the file in virtual dub
I saw that frame rate is 29.97. Total capture frame is 1889. Total Key frame is 638.
I thought capturing with Huff, every frame should be key frame right?

My TV card is Lifeview Flyvideo 3000
Capture Software is Fly Tv 2000, a new capture software for Philips chip SAA 7133
AMD TB 1300, 5400 RPM HDD.

By the way, how much can a 5400RPM Hdd write per second

Ookami
11th November 2002, 20:17
http://www.virtualdub.org/docs_capture

Which capture format should I choose if I'm going to use video compression?
Ultimately, you will need to choose a format which is compatible with the codec, but if you have a choice, always choose YUY2, UYVY, or YVYU over RGB24. Here's why:

TV cards generally use one of two chips, either the Zoran ZR36120 (FlyVideo-derived devices), or the Brooktree/Conexant BT8x8 series (everyone else). If you look at the datasheets for these chips you will find that they either accept YUV 4:2:2 data from the decoder or produce it internally. Guess how they produce RGB24 data when you ask for it? You guessed it, the YUV 4:2:2 data is upsampled to RGB24. This means that the extra color resolution that RGB24 gives is entirely fabricated.

Choosing YUY2/UYVY/YVYU over RGB24 typically gives you a sizable speed increase, and gives you better compression with Huffyuv.

RGB16 introduces horrible banding and signal loss, while RGB32 just adds an extra 8-bits of junk to RGB24. There is no point in using either.


http://www.fourcc.org/fccrgb.htm
http://www.fourcc.org/fccyuv.htm

As for the dropped frames etc. :readfaq: .

Cheers,

Mijo.