目录

AVSource

Overview

The AVSource module provides functions for constructing media resource objects. Through this module, you can create media source instances based on URIs, file descriptors, or custom data sources, obtain basic information and track information of media files, and provide a data source for subsequent demuxing operations.

The main capabilities provided by this module include:

Applicable scenarios include media player development, video editing, audio and video data analysis, media file parsing, and other scenarios that require access to media file metadata and track information.

This module typically serves as the entry point of the media processing pipeline and works in conjunction with the AVDemuxer module. First, create a media source through AVSource and obtain the track information, and then use AVDemuxer to demux and read the compressed data.

System capability: SystemCapability.Multimedia.Media.Spliter

Since: 10

Files

Name Description
native_avsource.h Declares the APIs for parsing audio and video media data.