View Full Version : How extract luma from YUY2 source?


yup
13th March 2008, 07:21
Hi folks!
Please explain if I have YUY2 source
AviSource("file.avi")
GreyScale()

return luma from video?
yup.

sh0dan
13th March 2008, 17:31
Yup ;)

yup
13th March 2008, 17:52
sh0dan!
What means stupid yes or no. Question very simple. In YUY2 color information separated from luma and when I use GreyScale() I get luma.
I find answer http://avisynth.org/mediawiki/GreyScale
In YCbCr based formats (YUY2, YV12), the chroma channels are set to 128.
yup.

sh0dan
13th March 2008, 18:10
yup = yes

http://www.thefreedictionary.com/yup

ok. You don't really ask a question, so my answer is: yes - you get luma when you use greyscale()