FFmpegVideoEditorConfig class abstract
- Implementers
Constructors
- FFmpegVideoEditorConfig(VideoEditorController controller, {String? name, @protected String? outputDirectory, double scale = 1.0, bool isFiltersEnabled = true})
-
const
Properties
- controller → VideoEditorController
-
final
- cropCmd → String
-
Convert the controller's
minCrop
andmaxCrop
params into a String used to provide crop values to FFmpeg (see more)no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- isFiltersEnabled → bool
-
Set isFiltersEnabled to
false
if you do not want to apply any changes. Defaults totrue
.final - name → String?
-
If the name is
null
, then it uses this video filename.final - outputDirectory → String?
-
If the outputDirectory is
null
, then it usesTemporaryDirectory
.final - rotationCmd → String
-
Convert the controller's
rotation
value into a String used to provide crop values to FFmpeg (see more)no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale → double
-
The scale is
scale=width*scale:height*scale
and reduce or increase the file dimensions. Defaults to1.0
.final - scaleCmd → String
-
see FFmpeg doc
no setter
Methods
-
filtersCmd(
List< String> filters) → String -
Returns the
-filter:v
(-vf alias) command to use in FFmpeg execution -
getExecuteConfig(
) → Future< FFmpegVideoEditorExecute?> -
Returns the
FFmpegVideoEditorExecute
that contains the param to provide to FFmpeg. -
getExportFilters(
) → List< String> - Returns the list of all the active filters
-
getFFmpegProgress(
int time) → double - Can be used from FFmpeg session callback, for example:
-
getOutputPath(
{required String filePath, required FileFormat format}) → Future< String> - Returns the output path of the exported file
-
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