![]() |
![]() |
![]() |
GStreamer Good Plugins 1.0 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstBaseSink +----GstMultiFileSink
"location" gchar* : Read / Write "index" gint : Read / Write "next-file" GstMultiFileSinkNext : Read / Write "post-messages" gboolean : Read / Write "max-files" guint : Read / Write "max-file-size" guint64 : Read / Write
Write incoming data to a series of sequentially-named files.
The filename property should contain a string with a %d placeholder that will be substituted with the index for each filename.
If the "post-messages" property is TRUE, it sends an application
message named
"GstMultiFileSink"
after writing each
buffer.
The message's structure contains these fields:
gchar *
"filename"
:
the filename where the buffer was written.
gint
"index"
:
the index of the buffer.
GstClockTime
"timestamp"
:
the timestamp of the buffer.
GstClockTime
"stream-time"
:
the stream time of the buffer.
GstClockTime
"running-time"
:
the running_time of the buffer.
GstClockTime
"duration"
:
the duration of the buffer.
guint64
"offset"
:
the offset of the buffer that triggered the message.
guint64
"offset-end"
:
the offset-end of the buffer that triggered the message.