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
majorandminorcomponents.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.0floor.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 -versionoutput, starting withffmpeg version), or returnsnullwhen its first line carries nomajor.minorpair — unparsable banners are rejected by callers with a clear message, never guessed at.
Constants
- floorMajor → const int
- The lowest FFmpeg major version Fluvie supports.