GES.AudioTrack¶
- Subclasses:
None
Methods¶
- Inherited:
GES.Track (15), Gst.Bin (18), Gst.Element (82), Gst.Object (27), GObject.Object (37), Gst.ChildProxy (9), GES.MetaContainer (40)
- Structs:
class |
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
Fields¶
- Inherited:
GES.Track (3), Gst.Bin (5), Gst.Element (3), Gst.Object (1), GObject.Object (1), Gst.ChildProxy (2), GES.MetaContainer (1)
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GES.AudioTrack(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
GES.AudioTrack
is a default audioGES.Track
, with aGES.TrackType.AUDIO
GES.Track
:track-type
and “audio/x-raw(ANY)”GES.Track
:caps
.By default, an audio track will have its
GES.Track
:restriction-caps
set to “audio/x-raw” with the following properties:format: “S32LE”
channels: 2
rate: 44100
layout: “interleaved”
These fields are needed for negotiation purposes, but you can change their values if you wish. It is advised that you do so using
GES.Track.update_restriction_caps
() with new values for the fields you wish to change, and any additional fields you may want to add. Unlike usingGES.Track.set_restriction_caps
(), this will ensure that these default fields will at least have some value set.- classmethod new()[source]¶
- Returns:
The newly created audio track.
- Return type:
Creates a new audio track, with a
GES.TrackType.AUDIO
GES.Track
:track-type
, “audio/x-raw(ANY)”GES.Track
:caps
, and “audio/x-raw”GES.Track
:restriction-caps
with the properties:format: “S32LE”
channels: 2
rate: 44100
layout: “interleaved”
You should use
GES.Track.update_restriction_caps
() if you wish to modify these fields, or add additional ones.