π¦ FFmpeg command line tool box for android
- API Flow Based on RxJava
- FFmpeg binary Based on Thor
| Version | Converter |
|---|---|
| Images | Images |
- Add the JitPack repository to your build file
allprojects { repositories { maven { url 'https://jitpack.io' } } }
- Add the dependency
dependencies { implementation 'cn.quickits:FFmpegBox:1.0.1' }
class YourApplication : Application() { override fun onCreate() { super.onCreate() FFmpegBox.init(this) } }
FFmpegBox.get().exec(arrayOf( "-i", "/sdcard/screenshots.mp4", "-vcodec", "copy", "/sdcard/screenshots.avi")) .observeOn(AndroidSchedulers.mainThread()) .subscribe( { status -> msg.append(status.msg) msg.append("\n") }, { error -> error.printStackTrace() })
Apache License Version 2.0
Copyright (c) 2017-present, GavinLiu