Migrating From FlutterFFmpeg - tanersener/ffmpeg-kit GitHub Wiki
The following table shows how flutter_ffmpeg API methods can be migrated to FFmpegKit.
Please note that FFmpegKit provides multiple methods for some of the flutter_ffmpeg functions.
| FFmpegKit | FFmpegKitConfig | Session | |
|---|---|---|---|
| execute | execute | ffmpegExecute | |
| executeWithArguments | executeWithArguments | ffmpegExecute | |
| executeAsync | executeAsync | asyncFFmpegExecute | |
| executeAsyncWithArguments | executeWithArgumentsAsync | asyncFFmpegExecute | |
| cancel | cancel | ||
| cancelExecution | cancel | cancel | |
| listExecutions | listSessions | getSessions getSession getSessionsByState |
|
| parseArguments | parseArguments |
| FFprobeKit | FFmpegKitConfig | |
|---|---|---|
| execute | execute | ffprobeExecute |
| executeWithArguments | executeWithArguments | ffprobeExecute |
| getMediaInformation | getMediaInformation | getMediaInformationExecute |
| FFmpegKitConfig | Session | FFmpegSession | Packages | |
|---|---|---|---|---|
| closeFFmpegPipe | closeFFmpegPipe | |||
| enableLogCallback | enableLogCallback | |||
| enableRedirection | enableRedirection | |||
| enableStatisticsCallback | enableStatisticsCallback | |||
| disableLogs | disableLogs | |||
| disableRedirection | disableRedirection | |||
| disableStatistics | disableStatistics | |||
| getExternalLibraries | getExternalLibraries | |||
| getFFmpegVersion | getFFmpegVersion | |||
| getLastCommandOutput | getLastSession getLastCompletedSession |
getOutput getLogs getAllLogsAsString |
||
| getLastReceivedStatistics | getLastSession getLastCompletedSession |
getLastReceivedStatistics getStatistics getAllStatistics |
||
| getLastReturnCode | getLastSession getLastCompletedSession |
getReturnCode | ||
| getLogLevel | getLogLevel | |||
| getPackageName | getPackageName | |||
| getPlatform | getPlatform | |||
| registerNewFFmpegPipe | registerNewFFmpegPipe | |||
| resetStatistics | ||||
| setEnvironmentVariable | setEnvironmentVariable | |||
| setFontconfigConfigurationPath | setFontconfigConfigurationPath | |||
| setFontDirectory | setFontDirectory setFontDirectoryList |
|||
| setLogLevel | setLogLevel |