GstPlayer.PlayerMediaInfo¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GstPlayer.PlayerMediaInfo(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Structure containing the media information of a URI.
- get_audio_streams()¶
- Returns:
A
GLib.List
of matchingGstPlayer.PlayerAudioInfo
.- Return type:
- get_duration()¶
- Returns:
duration of the media or
Gst.CLOCK_TIME_NONE
if unknown.- Return type:
- get_image_sample()¶
- Returns:
Gst.Sample
orNone
.- Return type:
Gst.Sample
orNone
Function to get the image (or preview-image) stored in taglist. Application can use
gst_sample_*_()
API’s to get caps, buffer etc.
- get_number_of_audio_streams()¶
- Returns:
number of audio streams or 0 if unknown.
- Return type:
New in version 1.12.
- get_number_of_streams()¶
- Returns:
number of total streams or 0 if unknown.
- Return type:
New in version 1.12.
- get_number_of_subtitle_streams()¶
- Returns:
number of subtitle streams or 0 if unknown.
- Return type:
New in version 1.12.
- get_number_of_video_streams()¶
- Returns:
number of video streams or 0 if unknown.
- Return type:
New in version 1.12.
- get_stream_list()¶
- Returns:
A
GLib.List
of matchingGstPlayer.PlayerStreamInfo
.- Return type:
- get_subtitle_streams()¶
- Returns:
A
GLib.List
of matchingGstPlayer.PlayerSubtitleInfo
.- Return type:
- get_tags()¶
- Returns:
the tags contained in media info.
- Return type:
Gst.TagList
orNone
- get_uri()¶
- Returns:
the URI associated with
GstPlayer.PlayerMediaInfo
.- Return type:
- get_video_streams()¶
- Returns:
A
GLib.List
of matchingGstPlayer.PlayerVideoInfo
.- Return type: