GstPbutils.EncodingAudioProfile¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GstPbutils.EncodingAudioProfile(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Variant of
GstPbutils.EncodingProfilefor audio streams.- classmethod new(format, preset, restriction, presence)[source]¶
- Parameters:
preset (
strorNone) – the preset(s) to use on the encoder, can beNonerestriction (
Gst.CapsorNone) – theGst.Capsused to restrict the input to the encoder, can beNone. SeeGstPbutils.EncodingProfile.get_restriction() for more details.presence (
int) – the number of time this stream must be used. 0 means any number of times (including never)
- Returns:
the newly created
GstPbutils.EncodingAudioProfile.- Return type:
Creates a new
GstPbutils.EncodingAudioProfileAll provided allocatable arguments will be internally copied, so can be safely freed/unreferenced after calling this method.