Functions Index :: S :: ShowV

[<< up one level]


filters :: channels


ShowV(clip c, string "pixel_type")


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


c = ColorBars().ConvertToYUY2()

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

c_u = c.ColorUYV(levels="tv->pc").ShowV("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.