UToY and VToY copy the U or V chroma plane to the Y luma plane and
keeps the same color format as the source clip. All color (chroma) information
is removed and set to neutral (greyscale). Depending on the color format, the
image resolution can be changed – i.e.,
with a YUV444 source, the output clip will be the same width and height as
input clip, but
with a YUV420 source, the output clip will be half the input clip's width and
height.
UToY8 and VToY8 extract the U or V chroma channel to a Y-only greyscale
clip. Despite the names, all bit depths are supported. Resulting clip will be Y8,
Y10 etc. as appropriate.
YToUV combines up to 4 independent clips to create a new YUV(A) clip.
The Y channel of each of the supplied clips are then copied onto the respective
channel of the output clip. Note that all of the parameters are unnamed, however,
only the first two clips are mandatory. Only Y or YUV(A) color formats are
accepted.
Syntax and Parameters
YToUV(clipclipU,clipclipV,clipclipY,clipclipA)
clipU,clipV
Source clips; dimensions of both clips must be identical.
The first clip is used for the U channel and the second clip for the V
channel.
clipU determines the color format of the output clip unless clipY
is defined.
clipY
Source clip; If clipY is given, the Y channel is copied onto the Y
channel of the output clip. The dimensions of this clip determines the
color format of the output clip, for example:
If the width and height of clipY are the same as the U/V channels, the
output clip will be YUV444.
If the width and height of clipY are double the size of the U/V
channels, the output clip will be YUV420.
Due to chroma subsampling restrictions, some dimensions are not
compatible with YUV420 and YUV422 color formats.
If clipY is not given, the Y channel of the output clip will be set to
grey (0x7e).
clipA
Source clip; if clipA is given, the Y channel is copied onto the A
channel of the output clip. Dimensions must be identical to clipY.