mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
333 lines
9 KiB
Text
333 lines
9 KiB
Text
<element>
|
|
<name>playbin2</name>
|
|
<details>
|
|
<long-name>Player Bin 2</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="GstPlayBin2">
|
|
<object name="GstPipeline">
|
|
<object name="GstBin">
|
|
<object name="GstElement">
|
|
<object name="GstObject">
|
|
<object name="GObject">
|
|
</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>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>source</name>
|
|
<type>GstElement</type>
|
|
<nick>Source</nick>
|
|
<blurb>Source element</blurb>
|
|
<flags>R</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>flags</name>
|
|
<type>GstPlayFlags</type>
|
|
<nick>Flags</nick>
|
|
<blurb>Flags to control behaviour</blurb>
|
|
<flags>RW</flags>
|
|
<default>23</default>
|
|
<flags-values>
|
|
<flag value="1" nick="video"/>
|
|
<flag value="2" nick="audio"/>
|
|
<flag value="4" nick="text"/>
|
|
<flag value="8" nick="vis"/>
|
|
<flag value="16" nick="soft-volume"/>
|
|
<flag value="32" nick="native-audio"/>
|
|
<flag value="64" nick="native-video"/>
|
|
</flags-values>
|
|
</element-property>
|
|
<element-property>
|
|
<name>n-video</name>
|
|
<type>gint</type>
|
|
<nick>Number Video</nick>
|
|
<blurb>Total number of video streams</blurb>
|
|
<flags>R</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-video</name>
|
|
<type>gint</type>
|
|
<nick>Current Video</nick>
|
|
<blurb>Currently playing video stream (-1 = auto)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>n-audio</name>
|
|
<type>gint</type>
|
|
<nick>Number Audio</nick>
|
|
<blurb>Total number of audio streams</blurb>
|
|
<flags>R</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-audio</name>
|
|
<type>gint</type>
|
|
<nick>Current audio</nick>
|
|
<blurb>Currently playing audio stream (-1 = auto)</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>n-text</name>
|
|
<type>gint</type>
|
|
<nick>Number Text</nick>
|
|
<blurb>Total number of text streams</blurb>
|
|
<flags>R</flags>
|
|
<range min="0" max="2147483647"/>
|
|
<default>0</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>current-text</name>
|
|
<type>gint</type>
|
|
<nick>Current Text</nick>
|
|
<blurb>Currently playing text stream (-1 = auto)</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>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 = default)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>text-sink</name>
|
|
<type>GstElement</type>
|
|
<nick>Text plugin</nick>
|
|
<blurb>the text output element to use (NULL = default textoverlay)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>subpic-sink</name>
|
|
<type>GstElement</type>
|
|
<nick>Subpicture plugin</nick>
|
|
<blurb>the subpicture output element to use (NULL = default dvdspu)</blurb>
|
|
<flags>RW</flags>
|
|
<object-type>GstElement</object-type>
|
|
</element-property>
|
|
<element-property>
|
|
<name>volume</name>
|
|
<type>gdouble</type>
|
|
<nick>Volume</nick>
|
|
<blurb>The audio volume</blurb>
|
|
<flags>RW</flags>
|
|
<range min="0" max="10"/>
|
|
<default>1,000000</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>mute</name>
|
|
<type>gboolean</type>
|
|
<nick>Mute</nick>
|
|
<blurb>Mute the audio channel without changing the volume</blurb>
|
|
<flags>RW</flags>
|
|
<default>FALSE</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>frame</name>
|
|
<type>GstBuffer</type>
|
|
<nick>Frame</nick>
|
|
<blurb>The last frame (NULL = no video available)</blurb>
|
|
<flags>R</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-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>buffer-size</name>
|
|
<type>gint</type>
|
|
<nick>Buffer size (bytes)</nick>
|
|
<blurb>Buffer size when buffering network streams</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="2147483647"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
<element-property>
|
|
<name>buffer-duration</name>
|
|
<type>gint64</type>
|
|
<nick>Buffer duration (ns)</nick>
|
|
<blurb>Buffer duration when buffering network streams</blurb>
|
|
<flags>RW</flags>
|
|
<range min="-1" max="9223372036854775807"/>
|
|
<default>-1</default>
|
|
</element-property>
|
|
</element-properties>
|
|
<element-signals>
|
|
<signal>
|
|
<name>about-to-finish</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>video-changed</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>audio-changed</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>text-changed</name>
|
|
<return-type>void</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
</params>
|
|
</signal>
|
|
</element-signals>
|
|
<element-actions>
|
|
<signal>
|
|
<name>get-video-tags</name>
|
|
<return-type>GstTagList</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>get-audio-tags</name>
|
|
<return-type>GstTagList</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>get-text-tags</name>
|
|
<return-type>GstTagList</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>convert-frame</name>
|
|
<return-type>GstBuffer</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>GstCaps</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>get-video-pad</name>
|
|
<return-type>GstPad</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>get-audio-pad</name>
|
|
<return-type>GstPad</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
<signal>
|
|
<name>get-text-pad</name>
|
|
<return-type>GstPad</return-type>
|
|
<object-type>GstPlayBin2</object-type>
|
|
<params>
|
|
<type>gint</type>
|
|
</params>
|
|
</signal>
|
|
</element-actions>
|
|
</element>
|