This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Low Precision of Cube luts with YUV 8-bit inputs
#1
Currently, when injesting 420 8-bit video the TimeCube converts to an RGB24 format, which isn't clean or ideal when going between YUV-RGB conversions due to rounding error/clipping in 8-bit between the two. 

Ideally for luts, content should be converted to RGB48 at least or ideally a planar RGB format for cube, if this default behavior is intended I think having an option for forcing a higher depth conversion, or allowing gimmick force 16-bit on TimeCube and ColorMatrix, currently the only option is "ApplyOnlyTo"

Currently when using 420 it'll apply 

# adjusting color space from YUV420P8 to RGB24 for vsTimeCubeclip = core.resize.Bicubic(clip=clip, format=vs.RGB24, matrix_in_s="470bg", range_s="limited")


A workaround I use is to use a filter with 0 strength with a gimmick of 16-bit, which produces 
# adjusting color space from YUV444P16 to RGB48 for vsTimeCube
giving me the expected results of my LUTs
Reply


Messages In This Thread
Low Precision of Cube luts with YUV 8-bit inputs - by GunplaXross2 - 11.08.2025, 22:56

Forum Jump:


Users browsing this thread: 1 Guest(s)