GES.VideoSource¶
- Subclasses:
GES.ImageSource
,GES.MultiFileSource
,GES.TitleSource
,GES.VideoTestSource
,GES.VideoUriSource
Methods¶
- Inherited:
GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)
- Structs:
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GES.VideoSource(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Base class for video sources
- get_natural_size()[source]¶
- Returns:
True
if the object has a natural size,False
otherwise.- width:
The natural width of the underlying source
- height:
The natural height of the underlying source
- Return type:
Retrieves the natural size of the video stream. The natural size, is the size at which it will be displayed if no scaling is being applied.
NOTE: The sources take into account the potential video rotation applied by the #videoflip element that is inside the source, effects applied on the clip which potentially also rotate the element are not taken into account.
New in version 1.18.