Module functions

Source

Traits§

CodecTag

Functions§

codec_utils_aac_caps_set_level_and_profile
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.
codec_utils_aac_get_channels
Returns the channels of the given AAC stream.
codec_utils_aac_get_index_from_sample_rate
Translates the sample rate to the index corresponding to it in AAC spec.
codec_utils_aac_get_level
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.
codec_utils_aac_get_profile
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
codec_utils_aac_get_sample_rate
Translates the sample rate index found in AAC headers to the actual sample rate.
codec_utils_aac_get_sample_rate_from_index
Translates the sample rate index found in AAC headers to the actual sample rate.
codec_utils_av1_create_av1c_from_caps
Creates the corresponding AV1 Codec Configuration Record
codec_utils_av1_create_caps_from_av1c
Parses the provided av1c and returns the corresponding caps
codec_utils_av1_get_level
Transform a seq_level_idx into the level string
codec_utils_av1_get_seq_level_idx
Transform a level string from the caps into the seq_level_idx
codec_utils_caps_from_mime_codec
Converts a RFC 6381 compatible codec string to gst::Caps. More than one codec string can be present (separated by ,).
codec_utils_caps_get_mime_codec
Converts caps to a RFC 6381 compatible codec string if possible.
codec_utils_h264_caps_set_level_and_profile
Sets the level and profile in caps if it can be determined from sps. See codec_utils_h264_get_level() and codec_utils_h264_get_profile() for more details on the parameters.
codec_utils_h264_get_level
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().
codec_utils_h264_get_level_idc
Transform a level string from the caps into the level_idc
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.
codec_utils_h264_get_profile_flags_level
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.
codec_utils_h265_caps_set_level_tier_and_profile
Sets the level, tier and profile in caps if it can be determined from profile_tier_level. See codec_utils_h265_get_level(), codec_utils_h265_get_tier() and codec_utils_h265_get_profile() for more details on the parameters.
codec_utils_h265_get_level
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().
codec_utils_h265_get_level_idc
Transform a level string from the caps into the level_idc
codec_utils_h265_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.
codec_utils_h265_get_tier
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().
codec_utils_h266_caps_set_level_tier_and_profile
Sets the level, tier and profile in caps if it can be determined from decoder_configuration. See codec_utils_h266_get_level(), codec_utils_h266_get_tier() and codec_utils_h266_get_profile() for more details on the parameters.
codec_utils_h266_get_level
Converts the level indication (general_level_idc) in the stream’s ptl_record structure into a string.
codec_utils_h266_get_level_idc
Transform a level string from the caps into the level_idc
codec_utils_h266_get_profile
Converts the profile indication (general_profile_idc) in the stream’s ptl_record structure into a string.
codec_utils_h266_get_tier
Converts the tier indication (general_tier_flag) in the stream’s ptl_record structure into a string.
codec_utils_mpeg4video_caps_set_level_and_profile
Sets the level and profile in caps if it can be determined from vis_obj_seq. See codec_utils_mpeg4video_get_level() and codec_utils_mpeg4video_get_profile() for more details on the parameters.
codec_utils_mpeg4video_get_level
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.
codec_utils_mpeg4video_get_profile
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.
codec_utils_opus_create_caps
Creates Opus caps from the given parameters.
codec_utils_opus_create_caps_from_header
Creates Opus caps from the given OpusHead header and comment header comments.
codec_utils_opus_create_header
Creates OpusHead header from the given parameters.
codec_utils_opus_parse_caps
Parses Opus caps and fills the different fields with defaults if possible.
codec_utils_opus_parse_header
Parses the OpusHead header.
encoding_list_all_targets
List all available EncodingTarget for the specified category, or all categories if categoryname is None.
encoding_list_available_categories
Lists all EncodingTarget categories present on disk.
pb_utils_add_codec_description_to_tag_list
pb_utils_add_codec_description_to_tag_list_for_tag
pb_utils_get_caps_description_flags
Returns flags that describe the format of the caps if known. No flags are set for unknown caps.
pb_utils_get_codec_description
pb_utils_get_decoder_description
pb_utils_get_element_description
Returns a localised string describing the given element, for use in error dialogs or other messages to be seen by the user.
pb_utils_get_encoder_description
pb_utils_get_file_extension_from_caps
Returns a possible file extension for the given caps, if known.
pb_utils_get_sink_description
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.
pb_utils_get_source_description
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.
plugins_base_version
Gets the version number of the GStreamer Plugins Base libraries.
plugins_base_version_string
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 …