FFprobeKit class

Main class to run "FFprobe" commands.

Constructors

FFprobeKit()

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

execute(String command) Future<FFprobeSession>
Synchronously executes FFprobe 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, [FFprobeSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null]) Future<FFprobeSession>
Starts an asynchronous FFprobe 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<FFprobeSession>
Synchronously executes FFprobe with arguments provided.
executeWithArgumentsAsync(List<String> commandArguments, [FFprobeSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null]) Future<FFprobeSession>
Starts an asynchronous FFprobe execution with arguments provided.
getMediaInformation(String path, [int? waitTimeout = null]) Future<MediaInformationSession>
Extracts media information for the file specified with path.
getMediaInformationAsync(String path, [MediaInformationSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null, int? waitTimeout = null]) Future<MediaInformationSession>
Starts an asynchronous FFprobe execution to extract the media information for the specified file.
getMediaInformationFromCommand(String command, [int? waitTimeout = null]) Future<MediaInformationSession>
Extracts media information using the command provided. The command passed to this method must generate the output in JSON format in order to successfully extract media information from it.
getMediaInformationFromCommandArguments(List<String> commandArguments, [int? waitTimeout = null]) Future<MediaInformationSession>
Extracts media information using the command arguments provided. The command passed to this method must generate the output in JSON format in order to successfully extract media information from it.
getMediaInformationFromCommandArgumentsAsync(List<String> commandArguments, [MediaInformationSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null, int? waitTimeout = null]) Future<MediaInformationSession>
Starts an asynchronous FFprobe execution to extract media information using command arguments. The command passed to this method must generate the output in JSON format in order to successfully extract media information from it.
getMediaInformationFromCommandAsync(String command, [MediaInformationSessionCompleteCallback? completeCallback = null, LogCallback? logCallback = null, int? waitTimeout = null]) Future<MediaInformationSession>
Starts an asynchronous FFprobe execution to extract media information using a command. The command passed to this method must generate the output in JSON format in order to successfully extract media information from it.
listFFprobeSessions() Future<List<FFprobeSession>>
Lists all FFprobe sessions in the session history.
listMediaInformationSessions() Future<List<MediaInformationSession>>
Lists all MediaInformation sessions in the session history.