gnomevfssink

gnomevfssink — Write a stream to a GnomeVFS URI

Synopsis




            GstGnomeVFSSink;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstBaseSink
                     +----GstGnomeVFSSink

Properties


  "handle"               GnomeVFSHandle        : Read / Write
  "location"             gchararray            : Read / Write
  "uri"                  GnomeVFSURI           : Read / Write

Signal Prototypes


"allow-overwrite"
            gboolean    user_function      (GstGnomeVFSSink *gstgnomevfssink,
                                            GnomeVFSURI *arg1,
                                            gpointer user_data);

Description

This plugin writes incoming data to a local or remote location specified by an URI. This location can be specified using any protocol supported by the GnomeVFS library. Common protocols are 'file', 'ftp', or 'smb'.

Example pipeline:

gst-launch -v filesrc location=input.xyz ! gnomevfssink location=file:///home/joe/out.xyz

The above pipeline will simply copy a local file. Instead of gnomevfssink, we could just as well have used the filesink element here.

Another example pipeline:

gst-launch -v filesrc location=foo.mp3 ! mad ! flacenc ! gnomevfssink location=smb://othercomputer/foo.flac

The above pipeline will re-encode an mp3 file into FLAC format and store it on a remote host using the Samba protocol.

<include></include>

Details

GstGnomeVFSSink

typedef struct _GstGnomeVFSSink GstGnomeVFSSink;

Properties

The "handle" property

  "handle"               GnomeVFSHandle        : Read / Write

Handle for GnomeVFS.


The "location" property

  "location"             gchararray            : Read / Write

Location of the file to read.

Default value: NULL


The "uri" property

  "uri"                  GnomeVFSURI           : Read / Write

URI for GnomeVFS.

Signals

The "allow-overwrite" signal

gboolean    user_function                  (GstGnomeVFSSink *gstgnomevfssink,
                                            GnomeVFSURI *arg1,
                                            gpointer user_data);

gstgnomevfssink : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.
Returns :

See Also

GstFileSink, GstGnomeVFSSrc