deinterlace

deinterlace — Deinterlace Methods ported from DScaler/TvTime

Synopsis

                    GstDeinterlace;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstDeinterlace

Implemented Interfaces

GstDeinterlace implements GstChildProxy.

Properties

  "fields"                   GstDeinterlaceFields  : Read / Write
  "method"                   GstDeinterlaceMethods  : Read / Write
  "mode"                     GstDeinterlaceModes   : Read / Write
  "tff"                      GstDeinterlaceFieldLayout  : Read / Write

Description

deinterlace deinterlaces interlaced video frames to progressive video frames. For this different algorithms can be selected which will be described later.

Example launch line

gst-launch -v filesrc location=/path/to/file ! decodebin2 ! ffmpegcolorspace ! deinterlace ! ffmpegcolorspace ! autovideosink
This pipeline deinterlaces a video file with the default deinterlacing options.

Details

GstDeinterlace

typedef struct _GstDeinterlace GstDeinterlace;

Property Details

The "fields" property

  "fields"                   GstDeinterlaceFields  : Read / Write

This selects which fields should be output. If "all" is selected the output framerate will be double.

Default value: All fields


The "method" property

  "method"                   GstDeinterlaceMethods  : Read / Write

Selects the different deinterlacing algorithms that can be used. These provide different quality and CPU usage.

Some methods provide parameters which can be set by getting the "method" child via the GstChildProxy interface and setting the appropiate properties on it.

  • tomsmocomp Motion Adaptive: Motion Search

  • greedyh Motion Adaptive: Advanced Detection

  • greedyl Motion Adaptive: Simple Detection

  • vfir Blur vertical

  • linear Linear interpolation

  • linearblend Linear interpolation in time domain

  • scalerbob Double lines

  • weave Weave

  • weavetff Progressive: Top Field First

  • weavebff Progressive: Bottom Field First

Default value: Motion Adaptive: Advanced Detection


The "mode" property

  "mode"                     GstDeinterlaceModes   : Read / Write

This selects whether the deinterlacing methods should always be applied or if they should only be applied on content that has the "interlaced" flag on the caps.

Default value: Force deinterlacing


The "tff" property

  "tff"                      GstDeinterlaceFieldLayout  : Read / Write

Deinterlace top field first.

Default value: Auto detection