get_profile_flags_level
Description:
[ CCode ( cname = "gst_codec_utils_h264_get_profile_flags_level" ) ]
[ Version ( since = "1.20" ) ]
public bool get_profile_flags_level (uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 level)
[ Version ( since = "1.20" ) ]
public bool get_profile_flags_level (uint8[] codec_data, out uint8 profile, out uint8 flags, out uint8 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.
The format of H264 AVCC extradata/sequence_header is documented in the ITU-T H.264 specification section 7.3.2.1.1 as well as in ISO/IEC 14496-15 section 5.3.3.1.2.
Parameters:
codec_data |
H264 AVCC extradata |
profile |
return location for h264 profile_idc or |
flags |
return location for h264 constraint set flags or |
level |
return location h264 level_idc or |
len |
length of |
Returns:
|
Namespace: Gst.PbUtils.Codec.H264
Package: gstreamer-pbutils-1.0