or run

npx @tessl/cli init
Log in

Version

Tile

Overview

Evals

Files

docs

index.md
tile.json

tessl/maven-org-bytedeco--ffmpeg-platform

JavaCPP Presets Platform for FFmpeg - Cross-platform native libraries bundle for FFmpeg multimedia framework supporting audio/video processing, codecs, and streaming

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
mavenpkg:maven/org.bytedeco/ffmpeg-platform@7.1.x

To install, run

npx @tessl/cli install tessl/maven-org-bytedeco--ffmpeg-platform@7.1.0

index.mddocs/

FFmpeg Platform

A 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.

Package Information

  • Package Name: ffmpeg-platform
  • Package Type: maven
  • Language: Java
  • Installation:
    <dependency>
      <groupId>org.bytedeco</groupId>
      <artifactId>ffmpeg-platform</artifactId>
      <version>7.1.1-1.5.12</version>
    </dependency>

Core Imports

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>

Basic Usage

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 platforms

Platform Support

The platform package automatically includes native FFmpeg 7.1.1 libraries for:

  • Android: ARM64, x86_64
  • Linux: ARM64, x86_64
  • macOS: ARM64 (Apple Silicon), x86_64 (Intel)
  • Windows: x86_64

Native libraries are loaded automatically by JavaCPP's Loader mechanism when the main ffmpeg package classes are used.

Architecture

This is a dependency aggregator package that:

  1. Bundles Native Libraries: Includes platform-specific native FFmpeg binaries
  2. Provides Cross-Platform Support: Eliminates need for separate platform dependencies
  3. Enables Automatic Loading: Works with JavaCPP Loader for seamless native library access
  4. Simplifies Deployment: Single dependency covers all supported platforms

Capabilities

Platform-Specific Native Library Aggregation

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 package

Dependency Management

Simplifies 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 library
  • org.bytedeco:ffmpeg:android-arm64 - Android ARM64 native library
  • org.bytedeco:ffmpeg:android-x86_64 - Android x86_64 native library
  • org.bytedeco:ffmpeg:linux-x86_64 - Linux x86_64 native library
  • org.bytedeco:ffmpeg:linux-arm64 - Linux ARM64 native library
  • org.bytedeco:ffmpeg:macosx-arm64 - macOS ARM64 native library
  • org.bytedeco:ffmpeg:macosx-x86_64 - macOS x86_64 native library
  • org.bytedeco:ffmpeg:windows-x86_64 - Windows x86_64 native library

API Reference

For complete FFmpeg API documentation, refer to the main org.bytedeco:ffmpeg package which provides:

  • avutil: Core utilities, memory management, pixel formats
  • avcodec: Video/audio encoding and decoding
  • avformat: Container format handling and I/O operations
  • avfilter: Audio/video processing pipelines
  • swscale: Image scaling and color space conversion
  • swresample: Audio format conversion
  • avdevice: Hardware device input/output
  • postproc: Video enhancement filters

Deployment Benefits

  • Simplified Dependencies: Single platform package instead of multiple platform-specific ones
  • Automatic Platform Detection: JavaCPP automatically loads the correct native library
  • Reduced Configuration: No need to manage platform-specific library paths
  • Cross-Platform Compatibility: Single codebase works across all supported platforms
  • Build Simplification: No platform-specific build configurations required