dvbsrc

dvbsrc — Digital Video Broadcast Source

Synopsis

struct              GstDvbSrc;

Properties

  "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

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 {
  GstPushSrc element;
  GstPad *srcpad;

  GMutex tune_mutex;
  gboolean need_tune;

  int adapter_type;

  int adapter_number;           /* the device directory with the sub-devices */
  int frontend_number;

  int fd_frontend;
  int fd_dvr;
  int fd_filters[MAX_FILTERS];
  GstPoll *poll;
  GstPollFD poll_fd_dvr;

  guint16 pids[MAX_FILTERS];
  unsigned int freq;
  unsigned int sym_rate;
  int tone;
  int diseqc_src;
  gboolean send_diseqc;

  int bandwidth;
  int code_rate_hp;
  int code_rate_lp;
  int modulation;
  int guard_interval;
  int transmission_mode;
  int hierarchy_information;
  int inversion;
  guint64 timeout;

  GstDvbSrcPol pol;
  guint stats_interval;
  guint stats_counter;
  gboolean need_unlock;

  guint dvb_buffer_size;
};

Property Details

The "bandwidth" property

  "bandwidth"                GstDvbSrcBandwidth    : Read / Write

Bandwidth (DVB-T).

Default value: 7


The "code-rate-hp" property

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

High Priority Code Rate (DVB-T, DVB-S and DVB-C).

Default value: AUTO


The "code-rate-lp" property

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

Low Priority Code Rate (DVB-T).

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

Guard Interval (DVB-T).

Default value: 16


The "hierarchy" property

  "hierarchy"                GstDvbSrcHierarchy    : Read / Write

Hierarchy Information (DVB-T).

Default value: 1


The "inversion" property

  "inversion"                GstDvbSrcInversion    : Read / Write

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

Default value: ON


The "modulation" property

  "modulation"               GstDvbSrcModulation   : Read / Write

Modulation (DVB-T and DVB-C).

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

Transmission Mode (DVB-T).

Default value: 8K


The "tune" property

  "tune"                     gpointer              : Write

Atomically tune to channel. (For Apps).


The "adapter" property

  "adapter"                  gint                  : Read / Write

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

Allowed values: [0,16]

Default value: 0


The "diseqc-source" property

  "diseqc-source"            gint                  : Read / Write

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

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

Polarity [vhHV] (DVB-S).

Default value: "H"


The "symbol-rate" property

  "symbol-rate"              guint                 : Read / Write

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

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