LEAD Video Deinterlace Filter User Interface (2.0)

The Deinterlace Video filter separates interlaced video and then displays it line by line. Devices like DV DV stands for Digital Video and has been defined in "Specification of Consumer-use Digital VCRs" (aka the Blue Book). Camcorders produce interlaced video.

Use Auto Deinterlace to check a video for interlacing and apply deinterlacing only when necessary.

The filter's property pages are shown in the following figures.

 

The ROI Settings page provides a user interface for changing Region Of Interest attributes and is shown in the figure below:

 

The Import/Export settings page provides a user interface to import and export deinterlacing settings and is shown in the figure below:

Changes are applied directly to the streaming media by clicking Apply or OK, or abandoned by clicking Cancel. Positioning the mouse pointer over a control displays general information about that control. The following table shows the controls and their descriptions:

 

Control

Description

Deinterlace Settings Page

 

Enable Deinterlace check box

Enables or disables deinterlacing. If this box is cleared (Disabled), all controls become disabled and the current values for those controls have no effect.

 

 

Deinterlace Group

 

Auto Deinterlace check box

Indicates whether to automatically check the video for interlacing. Deinterlacing is performed only when necessary.

Sensitivity edit box

Use the Sensitivity edit box to specify when deinterlacing is necessary. Values range between 0.001 and 8.000. The default is 1.000. Values lower than 1.000 increase the chance a frame will be considered interlaced. With low values, deinterlacing  may be performed even when the interlaced effect is on a small portion of the image.

Double frame rate check box

Indicates whether to output frames at twice the input rate. When selected, the filter outputs 2 frames for each incoming frame, making the output frame rate double the input frame rate. The filter does this outputting the incoming frame twice, first time using the even lines, and the second time using the odd lines.

Start with even frame check box

 

Indicates whether to start doubling the frame rate from the first even frame (frame zero). If this box is selected, and the Double frame rate box is selected, the filter will start doubling the frame rate from the first even frame, frame 0.

Merge fields check box

Indicates whether to merge the even and odd fields into a single frame.

Start with even lines check box

Indicates which line to use first when processing the incoming frame. If selected, the filter starts processing the incoming frame from the first even line, line 0. If the check box is cleared, it starts processing the incoming frame with line 1. Line numbers are relative to the first line of the Region of Interest. If the "top" of the ROI is at line 100, then line 0 for processing is actually line 100 and line 1 for processing is actually line 101.

 

 

Global Pattern Group

 

Enable check box

Enables or disables global deinterlacing. If selected, a deinterlacing pattern is applied to all frames in the stream, unless a frame is in a segment. If a frame is in a segment, then the frame is deinterlaced according to the segment settings.

Preamble edit box

Specifies the number of preamble edit frames in the global pattern. The preamble frames are a group of frames at the beginning of the stream that can be either deinterlaced, or passed untouched, depending on which of the preamble "Deinterlace" and "No Deinterlace" radio buttons is selected.

Deinterlace/No Deinterlace radio buttons

Specifies whether to deinterlace the preamble frames.

No Deinterlace edit box

Specifies the number of preamble frames that will pass untouched.

Deinterlace edit box

Specifies the number of preamble frames following after the "No Deinterlace" frames that will be deinterlaced,

 

 

Segments Group

 

Time Format drop-down list box

Sets the time format for segments. Two options are available:

  • Time format (HH:MM:SS:mS)

  • Frame format (the frame's position with respect to the start of the stream (zero)).

Segments list

Lists the segments using the specified time format.

Add Segment / Remove Segment command buttons

Click Add Segment to add a new segment to the list. Select a segment and click Remove Segment to remove the segment from the list.

Up and Down command buttons

Use the Up and Down buttons to reorder the segments in the list. The filter does not verify a segment's’ times with respect to its previous and its next segment.

Segment Start Time / Segment Start Frame edit boxes

Used to specify the segment start position; either in time or by frames, based on the value selected in the Time Format drop-down list box.

 

 

Segment Operation group

 

No Deinterlace radio button

Skip the frames in the selected segment (leave them untouched)

Deinterlace radio button

Deinterlace all of the frames in the selected segment

Deinterlace Pattern radio button

Deinterlace the frames in the selected segment according to the options in the Segment Pattern group.

 

 

Segment Pattern group

 

Preamble edit box

Specifies the number of preamble edit frames in the segment pattern. The preamble frames are a group of frames at the beginning of the stream that can be either deinterlaced, or passed untouched, depending on which of the preamble Deinterlace and No Deinterlace radio buttons is selected.

Deinterlace/No Deinterlace radio buttons

Specifies whether to deinterlace the preamble frames.

No Deinterlace edit box

Specifies the number of preamble frames that will pass untouched.

Deinterlace edit box

Specifies the number of preamble frames following after the "No Deinterlace" frames that will be deinterlaced,

 

 

ROI Settings Page

 

Enable ROI check box

Enables or disables a region of interest. If this box is selected, a region of interest is enabled, to which deinterlacing will be applied. All pixels outside the defined ROI are passed untouched.

If the Deinterlace box on the Deinterlace Settings Page is cleared, then enabling the ROI has no effect.

 

 

ROI Settings group

 

ROI boundaries edit boxes

The Left, Right, Top, and Bottom edit boxes define the boundaries of the ROI, in pixels, as follows:

Left: From 0 to (Right -1)

Right: From (Left + 1) to Video Width

Top: From 0 to (Bottom -1)

Bottom: From (Top +1) to Video Height

Enable Protected Area check box

Enables or disables the protection of an area. The protected area, defined by its four boundaries, is an area that will be excluded from deinterlacing. The protected area is independent of the ROI, and each area can have any settings within the allowed range.

 

 

Protected Area Settings group

 

Protected Area boundaries edit boxes

The Left, Right, Top, and Bottom edit boxes define the boundaries of the protected area, in pixels, as follows:

Left: From 0 to (Right -1)

Right: From (Left + 1) to Video Width

Top: From 0 to (Bottom -1)

Bottom: From (Top +1) to Video Height

 

Import/Export settings page

Import button

Click to import Deinterlace settings from a file.

Export button

Click to export Deinterlace setting to a file.