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.EncodingProfile
for audio streams.- classmethod new(format, preset, restriction, presence)[source]¶
- Parameters:
preset (
str
orNone
) – the preset(s) to use on the encoder, can beNone
restriction (
Gst.Caps
orNone
) – theGst.Caps
used 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.EncodingAudioProfile
All provided allocatable arguments will be internally copied, so can be safely freed/unreferenced after calling this method.