FFmpeg 2.2.16
Since* 0.7
#

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

This filter accepts the following options:

mode

The interlacing mode to adopt, accepts 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

The picture field parity assumed for the input interlaced video, accepts 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.