Expand description
Audio-specific transcoding configuration and utilities.
This module provides structures and helper functions for configuring audio transcoding operations, including codec selection, bitrate estimation, loudness normalisation, and channel layout naming.
Structs§
- Audio
Transcode Config - Configuration for an audio transcode operation.
- Audio
Transcode Job - Represents a pending audio transcode job.
Functions§
- channel_
layout_ name - Returns the conventional channel layout name for the given channel count.
- estimate_
output_ size_ bytes - Estimates the output file size in bytes for the given duration and bitrate.
- is_
lossless_ codec - Returns
trueif the codec name is a known lossless audio codec. - typical_
max_ bitrate_ kbps - Returns the typical maximum bitrate in kbps for a given codec at the given channel count.