You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -38,12 +38,14 @@ FFmpeg4Java is distributed under the terms of BSD 3-Clause License.
38
38
39
39
## Notice
40
40
41
-
FFmpeg4Java is distributed as JAR file which contains Java classes and a native library. The native library must be installed in the library path of the Java runtime.
41
+
FFmpeg4Java is distributed as independent JAR files, one for each supported operating system.
42
+
Each JAR file contains a native library which must be installed in the library path of the Java runtime.
43
+
42
44
Please note that the native library is statically liked with FFmpeg library under the terms of GNU Lesser General Public License, version 2.1.
43
45
You should have received a copy of the LGPL v2.1 license with FFmpeg4Java. See http://ffmpeg.org for more information about FFmpeg.
44
46
45
47
46
-
## Binary distribution
48
+
## Get binaries
47
49
48
50
FFmpeg4Java is available in Maven Central Repository and [GitHub](https://github.com/nextbreakpoint/ffmpeg4java).
49
51
@@ -67,17 +69,102 @@ If you are using Maven, add one of the following dependencies in your POM:
67
69
<version>7.0.1-1.0</version>
68
70
</dependency>
69
71
70
-
71
-
## Build
72
-
73
-
We recommend to use a Mac to build FFmpeg4Java because you can compile the library for all systems in one place, but that is not required.
74
-
A Linux system con be used to compile the library for Linux and Windows (via cross compilation). You will need a Mac only to compile the library for MacOS.
75
-
76
-
We assume you have a Mac, however the same instructions work for Linux.
77
-
Make sue you have installed Xcode command line tools and Docker (or just Docker if you are on Linux).
78
-
We use Docker to simplify the toolchain configuration and ensure to have a consistent environment.
79
-
80
-
## Build the library for MacOS
72
+
Also, add one of the following to download the native library:
We recommend to use a Mac to build FFmpeg4Java, because you can compile the library for all systems in one place, but that is not strictly required.
159
+
A Linux system can be used to compile the library for Linux and Windows (via cross compilation), and use a Mac system only to compile the library for MacOS.
160
+
161
+
We assume you have a Mac, however the same build instructions work for Linux (but only for compiling the library for Linux and Windows).
162
+
163
+
Make sue you have installed Xcode command line tools (only for MacOS), Docker, git, make, maven, and Java 22.
164
+
165
+
We use Docker to simplify the toolchain configuration and ensure to have a consistent environment
166
+
167
+
### Build library for MacOS
81
168
82
169
Compile and install the library:
83
170
@@ -95,7 +182,7 @@ Inspect the libraries linked with the library:
0 commit comments