FpsFilter class

Converts the input video stream to the specified constant frame rate by duplicating or dropping frames as necessary.

Implemented types

Constructors

FpsFilter({required int fps, Duration? startTime, String? round, String? eofAction})

Properties

eofAction String?
The action performed when reading the last frame
final
fps int
The desired output frame rate (default is 25)
final
hashCode int
The hash code for this object.
no setterinherited
round String?
The timestamp rounding method for startTime (default is near)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime Duration?
The first presentation timestamp where the filter will take place
final

Methods

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

Operators

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