README.md
1# Media<a name="EN-US_TOPIC_0000001147574647"></a>
2
3- [Introduction](#section1158716411637)
4- [Directory Structure](#section161941989596)
5- [Repositories Involved](#section1533973044317)
6
7## Introduction<a name="section1158716411637"></a>
8
9The **media\_standard** repository provides a set of simple and easy-to-use APIs for you to access the system and media resources.
10
11It offers various media services covering audio, videos, and media storage. The following media capabilities are provided:
12
13- Audio playback and recording
14- Video playback and recording
15
16**Figure 1** Position in the subsystem architecture<a name="fig99659301300"></a>
17
18
19
20
21## Directory Structure<a name="section161941989596"></a>
22
23The structure of the repository directory is as follows:
24```
25/foundation/multimedia/media_standard
26├── frameworks # Framework code
27│ ├── innerkitsimpl # Native framework implementation
28│ ├── kitsimpl # JS framework implementation
29│ ├── videodisplaymanager # Video display implementation
30├── interfaces # External APIs
31│ ├── innerkits # Native external interface files
32│ └── kits # External JS API files
33├── services # Service implementation
34│ ├── include # External header files of services
35│ ├── services # Service framework
36│ │ ├── player # Player C/S framework
37│ │ ├── recorder # Recorder C/S framework
38│ │ ├── avcodec # Codec C/S framework
39│ │ ├── avcodeclist # Codec capability C/S framework
40│ │ ├── avmetadatahelper # Metadata C/S framework
41│ │ ├── media_data_source # Datasource C/S framework
42│ │ ├── sa_media # Media master process C/S framework
43│ │ ├── factory # Engine factory
44│ │ ├── engine_intf # Engine factory API
45│ ├── engine # Engine implementation
46│ │ ├── gstreamer # Gstreamer engine
47│ │ │ ├── player # Player engine
48│ │ │ ├── recorder # Recorder engine
49│ │ │ ├── avcodec # Codec engine
50│ │ │ ├── avcodeclist # Codec capability engine
51│ │ │ ├── avmetadatahelper # Metadata engine
52│ │ │ ├── plugins # Engine self-developed plugins
53│ │ │ ├── common # Engine General Resources
54│ │ │ ├── factory # Engine factory implementation
55│ │ │ ├── loader # Engine resources loading
56│ ├── utils # Basic resources of the subsystem
57├── LICENSE # License file
58└── ohos.build # Build file
59```
60
61## Repositories Involved<a name="section1533973044317"></a>
62
63Media repository: multimedia\media_standard
README_zh.md
1# 媒体组件<a name="ZH-CN_TOPIC_0000001147574647"></a>
2
3- [简介](#section1158716411637)
4- [目录](#section161941989596)
5- [相关仓](#section1533973044317)
6
7## 简介<a name="section1158716411637"></a>
8
9媒体组件为开发者提供一套简单易于理解的接口,能够使得开发者方便接入系统并使用系统的媒体资源。
10
11媒体组件包含了音视频、媒体存储等相关媒体业务,提供以下常用功能:
12
13- 音频播放和录制。
14- 视频播放和录制。
15
16**图 1** 媒体组件架构图<a name="fig99659301300"></a>
17
18
19
20
21## 目录<a name="section161941989596"></a>
22
23仓目录结构如下:
24
25```
26/foundation/multimedia/media_standard # 媒体组件业务代码
27├── frameworks # 框架代码
28│ ├── innerkitsimpl # native框架实现
29│ ├── kitsimpl # js框架实现
30│ ├── videodisplaymanager # 显示实现
31├── interfaces # 外部接口层
32│ ├── innerkits # native外部接口文件
33│ └── kits # js外部接口文件
34├── services # 服务实现
35│ ├── include # 服务对外头文件
36│ ├── services # 服务框架
37│ │ ├── player # 播放C/S框架
38│ │ ├── recorder # 录制C/S框架
39│ │ ├── avcodec # 编解码C/S框架
40│ │ ├── avcodeclist # 编解码器能力查询C/S框架
41│ │ ├── avmetadatahelper # 元信息缩略图C/S框架
42│ │ ├── media_data_source # datasource C/S框架
43│ │ ├── sa_media # 媒体主进程 C/S框架
44│ │ ├── factory # 引擎工厂
45│ │ ├── engine_intf # 引擎API
46│ ├── engine # 引擎实现
47│ │ ├── gstreamer # gstreamer引擎
48│ │ │ ├── player # 播放引擎
49│ │ │ ├── recorder # 录制引擎
50│ │ │ ├── avcodec # 编解码引擎
51│ │ │ ├── avcodeclist # 编解码器能力查询
52│ │ │ ├── avmetadatahelper # 元信息缩略图引擎
53│ │ │ ├── plugins # 引擎自研插件
54│ │ │ ├── common # 引擎通用资源
55│ │ │ ├── factory # 引擎工厂实现
56│ │ │ ├── loader # 引擎资源加载
57│ ├── utils # 子系统基础资源
58├── LICENSE # 证书文件
59└── ohos.build # 编译文件
60```
61
62## 相关仓<a name="section1533973044317"></a>
63
64媒体组件仓:multimedia\media_standard
65
66