GES.AudioTrack

g GES.MetaContainer GES.MetaContainer GES.Track GES.Track GES.MetaContainer->GES.Track GObject.GInterface GObject.GInterface GObject.GInterface->GES.MetaContainer Gst.ChildProxy Gst.ChildProxy GObject.GInterface->Gst.ChildProxy GObject.Object GObject.Object GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.Object->GObject.InitiallyUnowned Gst.Bin Gst.Bin Gst.Bin->GES.Track Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GES.AudioTrack GES.AudioTrack Gst.Element Gst.Element Gst.Element->Gst.Bin Gst.ChildProxy->Gst.Bin Gst.Object->Gst.Element GES.Track->GES.AudioTrack

Subclasses:None

Properties

Inherited:GES.Track (5), Gst.Bin (2), Gst.Object (2)

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 GES.Track r  

Class Details

class GES.AudioTrack(**kwargs)
Bases:GES.Track
Abstract:No
Structure:GES.AudioTrackClass

Sane default properties to specify and fixate the output stream are set as restriction-caps. It is advised, to modify these properties, to use GES.Track.update_restriction_caps, setting them directly is possible through GES.Track.set_restriction_caps, but not specifying one of them can lead to negotiation issues, only use that function if you actually know what you’re doing :)

The default properties are:

  • format: S32LE
  • channels: 2
  • rate: 44100
  • layout: interleaved
classmethod new()[source]
Returns:A new GES.Track
Return type:GES.AudioTrack

Creates a new GES.AudioTrack of type GES.TrackType.AUDIO and with generic raw audio caps (“audio/x-raw”);