| GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Properties | ||||
"clamp-chroma" gboolean : Read / Write "clamp-luma" gboolean : Read / Write "drop-factor" gint : Read / Write "quality" GstDVDecQualityEnum : Read / Write
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.
1 |
gst-launch filesrc location=test.dv ! dvdemux name=demux ! dvdec ! xvimagesink |
Last reviewed on 2006-02-28 (0.10.3)
plugin |
dv |
author |
Erik Walthinsen <omega@cse.ogi.edu>,Wim Taymans <wim@fluendo.com> |
class |
Codec/Decoder/Video |
name |
sink |
direction |
sink |
presence |
always |
details |
video/x-dv, systemstream=(boolean)false |
name |
src |
direction |
source |
presence |
always |
details |
video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ] |
| video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321, red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ] | |
| video/x-raw-rgb, bpp=(int)24, depth=(int)24, endianness=(int)4321, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, width=(int)720, framerate=(fraction)[ 1/1, 60/1 ] |
struct GstDVDec {
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;
};