FfmpegVersion class final

An FFmpeg major.minor version parsed from a -version banner, with the >= 6.0 floor this library requires.

The floor is enforced by ProcessFfmpegRunner (and, independently, by the CLI's own probe) before any encode starts; an embedded wasm runtime has no honest banner to parse, so its provider reports no version at all rather than a fabricated one.

Constructors

FfmpegVersion(int major, int minor)
Creates a version from its parsed major and minor components.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
major → int
The major version component.
final
meetsFloor → bool
Whether this version satisfies the >= 6.0 floor.
no setter
minor → int
The minor version component.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parse(String banner) → FfmpegVersion?
Parses banner (ffmpeg -version output, starting with ffmpeg version ), or returns null when its first line carries no major.minor pair — unparsable banners are rejected by callers with a clear message, never guessed at.

Constants

floorMajor → const int
The lowest FFmpeg major version Fluvie supports.