View Single Post
Old 6th February 2011, 06:01   #20  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by Gfer View Post
How would I convert it to TV-range? I did .Info() on the fraps video, it's color space was RGB32.

If you're using the fraps decoder with AVISource, it will be RGB

RGB is 0,0,0 - 255,255,255 (ie. 0,0,0 is black, 255,255,255 is white)

When you convert to Y'CbCr (e.g. ConvertToYV12() ), that converts RGB [0-255] to Y' 16-235, CbCr 16-240 which is "TV range". Y' 16 is black, Y'235 is white

(i.e. when you don't specify a matrix for converttoyv12() it uses rec601, which is TV range)
poisondeathray is offline   Reply With Quote