mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 07:26:33 +00:00
248 lines
7.2 KiB
Text
248 lines
7.2 KiB
Text
<element>
|
|
<name>playbin</name>
|
|
<details>
|
|
<long-name>Player Bin</long-name>
|
|
<class>Generic/Bin/Player</class>
|
|
<description>Autoplug and play media from an uri</description>
|
|
<authors>Wim Taymans <wim.taymans@gmail.com></authors>
|
|
</details>
|
|
<object name="GstPlayBin">
|
|
<object name="GstPlayBaseBin">
|
|
<object name="GstPipeline">
|
|
<object name="GstBin">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
</object>
|
|
<interfaces>
|
|
<interface name="GstChildProxy" />
|
|
</interfaces>
|
|
<pad-templates>
|
|
</pad-templates>
|
|
<element-flags>
|
|
</element-flags>
|
|
<bin-flags>
|
|
</bin-flags>
|
|
<element-implementation>
|
|
<state-change function="gst_play_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>
|
|
</pads>
|
|
<element-properties>
|
|
<element-property>
|
|
<name>name</name>
|
|
<type>gchararray</type>
|
|
<nick>Name</nick>
|
|
<blurb>The name of the object</blurb>
|
|
<flags>RW</flags>
|
|
<default>"element"</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>async-handling</name>
|
|
<type>gboolean</type>
|
|
<nick>Async Handling</nick>
|
|
<blurb>The bin will handle Asynchronous state changes</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>delay</name>
|
|
<type>guint64</type>
|
|
<nick>Delay</nick>
|
|
<blurb>Expected delay needed for elements to spin up to PLAYING in nanoseconds</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="18446744073709551615"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>auto-flush-bus</name>
|
|
<type>gboolean</type>
|
|
<nick>Auto Flush Bus</nick>
|
|
<blurb>Whether to automatically flush the pipeline's bus when going from READY into NULL state</blurb>
|
|
<flags>RW</flags>
|
|
<default>TRUE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>uri</name>
|
|
<type>gchararray</type>
|
|
<nick>URI</nick>
|
|
<blurb>URI of the media to play</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>suburi</name>
|
|
<type>gchararray</type>
|
|
<nick>.sub-URI</nick>
|
|
<blurb>Optional URI of a subtitle</blurb>
|
|
<flags>RW</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>queue-size</name>
|
|
<type>guint64</type>
|
|
<nick>Queue size</nick>
|
|
<blurb>Size of internal queues in nanoseconds</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="9223372036854775807"/>
|
|
<default>3000000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>queue-threshold</name>
|
|
<type>guint64</type>
|
|
<nick>Queue threshold</nick>
|
|
<blurb>Buffering threshold of internal queues in nanoseconds</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="9223372036854775807"/>
|
|
<default>2850000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>queue-min-threshold</name>
|
|
<type>guint64</type>
|
|
<nick>Queue min threshold</nick>
|
|
<blurb>Buffering low threshold of internal queues in nanoseconds</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="9223372036854775807"/>
|
|
<default>900000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>nstreams</name>
|
|
<type>gint</type>
|
|
<nick>NStreams</nick>
|
|
<blurb>number of streams</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>stream-info</name>
|
|
<type>gpointer</type>
|
|
<nick>Stream info</nick>
|
|
<blurb>List of streaminfo</blurb>
|
|
<flags>RW</flags>
|
|
</element-property>
|
|
<element-property>
|
|
<name>stream-info-value-array</name>
|
|
<type>GValueArray</type>
|
|
<nick>StreamInfo GValueArray</nick>
|
|
<blurb>value array of streaminfo</blurb>
|
|
<flags>RW</flags>
|
|
</element-property>
|
|
<element-property>
|
|
<name>source</name>
|
|
<type>GstElement</type>
|
|
<nick>Source</nick>
|
|
<blurb>Source element</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-video</name>
|
|
<type>gint</type>
|
|
<nick>Current video</nick>
|
|
<blurb>Currently playing video stream (-1 = none)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-audio</name>
|
|
<type>gint</type>
|
|
<nick>Current audio</nick>
|
|
<blurb>Currently playing audio stream (-1 = none)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-text</name>
|
|
<type>gint</type>
|
|
<nick>Current text</nick>
|
|
<blurb>Currently playing text stream (-1 = none)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</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>connection-speed</name>
|
|
<type>guint</type>
|
|
<nick>Connection Speed</nick>
|
|
<blurb>Network connection speed in kbps (0 = unknown)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="4294967295"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>audio-sink</name>
|
|
<type>GstElement</type>
|
|
<nick>Audio Sink</nick>
|
|
<blurb>the audio output element to use (NULL = default sink)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>video-sink</name>
|
|
<type>GstElement</type>
|
|
<nick>Video Sink</nick>
|
|
<blurb>the video output element to use (NULL = default sink)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>vis-plugin</name>
|
|
<type>GstElement</type>
|
|
<nick>Vis plugin</nick>
|
|
<blurb>the visualization element to use (NULL = none)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>volume</name>
|
|
<type>gdouble</type>
|
|
<nick>volume</nick>
|
|
<blurb>volume</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="10"/>
|
|
<default>1,000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>frame</name>
|
|
<type>GstBuffer</type>
|
|
<nick>Frame</nick>
|
|
<blurb>The last frame (NULL = no video available)</blurb>
|
|
<flags>RW</flags>
|
|
</element-property>
|
|
<element-property>
|
|
<name>subtitle-font-desc</name>
|
|
<type>gchararray</type>
|
|
<nick>Subtitle font description</nick>
|
|
<blurb>Pango font description of font to be used for subtitle rendering</blurb>
|
|
<flags>W</flags>
|
|
<default>NULL</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
</element-signals>
|
|
<element-actions>
|
|
</element-actions>
|
|
</element>
|