VideoFFmpegConfig class

Inheritance

Constructors

VideoFFmpegConfig({required String trimCommand, required String crop, required String rotation})
const

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
trimCommand String
ffmpeg command to apply the trim start and end parameters see ffmpeg doc
final

Methods

createExportCommand({required String inputPath, required String outputPath, VideoExportFormat outputFormat = VideoExportFormat.mp4, double scale = 1.0, String customInstruction = '', VideoExportPreset preset = VideoExportPreset.none, bool isFiltersEnabled = true}) String
Create an FFmpeg command string to export a video with the specified parameters.
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