Encoding Settings¶
Enumerations for encoding and transcoder settings.
BitrateMode¶
- class avblocks.BitrateMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnumDefines the bitrate mode of the audio/video stream.
- ABR = 3¶
Average bitrate. Guarantees a predictable audio/video size similar to CBR. The bitrate changes to achieve the best quality within the available bitrate capacity.
- CBR = 1¶
Constant bitrate. For uncompressed audio/video with constant bitrate the quality is also constant. For compressed audio/video with constant bitrate the quality may be constant or variable.
- Unknown = 0¶
The bitrate mode is not specified or unknown.
- VBR = 2¶
Variable bitrate - quality oriented. Constant quality (more or less).
TranscoderStatus¶
- class avblocks.TranscoderStatus(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
IntEnumDefines the status of a transcoder operation.
It is sent with the Transcoder.on_status event.
See also
Transcoder.on_status TranscoderStatusEventArgs
- Completed = 0¶
Transcoder.run has completed successfully.