Migrating From MobileFFmpeg Android API - tanersener/ffmpeg-kit GitHub Wiki
The following table shows how MobileFFmpeg
API methods can be migrated to FFmpegKit
.
Please note that FFmpegKit
provides additional methods for the same MobileFFmpeg
function.
FFmpegKit | FFmpegKitConfig | Session | |
---|---|---|---|
execute | execute | ffmpegExecute | |
executeAsync | executeAsync | asyncFFmpegExecute | |
cancel | cancel | cancel | |
listExecutions | listSessions | getSessions getSession getSessionsByState |
FFprobeKit | FFmpegKitConfig | |
---|---|---|
execute | execute | ffprobeExecute |
executeAsync | executeAsync | asyncFFprobeExecute |
getMediaInformation | getMediaInformation getMediaInformationAsync |
getMediaInformationExecute asyncGetMediaInformationExecute |
getMediaInformationFromCommand | getMediaInformationFromCommand getMediaInformationFromCommandAsync |
FFmpegKitConfig | Session | FFmpegSession | |
---|---|---|---|
enableRedirection | enableRedirection | ||
disableRedirection | disableRedirection | ||
getLogLevel | getLogLevel | ||
setLogLevel | setLogLevel | ||
enableLogCallback | enableLogCallback | ||
enableStatisticsCallback | enableStatisticsCallback | ||
getLastReceivedStatistics | getLastSession getLastCompletedSession |
getLastReceivedStatistics getStatistics getAllStatistics |
|
resetStatistics | |||
setFontconfigConfigurationPath | setFontconfigConfigurationPath | ||
setFontDirectory | setFontDirectory setFontDirectoryList |
||
getPackageName | |||
getExternalLibraries | |||
registerNewFFmpegPipe | registerNewFFmpegPipe | ||
closeFFmpegPipe | closeFFmpegPipe | ||
getSupportedCameraIds | getSupportedCameraIds | ||
getFFmpegVersion | getFFmpegVersion | ||
getVersion | getVersion | ||
isLTSBuild | isLTSBuild | ||
getBuildDate | getBuildDate | ||
getLastReturnCode | getLastSession getLastCompletedSession |
getReturnCode | |
getLastCommandOutput | getLastSession getLastCompletedSession |
getOutput getLogs getAllLogsAsString |
|
printLastCommandOutput | |||
setEnvironmentVariable | setEnvironmentVariable | ||
ignoreSignal | ignoreSignal |