Functions Index :: S :: ShowU

[<< up one level]


filters :: channels


ShowU(clip c, string "pixel_type")


A YUV filter analogus to the Show{Red/Green/Blue} RGB filters. It returns the c clip's U channel as a clip with pixel_type colorspace (or the original if no pixel_type is specified) [1].


c = ColorBars().ConvertToYV12()

# get U channel as a full [0..255] range RGB clip

c_u = c.ColorUYV(levels="tv->pc").ShowU("RGB32")


[<< top]


[1]:YUV channels do not upscale if an RGB[32/24] pixel type is requested.

To return a full [0.255] range from an ordinary CCIR YUV clip you will have to manually perform ColorYUV(levels="tv->pc") before extracting the channels.