filesrc

filesrc — Read from arbitrary point in a file

Synopsis




            GstFileSrc;


Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSrc
                     +----GstFileSrc

Implemented Interfaces

GstFileSrc implements GstURIHandler.

Properties


  "fd"                   gint                  : Read
  "location"             gchararray            : Read / Write
  "mmapsize"             gulong                : Read / Write
  "touch"                gboolean              : Read / Write

Description

Element Information

plugin coreelements
authorErik Walthinsen <omega@cse.ogi.edu>
classSource/File

Details

GstFileSrc

typedef struct _GstFileSrc GstFileSrc;

Opaque GstFileSrc structure.

Properties

The "fd" property

  "fd"                   gint                  : Read

File-descriptor for the file being mmap()d.

Allowed values: >= 0

Default value: 0


The "location" property

  "location"             gchararray            : Read / Write

Location of the file to read.

Default value: NULL


The "mmapsize" property

  "mmapsize"             gulong                : Read / Write

Size in bytes of mmap()d regions.


The "touch" property

  "touch"                gboolean              : Read / Write

Touch data to force disk read.

Default value: FALSE