Skip to main content

Module audio_transcode

Module audio_transcode 

Source
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§

AudioTranscodeConfig
Configuration for an audio transcode operation.
AudioTranscodeJob
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 true if 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.