2022-09-17 20:29:42 +03:00
<!DOCTYPE HTML>
2021-03-02 01:25:17 +02:00
<!-- NewPage -->
2023-08-22 23:00:49 +03:00
< html lang = "en" > < head >
< title > FFmpegKitConfig < / title >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
< meta name = "dc.created" content = "2020-03-25" >
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../dokka-javadoc-stylesheet.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../jquery/jquery-ui.css" title = "Style" >
< script type = "text/javascript" src = "../../../jquery/jquery-3.3.1.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-migrate-3.0.1.js" > < / script >
< script type = "text/javascript" src = "../../../jquery/jquery-ui.js" > < / script >
< script type = "text/javascript" src = "../../../search.js" > < / script >
< script async type = "text/javascript" src = "../../../module-search-index.js" > < / script >
< script async type = "text/javascript" src = "../../../package-search-index.js" > < / script >
< script async type = "text/javascript" src = "../../../type-search-index.js" > < / script >
< script async type = "text/javascript" src = "../../../member-search-index.js" > < / script >
< script async type = "text/javascript" src = "../../../tag-search-index.js" > < / script >
< / head > < body >
< script type = "text/javascript" >
2022-09-17 20:29:42 +03:00
var pathtoroot = "../../../";
2023-08-22 23:00:49 +03:00
< / script >
2021-03-02 01:25:17 +02:00
< noscript >
2023-08-22 23:00:49 +03:00
< div > JavaScript is disabled on your browser.< / div >
< / noscript > < header role = "banner" >
< nav role = "navigation" >
< div class = "fixedNav" >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "topNav" > < a id = "navbar.top" >
<!-- -->
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links< / a >
< / div >
< a id = "navbar.top.firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../index.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-files/index-1.html" > Index< / a > < / li >
< li > Help< / li >
< / ul > < / div >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_top" style = "display: block;" >
< li > < a href = "../../../allclasses.html" > All Classes< / a > < / li >
2022-09-17 20:29:42 +03:00
< / ul >
2023-08-22 23:00:49 +03:00
2022-09-17 20:29:42 +03:00
< ul class = "navListSearch" >
< li > < label for = "search" > SEARCH:< / label >
2023-08-22 23:00:49 +03:00
< input type = "text" id = "search" value = "search" class = "ui-autocomplete-input" autocomplete = "off" placeholder = "Search" >
< input type = "reset" id = "reset" value = "reset" >
2022-09-17 20:29:42 +03:00
< / li >
2021-03-02 01:25:17 +02:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
2022-09-17 20:29:42 +03:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2021-03-02 01:25:17 +02:00
< / div >
2022-09-17 20:29:42 +03:00
< a id = "skip.navbar.top" >
2021-03-02 01:25:17 +02:00
<!-- -->
2023-08-22 23:00:49 +03:00
< / a > < / div > <!-- ========= END OF TOP NAVBAR ========= -->
< / div >
< div class = "navPadding" > < / div >
< script type = "text/javascript" > < ! - -
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
< / script >
< / nav >
2022-09-17 20:29:42 +03:00
< / header >
2023-08-22 23:00:49 +03:00
< main role = "main" >
< div class = "header" >
< div class = "subTitle" > < span class = "packageLabelInType" > Package< / span > < a href = "package-summary.html" > < / a > < / div >
< h2 title = "Class FFmpegKitConfig" class = "title" > Class FFmpegKitConfig< / h2 >
< / div >
< div class = "contentContainer" >
<!-- <ul class="inheritance">
< li > java.lang.Object< / li >
< li >
< ul class = "inheritance" >
< li > adaptation.Adaptation< / li >
< / ul >
< / li >
< / ul > TODO inheritance tree -->
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
< pre class = "wrap-overflow" >
2022-09-17 20:29:42 +03:00
2023-08-22 23:00:49 +03:00
public class < span class = "typeNameLabel" > < a href = FFmpegKitConfig.html > FFmpegKitConfig< / a > < / span >
2021-03-02 01:25:17 +02:00
2023-08-22 23:00:49 +03:00
< / pre >
< div class = "block" > < p > Configuration class of < code > FFmpegKit< / code > library.< / p > < / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
< section role = "region" >
< ul class = "blockList" >
< li class = "blockList" > < a id = "field.summary" >
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
< div class = "memberSummary" >
< table >
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colSecond" scope = "col" > Field< / th >
< th class = "colLast" scope = "col" > Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > private static int< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#sessionHistorySize > sessionHistorySize< / a > < / code > < / th >
< td class = "colLast" > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > private static int< / code > < / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncConcurrencyLimit > asyncConcurrencyLimit< / a > < / code > < / th >
< td class = "colLast" > < / td >
< / tr >
< / table >
< / div >
< / li >
< / ul >
< / section >
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<!-- ========== METHOD SUMMARY =========== -->
< section role = "region" >
< ul class = "blockList" >
< li class = "blockList" > < a id = "method.summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< div class = "memberSummary" >
< div role = "tablist" aria-orientation = "horizontal" >
< button role = "tab" aria-selected = "true" aria-controls = "memberSummary_tabpanel" tabindex = "0" onkeydown = "switchTab(event)" id = "t0" class = "activeTableTab" > All Methods< / button >
<!-- TODO: Instance and Concrete Methods #1118 -->
< / div >
< div id = "memberSummary_tabpanel" role = "tabpanel" >
< table aria-labelledby = "t0" >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colSecond" scope = "col" > Method< / th >
< th class = "colLast" scope = "col" > Description< / th >
< / tr >
< tr id = "i0" class = "altColor" >
< td class = "colFirst" > < code > static int< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSessionHistorySize() > getSessionHistorySize< / a > () < / code >
< / th >
< td class = "colLast" > Returns the session history size.< / td >
< / tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setSessionHistorySize(int) > setSessionHistorySize< / a > (int sessionHistorySize) < / code >
< / th >
< td class = "colLast" > Sets the session history size.< / td >
< / tr >
< tr id = "i2" class = "altColor" >
< td class = "colFirst" > < code > static int< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getAsyncConcurrencyLimit() > getAsyncConcurrencyLimit< / a > () < / code >
< / th >
< td class = "colLast" > Returns the maximum number of async sessions that will be executed in parallel.< / td >
< / tr >
< tr id = "i3" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setAsyncConcurrencyLimit(int) > setAsyncConcurrencyLimit< / a > (int asyncConcurrencyLimit) < / code >
< / th >
< td class = "colLast" > Sets the maximum number of async sessions that will be executed in parallel.< / td >
< / tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableRedirection() > enableRedirection< / a > () < / code >
< / th >
< td class = "colLast" > Enables log and statistics redirection.< / td >
< / tr >
< tr id = "i5" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#disableRedirection() > disableRedirection< / a > () < / code >
< / th >
< td class = "colLast" > Disables log and statistics redirection.< / td >
< / tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" > < code > static int< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setFontconfigConfigurationPath(String) > setFontconfigConfigurationPath< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > path) < / code >
< / th >
< td class = "colLast" > Sets and overrides < code > fontconfig< / code > configuration directory.< / td >
< / tr >
< tr id = "i7" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setFontDirectory(Context,String,Map) > setFontDirectory< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > fontDirectoryPath, < a href = https://developer.android.com/reference/kotlin/java/util/Map.html > Map< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > , < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontNameMapping) < / code >
< / th >
< td class = "colLast" > Registers the fonts inside the given path, so they become available to use in FFmpegfilters.< / td >
< / tr >
< tr id = "i8" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setFontDirectoryList(Context,List,Map) > setFontDirectoryList< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontDirectoryList, < a href = https://developer.android.com/reference/kotlin/java/util/Map.html > Map< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > , < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontNameMapping) < / code >
< / th >
< td class = "colLast" > Registers the fonts inside the given list of font directories, so they become availableto use in FFmpeg filters.< / td >
< / tr >
< tr id = "i9" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#registerNewFFmpegPipe(Context) > registerNewFFmpegPipe< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context) < / code >
< / th >
< td class = "colLast" > Creates a new named pipe to use in < code > FFmpeg< / code > operations.< / td >
< / tr >
< tr id = "i10" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#closeFFmpegPipe(String) > closeFFmpegPipe< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > ffmpegPipePath) < / code >
< / th >
< td class = "colLast" > Closes a previously created < code > FFmpeg< / code > pipe.< / td >
< / tr >
< tr id = "i11" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSupportedCameraIds(Context) > getSupportedCameraIds< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context) < / code >
< / th >
< td class = "colLast" > Returns the list of camera ids supported.< / td >
< / tr >
< tr id = "i12" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getFFmpegVersion() > getFFmpegVersion< / a > () < / code >
< / th >
< td class = "colLast" > Returns the version of FFmpeg bundled within < code > FFmpegKit< / code > library.< / td >
< / tr >
< tr id = "i13" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getVersion() > getVersion< / a > () < / code >
< / th >
< td class = "colLast" > Returns FFmpegKit library version.< / td >
< / tr >
< tr id = "i14" class = "altColor" >
< td class = "colFirst" > < code > static boolean< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#isLTSBuild() > isLTSBuild< / a > () < / code >
< / th >
< td class = "colLast" > Returns whether FFmpegKit release is a Long Term Release or not.< / td >
< / tr >
< tr id = "i15" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getBuildDate() > getBuildDate< / a > () < / code >
< / th >
< td class = "colLast" > Returns FFmpegKit library build date.< / td >
< / tr >
< tr id = "i16" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#printToLogcat(int,String) > printToLogcat< / a > (int logPriority, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > string) < / code >
< / th >
< td class = "colLast" > Prints the given string to Logcat using the given priority.< / td >
< / tr >
< tr id = "i17" class = "rowColor" >
< td class = "colFirst" > < code > static int< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setEnvironmentVariable(String,String) > setEnvironmentVariable< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > variableName, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > variableValue) < / code >
< / th >
< td class = "colLast" > Sets an environment variable.< / td >
< / tr >
< tr id = "i18" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#ignoreSignal(Signal) > ignoreSignal< / a > (< a href = Signal.html > Signal< / a > signal) < / code >
< / th >
< td class = "colLast" > Registers a new ignored signal.< / td >
< / tr >
< tr id = "i19" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#ffmpegExecute(FFmpegSession) > ffmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession) < / code >
< / th >
< td class = "colLast" > Synchronously executes the FFmpeg session provided.< / td >
< / tr >
< tr id = "i20" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#ffprobeExecute(FFprobeSession) > ffprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession) < / code >
< / th >
< td class = "colLast" > Synchronously executes the FFprobe session provided.< / td >
< / tr >
< tr id = "i21" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getMediaInformationExecute(MediaInformationSession,int) > getMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, int waitTimeout) < / code >
< / th >
< td class = "colLast" > Synchronously executes the media information session provided.< / td >
< / tr >
< tr id = "i22" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncFFmpegExecute(FFmpegSession) > asyncFFmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFmpeg execution for the given session.< / td >
< / tr >
< tr id = "i23" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncFFmpegExecute(FFmpegSession,ExecutorService) > asyncFFmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFmpeg execution for the given session.< / td >
< / tr >
< tr id = "i24" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncFFprobeExecute(FFprobeSession) > asyncFFprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFprobe execution for the given session.< / td >
< / tr >
< tr id = "i25" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncFFprobeExecute(FFprobeSession,ExecutorService) > asyncFFprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFprobe execution for the given session.< / td >
< / tr >
< tr id = "i26" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncGetMediaInformationExecute(MediaInformationSession,int) > asyncGetMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, int waitTimeout) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFprobe execution for the given media information session.< / td >
< / tr >
< tr id = "i27" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#asyncGetMediaInformationExecute(MediaInformationSession,ExecutorService,int) > asyncGetMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService, int waitTimeout) < / code >
< / th >
< td class = "colLast" > Starts an asynchronous FFprobe execution for the given media information session.< / td >
< / tr >
< tr id = "i28" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableLogCallback(LogCallback) > enableLogCallback< / a > (< a href = LogCallback.html > LogCallback< / a > logCallback) < / code >
< / th >
< td class = "colLast" > Sets a global callback to redirect FFmpeg/FFprobe logs.< / td >
< / tr >
< tr id = "i29" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableStatisticsCallback(StatisticsCallback) > enableStatisticsCallback< / a > (< a href = StatisticsCallback.html > StatisticsCallback< / a > statisticsCallback) < / code >
< / th >
< td class = "colLast" > Sets a global callback to redirect FFmpeg statistics.< / td >
< / tr >
< tr id = "i30" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableFFmpegSessionCompleteCallback(FFmpegSessionCompleteCallback) > enableFFmpegSessionCompleteCallback< / a > (< a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > ffmpegSessionCompleteCallback) < / code >
< / th >
< td class = "colLast" > Sets a global FFmpegSessionCompleteCallback to receive execution results for FFmpegsessions.< / td >
< / tr >
< tr id = "i31" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getFFmpegSessionCompleteCallback() > getFFmpegSessionCompleteCallback< / a > () < / code >
< / th >
< td class = "colLast" > Returns the global FFmpegSessionCompleteCallback set.< / td >
< / tr >
< tr id = "i32" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableFFprobeSessionCompleteCallback(FFprobeSessionCompleteCallback) > enableFFprobeSessionCompleteCallback< / a > (< a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > ffprobeSessionCompleteCallback) < / code >
< / th >
< td class = "colLast" > Sets a global FFprobeSessionCompleteCallback to receive execution results for FFprobesessions.< / td >
< / tr >
< tr id = "i33" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getFFprobeSessionCompleteCallback() > getFFprobeSessionCompleteCallback< / a > () < / code >
< / th >
< td class = "colLast" > Returns the global FFprobeSessionCompleteCallback set.< / td >
< / tr >
< tr id = "i34" class = "altColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#enableMediaInformationSessionCompleteCallback(MediaInformationSessionCompleteCallback) > enableMediaInformationSessionCompleteCallback< / a > (< a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > mediaInformationSessionCompleteCallback) < / code >
< / th >
< td class = "colLast" > Sets a global MediaInformationSessionCompleteCallback to receive execution results forMediaInformation sessions.< / td >
< / tr >
< tr id = "i35" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getMediaInformationSessionCompleteCallback() > getMediaInformationSessionCompleteCallback< / a > () < / code >
< / th >
< td class = "colLast" > Returns the global MediaInformationSessionCompleteCallback set.< / td >
< / tr >
< tr id = "i36" class = "altColor" >
< td class = "colFirst" > < code > static < a href = Level.html > Level< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getLogLevel() > getLogLevel< / a > () < / code >
< / th >
< td class = "colLast" > Returns the current log level.< / td >
< / tr >
< tr id = "i37" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setLogLevel(Level) > setLogLevel< / a > (< a href = Level.html > Level< / a > level) < / code >
< / th >
< td class = "colLast" > Sets the log level.< / td >
< / tr >
< tr id = "i38" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSafParameter(Context,Uri,String) > getSafParameter< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > openMode) < / code >
< / th >
< td class = "colLast" > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / td >
< / tr >
< tr id = "i39" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSafParameterForRead(Context,Uri) > getSafParameterForRead< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri) < / code >
< / th >
< td class = "colLast" > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / td >
< / tr >
< tr id = "i40" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSafParameterForWrite(Context,Uri) > getSafParameterForWrite< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri) < / code >
< / th >
< td class = "colLast" > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / td >
< / tr >
< tr id = "i41" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = Session.html > Session< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSession(long) > getSession< / a > (long sessionId) < / code >
< / th >
< td class = "colLast" > Returns the session specified with < code > sessionId< / code > from the session history.< / td >
< / tr >
< tr id = "i42" class = "altColor" >
< td class = "colFirst" > < code > static < a href = Session.html > Session< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getLastSession() > getLastSession< / a > () < / code >
< / th >
< td class = "colLast" > Returns the last session created from the session history.< / td >
< / tr >
< tr id = "i43" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = Session.html > Session< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getLastCompletedSession() > getLastCompletedSession< / a > () < / code >
< / th >
< td class = "colLast" > Returns the last session completed from the session history.< / td >
< / tr >
< tr id = "i44" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = Session.html > Session< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSessions() > getSessions< / a > () < / code >
< / th >
< td class = "colLast" > Returns all sessions in the session history.< / td >
< / tr >
< tr id = "i45" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#clearSessions() > clearSessions< / a > () < / code >
< / th >
< td class = "colLast" > Clears all, including ongoing, sessions in the session history.< / td >
< / tr >
< tr id = "i46" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = FFmpegSession.html > FFmpegSession< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getFFmpegSessions() > getFFmpegSessions< / a > () < / code >
< / th >
< td class = "colLast" > Returns all FFmpeg sessions in the session history.< / td >
< / tr >
< tr id = "i47" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = FFprobeSession.html > FFprobeSession< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getFFprobeSessions() > getFFprobeSessions< / a > () < / code >
< / th >
< td class = "colLast" > Returns all FFprobe sessions in the session history.< / td >
< / tr >
< tr id = "i48" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = MediaInformationSession.html > MediaInformationSession< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getMediaInformationSessions() > getMediaInformationSessions< / a > () < / code >
< / th >
< td class = "colLast" > Returns all MediaInformation sessions in the session history.< / td >
< / tr >
< tr id = "i49" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = Session.html > Session< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getSessionsByState(SessionState) > getSessionsByState< / a > (< a href = SessionState.html > SessionState< / a > state) < / code >
< / th >
< td class = "colLast" > Returns sessions that have the given state.< / td >
< / tr >
< tr id = "i50" class = "altColor" >
< td class = "colFirst" > < code > static < a href = LogRedirectionStrategy.html > LogRedirectionStrategy< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#getLogRedirectionStrategy() > getLogRedirectionStrategy< / a > () < / code >
< / th >
< td class = "colLast" > Returns the active log redirection strategy.< / td >
< / tr >
< tr id = "i51" class = "rowColor" >
< td class = "colFirst" > < code > static void< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#setLogRedirectionStrategy(LogRedirectionStrategy) > setLogRedirectionStrategy< / a > (< a href = LogRedirectionStrategy.html > LogRedirectionStrategy< / a > logRedirectionStrategy) < / code >
< / th >
< td class = "colLast" > Sets the log redirection strategy< / td >
< / tr >
< tr id = "i52" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#sessionStateToString(SessionState) > sessionStateToString< / a > (< a href = SessionState.html > SessionState< / a > state) < / code >
< / th >
< td class = "colLast" > Converts session state to string.< / td >
< / tr >
< tr id = "i53" class = "rowColor" >
< td class = "colFirst" > < code > static < a href = https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html > Array< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#parseArguments(String) > parseArguments< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > command) < / code >
< / th >
< td class = "colLast" > Parses the given command into arguments.< / td >
< / tr >
< tr id = "i54" class = "altColor" >
< td class = "colFirst" > < code > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#argumentsToString(Array) > argumentsToString< / a > (< a href = https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html > Array< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > arguments) < / code >
< / th >
< td class = "colLast" > Concatenates arguments into a string adding a space character between two arguments.< / td >
< / tr >
< tr id = "i55" class = "rowColor" >
< td class = "colFirst" > < code > static native int< / code >
< / td >
< th class = "colSecond" scope = "row" > < code > < a href = FFmpegKitConfig.html#messagesInTransmit(long) > messagesInTransmit< / a > (long sessionId) < / code >
< / th >
< td class = "colLast" > Returns the number of native messages that are not transmitted to the Java callbacks forthis session natively.< / td >
< / tr >
< / tbody >
< / table >
< / div >
< ul class = "blockList" >
< li class = "blockList" > < a id = "methods.inherited.from.class.java.lang.Object" >
<!-- -->
< / a >
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait< / code > < / li >
< / ul >
< / li >
< / ul >
< / section >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
< section role = "region" >
< ul class = "blockList" >
< li class = "blockList" > < a id = "method.detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
< a id = "getSessionHistorySize()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSessionHistorySize< / h4 >
< pre class = "methodSignature" > static int < a href = FFmpegKitConfig.html#getSessionHistorySize() > getSessionHistorySize< / a > ()< / pre >
< div class = "block" > < p > Returns the session history size.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setSessionHistorySize(int)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setSessionHistorySize< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setSessionHistorySize(int) > setSessionHistorySize< / a > (int sessionHistorySize)< / pre >
< div class = "block" > < p > Sets the session history size.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > sessionHistorySize< / code > - session history size, should be smaller than 1000< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getAsyncConcurrencyLimit()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getAsyncConcurrencyLimit< / h4 >
< pre class = "methodSignature" > static int < a href = FFmpegKitConfig.html#getAsyncConcurrencyLimit() > getAsyncConcurrencyLimit< / a > ()< / pre >
< div class = "block" > < p > Returns the maximum number of async sessions that will be executed in parallel.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setAsyncConcurrencyLimit(int)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setAsyncConcurrencyLimit< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setAsyncConcurrencyLimit(int) > setAsyncConcurrencyLimit< / a > (int asyncConcurrencyLimit)< / pre >
< div class = "block" > < p > Sets the maximum number of async sessions that will be executed in parallel. If moresessions are submitted those will be queued.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > asyncConcurrencyLimit< / code > - new async concurrency limit< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableRedirection()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableRedirection< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableRedirection() > enableRedirection< / a > ()< / pre >
< div class = "block" > < p > Enables log and statistics redirection.< / p > < p > When redirection is enabled FFmpeg/FFprobe logs are redirected to Logcat and sessionscollect log and statistics entries for the executions. It is possible to define global orsession specific log/statistics callbacks as well.< / p > < p > Note that redirection is enabled by default. If you do not want to use its functionalityplease use < a href = FFmpegKitConfig.html#disableRedirection() > disableRedirection< / a > to disable it.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "disableRedirection()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > disableRedirection< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#disableRedirection() > disableRedirection< / a > ()< / pre >
< div class = "block" > < p > Disables log and statistics redirection.< / p > < p > When redirection is disabled logs are printed to stderr, all logs and statisticscallbacks are disabled and < code > FFprobe< / code > 's < code > getMediaInformation< / code > methodsdo not work.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setFontconfigConfigurationPath(String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setFontconfigConfigurationPath< / h4 >
< pre class = "methodSignature" > static int < a href = FFmpegKitConfig.html#setFontconfigConfigurationPath(String) > setFontconfigConfigurationPath< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > path)< / pre >
< div class = "block" > < p > Sets and overrides < code > fontconfig< / code > configuration directory.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > path< / code > - directory that contains fontconfig configuration (fonts.< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setFontDirectory(Context,String,Map)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setFontDirectory< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setFontDirectory(Context,String,Map) > setFontDirectory< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > fontDirectoryPath, < a href = https://developer.android.com/reference/kotlin/java/util/Map.html > Map< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > , < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontNameMapping)< / pre >
< div class = "block" > < p > Registers the fonts inside the given path, so they become available to use in FFmpegfilters.< / p > < p > Note that you need to build < code > FFmpegKit< / code > with < code > fontconfig< / code > enabled or use a prebuilt package with < code > fontconfig< / code > inside to be able to usefonts in < code > FFmpeg< / code > .< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context to access application data< / dd >
< dd > < code > fontDirectoryPath< / code > - directory that contains fonts (.ttf and .< / dd >
< dd > < code > fontNameMapping< / code > - custom font name mappings, useful to access your fonts with morefriendly names< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setFontDirectoryList(Context,List,Map)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setFontDirectoryList< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setFontDirectoryList(Context,List,Map) > setFontDirectoryList< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontDirectoryList, < a href = https://developer.android.com/reference/kotlin/java/util/Map.html > Map< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > , < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > fontNameMapping)< / pre >
< div class = "block" > < p > Registers the fonts inside the given list of font directories, so they become availableto use in FFmpeg filters.< / p > < p > Note that you need to build < code > FFmpegKit< / code > with < code > fontconfig< / code > enabled or use a prebuilt package with < code > fontconfig< / code > inside to be able to usefonts in < code > FFmpeg< / code > .< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context to access application data< / dd >
< dd > < code > fontDirectoryList< / code > - list of directories that contain fonts (.ttf and .< / dd >
< dd > < code > fontNameMapping< / code > - custom font name mappings, useful to access your fonts with morefriendly names< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "registerNewFFmpegPipe(Context)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > registerNewFFmpegPipe< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#registerNewFFmpegPipe(Context) > registerNewFFmpegPipe< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context)< / pre >
< div class = "block" > < p > Creates a new named pipe to use in < code > FFmpeg< / code > operations.< / p > < p > Please note that creator is responsible of closing created pipes.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "closeFFmpegPipe(String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > closeFFmpegPipe< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#closeFFmpegPipe(String) > closeFFmpegPipe< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > ffmpegPipePath)< / pre >
< div class = "block" > < p > Closes a previously created < code > FFmpeg< / code > pipe.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffmpegPipePath< / code > - full path of the FFmpeg pipe< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSupportedCameraIds(Context)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSupportedCameraIds< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > < a href = FFmpegKitConfig.html#getSupportedCameraIds(Context) > getSupportedCameraIds< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context)< / pre >
< div class = "block" > < p > Returns the list of camera ids supported. These devices can be used in < code > FFmpeg< / code > commands.< / p > < p > Note that this method requires API Level ≥ 24. On older API levels it returns an emptylist.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getFFmpegVersion()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getFFmpegVersion< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getFFmpegVersion() > getFFmpegVersion< / a > ()< / pre >
< div class = "block" > < p > Returns the version of FFmpeg bundled within < code > FFmpegKit< / code > library.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getVersion()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getVersion< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getVersion() > getVersion< / a > ()< / pre >
< div class = "block" > < p > Returns FFmpegKit library version.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "isLTSBuild()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > isLTSBuild< / h4 >
< pre class = "methodSignature" > static boolean < a href = FFmpegKitConfig.html#isLTSBuild() > isLTSBuild< / a > ()< / pre >
< div class = "block" > < p > Returns whether FFmpegKit release is a Long Term Release or not.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getBuildDate()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getBuildDate< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getBuildDate() > getBuildDate< / a > ()< / pre >
< div class = "block" > < p > Returns FFmpegKit library build date.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "printToLogcat(int,String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > printToLogcat< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#printToLogcat(int,String) > printToLogcat< / a > (int logPriority, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > string)< / pre >
< div class = "block" > < p > Prints the given string to Logcat using the given priority. If string provided is biggerthan the Logcat buffer, the string is printed in multiple lines.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > logPriority< / code > - one of < a href = https://developer.android.com/reference/kotlin/android/util/Log.html#verbose > VERBOSE< / a > ,< a href = https://developer.android.com/reference/kotlin/android/util/Log.html#debug > DEBUG< / a > ,< a href = https://developer.android.com/reference/kotlin/android/util/Log.html#info > INFO< / a > ,< a href = https://developer.android.com/reference/kotlin/android/util/Log.html#warn > WARN< / a > ,< a href = https://developer.android.com/reference/kotlin/android/util/Log.html#error > ERROR< / a > ,< a href = https://developer.android.com/reference/kotlin/android/util/Log.html#assert > ASSERT< / a > < / dd >
< dd > < code > string< / code > - string to be printed< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setEnvironmentVariable(String,String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setEnvironmentVariable< / h4 >
< pre class = "methodSignature" > static int < a href = FFmpegKitConfig.html#setEnvironmentVariable(String,String) > setEnvironmentVariable< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > variableName, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > variableValue)< / pre >
< div class = "block" > < p > Sets an environment variable.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > variableName< / code > - environment variable name< / dd >
< dd > < code > variableValue< / code > - environment variable value< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "ignoreSignal(Signal)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > ignoreSignal< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#ignoreSignal(Signal) > ignoreSignal< / a > (< a href = Signal.html > Signal< / a > signal)< / pre >
< div class = "block" > < p > Registers a new ignored signal. Ignored signals are not handled by < code > FFmpegKit< / code > library.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > signal< / code > - signal to be ignored< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "ffmpegExecute(FFmpegSession)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > ffmpegExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#ffmpegExecute(FFmpegSession) > ffmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession)< / pre >
< div class = "block" > < p > Synchronously executes the FFmpeg session provided.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffmpegSession< / code > - FFmpeg session which includes command options/arguments< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "ffprobeExecute(FFprobeSession)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > ffprobeExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#ffprobeExecute(FFprobeSession) > ffprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession)< / pre >
< div class = "block" > < p > Synchronously executes the FFprobe session provided.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffprobeSession< / code > - FFprobe session which includes command options/arguments< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getMediaInformationExecute(MediaInformationSession,int)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getMediaInformationExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#getMediaInformationExecute(MediaInformationSession,int) > getMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, int waitTimeout)< / pre >
< div class = "block" > < p > Synchronously executes the media information session provided.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > mediaInformationSession< / code > - media information session which includes command options/arguments< / dd >
< dd > < code > waitTimeout< / code > - max time to wait until media information is transmitted< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncFFmpegExecute(FFmpegSession)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncFFmpegExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncFFmpegExecute(FFmpegSession) > asyncFFmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession)< / pre >
< div class = "block" > < p > Starts an asynchronous FFmpeg execution for the given session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use an < a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > if you want to be notified about theresult.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffmpegSession< / code > - FFmpeg session which includes command options/arguments< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncFFmpegExecute(FFmpegSession,ExecutorService)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncFFmpegExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncFFmpegExecute(FFmpegSession,ExecutorService) > asyncFFmpegExecute< / a > (< a href = FFmpegSession.html > FFmpegSession< / a > ffmpegSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService)< / pre >
< div class = "block" > < p > Starts an asynchronous FFmpeg execution for the given session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use an < a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > if you want to be notified about theresult.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffmpegSession< / code > - FFmpeg session which includes command options/arguments< / dd >
< dd > < code > executorService< / code > - executor service that will be used to run this asynchronous operation< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncFFprobeExecute(FFprobeSession)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncFFprobeExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncFFprobeExecute(FFprobeSession) > asyncFFprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession)< / pre >
< div class = "block" > < p > Starts an asynchronous FFprobe execution for the given session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use an < a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > if you want to be notified about theresult.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffprobeSession< / code > - FFprobe session which includes command options/arguments< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncFFprobeExecute(FFprobeSession,ExecutorService)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncFFprobeExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncFFprobeExecute(FFprobeSession,ExecutorService) > asyncFFprobeExecute< / a > (< a href = FFprobeSession.html > FFprobeSession< / a > ffprobeSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService)< / pre >
< div class = "block" > < p > Starts an asynchronous FFprobe execution for the given session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use an < a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > if you want to be notified about theresult.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffprobeSession< / code > - FFprobe session which includes command options/arguments< / dd >
< dd > < code > executorService< / code > - executor service that will be used to run this asynchronous operation< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncGetMediaInformationExecute(MediaInformationSession,int)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncGetMediaInformationExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncGetMediaInformationExecute(MediaInformationSession,int) > asyncGetMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, int waitTimeout)< / pre >
< div class = "block" > < p > Starts an asynchronous FFprobe execution for the given media information session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use a < a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > if you want to be notifiedabout the result.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > mediaInformationSession< / code > - media information session which includes commandoptions/arguments< / dd >
< dd > < code > waitTimeout< / code > - max time to wait until media information is transmitted< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "asyncGetMediaInformationExecute(MediaInformationSession,ExecutorService,int)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > asyncGetMediaInformationExecute< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#asyncGetMediaInformationExecute(MediaInformationSession,ExecutorService,int) > asyncGetMediaInformationExecute< / a > (< a href = MediaInformationSession.html > MediaInformationSession< / a > mediaInformationSession, < a href = https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html > ExecutorService< / a > executorService, int waitTimeout)< / pre >
< div class = "block" > < p > Starts an asynchronous FFprobe execution for the given media information session.< / p > < p > Note that this method returns immediately and does not wait the execution to complete.You must use a < a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > if you want to be notifiedabout the result.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > mediaInformationSession< / code > - media information session which includes commandoptions/arguments< / dd >
< dd > < code > executorService< / code > - executor service that will be used to run this asynchronousoperation< / dd >
< dd > < code > waitTimeout< / code > - max time to wait until media information is transmitted< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableLogCallback(LogCallback)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableLogCallback< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableLogCallback(LogCallback) > enableLogCallback< / a > (< a href = LogCallback.html > LogCallback< / a > logCallback)< / pre >
< div class = "block" > < p > Sets a global callback to redirect FFmpeg/FFprobe logs.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > logCallback< / code > - log callback or null to disable a previously defined callback< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableStatisticsCallback(StatisticsCallback)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableStatisticsCallback< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableStatisticsCallback(StatisticsCallback) > enableStatisticsCallback< / a > (< a href = StatisticsCallback.html > StatisticsCallback< / a > statisticsCallback)< / pre >
< div class = "block" > < p > Sets a global callback to redirect FFmpeg statistics.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > statisticsCallback< / code > - statistics callback or null to disable a previouslydefined callback< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableFFmpegSessionCompleteCallback(FFmpegSessionCompleteCallback)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableFFmpegSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableFFmpegSessionCompleteCallback(FFmpegSessionCompleteCallback) > enableFFmpegSessionCompleteCallback< / a > (< a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > ffmpegSessionCompleteCallback)< / pre >
< div class = "block" > < p > Sets a global FFmpegSessionCompleteCallback to receive execution results for FFmpegsessions.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffmpegSessionCompleteCallback< / code > - complete callback or null to disable apreviously defined callback< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getFFmpegSessionCompleteCallback()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getFFmpegSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static < a href = FFmpegSessionCompleteCallback.html > FFmpegSessionCompleteCallback< / a > < a href = FFmpegKitConfig.html#getFFmpegSessionCompleteCallback() > getFFmpegSessionCompleteCallback< / a > ()< / pre >
< div class = "block" > < p > Returns the global FFmpegSessionCompleteCallback set.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableFFprobeSessionCompleteCallback(FFprobeSessionCompleteCallback)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableFFprobeSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableFFprobeSessionCompleteCallback(FFprobeSessionCompleteCallback) > enableFFprobeSessionCompleteCallback< / a > (< a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > ffprobeSessionCompleteCallback)< / pre >
< div class = "block" > < p > Sets a global FFprobeSessionCompleteCallback to receive execution results for FFprobesessions.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > ffprobeSessionCompleteCallback< / code > - complete callback or null to disable apreviously defined callback< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getFFprobeSessionCompleteCallback()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getFFprobeSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static < a href = FFprobeSessionCompleteCallback.html > FFprobeSessionCompleteCallback< / a > < a href = FFmpegKitConfig.html#getFFprobeSessionCompleteCallback() > getFFprobeSessionCompleteCallback< / a > ()< / pre >
< div class = "block" > < p > Returns the global FFprobeSessionCompleteCallback set.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "enableMediaInformationSessionCompleteCallback(MediaInformationSessionCompleteCallback)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > enableMediaInformationSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#enableMediaInformationSessionCompleteCallback(MediaInformationSessionCompleteCallback) > enableMediaInformationSessionCompleteCallback< / a > (< a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > mediaInformationSessionCompleteCallback)< / pre >
< div class = "block" > < p > Sets a global MediaInformationSessionCompleteCallback to receive execution results forMediaInformation sessions.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > mediaInformationSessionCompleteCallback< / code > - complete callback or null to disablea previously defined callback< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getMediaInformationSessionCompleteCallback()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getMediaInformationSessionCompleteCallback< / h4 >
< pre class = "methodSignature" > static < a href = MediaInformationSessionCompleteCallback.html > MediaInformationSessionCompleteCallback< / a > < a href = FFmpegKitConfig.html#getMediaInformationSessionCompleteCallback() > getMediaInformationSessionCompleteCallback< / a > ()< / pre >
< div class = "block" > < p > Returns the global MediaInformationSessionCompleteCallback set.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getLogLevel()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getLogLevel< / h4 >
< pre class = "methodSignature" > static < a href = Level.html > Level< / a > < a href = FFmpegKitConfig.html#getLogLevel() > getLogLevel< / a > ()< / pre >
< div class = "block" > < p > Returns the current log level.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setLogLevel(Level)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setLogLevel< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setLogLevel(Level) > setLogLevel< / a > (< a href = Level.html > Level< / a > level)< / pre >
< div class = "block" > < p > Sets the log level.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > level< / code > - new log level< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSafParameter(Context,Uri,String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSafParameter< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getSafParameter(Context,Uri,String) > getSafParameter< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri, < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > openMode)< / pre >
< div class = "block" > < p > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / p > < p > Requires API Level 19+. On older API levels it returns an empty url.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context< / dd >
< dd > < code > uri< / code > - SAF uri< / dd >
< dd > < code > openMode< / code > - file mode to use as defined in ContentProvider.< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSafParameterForRead(Context,Uri)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSafParameterForRead< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getSafParameterForRead(Context,Uri) > getSafParameterForRead< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri)< / pre >
< div class = "block" > < p > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / p > < p > Requires API Level ≥ 19. On older API levels it returns an empty url.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context< / dd >
< dd > < code > uri< / code > - SAF uri< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSafParameterForWrite(Context,Uri)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSafParameterForWrite< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#getSafParameterForWrite(Context,Uri) > getSafParameterForWrite< / a > (< a href = https://developer.android.com/reference/kotlin/android/content/Context.html > Context< / a > context, < a href = https://developer.android.com/reference/kotlin/android/net/Uri.html > Uri< / a > uri)< / pre >
< div class = "block" > < p > Converts the given Structured Access Framework Uri (< code > "content:…"< / code > ) into anSAF protocol url that can be used in FFmpeg and FFprobe commands.< / p > < p > Requires API Level ≥ 19. On older API levels it returns an empty url.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > context< / code > - application context< / dd >
< dd > < code > uri< / code > - SAF uri< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSession(long)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSession< / h4 >
< pre class = "methodSignature" > static < a href = Session.html > Session< / a > < a href = FFmpegKitConfig.html#getSession(long) > getSession< / a > (long sessionId)< / pre >
< div class = "block" > < p > Returns the session specified with < code > sessionId< / code > from the session history.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > sessionId< / code > - session identifier< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getLastSession()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getLastSession< / h4 >
< pre class = "methodSignature" > static < a href = Session.html > Session< / a > < a href = FFmpegKitConfig.html#getLastSession() > getLastSession< / a > ()< / pre >
< div class = "block" > < p > Returns the last session created from the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getLastCompletedSession()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getLastCompletedSession< / h4 >
< pre class = "methodSignature" > static < a href = Session.html > Session< / a > < a href = FFmpegKitConfig.html#getLastCompletedSession() > getLastCompletedSession< / a > ()< / pre >
< div class = "block" > < p > Returns the last session completed from the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSessions()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSessions< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = Session.html > Session< / a > > < a href = FFmpegKitConfig.html#getSessions() > getSessions< / a > ()< / pre >
< div class = "block" > < p > Returns all sessions in the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "clearSessions()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > clearSessions< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#clearSessions() > clearSessions< / a > ()< / pre >
< div class = "block" > < p > Clears all, including ongoing, sessions in the session history.< / p > < p > Note that callbacks cannot be triggered for deleted sessions.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getFFmpegSessions()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getFFmpegSessions< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = FFmpegSession.html > FFmpegSession< / a > > < a href = FFmpegKitConfig.html#getFFmpegSessions() > getFFmpegSessions< / a > ()< / pre >
< div class = "block" > < p > Returns all FFmpeg sessions in the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getFFprobeSessions()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getFFprobeSessions< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = FFprobeSession.html > FFprobeSession< / a > > < a href = FFmpegKitConfig.html#getFFprobeSessions() > getFFprobeSessions< / a > ()< / pre >
< div class = "block" > < p > Returns all FFprobe sessions in the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getMediaInformationSessions()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getMediaInformationSessions< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = MediaInformationSession.html > MediaInformationSession< / a > > < a href = FFmpegKitConfig.html#getMediaInformationSessions() > getMediaInformationSessions< / a > ()< / pre >
< div class = "block" > < p > Returns all MediaInformation sessions in the session history.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getSessionsByState(SessionState)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getSessionsByState< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/util/List.html > List< / a > < < a href = Session.html > Session< / a > > < a href = FFmpegKitConfig.html#getSessionsByState(SessionState) > getSessionsByState< / a > (< a href = SessionState.html > SessionState< / a > state)< / pre >
< div class = "block" > < p > Returns sessions that have the given state.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - session state< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "getLogRedirectionStrategy()" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > getLogRedirectionStrategy< / h4 >
< pre class = "methodSignature" > static < a href = LogRedirectionStrategy.html > LogRedirectionStrategy< / a > < a href = FFmpegKitConfig.html#getLogRedirectionStrategy() > getLogRedirectionStrategy< / a > ()< / pre >
< div class = "block" > < p > Returns the active log redirection strategy.< / p > < / div >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "setLogRedirectionStrategy(LogRedirectionStrategy)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > setLogRedirectionStrategy< / h4 >
< pre class = "methodSignature" > static void < a href = FFmpegKitConfig.html#setLogRedirectionStrategy(LogRedirectionStrategy) > setLogRedirectionStrategy< / a > (< a href = LogRedirectionStrategy.html > LogRedirectionStrategy< / a > logRedirectionStrategy)< / pre >
< div class = "block" > < p > Sets the log redirection strategy< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > logRedirectionStrategy< / code > - log redirection strategy< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "sessionStateToString(SessionState)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > sessionStateToString< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#sessionStateToString(SessionState) > sessionStateToString< / a > (< a href = SessionState.html > SessionState< / a > state)< / pre >
< div class = "block" > < p > Converts session state to string.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > state< / code > - session state< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "parseArguments(String)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > parseArguments< / h4 >
< pre class = "methodSignature" > static < a href = https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html > Array< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > < a href = FFmpegKitConfig.html#parseArguments(String) > parseArguments< / a > (< a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > command)< / pre >
< div class = "block" > < p > Parses the given command into arguments. Uses space character to split the arguments.Supports single and double quote characters.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > command< / code > - string command< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "argumentsToString(Array)" >
<!-- -->
< / a >
< ul class =
"blockList"
>
< li class = "blockList" >
< h4 > argumentsToString< / h4 >
< pre class = "methodSignature" > static < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > < a href = FFmpegKitConfig.html#argumentsToString(Array) > argumentsToString< / a > (< a href = https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html > Array< / a > < < a href = https://developer.android.com/reference/kotlin/java/lang/String.html > String< / a > > arguments)< / pre >
< div class = "block" > < p > Concatenates arguments into a string adding a space character between two arguments.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > arguments< / code > - arguments< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< a id = "messagesInTransmit(long)" >
<!-- -->
< / a >
< ul class =
"blockListLast"
>
< li class = "blockList" >
< h4 > messagesInTransmit< / h4 >
< pre class = "methodSignature" > static native int < a href = FFmpegKitConfig.html#messagesInTransmit(long) > messagesInTransmit< / a > (long sessionId)< / pre >
< div class = "block" > < p > Returns the number of native messages that are not transmitted to the Java callbacks forthis session natively.< / p > < / div >
< dl >
< dt > < span class = "paramLabel" > Parameters:< / span > < / dt >
< dd > < code > sessionId< / code > - id of the session< / dd >
< / dl >
<!-- TODO missing return annotation -->
< / li >
< / ul >
< / li >
< / ul >
< / section >
< / li >
< / ul >
< / div >
< / div >
2022-09-17 20:29:42 +03:00
< / main >
< footer role = "contentinfo" >
2023-08-22 23:00:49 +03:00
< nav role = "navigation" >
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< div class = "bottomNav" > < a id = "navbar.bottom" >
<!-- -->
< / a >
< div class = "skipNav" > < a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links< / a >
< / div >
< a id = "navbar.bottom.firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../index.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../deprecated.html" > Deprecated< / a > < / li >
< li > < a href = "../../../index-files/index-1.html" > Index< / a > < / li >
< li > Help< / li >
< / ul > < / div >
< a id = "skip.navbar.bottom" >
<!-- -->
< / a >
< div class = "subNav" >
< ul class = "navList" id = "allclasses_navbar_top" style = "display: block;" >
< li > < a href = "../../../allclasses.html" > All Classes< / a > < / li >
2021-03-02 01:25:17 +02:00
< / ul >
< div >
< script type = "text/javascript" > < ! - -
2023-08-22 23:00:49 +03:00
allClassesLink = document.getElementById("allclasses_navbar_top");
2021-03-02 01:25:17 +02:00
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
2022-09-17 20:29:42 +03:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2021-03-02 01:25:17 +02:00
< / div >
2023-08-22 23:00:49 +03:00
< a id = "skip.navbar.top" >
2021-03-02 01:25:17 +02:00
<!-- -->
2023-08-22 23:00:49 +03:00
< / a > < / div > <!-- ======== END OF BOTTOM NAVBAR ======= -->
< / nav >
< / footer > < ul class = "ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id = "ui-id-1" tabindex = "0"
style="display: none;">< / ul >
< span role = "status" aria-live = "assertive" aria-relevant = "additions" class = "ui-helper-hidden-accessible" > < / span >
2021-03-02 01:25:17 +02:00
< / body >
< / html >