Git Product home page Git Product logo

mateuszitelli / ffmpeg-android-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cropsly/ffmpeg-android-java

0.0 3.0 2.0 74.9 MB

Android java library for FFmpeg binary compiled using https://github.com/writingminds/ffmpeg-android

Home Page: http://writingminds.github.io/ffmpeg-android-java

License: GNU General Public License v3.0

Makefile 44.49% C 0.78% Java 53.16% Shell 1.56%

ffmpeg-android-java's Introduction

About the fork

Installation

Edit your project's build.gradle (not app) like this. (important line is jitpack)

allprojects {
    repositories {
        jcenter()
        mavenCentral()

        ...

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

Add below line to your app's build.gradle dependencies.

compile 'com.github.diegoperini:ffmpeg-android-java:v0.4.7'

Applied fixes

  • Added whenFFmpegIsReady() to properly wait for ffmpeg state.
  • Fixed killRunningProcesses() to properly kill the execution.
  • Added a FFmpeg.getInstance() overload to work with a ContextProvider instead of a context. It is a fix for a common memory leak caused by storing the context internally. Old factory method is still supported but marked as deprecated.
  • Fixed isFFmpegCommandRunning() to properly return running state status. (thanks to @pawaom)

Help needed

  • to update ffmpeg binary versions for all architectures
  • to test the fixes
  • to build and publish the fork somewhere more common

License

GPLv3


Join the chat at https://gitter.im/hiteshsondhi88/ffmpeg-android-java

About

FFmpeg Android java is a java library that simplifies your task of using ffmpeg in Android project which I've compiled using FFmpeg-Android

These are two basic methods of this library:

  • loadBinary(FFmpegLoadBinaryResponseHandler ffmpegLoadBinaryResponseHandler) throws FFmpegNotSupportedException
  • execute(String cmd, FFmpegExecuteResponseHandler ffmpegExecuteResponseHandler) throws FFmpegCommandAlreadyRunningException

For examples and usage instructions head over to:

Supported Architecture

  • armv7
  • armv7-neon

Sample

http://i.imgur.com/cP4WhLn.gif

JavaDoc

License

  • Check file LICENSE.GPLv3 and Make sure to follow the licensing terms and conditions of the project and the software used to build the project.

HIRE US

Bitdeli Badge

ffmpeg-android-java's People

Contributors

bitdeli-chef avatar diegoperini avatar gitter-badger avatar gmxu avatar hiteshsondhi88 avatar mateuszitelli avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.