|
1 | | -# FFmpeg4Java 7.0.1-1.1 |
| 1 | +# FFmpeg4Java 7.0.1-1.2 |
2 | 2 |
|
3 | 3 | FFmpeg4Java provides a Java wrapper of FFmpeg library version 7.0.1. |
4 | 4 |
|
| 5 | +Please note that starting from version 7.0.1-1.0 the wrapper requires Java 22 and the Java FFM API (which is still in preview). |
| 6 | +Older versions of the wrapper still work with Java 11 or later, but they use JNI with an old version of FFmpeg. |
| 7 | + |
5 | 8 |
|
6 | 9 | ## License |
7 | 10 |
|
@@ -54,19 +57,19 @@ If you are using Maven, add one of the following dependencies in your POM: |
54 | 57 | <dependency> |
55 | 58 | <groupId>com.nextbreakpoint</groupId> |
56 | 59 | <artifactId>com.nextbreakpoint.ffmpeg4java.macos</artifactId> |
57 | | - <version>7.0.1-1.1</version> |
| 60 | + <version>7.0.1-1.2</version> |
58 | 61 | </dependency> |
59 | 62 |
|
60 | 63 | <dependency> |
61 | 64 | <groupId>com.nextbreakpoint</groupId> |
62 | 65 | <artifactId>com.nextbreakpoint.ffmpeg4java.linux</artifactId> |
63 | | - <version>7.0.1-1.1</version> |
| 66 | + <version>7.0.1-1.2</version> |
64 | 67 | </dependency> |
65 | 68 |
|
66 | 69 | <dependency> |
67 | 70 | <groupId>com.nextbreakpoint</groupId> |
68 | 71 | <artifactId>com.nextbreakpoint.ffmpeg4java.windows</artifactId> |
69 | | - <version>7.0.1-1.1</version> |
| 72 | + <version>7.0.1-1.2</version> |
70 | 73 | </dependency> |
71 | 74 |
|
72 | 75 | Also, add one of the following to download the native library: |
@@ -226,25 +229,25 @@ Compile and package the JARs: |
226 | 229 |
|
227 | 230 | The artifacts will be created in the target directory of each module: |
228 | 231 |
|
229 | | - ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.1-x86_64.jar |
230 | | - ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.1-x86_64-x86_64.jar |
| 232 | + ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.2-x86_64.jar |
| 233 | + ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.2-x86_64-x86_64.jar |
231 | 234 |
|
232 | | - ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.1-x86_64.jar |
233 | | - ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.1-x86_64-x86_64.jar |
| 235 | + ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.2-x86_64.jar |
| 236 | + ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.2-x86_64-x86_64.jar |
234 | 237 |
|
235 | | - ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.1-x86_64.jar |
236 | | - ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.1-x86_64-x86_64.jar |
| 238 | + ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.2-x86_64.jar |
| 239 | + ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.2-x86_64-x86_64.jar |
237 | 240 |
|
238 | 241 | List the content of the JAR files: |
239 | 242 |
|
240 | | - unzip -t ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.1.jar |
241 | | - unzip -t ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.1-x86_64.jar |
| 243 | + unzip -t ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.2.jar |
| 244 | + unzip -t ffmpeg4java-macos/target/com.nextbreakpoint.ffmpeg4java.macos-7.0.1-1.2-x86_64.jar |
242 | 245 |
|
243 | | - unzip -t ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.1.jar |
244 | | - unzip -t ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.1-x86_64.jar |
| 246 | + unzip -t ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.2.jar |
| 247 | + unzip -t ffmpeg4java-linux/target/com.nextbreakpoint.ffmpeg4java.linux-7.0.1-1.2-x86_64.jar |
245 | 248 |
|
246 | | - unzip -t ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.1.jar |
247 | | - unzip -t ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.1-x86_64.jar |
| 249 | + unzip -t ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.2.jar |
| 250 | + unzip -t ffmpeg4java-windows/target/com.nextbreakpoint.ffmpeg4java.windows-7.0.1-1.2-x86_64.jar |
248 | 251 |
|
249 | 252 | Install the artifacts in your local Maven repository: |
250 | 253 |
|
@@ -287,15 +290,11 @@ Generate the code for Windows (must be executed on Windows): |
287 | 290 |
|
288 | 291 | ## Code examples |
289 | 292 |
|
290 | | -A simple example is provided for each supported system. |
291 | | - |
292 | | -See POM files for details about how to download the native library and execute the code: |
293 | | - |
294 | | - ffmpeg4java-macos-examples/pom.xml |
| 293 | +A simple example is provided for the module ffmpeg4Java-examples. |
295 | 294 |
|
296 | | - ffmpeg4java-linux-examples/pom.xml |
| 295 | +See the POM file for details about how to download the native library and execute the example: |
297 | 296 |
|
298 | | - ffmpeg4java-windows-examples/pom.xml |
| 297 | + ffmpeg4java-examples/pom.xml |
299 | 298 |
|
300 | 299 |
|
301 | 300 | ## References |
|
0 commit comments