HMS-Core / hms-av-pipeline-demo

HUAWEI AV Pipeline Kit sample code project, which contains the Java sample code to implement functions like video playback, video super-resolution and media asset management. C++ sample code is contained for calling MediaFilter to use the sound event detection plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HMS Core AV Pipeline Kit Sample Code

English | 中文

Contents

Introduction

AV Pipeline Kit is a system for easier media app development. It contains a framework that parses plugin orchestration logic from each configuration file to create a pipeline with capabilities such as media playback, recording, or editing. Each plugin in a pipeline undertakes specific tasks, for example, demuxing, decoding, and filtering. AV Pipeline Kit presets pipelines for scenarios like video playback, video super-resolution, and sound event detection, and it provides Java APIs for you to use these pipelines. You can also call a single preset plugin directly through C++ APIs. If you want to achieve more functions other than those provided by the preset plugins or pipelines, you can even customize some plugins or pipelines based on your own needs.

Quick Tutorial

  1. Install Android Studio on your computer.
  2. Open the sample code in Android Studio and find the cpp or java directory. Then, compile the code and run the demo app on your Android device.

Supported Devices

Phones running Android 9.0 or later

Technical Support

You can visit the Reddit community to obtain the latest information about HMS Core and communicate with other developers.

If you have any questions about the sample code, try the following:

  • Visit Stack Overflow, submit your questions, and tag them with huawei-mobile-services. Huawei experts will answer your questions.
  • Visit the HMS Core section in the HUAWEI Developer Forum and communicate with other developers.

If you encounter any issues when using the sample code, submit your issues or submit a pull request.

License

The sample code is licensed under Apache License 2.0.

About

HUAWEI AV Pipeline Kit sample code project, which contains the Java sample code to implement functions like video playback, video super-resolution and media asset management. C++ sample code is contained for calling MediaFilter to use the sound event detection plugin.

License:Apache License 2.0


Languages

Language:C++ 65.1%Language:Java 30.3%Language:C 4.3%Language:CMake 0.4%