dv1394src

dv1394src — Source for DV video data from firewire port

Synopsis

struct              GstDV1394Src;

Properties

  "channel"                  gint                  : Read / Write
  "consecutive"              gint                  : Read / Write
  "drop-incomplete"          gboolean              : Read / Write
  "guid"                     guint64               : Read / Write
  "port"                     gint                  : Read / Write
  "skip"                     gint                  : Read / Write
  "use-avc"                  gboolean              : Read / Write
  "device-name"              gchar*                : Read

Signals

  "frame-dropped"                                  : Run Last

Description

Read DV (digital video) data from firewire port.

Example launch line

1
gst-launch dv1394src ! queue ! dvdemux name=d ! queue ! dvdec ! xvimagesink d. ! queue ! alsasink
This pipeline captures from the firewire port and displays it (might need format converters for audio/video).

Synopsis

Element Information

plugin

1394

author

Erik Walthinsen <omega@temple-baptist.com>, Daniel Fischer <dan@f3c.com>, Wim Taymans <wim@fluendo.com>, Zaheer Abbas Merali <zaheerabbas at merali dot org>

class

Source/Video

Element Pads

name

src

direction

source

presence

always

details

video/x-dv, format=(string){ NTSC, PAL }, systemstream=(boolean)true

Details

struct GstDV1394Src

struct GstDV1394Src {
  GstPushSrc element;

  // consecutive=2, skip=4 will skip 4 frames, then let 2 consecutive ones thru
  gint consecutive;
  gint skip;
  gboolean drop_incomplete;

  gint num_ports;
  gint port;
  gint channel;
  octlet_t guid;
  gint avc_node;
  gboolean use_avc;

  struct raw1394_portinfo pinfo[16];
  raw1394handle_t handle;

  GstBuffer *buf;
  
  GstBuffer *frame;
  guint frame_size;
  guint frame_rate;
  guint bytes_in_frame;
  guint frame_sequence;

  int control_sock[2];

  gchar *uri;

  gchar *device_name;

  gboolean connected;
  #ifdef HAVE_LIBIEC61883
  iec61883_dv_fb_t iec61883dv;
  #endif

  Gst1394Clock *provided_clock;
};

Property Details

The "channel" property

  "channel"                  gint                  : Read / Write

Channel number for listening.

Allowed values: [0,64]

Default value: 63


The "consecutive" property

  "consecutive"              gint                  : Read / Write

send n consecutive frames after skipping.

Allowed values: >= 1

Default value: 1


The "drop-incomplete" property

  "drop-incomplete"          gboolean              : Read / Write

drop incomplete frames.

Default value: TRUE


The "guid" property

  "guid"                     guint64               : Read / Write

select one of multiple DV devices by its GUID. use a hexadecimal like 0xhhhhhhhhhhhhhhhh. (0 = no guid).

Default value: 0


The "port" property

  "port"                     gint                  : Read / Write

Port number (-1 automatic).

Allowed values: [G_MAXULONG,16]

Default value: -1


The "skip" property

  "skip"                     gint                  : Read / Write

skip n frames.

Allowed values: >= 0

Default value: 0


The "use-avc" property

  "use-avc"                  gboolean              : Read / Write

Use AV/C VTR control.

Default value: TRUE


The "device-name" property

  "device-name"              gchar*                : Read

Descriptive name of the currently opened device

Default value: "Default"

Since 0.10.7

Signal Details

The "frame-dropped" signal

void                user_function                      (GstDV1394Src *gstdv1394src,
                                                        gpointer      user_data)         : Run Last

gstdv1394src :

the object which received the signal.

user_data :

user data set when the signal handler was connected.