Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Migrating From MobileFFmpeg Android API

Taner Sener edited this page Sep 27, 2022 · 1 revision

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