目录

AVCapability

Overview

The AVCapability module provides functions for querying codec capabilities. With this module, you can obtain information about the codecs supported by the system at runtime, including basic codec information, supported parameter ranges, profile and level combinations, and optional codec features, so as to dynamically select appropriate codecs and configure parameters correctly.

The main capabilities provided by this module include:

Applicable scenarios include: checking whether the system supports a specified format before creating a codec, distinguishing between hardware and software codecs, obtaining parameter ranges for configuring codec sessions, and querying the support for profiles, levels, and optional features.

For details about the development guide and sample, see Obtaining Supported Codecs.

System capability: SystemCapability.Multimedia.Media.CodecBase

Since: 10

Files

Name Description
native_avcapability.h Declares the native APIs used to query the codec capability.