dvbsrc

dvbsrc

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
  "isdbt-layer-enabled"      guint                 : Read / Write
  "isdbt-layera-fec"         GstDvbSrcCode_Rate    : Read / Write
  "isdbt-layera-modulation"  GstDvbSrcModulation   : Read / Write
  "isdbt-layera-segment-count" gint                  : Read / Write
  "isdbt-layera-time-interleaving" gint                  : Read / Write
  "isdbt-layerb-fec"         GstDvbSrcCode_Rate    : Read / Write
  "isdbt-layerb-modulation"  GstDvbSrcModulation   : Read / Write
  "isdbt-layerb-segment-count" gint                  : Read / Write
  "isdbt-layerb-time-interleaving" gint                  : Read / Write
  "isdbt-layerc-fec"         GstDvbSrcCode_Rate    : Read / Write
  "isdbt-layerc-modulation"  GstDvbSrcModulation   : Read / Write
  "isdbt-layerc-segment-count" gint                  : Read / Write
  "isdbt-layerc-time-interleaving" gint                  : Read / Write
  "isdbt-partial-reception"  gint                  : Read / Write
  "isdbt-sb-segment-count"   guint                 : Read / Write
  "isdbt-sb-segment-idx"     gint                  : Read / Write
  "isdbt-sb-subchannel-id"   gint                  : Read / Write
  "isdbt-sound-broadcasting" gint                  : Read / Write
  "lnb-lof1"                 guint                 : Read / Write
  "lnb-lof2"                 guint                 : Read / Write
  "lnb-slof"                 guint                 : Read / Write
  "interleaving"             GstDvbSrcInterleaving  : Read / Write

Signals

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

Description

Synopsis

Element Information

plugin

dvb

author

P2P-VCR, C-Lab, University of Paderborn, Zaheer Abbas Merali <zaheerabbas at merali dot org> Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>

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/T2/C/S2, TURBO and ATSC) 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

Center frequency to tune into. Measured in kHz for the satellite distribution standars and Hz for all the rest.

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 kBd (kilo 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


The "isdbt-layer-enabled" property

  "isdbt-layer-enabled"      guint                 : Read / Write

(ISDB-T) Layer Enabled (7 = All layers).

Allowed values: [1,7]

Default value: 7


The "isdbt-layera-fec" property

  "isdbt-layera-fec"         GstDvbSrcCode_Rate    : Read / Write

(ISDB-T) layer A Forward Error Correction.

Default value: AUTO


The "isdbt-layera-modulation" property

  "isdbt-layera-modulation"  GstDvbSrcModulation   : Read / Write

(ISDB-T) Layer A modulation type.

Default value: AUTO


The "isdbt-layera-segment-count" property

  "isdbt-layera-segment-count" gint                  : Read / Write

(ISDB-T) Layer A segment count (-1 = AUTO).

Allowed values: [G_MAXULONG,13]

Default value: -1


The "isdbt-layera-time-interleaving" property

  "isdbt-layera-time-interleaving" gint                  : Read / Write

(ISDB-T) Layer A time interleaving (-1 = AUTO).

Allowed values: [G_MAXULONG,8]

Default value: -1


The "isdbt-layerb-fec" property

  "isdbt-layerb-fec"         GstDvbSrcCode_Rate    : Read / Write

(ISDB-T) layer B Forward Error Correction.

Default value: AUTO


The "isdbt-layerb-modulation" property

  "isdbt-layerb-modulation"  GstDvbSrcModulation   : Read / Write

(ISDB-T) Layer B modulation type.

Default value: AUTO


The "isdbt-layerb-segment-count" property

  "isdbt-layerb-segment-count" gint                  : Read / Write

(ISDB-T) Layer B segment count (-1 = AUTO).

Allowed values: [G_MAXULONG,13]

Default value: -1


The "isdbt-layerb-time-interleaving" property

  "isdbt-layerb-time-interleaving" gint                  : Read / Write

(ISDB-T) Layer B time interleaving (-1 = AUTO).

Allowed values: [G_MAXULONG,8]

Default value: -1


The "isdbt-layerc-fec" property

  "isdbt-layerc-fec"         GstDvbSrcCode_Rate    : Read / Write

(ISDB-T) layer C Forward Error Correction.

Default value: AUTO


The "isdbt-layerc-modulation" property

  "isdbt-layerc-modulation"  GstDvbSrcModulation   : Read / Write

(ISDB-T) Layer C modulation type.

Default value: AUTO


The "isdbt-layerc-segment-count" property

  "isdbt-layerc-segment-count" gint                  : Read / Write

(ISDB-T) Layer C segment count (-1 = AUTO).

Allowed values: [G_MAXULONG,13]

Default value: -1


The "isdbt-layerc-time-interleaving" property

  "isdbt-layerc-time-interleaving" gint                  : Read / Write

(ISDB-T) Layer C time interleaving (-1 = AUTO).

Allowed values: [G_MAXULONG,8]

Default value: -1


The "isdbt-partial-reception" property

  "isdbt-partial-reception"  gint                  : Read / Write

(ISDB-T) Partial Reception (-1 = AUTO).

Allowed values: [G_MAXULONG,1]

Default value: 1


The "isdbt-sb-segment-count" property

  "isdbt-sb-segment-count"   guint                 : Read / Write

(ISDB-T) SB segment count.

Allowed values: [1,13]

Default value: 1


The "isdbt-sb-segment-idx" property

  "isdbt-sb-segment-idx"     gint                  : Read / Write

(ISDB-T) SB segment IDX.

Allowed values: [0,12]

Default value: 0


The "isdbt-sb-subchannel-id" property

  "isdbt-sb-subchannel-id"   gint                  : Read / Write

(ISDB-T) SB Subchannel ID (-1 = AUTO).

Allowed values: [G_MAXULONG,41]

Default value: 0


The "isdbt-sound-broadcasting" property

  "isdbt-sound-broadcasting" gint                  : Read / Write

(ISDB-T) Sound Broadcasting.

Allowed values: [0,1]

Default value: 0


The "lnb-lof1" property

  "lnb-lof1"                 guint                 : Read / Write

LNB's Local oscillator frequency used for low band reception (kHz).

Default value: 9750000


The "lnb-lof2" property

  "lnb-lof2"                 guint                 : Read / Write

LNB's Local oscillator frequency used for high band reception (kHz).

Default value: 10600000


The "lnb-slof" property

  "lnb-slof"                 guint                 : Read / Write

LNB's Upper bound for low band reception (kHz).

Default value: 11700000


The "interleaving" property

  "interleaving"             GstDvbSrcInterleaving  : Read / Write

(DTMB) Interleaving type.

Default value: AUTO

Signal Details

The "tuning-done" signal

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

The "tuning-fail" signal

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

The "tuning-start" signal

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

The "tune" signal

void                user_function                      (GstDvbSrc *gstdvbsrc,
                                                        gpointer   user_data)      : Action