FFmpegKit class

Main class to run "FFmpeg" commands.

Constructors

FFmpegKit()

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

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

Static Methods

cancel([int? sessionId = null]) Future<void>
Cancels the session specified with sessionId.
execute(String command) Future<FFmpegSession>
Synchronously executes FFmpeg command provided. Space character is used to split command into arguments. You can use single or double quote characters to specify arguments inside your command.
executeAsync(String command, [FFmpegSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null, StatisticsCallback? statisticsCallback = null]) Future<FFmpegSession>
Starts an asynchronous FFmpeg execution for the given command. Space character is used to split the command into arguments. You can use single or double quote characters to specify arguments inside your command.
executeWithArguments(List<String> commandArguments) Future<FFmpegSession>
Synchronously executes FFmpeg with arguments provided.
executeWithArgumentsAsync(List<String> commandArguments, [FFmpegSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null, StatisticsCallback? statisticsCallback = null]) Future<FFmpegSession>
Starts an asynchronous FFmpeg execution with arguments provided.
listSessions() Future<List<FFmpegSession>>
Lists all FFmpeg sessions in the session history.