dvdec

dvdec — Uses libdv to decode DV video (smpte314) (libdv.sourceforge.net)

Synopsis

                    GstDVDec;

Properties

  "clamp-chroma"             gboolean              : Read / Write
  "clamp-luma"               gboolean              : Read / Write
  "drop-factor"              gint                  : Read / Write
  "quality"                  GstDVDecQualityEnum   : Read / Write

Description

dvdec decodes DV video into raw video. The element expects a full DV frame as input, which is 120000 bytes for NTSC and 144000 for PAL video.

This element can perform simple frame dropping with the "drop-factor" property. Setting this property to a value N > 1 will only decode every Nth frame.

Example launch line

1
gst-launch filesrc location=test.dv ! dvdemux name=demux ! dvdec ! xvimagesink
This pipeline decodes and renders the raw DV stream to a videosink.

Last reviewed on 2006-02-28 (0.10.3)

Details

GstDVDec

typedef struct {
  GstElement     element;

  GstPad        *sinkpad;
  GstPad        *srcpad;

  dv_decoder_t  *decoder;
  gboolean       clamp_luma;
  gboolean       clamp_chroma;
  gint           quality;

  gboolean       PAL;
  gboolean       interlaced;
  gboolean       wide;
  gint           frame_len;

  /* input caps */
  gboolean       sink_negotiated;
  gint           framerate_numerator;
  gint           framerate_denominator;
  gint           height;
  gint           par_x;
  gint           par_y;
  gboolean       need_par;

  /* negotiated output */
  dv_color_space_t space;
  gint           bpp;
  gboolean       src_negotiated;
  
  gint           video_offset;
  gint           drop_factor;

  GstSegment *segment;
} GstDVDec;

Property Details

The "clamp-chroma" property

  "clamp-chroma"             gboolean              : Read / Write

Clamp chroma.

Default value: FALSE


The "clamp-luma" property

  "clamp-luma"               gboolean              : Read / Write

Clamp luma.

Default value: FALSE


The "drop-factor" property

  "drop-factor"              gint                  : Read / Write

Only decode Nth frame.

Allowed values: >= 1

Default value: 1


The "quality" property

  "quality"                  GstDVDecQualityEnum   : Read / Write

Decoding quality.

Default value: Highest quality colour decoding