boofcv 1.0.2

Download zip

class: SimpleImageSequence

[124:7] extends: object

SimpleImageSequence wraps boofcv.io.image.SimpleImageSequence.

Members

Methods

class: JCodecMediaManager

[74:7] extends: MediaManager

JCodecMediaManager wraps boofcv.io.jcodec.JCodecMediaManager.

Methods

class: FfmpegVideoImageSequence

[108:7] extends: SimpleImageSequence

FfmpegVideoImageSequence wraps boofcv.io.ffmpeg.FfmpegVideoImageSequence. This class needs the FFmpeg native libraries and this package does not ship them, so calling the constructor as-is raises a runtime exception reading no jniavutil in java.library.path. That is expected and does not mean the install is broken. The reason is licensing. The only prebuilt FFmpeg binaries matching the API BoofCV was compiled against were built with the FFmpeg configure flags enable-gpl and enable-nonfree. That combination puts GPL code in the same binary as code the GPL forbids combining with, so the result cannot be redistributed under any license. Bundling it would make this whole package undistributable. Newer FFmpeg builds without those flags exist but renamed their Java packages and no longer bind to BoofCV. You can still use FFmpeg by supplying the binaries yourself. Download the native jar for your platform from Maven Central under org.bytedeco.javacpp-presets:ffmpeg:4.1-1.4.4, for example ffmpeg-4.1-1.4.4-linux-x86_64.jar, then call app.loadJar("lib/ffmpeg-4.1-1.4.4-linux-x86_64.jar") before creating a sequence. The version must be 4.1-1.4.4; later versions will not bind. Doing this makes you the party distributing those binaries, so their license terms become yours to meet. See README.md for the full steps. To avoid the question entirely, JCodecMediaManager reads video with no native code at all. It handles fewer formats, mainly H.264 in MP4, but it is included here and ready to use.

Methods

class: DefaultMediaManager

[62:7] extends: MediaManager

DefaultMediaManager wraps boofcv.io.wrapper.DefaultMediaManager.

Methods

class: MediaManager

[22:7] extends: object

MediaManager wraps boofcv.io.MediaManager.

Members

Methods