GES.UriClip¶
- Subclasses:
None
Methods¶
- Inherited:
GES.SourceClip (1), GES.Clip (23), GES.Container (6), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
Whether the clip represents a still image or not |
||
r/w/c |
Mute audio track |
||
r/w/co |
uri of the resource |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.UriClip(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Represents all the output streams from a particular uri. It is assumed that the URI points to a file of some type.
- classmethod new(uri)[source]¶
- Parameters:
uri (
str
) – the URI the source should control- Returns:
The newly created
GES.UriClip
, orNone
if there was an error.- Return type:
GES.UriClip
orNone
Creates a new
GES.UriClip
for the provided uri.**WARNING**: This function might ‘discover` uri **synchrounously**, it is an IO and processing intensive task that you probably don’t want to run in an application mainloop. Have a look at
GES.Asset.request_async
to see how to make that operation happen **asynchronously**.
- get_uri()[source]¶
- Returns:
The location of the resource.
- Return type:
Get the location of the resource.
Property Details¶
- GES.UriClip.props.is_image¶
-
Whether this uri clip represents a still image or not. This must be set before create_track_elements is called.
- GES.UriClip.props.mute¶
-
Whether the sound will be played or not.