Sets the level and profile on caps if it can be determined from
audio_config. See codec_utils_aac_get_level() and
codec_utils_aac_get_profile() for more details on the parameters.
caps must be audio/mpeg caps with an “mpegversion” field of either 2 or 4.
If mpegversion is 4, the “base-profile” field is also set in caps.
Determines the level of a stream as defined in ISO/IEC 14496-3. For AAC LC
streams, the constraints from the AAC audio profile are applied. For AAC
Main, LTP, SSR and others, the Main profile is used.
Returns the profile of the given AAC stream as a string. The profile is
normally determined using the AudioObjectType field which is in the first
5 bits of audio_config
Converts the level indication (level_idc) in the stream’s
sequence parameter set into a string. The SPS is expected to have the
same format as for codec_utils_h264_get_profile().
Converts the profile indication (profile_idc) in the stream’s
sequence parameter set into a string. The SPS is expected to have the
following format, as defined in the H.264 specification. The SPS is viewed
as a bitstream here, with bit 0 being the most significant bit of the first
byte.
Parses profile, flags, and level from a H264 AVCC extradata/sequence_header.
These are most commonly retrieved from a video/x-h264 caps with a codec_data
buffer.
Converts the level indication (general_level_idc) in the stream’s
profile_tier_level structure into a string. The profiel_tier_level is
expected to have the same format as for codec_utils_h264_get_profile().
Converts the profile indication (general_profile_idc) in the stream’s
profile_level_tier structure into a string. The profile_tier_level is
expected to have the following format, as defined in the H.265
specification. The profile_tier_level is viewed as a bitstream here,
with bit 0 being the most significant bit of the first byte.
Converts the tier indication (general_tier_flag) in the stream’s
profile_tier_level structure into a string. The profile_tier_level
is expected to have the same format as for codec_utils_h264_get_profile().
Converts the level indication in the stream’s visual object sequence into
a string. vis_obj_seq is expected to be the data following the visual
object sequence start code. Only the first byte
(profile_and_level_indication) is used.
Converts the profile indication in the stream’s visual object sequence into
a string. vis_obj_seq is expected to be the data following the visual
object sequence start code. Only the first byte
(profile_and_level_indication) is used.
Returns a localised string describing a sink element handling the protocol
specified in protocol, for use in error dialogs or other messages to be
seen by the user.
Returns a localised string describing a source element handling the protocol
specified in protocol, for use in error dialogs or other messages to be
seen by the user.
This function returns a string that is useful for describing this version
of GStreamer’s gst-plugins-base libraries to the outside world: user agent
strings, logging, about dialogs …