Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Quickits/FFmpegBox

Repository files navigation

FFmpegBox

πŸ“¦ FFmpeg command line tool box for android

  • API Flow Based on RxJava
  • FFmpeg binary Based on Thor
Version Converter
Images Images

Download

  • 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'
}

Usage

Init

class YourApplication : Application() {
 override fun onCreate() {
 super.onCreate()
 FFmpegBox.init(this)
 }
}

Execute example

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()
 })

License

Apache License Version 2.0

Copyright (c) 2017-present, GavinLiu

About

πŸ“¦ FFmpeg command line tool box for Android

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /