Skip to content

Migrating From MobileFFmpeg Objective C API

Taner Şener edited this page Apr 16, 2021 · 4 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. MobileFFmpeg

FFmpegKit FFmpegKitConfig Session
execute execute ffmpegExecute
executeAsync executeAsync asyncFFmpegExecute
executeWithArguments executeWithArguments ffmpegExecute
executeWithArgumentsAsync executeWithArgumentsAsync asyncFFmpegExecute
cancel cancel cancel
parseArguments parseArguments
argumentsToString argumentsToString
listExecutions listSessions getSessions
getSession
getSessionsByState

2. MobileFFprobe

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

3. MobileFFmpegConfig

FFmpegKitConfig Session FFmpegSession Packages
enableRedirection enableRedirection
disableRedirection disableRedirection
getLogLevel getLogLevel
setLogLevel setLogLevel
logLevelToString logLevelToString
setLogDelegate enableLogCallback
setStatisticsDelegate enableStatisticsCallback
getLastReceivedStatistics getLastSession
getLastCompletedSession
getLastReceivedStatistics
getStatistics
getAllStatistics
resetStatistics
setFontconfigConfigurationPath setFontconfigConfigurationPath
setFontDirectory setFontDirectory
setFontDirectoryList
getPackageName getPackageName
getExternalLibraries getExternalLibraries
registerNewFFmpegPipe registerNewFFmpegPipe
closeFFmpegPipe closeFFmpegPipe
getFFmpegVersion getFFmpegVersion
getVersion getVersion
getBuildDate getBuildDate
getLastReturnCode getLastSession
getLastCompletedSession
getReturnCode
getLastCommandOutput getLastSession
getLastCompletedSession
getOutput
getLogs
getAllLogsAsString
ignoreSignal ignoreSignal
Clone this wiki locally