CoverFFmpegConfig class

Inheritance

Constructors

CoverFFmpegConfig({required String crop, required String rotation})

Properties

crop String
Used to provide crop values to Ffmpeg (see more) The result is in the format crop=w:h:x:y
finalinherited
hashCode int
The hash code for this object.
no setterinherited
rotation String
FFmpeg crop value (see more) The result is in the format transpose=2 (repeated for every 90 degrees rotations)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createExportCommand({required String inputPath, required String outputPath, double scale = 1.0, int quality = 100, bool isFiltersEnabled = true}) String
Create an FFmpeg command string to export a cover image from the specified video.
getExportFilters({VideoExportFormat? videoFormat, double scale = 1.0, bool isFiltersEnabled = true}) String
Returns the -filter:v command to use in ffmpeg execution
inherited
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