mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 22:48:49 +00:00
225 lines
6.3 KiB
Text
225 lines
6.3 KiB
Text
<element>
|
|
<name>decodebin2</name>
|
|
<details>
|
|
<long-name>Decoder Bin</long-name>
|
|
<class>Generic/Bin/Decoder</class>
|
|
<description>Autoplug and decode to raw media</description>
|
|
<authors>Edward Hervey <edward.hervey@collabora.co.uk>, Sebastian Dröge <sebastian.droege@collabora.co.uk></authors>
|
|
</details>
|
|
<object name="GstDecodeBin2">
|
|
<object name="GstBin">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
<interfaces>
|
|
<interface name="GstChildProxy" />
|
|
</interfaces>
|
|
<pad-templates>
|
|
<pad-template>
|
|
<name>sink</name>
|
|
<direction>sink</direction>
|
|
<presence>always</presence>
|
|
<caps>ANY</caps>
|
|
</pad-template>
|
|
<pad-template>
|
|
<name>src%d</name>
|
|
<direction>src</direction>
|
|
<presence>sometimes</presence>
|
|
<caps>ANY</caps>
|
|
</pad-template>
|
|
</pad-templates>
|
|
<element-flags>
|
|
</element-flags>
|
|
<bin-flags>
|
|
</bin-flags>
|
|
<element-implementation>
|
|
<state-change function="gst_decode_bin_change_state"/>
|
|
<save function="gst_bin_save_thyself"/>
|
|
<load function="gst_bin_restore_thyself"/>
|
|
</element-implementation>
|
|
<clocking-interaction>
|
|
<requires-clock/>
|
|
</clocking-interaction>
|
|
<indexing-capabilities/>
|
|
<pads>
|
|
<pad>
|
|
<name>sink</name>
|
|
<direction>sink</direction>
|
|
<implementation>
|
|
<chain-based function="gst_proxy_pad_do_chain"/>
|
|
<event-function function="gst_proxy_pad_do_event"/>
|
|
<query-function function="gst_proxy_pad_do_query"/>
|
|
<query-type-func function="gst_proxy_pad_do_query_type">
|
|
</query-type-func>
|
|
<bufferalloc-function function="gst_proxy_pad_do_bufferalloc"/>
|
|
</implementation>
|
|
</pad>
|
|
</pads>
|
|
<element-properties>
|
|
<element-property>
|
|
<name>caps</name>
|
|
<type>GstCaps</type>
|
|
<nick>Caps</nick>
|
|
<blurb>The caps on which to stop decoding.</blurb>
|
|
<flags>RW</flags>
|
|
<caps>video/x-raw-yuv; video/x-raw-rgb; video/x-raw-gray; audio/x-raw-int; audio/x-raw-float; text/plain; text/x-pango-markup; video/x-dvd-subpicture; subpicture/x-pgs</caps>
|
|
</element-property>
|
|
<element-property>
|
|
<name>subtitle-encoding</name>
|
|
<type>gchararray</type>
|
|
<nick>subtitle encoding</nick>
|
|
<blurb>Encoding to assume if input subtitles are not in UTF-8 encoding. If not set, the GST_SUBTITLE_ENCODING environment variable will be checked for an encoding to use. If that is not set either, ISO-8859-15 will be assumed.</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>sink-caps</name>
|
|
<type>GstCaps</type>
|
|
<nick>Sink Caps</nick>
|
|
<blurb>The caps of the input data. (NULL = use typefind element)</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>use-buffering</name>
|
|
<type>gboolean</type>
|
|
<nick>Use Buffering</nick>
|
|
<blurb>Emit GST_MESSAGE_BUFFERING based on low-/high-percent thresholds</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>low-percent</name>
|
|
<type>gint</type>
|
|
<nick>Low percent</nick>
|
|
<blurb>Low threshold for buffering to start</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="100"/>
|
|
<default>10</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>high-percent</name>
|
|
<type>gint</type>
|
|
<nick>High percent</nick>
|
|
<blurb>High threshold for buffering to finish</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="100"/>
|
|
<default>99</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>max-size-bytes</name>
|
|
<type>guint</type>
|
|
<nick>Max. size (bytes)</nick>
|
|
<blurb>Max. amount of bytes in the queue (0=automatic)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="4294967295"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>max-size-buffers</name>
|
|
<type>guint</type>
|
|
<nick>Max. size (buffers)</nick>
|
|
<blurb>Max. number of buffers in the queue (0=automatic)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="4294967295"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>max-size-time</name>
|
|
<type>guint64</type>
|
|
<nick>Max. size (ns)</nick>
|
|
<blurb>Max. amount of data in the queue (in ns, 0=automatic)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="18446744073709551615"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>post-stream-topology</name>
|
|
<type>gboolean</type>
|
|
<nick>Post Stream Topology</nick>
|
|
<blurb>Post stream-topology messages</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
<signal>
|
|
<name>new-decoded-pad</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>gboolean</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>removed-decoded-pad</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>unknown-type</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>GstCaps</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>autoplug-continue</name>
|
|
<return-type>gboolean</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>GstCaps</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>autoplug-factories</name>
|
|
<return-type>GValueArray</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>GstCaps</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>autoplug-sort</name>
|
|
<return-type>GValueArray</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>GstCaps</type>
|
|
<type>GValueArray</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>autoplug-select</name>
|
|
<return-type>GstAutoplugSelectResult</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
<type>GstPad</type>
|
|
<type>GstCaps</type>
|
|
<type>GstElementFactory</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>drained</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstDecodeBin2</object-type>
|
|
<params>
|
|
</params>
|
|
</signal>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|