FFmpeg 1.1.16
Since* 0.7
#

Deinterlace the input video ("yadif" means "yet another deinterlacing filter").

The filter accepts parameters as a list of key=value pairs, separated by ":". If the key of the first options is omitted, the arguments are interpreted according to syntax mode:parity:deint.

The description of the accepted parameters follows.

mode

Specify the interlacing mode to adopt. Accept one of the following values:

0, send_frame

output 1 frame for each frame

1, send_field

output 1 frame for each field

2, send_frame_nospatial

like send_frame but skip spatial interlacing check

3, send_field_nospatial

like send_field but skip spatial interlacing check

Default value is send_frame.

parity

Specify the picture field parity assumed for the input interlaced video. Accept one of the following values:

0, tff

assume top field first

1, bff

assume bottom field first

-1, auto

enable automatic detection

Default value is auto. If interlacing is unknown or decoder does not export this information, top field first will be assumed.

deint

Specify which frames to deinterlace. Accept one of the following values:

0, all

deinterlace all frames

1, interlaced

only deinterlace frames marked as interlaced

Default value is all.