Skip to content

android 纯java实现图片合成视频、图片合成gif

License

Notifications You must be signed in to change notification settings

renzhe2015/videocreator

 
 

Repository files navigation

video-creator

android 纯java实现图片合成视频

用法

Step 1. Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
   implementation 'com.github.xiaoyifan6:videocreator:1.0.1'
}
GIFExecuteAsyncTask.execute(provider, 16, handler, path);
AvcExecuteAsyncTask.execute(provider, 16, handler, path);

其中provider是实现IProvider,是用来获取bitmap;handler用来获取和显示进度信息。path是需要保存的文件路径,包括文件名称

参考项目例子

文档

Android MediaCodec图片合成视频

规范

git 提交规则

Android 代码规范

jitpack制作android库文档

About

android 纯java实现图片合成视频、图片合成gif

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%