Skip to content

FFMPEG and JavaCV: Updated to modern versions - #491

Open
lessthanoptimal wants to merge 1 commit into
SNAPSHOTfrom
feature/ffmpeg8_vendored_arm64
Open

FFMPEG and JavaCV: Updated to modern versions#491
lessthanoptimal wants to merge 1 commit into
SNAPSHOTfrom
feature/ffmpeg8_vendored_arm64

Conversation

@lessthanoptimal

Copy link
Copy Markdown
Owner
  • boofcv-ffmpeg moves from FFmpeg 4.1 (2018) to 8.1.2-1.5.1
  • boofcv-javacv from JavaCV 1.4.4 / OpenCV 4.0.1 to JavaCV 1.5.14 / OpenCV 4.14.0-1.5.14.
  • Native jars are no longer a required dependency
    • Needs to be manually added

Bug Fixes

  • -Pnative_arch works again
  • FfmpegVideoImageSequence ends at the real end of the file

Thanks joshuajaharwood and Claude Opus 5

Replaces the vendored FFmpeg 4.1 grabber with 8.1.2-1.5.14 and JavaCV 1.5.14,
and trims the vendored copy to the video decode path.

Native binaries publish as optional per-platform dependencies through a 'natives'
feature, so downstream users are not forced to download every architecture.
-Pnative_arch takes a comma separated list and controls which platforms are
published; it defaults to linux-x86_64, linux-arm64, macosx-arm64, windows-x86_64.
Anything that actually decodes video asks for host binaries explicitly.

boofcv-javacv excludes the JavaCPP presets it never touches. Besides keeping
Kinect, RealSense and an OCR engine out of the published POM, those presets are
still pinned to javacpp 1.5.9, which collides with 1.5.14 under failOnVersionConflict().

JavaCPP preset versions are in buildSrc Versions.kt; nativePlatforms and
hostPlatform in the root build.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJqSLGh5qw994zonn64gMQ
@lessthanoptimal
lessthanoptimal force-pushed the feature/ffmpeg8_vendored_arm64 branch from 8a20840 to c902774 Compare August 28, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant