pushfilesrc

pushfilesrc

Synopsis

struct              GstPushFileSrc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstBin
                           +----GstPushFileSrc

Implemented Interfaces

GstPushFileSrc implements GstChildProxy and GstURIHandler.

Properties

  "applied-rate"             gdouble               : Read / Write
  "initial-timestamp"        guint64               : Read / Write
  "location"                 gchar*                : Read / Write
  "rate"                     gdouble               : Read / Write
  "start-time"               gint64                : Read / Write
  "stream-time"              gint64                : Read / Write
  "time-segment"             gboolean              : Read / Write

Description

This element is only useful for debugging purposes. It implements an URI protocol handler for the 'pushfile' protocol and behaves like a file source element that cannot be activated in pull-mode. This makes it very easy to debug demuxers or decoders that can operate both pull and push-based in connection with the playbin element (which creates a source based on the URI passed).

Example launch line

1
gst-launch-1.0 -m playbin uri=pushfile:///home/you/some/file.ogg
This plays back the given file using playbin, with the demuxer operating push-based.

Synopsis

Element Information

plugin

debug

author

Tim-Philipp Müller <tim centricular net>

class

Testing

Element Pads

name

src

direction

source

presence

always

details

ANY

Details

struct GstPushFileSrc

struct GstPushFileSrc;

Property Details

The "applied-rate" property

  "applied-rate"             gdouble               : Read / Write

Applied rate to use in TIME SEGMENT.

Allowed values: >= G_MINDOUBLE

Default value: 1


The "initial-timestamp" property

  "initial-timestamp"        guint64               : Read / Write

Initial Buffer Timestamp (if time-segment TRUE).

Default value: 18446744073709551615


The "location" property

  "location"                 gchar*                : Read / Write

Location of the file to read.

Default value: NULL


The "rate" property

  "rate"                     gdouble               : Read / Write

Rate to use in TIME SEGMENT.

Allowed values: >= G_MINDOUBLE

Default value: 1


The "start-time" property

  "start-time"               gint64                : Read / Write

Initial Start Time (if time-segment TRUE).

Allowed values: >= 0

Default value: 0


The "stream-time" property

  "stream-time"              gint64                : Read / Write

Initial Stream Time (if time-segment TRUE).

Allowed values: >= 0

Default value: 0


The "time-segment" property

  "time-segment"             gboolean              : Read / Write

Emit TIME SEGMENTS.

Default value: FALSE

See Also

filesrc