Deinterlace compositing node

De-interlaces a frame of video by either averaging scanlines or copying a scanline.

All Parameters Local variables

See also: Field Merge, Field Split

De-interlaces a frame of video by either averaging scanlines or copying a scanline. You can choose which scanlines get kept, odd or even.

You can also choose to drop the scanline, which will then be replaced with a color of your choice.

Tip

Averaging almost always looks best.

Overloading VEX Parameters

This operator is implemented in VEX, which supports parameter overloading. If the first input has a plane which matches an operation parameter’s channel name, the input plane will be used as the parameter’s value, effectively overriding it. The overloaded parameter is then evaluated from the plane on a per-pixel basis.

eg. If the input COP has the following planes:

C{r,g,b}
A
fogdens
and it is fed into a VEX Fog COP, the fog density will be determined at each pixel by the fogdens plane, since the Fog Density parameter’s channel name matches the 'fogdens' channel name.

Parameters

Field to Keep

Select Odd or Even fields to keep.

Method

What will happen when the field is dropped.

Average

The lines above and below the discarded field will be averaged together.

Copy

The line above the discarded field will be copied.

Drop

The space left by the discarded field will be filled by the color specified.

Drop Color

The color used to fill the gap if “Drop” is selected as the Replacement Method.

Local variables

L

Sequence length

S

Start of sequence

E

End of sequence

IL

Input sequence length

SR

Sequence frame rate

NP

Number of planes in sequence

W,H

Width and height of image

I

Image index (0 at start frame)

IT

Image time (0 at start frame)

AI

Current plane array index

PI

Current plane index

PC

Num of channels in current plane

CXRES

Composite Project X resolution

CYRES

Composite Project Y resolution

CPIXA

Composite Project pixel aspect ratio

CDEPTH

Composite Project raster depth

CBP

Composite Project black point

CWP

Composite Project white point

Usages in other examples

Example name Example for