5 Star 17 Fork 3

华为移动服务 / hms-video-editor-demo

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Notice: Creating folder will generate an empty file .keep, because not support in Git

HUAWEI Video Editor Kit Sample

English | 中文

Table of Contents


Huawei Video Editor Kit (Video Editor Kit) provided by Huawei to quickly build video editing capabilities. It provides two integration modes.

  • Video editor UI SDK, which provides product-level UIs and easy integration.

  • Video editor atomic capability SDK, which provides hundreds of underlying capability interfaces, including multiple AI algorithm capability interfaces, which can be flexibly selected based on service scenarios.

  • Screen recorder demo provide basic usage of screen recording. There are functions demonstrating usage of start/stop recording and setting configuration.

Both modes provide one-stop video editing capabilities, such as import, editing, rendering, export, and media resource management. These two modes provide high-performance, easy-to-use, and highly compatible interfaces, helping you easily build applications.

Project directory structure

|-- com.huawei.videoeditorkit.videoeditdemo
	|--sdkdemo  atomic capability SDK demo
	|--uidemo   UI SDk demo
	|--screenrecorddemo  Screen Recorder SDK Demo 

Running Procedure

  • Clone the code base to the local host.

  • If you haven't already registered as a developer, register and create an app on AppGalleryConnect.

  • Obtain the agconnect-services.json file from HUAWEI Developers.

  • Place the agconnect-services.json file in the root directory of the demo.

  • If you need to use cloud-side service capabilities, you need to use the api_key value in agconnect-services.json to call MediaApplication.getInstance().setApiKey(String apiKey) during application initialization.

  • Compile and run on an Android device or emulator.


The package name in this project cannot be used to apply for agconnect-services.json. You can use a customized package name to apply for agconnect-services.json. You only need to change applicationId in application-level build.gradle to the same package name as the applied agconnect-services.json to experience Video Editor Kit services.

Supported Environment

Android SDK 21 or later and JDK 1.8 or later are recommended.

Question or issues

If you want to evaluate more about HMS Core, r/HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.


This sample code has obtained Apache 2.0 license.


华为视频编辑服务提供导入、编辑、渲染、导出等一站式短视频编辑能力,帮助开发者快速构建视频编辑能力。通过此项目,你可以学会如何集成视频编辑UI SDK以及如何调用视频编辑UI SDK API. expand collapse
Java and 2 more languages


No release





Load More
can not load any more