FrameExtractionService class abstract interface

Extracts one decoded frame of a video source as a RawFrame.

This is the contract the Clip render path consumes: during capture, a clip's pixels for frame n come from here instead of from a live player. Tests run against a canned fake; the ffmpeg-backed service supplies the pixels at render.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

extractFrame(Uri source, int frameIndex, {required int width, required int height}) Future<RawFrame>
The decoded pixels of source at frameIndex (in the source's own frame space), scaled to exactly width x height.
extractFrames(Uri source, Iterable<int> frameIndices, {required int width, required int height}) Future<Map<int, RawFrame>>
The decoded pixels of source at each index in frameIndices, keyed by index and scaled to width x height — the batch the clip pre-pass uses.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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