detectinter

detectinter — Detect interlaced frames

Synopsis

                    GstDetectInter;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseTransform
                     +----GstVideoFilter
                           +----GstDetectInter

Properties

  "chroma-diff"              guint                 : Read / Write
  "chroma-eq"                guint                 : Read / Write
  "chroma-threshold"         guint                 : Read / Write
  "diff"                     guint                 : Read / Write
  "threshold"                guint                 : Read / Write
  "threshold-eq"             guint                 : Read / Write

Description

History

This filter checks for interlaced video frames and marks these by preceding them with a custom downstream event (simply an empty structure called 'detectinter'). Subsequent (dynamic/adaptive) de-interlacing can then be done by a downstream de-interlacing filter that recognizes this custom mark, such as fields.

  • transcode 32detect filter [Thomas Oestreich]

Details

GstDetectInter

typedef struct _GstDetectInter GstDetectInter;

Property Details

The "chroma-diff" property

  "chroma-diff"              guint                 : Read / Write

Threshold for different chroma.

Allowed values: <= 255

Default value: 9


The "chroma-eq" property

  "chroma-eq"                guint                 : Read / Write

Threshold for equal chroma.

Allowed values: <= 255

Default value: 9


The "chroma-threshold" property

  "chroma-threshold"         guint                 : Read / Write

Interlace detection chroma threshold.

Allowed values: <= 255

Default value: 4


The "diff" property

  "diff"                     guint                 : Read / Write

Threshold for different colors.

Allowed values: <= 255

Default value: 9


The "threshold" property

  "threshold"                guint                 : Read / Write

Interlace detection threshold.

Allowed values: <= 255

Default value: 9


The "threshold-eq" property

  "threshold-eq"             guint                 : Read / Write

Threshold for equal colors.

Allowed values: <= 255

Default value: 9