Skip to content

Migrating From MobileFFmpeg Android API

Taner Şener edited this page Apr 16, 2021 · 13 revisions

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.

1. FFmpeg

FFmpegKit FFmpegKitConfig Session
execute execute ffmpegExecute
executeAsync executeAsync asyncFFmpegExecute
cancel cancel cancel
listExecutions listSessions getSessions
getSession
getSessionsByState

2. FFprobe

FFprobeKit FFmpegKitConfig
execute execute ffprobeExecute
executeAsync executeAsync asyncFFprobeExecute
getMediaInformation getMediaInformation
getMediaInformationAsync
getMediaInformationExecute
asyncGetMediaInformationExecute
getMediaInformationFromCommand getMediaInformationFromCommand
getMediaInformationFromCommandAsync

3. Config

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
Clone this wiki locally