filesink

filesink — Write stream to a file

Synopsis

                    GstFileSink;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstFileSink

Implemented Interfaces

GstFileSink implements GstURIHandler.

Properties

  "location"                 gchar*                : Read / Write
  "buffer-mode"              GstFileSinkBufferMode  : Read / Write
  "buffer-size"              guint                 : Read / Write
  "append"                   gboolean              : Read / Write

Description

Write incoming data to a file in the local file system.

Synopsis

Element Information

plugin coreelements
author Thomas Vander Stichele <thomas at apestaart dot org>
class Sink/File

Element Pads

name sink
direction sink
presence always
details ANY

Details

GstFileSink

typedef struct _GstFileSink GstFileSink;

Opaque GstFileSink structure.

Property Details

The "location" property

  "location"                 gchar*                : Read / Write

Location of the file to write.

Default value: NULL


The "buffer-mode" property

  "buffer-mode"              GstFileSinkBufferMode  : Read / Write

The buffering mode to use.

Default value: Default buffering


The "buffer-size" property

  "buffer-size"              guint                 : Read / Write

Size of buffer in number of bytes for line or full buffer-mode.

Default value: 65536


The "append" property

  "append"                   gboolean              : Read / Write

Append to an already existing file.

Default value: FALSE

Since 0.10.25

See Also

GstFileSrc