GstPlayer.PlayerStreamInfo¶
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GstPlayer.PlayerStreamInfo(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Base structure for information concerning a media stream. Depending on the stream type, one can find more media-specific information in
GstPlayer.PlayerVideoInfo
,GstPlayer.PlayerAudioInfo
,GstPlayer.PlayerSubtitleInfo
.- get_codec()¶
-
A string describing codec used in
GstPlayer.PlayerStreamInfo
.
- get_index()¶
- Returns:
the stream index of this stream.
- Return type:
Function to get stream index from
GstPlayer.PlayerStreamInfo
instance or -1 if unknown.
- get_stream_type()¶
- Returns:
a human readable name
- Return type:
Function to return human readable name for the stream type of the given self (ex: “audio”, “video”, “subtitle”)
- get_tags()¶
- Returns:
the tags contained in this stream.
- Return type:
Gst.TagList
orNone