JavaCPP Presets Platform for FFmpeg - Cross-platform native libraries bundle for FFmpeg multimedia framework supporting audio/video processing, codecs, and streaming
npx @tessl/cli install tessl/maven-org-bytedeco--ffmpeg-platform@7.1.0A platform-specific dependency aggregator package that provides native library bundles for FFmpeg across multiple platforms. This package simplifies cross-platform deployment by automatically including the appropriate native FFmpeg libraries for Android, Linux, macOS, and Windows without requiring separate platform-specific dependencies.
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg-platform</artifactId>
<version>7.1.1-1.5.12</version>
</dependency>This package provides no direct API imports. To use FFmpeg functionality, you need the core ffmpeg package:
<!-- For FFmpeg API functionality -->
<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>ffmpeg</artifactId>
<version>7.1.1-1.5.12</version>
</dependency>The platform package is a dependency-only bundle that automatically provides native libraries. No code changes are needed - simply include it as a dependency:
// The platform package automatically loads native libraries
// Use the main ffmpeg package for API access:
import org.bytedeco.ffmpeg.global.avformat.*;
import org.bytedeco.ffmpeg.avformat.*;
// Native libraries are loaded automatically via JavaCPP Loader
AVFormatContext formatCtx = new AVFormatContext(null);
// ... FFmpeg operations work seamlessly across platformsThe platform package automatically includes native FFmpeg 7.1.1 libraries for:
Native libraries are loaded automatically by JavaCPP's Loader mechanism when the main ffmpeg package classes are used.
This is a dependency aggregator package that:
Automatically provides the correct native FFmpeg libraries based on the runtime platform.
// No direct API - this package provides dependencies only
// Native libraries are automatically available when using:
// org.bytedeco.ffmpeg.* classes from the main ffmpeg packageSimplifies FFmpeg deployment by bundling all platform-specific native libraries into a single Maven dependency.
Dependency Structure:
org.bytedeco:ffmpeg - Core Java API and base native libraryorg.bytedeco:ffmpeg:android-arm64 - Android ARM64 native libraryorg.bytedeco:ffmpeg:android-x86_64 - Android x86_64 native libraryorg.bytedeco:ffmpeg:linux-x86_64 - Linux x86_64 native libraryorg.bytedeco:ffmpeg:linux-arm64 - Linux ARM64 native libraryorg.bytedeco:ffmpeg:macosx-arm64 - macOS ARM64 native libraryorg.bytedeco:ffmpeg:macosx-x86_64 - macOS x86_64 native libraryorg.bytedeco:ffmpeg:windows-x86_64 - Windows x86_64 native libraryFor complete FFmpeg API documentation, refer to the main org.bytedeco:ffmpeg package which provides: