dvbsrc

dvbsrc — Digital Video Broadcast Source

Synopsis

struct              GstDvbSrc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBaseSrc
                           +----GstPushSrc
                                 +----GstDvbSrc

Properties

  "bandwidth-hz"             guint                 : Read / Write
  "bandwidth"                GstDvbSrcBandwidth    : Read / Write
  "code-rate-hp"             GstDvbSrcCode_Rate    : Read / Write
  "code-rate-lp"             GstDvbSrcCode_Rate    : Read / Write
  "device"                   gchararray            : Read / Write
  "diseqc-src"               gint                  : Read / Write
  "freq"                     gint                  : Read / Write
  "guard"                    GstDvbSrcGuard        : Read / Write
  "hierarchy"                GstDvbSrcHierarchy    : Read / Write
  "inversion"                GstDvbSrcInversion    : Read / Write
  "modulation"               GstDvbSrcModulation   : Read / Write
  "pids"                     gchar*                : Write
  "pol"                      gchararray            : Read / Write
  "srate"                    gint                  : Read / Write
  "trans-mode"               GstDvbSrcTransmission_Mode  : Read / Write
  "tune"                     gpointer              : Write
  "adapter"                  gint                  : Read / Write
  "diseqc-source"            gint                  : Read / Write
  "frequency"                guint                 : Read / Write
  "frontend"                 gint                  : Read / Write
  "polarity"                 gchar*                : Read / Write / Construct
  "symbol-rate"              guint                 : Read / Write
  "stats-reporting-interval" guint                 : Read / Write
  "timeout"                  guint64               : Read / Write
  "dvb-buffer-size"          guint                 : Read / Write
  "delsys"                   GstDvbSrcDelsys       : Read / Write
  "pilot"                    GstDvbSrcPilot        : Read / Write
  "rolloff"                  GstDvbSrcRolloff      : Read / Write
  "stream-id"                gint                  : Read / Write
  "tuning-timeout"           guint64               : Read / Write

Signals

  "tuning-done"                                    : Run Last
  "tuning-fail"                                    : Run Last
  "tuning-start"                                   : Run Last

Description

Synopsis

Element Information

plugin

dvb

author

P2P-VCR, C-Lab, University of Paderborn,Zaheer Abbas Merali <zaheerabbas at merali dot org>

class

Source/Video

Element Pads

name

src

direction

source

presence

always

details

video/mpegts, mpegversion=(int)2, systemstream=(boolean)true

Details

struct GstDvbSrc

struct GstDvbSrc;

Property Details

The "bandwidth-hz" property

  "bandwidth-hz"             guint                 : Read / Write

(DVB-T) Bandwidth in Hz.

Default value: 8000000


The "bandwidth" property

  "bandwidth"                GstDvbSrcBandwidth    : Read / Write

(DVB-T) Bandwidth. Deprecated.

Default value: 8


The "code-rate-hp" property

  "code-rate-hp"             GstDvbSrcCode_Rate    : Read / Write

(DVB-T, DVB-S/S2 and DVB-C) High priority code rate.

Default value: AUTO


The "code-rate-lp" property

  "code-rate-lp"             GstDvbSrcCode_Rate    : Read / Write

(DVB-T) Low priority code rate.

Default value: 1/2


The "device" property

  "device"                   gchararray            : Read / Write

The device directory.

Default value: "/dev/dvb/adapter0"


The "diseqc-src" property

  "diseqc-src"               gint                  : Read / Write

DISEqC selected source (-1 disabled) (DVB-S).

Allowed values: [-1,7]

Default value: -1


The "freq" property

  "freq"                     gint                  : Read / Write

Frequency.

Allowed values: >= 0

Default value: 0


The "guard" property

  "guard"                    GstDvbSrcGuard        : Read / Write

(DVB-T) Guard Interval.

Default value: 16


The "hierarchy" property

  "hierarchy"                GstDvbSrcHierarchy    : Read / Write

(DVB-T) Hierarchy information.

Default value: 1


The "inversion" property

  "inversion"                GstDvbSrcInversion    : Read / Write

(DVB-T and DVB-C) Inversion information.

Default value: ON


The "modulation" property

  "modulation"               GstDvbSrcModulation   : Read / Write

(DVB-T and DVB-C) Modulation type.

Default value: QAM 16


The "pids" property

  "pids"                     gchar*                : Write

Colon seperated list of pids (eg. 110:120).

Default value: "8192"


The "pol" property

  "pol"                      gchararray            : Read / Write

Polarity [vhHV] (DVB-S).

Default value: "h"


The "srate" property

  "srate"                    gint                  : Read / Write

Symbol Rate (DVB-S, DVB-C).

Allowed values: >= 0

Default value: 0


The "trans-mode" property

  "trans-mode"               GstDvbSrcTransmission_Mode  : Read / Write

(DVB-T) Transmission mode.

Default value: 8K


The "tune" property

  "tune"                     gpointer              : Write

Atomically tune to channel. (For Apps).


The "adapter" property

  "adapter"                  gint                  : Read / Write

The DVB adapter device number (eg. 0 for adapter0).

Allowed values: [0,16]

Default value: 0


The "diseqc-source" property

  "diseqc-source"            gint                  : Read / Write

(DVB-S/S2) Selected DiSEqC source. Only needed if you have a DiSEqC switch. Otherwise leave at -1 (disabled).

Allowed values: [G_MAXULONG,7]

Default value: -1


The "frequency" property

  "frequency"                guint                 : Read / Write

Frequency.

Default value: 0


The "frontend" property

  "frontend"                 gint                  : Read / Write

The frontend device number (eg. 0 for frontend0).

Allowed values: [0,16]

Default value: 0


The "polarity" property

  "polarity"                 gchar*                : Read / Write / Construct

(DVB-S/S2) Polarity [vhHV] (eg. V for Vertical).

Default value: "H"


The "symbol-rate" property

  "symbol-rate"              guint                 : Read / Write

(DVB-S/S2, DVB-C) Symbol rate in bauds.

Default value: 0


The "stats-reporting-interval" property

  "stats-reporting-interval" guint                 : Read / Write

The number of reads before reporting frontend stats.

Default value: 100


The "timeout" property

  "timeout"                  guint64               : Read / Write

Post a message after timeout microseconds (0 = disabled).

Default value: 1000000


The "dvb-buffer-size" property

  "dvb-buffer-size"          guint                 : Read / Write

The kernel buffer size used by the DVB api.

Default value: 1925120


The "delsys" property

  "delsys"                   GstDvbSrcDelsys       : Read / Write

Delivery System.

Default value: UNDEFINED


The "pilot" property

  "pilot"                    GstDvbSrcPilot        : Read / Write

Pilot (DVB-S2).

Default value: AUTO


The "rolloff" property

  "rolloff"                  GstDvbSrcRolloff      : Read / Write

Rolloff (DVB-S2).

Default value: auto


The "stream-id" property

  "stream-id"                gint                  : Read / Write

(DVB-T2 and DVB-S2 max 255, ISDB max 65535) Stream ID (-1 = disabled).

Allowed values: [G_MAXULONG,65535]

Default value: -1


The "tuning-timeout" property

  "tuning-timeout"           guint64               : Read / Write

Milliseconds to wait before giving up tuning/locking on a signal.

Default value: 10000000000

Signal Details

The "tuning-done" signal

void                user_function                      (GstDvbSrc *gstdvbsrc,
                                                        gpointer   user_data)      : Run Last

gstdvbsrc :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "tuning-fail" signal

void                user_function                      (GstDvbSrc *gstdvbsrc,
                                                        gpointer   user_data)      : Run Last

gstdvbsrc :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "tuning-start" signal

void                user_function                      (GstDvbSrc *gstdvbsrc,
                                                        gpointer   user_data)      : Run Last

gstdvbsrc :

the object which received the signal.

user_data :

user data set when the signal handler was connected.