AppStream.Video¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class AppStream.Video(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
- Return type:
Creates a new
AppStream.Video
.
- get_codec_kind()¶
- Returns:
- Return type:
Gets the video codec, if known.
- get_container_kind()¶
- Returns:
- Return type:
Gets the video container format, if known.
- get_height()¶
- Returns:
height in pixels or 0 if unknown
- Return type:
Gets the video height, if known.
- get_url()¶
- Returns:
a web URL
- Return type:
Gets the full qualified URL for the video, usually pointing at a mirror or CDN server.
- get_width()¶
- Returns:
width in pixels or 0 if unknown
- Return type:
Gets the video width, if known.
- set_codec_kind(kind)¶
- Parameters:
kind (
AppStream.VideoCodecKind
) – theAppStream.VideoCodecKind
, e.g.AppStream.VideoCodecKind.AV1
.
Sets the video codec.
- set_container_kind(kind)¶
- Parameters:
kind (
AppStream.VideoContainerKind
) – theAppStream.VideoContainerKind
, e.g.AppStream.VideoContainerKind.MKV
.
Sets the video container.