( Diese Seite in flag-germany.gif Deutsch )

Greyscale(clip clip [, string matrix])

Converts a clip to greyscale (without changing the color format).

The conversion is done using Rec.601 coefficients. In v2.56, a matrix option is added. When setting matrix="Rec.709", the clip is converted to greyscale using Rec.709 coefficients. See ColorConversions for an explanation of these coefficients. When setting matrix="Average" (only for RGB clips) the luma is calculated as (R+G+B)/3.