All Projects → nextbreakpoint → ffmpeg4java

nextbreakpoint / ffmpeg4java

Licence: BSD-3-Clause license
FFmpeg4Java provides a JNI wrapper of FFmpeg library

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to ffmpeg4java

Adi
ADI(Android Debug Intensive) 是通过 JVMTI 实现的 Android 应用开发调试的增强工具集,目前主要提供性能相关的监控能力。
Stars: ✭ 194 (+823.81%)
Mutual labels:  jni
BAT FFMPEG
Batch script files for FFMPEG (Microsoft Windows and DOS, OS/2 🦄)
Stars: ✭ 104 (+395.24%)
Mutual labels:  ffmpeg-wrapper
Android
Swift library for Android
Stars: ✭ 48 (+128.57%)
Mutual labels:  jni
J4rs
Java for Rust
Stars: ✭ 210 (+900%)
Mutual labels:  jni
Tehreer-Android
Standalone text engine for Android aimed to be free from platform limitations
Stars: ✭ 61 (+190.48%)
Mutual labels:  jni-wrapper
Anime4K
Makes it easy to encode a Anime using Anime4K with predefined encoding profiles!
Stars: ✭ 61 (+190.48%)
Mutual labels:  ffmpeg-wrapper
Xcrash
🔥 xCrash provides the Android app with the ability to capture java crash, native crash and ANR. No root permission or any system permissions are required.
Stars: ✭ 2,689 (+12704.76%)
Mutual labels:  jni
go-ffprobe
Library to easily get the ffprobe output of a given file
Stars: ✭ 114 (+442.86%)
Mutual labels:  ffmpeg-wrapper
VideoProcessingLibrary
The easiest library for video processing
Stars: ✭ 52 (+147.62%)
Mutual labels:  ffmpeg-wrapper
clojure-rust-graalvm
An example of Clojure program calling a Rust library, all combined into one executable using GraalVM.
Stars: ✭ 113 (+438.1%)
Mutual labels:  jni
Relinker
A robust native library loader for Android.
Stars: ✭ 2,612 (+12338.1%)
Mutual labels:  jni
Android Disassembler
Disassemble ANY files including .so (NDK, JNI), Windows PE(EXE, DLL, SYS, etc), linux binaries, libraries, and any other files such as pictures, audios, etc(for fun)files on Android. Capstone-based disassembler application on android. 안드로이드 NDK 공유 라이브러리, Windows 바이너리, etc,... 리버싱 앱
Stars: ✭ 250 (+1090.48%)
Mutual labels:  jni
ffmpeg-dev-rs
Rust - Self Contained FFmpeg Bindings
Stars: ✭ 51 (+142.86%)
Mutual labels:  ffmpeg-wrapper
Inline Java
Haskell/Java interop via inline Java code in Haskell modules.
Stars: ✭ 197 (+838.1%)
Mutual labels:  jni
wgpu-mc
Rust-based replacement for the default Minecraft renderer
Stars: ✭ 254 (+1109.52%)
Mutual labels:  jni
Jfasttext
Java interface for fastText
Stars: ✭ 193 (+819.05%)
Mutual labels:  jni
Jxnet
Jxnet is a Java library for capturing and sending custom network packet buffers with no copies. Jxnet wraps a native packet capture library (libpcap/winpcap/npcap) via JNI (Java Native Interface).
Stars: ✭ 26 (+23.81%)
Mutual labels:  jni
java-cpp-example
Example of using C++ classes from Java. Showcases SWIG, JNA and JNI
Stars: ✭ 135 (+542.86%)
Mutual labels:  jni
monero-java
A Java library for using Monero
Stars: ✭ 76 (+261.9%)
Mutual labels:  jni
JNI RSA Sign
通过JNI实现验证App签名获取公钥
Stars: ✭ 86 (+309.52%)
Mutual labels:  jni

FFmpeg4Java 3.1.1-1.1

FFmpeg4Java provides a JNI wrapper of FFmpeg library version 3.1.1.

License

FFmpeg4Java is distributed under the terms of BSD 3-Clause License.

Copyright (c) 2016-2018, Andrea Medeghini
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
    this list of conditions and the following disclaimer in the documentation
    and/or other materials provided with the distribution.

* Neither the name of FFmpeg4Java nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Notice

FFmpeg4Java depends on FFmpeg library. See http://ffmpeg.org for details.

FFmpeg is used under the terms of GNU Lesser General Public License, version 2.1.

FFmpeg library is statically linked with FFmpeg4Java's JNI library

Generate JNI code

We use docker for generating JNI code.

Before you continue install docker on your system

Create base image:

sh create-image-base.sh

Create image for generating code:

sh create-image-java.sh

Run a container from the image:

sh run-image-java.sh

The Java code will be generated in directory:

build/com.nextbreakpoint.ffmpeg4java/src/main/java

The JNI code will be generated in file:

build/ffmpeg4java_wrap.c

Build library for MacOS

Download and install command line tools from Apple Developer Center.

Generate JNI code before compiling library for MacOS

Execute build script:

sh build-macos.sh

The native library will be created in directory:

build/com.nextbreakpoint.ffmpeg4java/src/main/resources/macos

Build library for Linux

We use docker for compiling Linux library.

Generate JNI code before compiling library for Linux

Create repository image:

sh create-image-repo.sh

Create image for building library:

sh create-image-linux.sh

Run a container from the image:

sh run-image-linux.sh

The native library will be created in directory:

build/com.nextbreakpoint.ffmpeg4java/src/main/resources/linux

Build library for Windows (cross-compilation)

We use docker for cross-compiling Windows library using Mingw-w64.

Generate JNI code before compiling library for Windows

Create repository image:

sh create-image-repo.sh

Create image for building library:

sh create-image-mingw64.sh

Run a container from the image:

sh run-image-mingw64.sh

The native library will be created in directory:

build/com.nextbreakpoint.ffmpeg4java/src/main/resources/win32

Create and install artifacts

We use Apache Maven to compile and package the artifacts.

Generate JNI code and build libraries before creating artifacts

Create artifacts:

sh mvn-package.sh

The artifacts will be created in directory:

build/com.nextbreakpoint.ffmpeg4java/target

Install artifacts:

sh mvn-install.sh

The artifacts will be installed in local maven repository (~/.m2/repository).

Run tests

We use Apache Maven to run the tests.

Install artifacts in local repository before running tests

Run tests on MacOS:

sh run-tests.sh -Pmacos

Run tests on Linux:

sh run-tests.sh -Plinux

Run tests on Windows:

sh run-tests.sh -Pwin32

TODO

  • Add sample application to show how to use the library
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].