2009-05-28 09:04:35 +00:00
|
|
|
<element>
|
|
|
|
<name>filesink</name>
|
|
|
|
<details>
|
|
|
|
<long-name>File Sink</long-name>
|
|
|
|
<class>Sink/File</class>
|
|
|
|
<description>Write stream to a file</description>
|
|
|
|
<authors>Thomas Vander Stichele <thomas at apestaart dot org></authors>
|
|
|
|
</details>
|
|
|
|
<object name="GstFileSink">
|
|
|
|
<object name="GstBaseSink">
|
|
|
|
<object name="GstElement">
|
|
|
|
<object name="GstObject">
|
|
|
|
<object name="GObject">
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
</object>
|
|
|
|
<interfaces>
|
|
|
|
<interface name="GstURIHandler" />
|
|
|
|
</interfaces>
|
|
|
|
<pad-templates>
|
|
|
|
<pad-template>
|
|
|
|
<name>sink</name>
|
|
|
|
<direction>sink</direction>
|
|
|
|
<presence>always</presence>
|
|
|
|
<caps>ANY</caps>
|
|
|
|
</pad-template>
|
|
|
|
</pad-templates>
|
|
|
|
<element-flags>
|
|
|
|
</element-flags>
|
|
|
|
<element-implementation>
|
|
|
|
<state-change function="gst_base_sink_change_state"/>
|
|
|
|
<save function="gst_element_save_thyself"/>
|
|
|
|
<load function="gst_element_restore_thyself"/>
|
|
|
|
</element-implementation>
|
|
|
|
<clocking-interaction>
|
|
|
|
</clocking-interaction>
|
|
|
|
<pads>
|
|
|
|
<pad>
|
|
|
|
<name>sink</name>
|
|
|
|
<direction>sink</direction>
|
|
|
|
<template>sink</template>
|
|
|
|
<implementation>
|
|
|
|
<chain-based function="gst_base_sink_chain"/>
|
|
|
|
<event-function function="gst_base_sink_event"/>
|
|
|
|
<query-function function="gst_file_sink_query"/>
|
|
|
|
<bufferalloc-function function="gst_base_sink_pad_buffer_alloc"/>
|
|
|
|
</implementation>
|
|
|
|
</pad>
|
|
|
|
</pads>
|
|
|
|
<element-properties>
|
|
|
|
<element-property>
|
|
|
|
<name>preroll-queue-len</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Preroll queue length</nick>
|
|
|
|
<blurb>Number of buffers to queue during preroll</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>sync</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Sync</nick>
|
|
|
|
<blurb>Sync on the clock</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>max-lateness</name>
|
|
|
|
<type>gint64</type>
|
|
|
|
<nick>Max Lateness</nick>
|
|
|
|
<blurb>Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="-1" max="9223372036854775807"/>
|
|
|
|
<default>-1</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>qos</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Qos</nick>
|
|
|
|
<blurb>Generate Quality-of-Service events upstream</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>FALSE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>async</name>
|
|
|
|
<type>gboolean</type>
|
|
|
|
<nick>Async</nick>
|
|
|
|
<blurb>Go asynchronously to PAUSED</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>TRUE</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>ts-offset</name>
|
|
|
|
<type>gint64</type>
|
|
|
|
<nick>TS Offset</nick>
|
|
|
|
<blurb>Timestamp offset in nanoseconds</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="-9223372036854775808" max="9223372036854775807"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>last-buffer</name>
|
|
|
|
<type>GstBuffer</type>
|
|
|
|
<nick>Last Buffer</nick>
|
|
|
|
<blurb>The last buffer received in the sink</blurb>
|
2009-05-28 10:32:25 +00:00
|
|
|
<flags>R</flags>
|
2009-05-28 09:04:35 +00:00
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>blocksize</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Block size</nick>
|
|
|
|
<blurb>Size in bytes to pull per buffer (0 = default)</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>4096</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>render-delay</name>
|
|
|
|
<type>guint64</type>
|
|
|
|
<nick>Render Delay</nick>
|
|
|
|
<blurb>Additional render delay of the sink in nanoseconds</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="18446744073709551615"/>
|
|
|
|
<default>0</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>location</name>
|
|
|
|
<type>gchararray</type>
|
|
|
|
<nick>File Location</nick>
|
|
|
|
<blurb>Location of the file to write</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>NULL</default>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>buffer-mode</name>
|
|
|
|
<type>GstFileSinkBufferMode</type>
|
|
|
|
<nick>Buffering mode</nick>
|
|
|
|
<blurb>The buffering mode to use</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<default>-1</default>
|
|
|
|
<enum-values>
|
|
|
|
<value value="-1" nick="default"/>
|
|
|
|
<value value="0" nick="full"/>
|
|
|
|
<value value="1" nick="line"/>
|
|
|
|
<value value="2" nick="unbuffered"/>
|
|
|
|
</enum-values>
|
|
|
|
</element-property>
|
|
|
|
<element-property>
|
|
|
|
<name>buffer-size</name>
|
|
|
|
<type>guint</type>
|
|
|
|
<nick>Buffering size</nick>
|
|
|
|
<blurb>Size of buffer in number of bytes for line or full buffer-mode</blurb>
|
|
|
|
<flags>RW</flags>
|
|
|
|
<range min="0" max="4294967295"/>
|
|
|
|
<default>65536</default>
|
|
|
|
</element-property>
|
|
|
|
</element-properties>
|
|
|
|
<element-signals>
|
|
|
|
</element-signals>
|
|
|
|
<element-actions>
|
|
|
|
</element-actions>
|
|
|
|
</element>
|