Gst.PbUtils.Codec.AAC – gstreamer-pbutils-1.0 Reference Manual
Packages
gstreamer-pbutils-1.0
Gst
PbUtils
Codec
AAC
caps_set_level_and_profile
get_channels
get_index_from_sample_rate
get_level
get_profile
get_sample_rate
get_sample_rate_from_index
Gst.PbUtils.Codec.AAC
Description:
Content:
Functions:
public
bool
caps_set_level_and_profile
(
Caps
caps,
uint8
[] audio_config)
Sets the level and profile on
caps
if it can be determined from
audio_config
.
public
uint
get_channels
(
uint8
[] audio_config)
Returns the channels of the given AAC stream.
public
int
get_index_from_sample_rate
(
uint
rate)
Translates the sample rate to the index corresponding to it in AAC spec.
public
unowned
string
?
get_level
(
uint8
[] audio_config)
Determines the level of a stream as defined in ISO/IEC 14496-3.
public
unowned
string
?
get_profile
(
uint8
[] audio_config)
Returns the profile of the given AAC stream as a string.
public
uint
get_sample_rate
(
uint8
[] audio_config)
Translates the sample rate index found in AAC headers to the actual sample rate.
public
uint
get_sample_rate_from_index
(
uint
sr_idx)
Translates the sample rate index found in AAC headers to the actual sample rate.