<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <title>FFmpegKitConfig (FFmpegKit)</title> <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="FFmpegKitConfig (FFmpegKit)"; } } catch(err) { } //--> var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/arthenica/ffmpegkit/FFmpegKit.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/arthenica/ffmpegkit/FFmpegKitConfig.html" target="_top">Frames</a></li> <li><a href="FFmpegKitConfig.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </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> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.arthenica.ffmpegkit</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>com.arthenica.ffmpegkit.FFmpegKitConfig</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <span class="typeNameLabel">FFmpegKitConfig</span> extends java.lang.Object</pre> <div class="block"><p>Configuration class of <code>FFmpegKit</code> library.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#argumentsToString-java.lang.String:A-">argumentsToString</a></span>(java.lang.String[] arguments)</code> <div class="block">Concatenates arguments into a string adding a space character between two arguments.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-">asyncFFmpegExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession)</code> <div class="block">Asynchronously executes the FFmpeg session provided.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-java.util.concurrent.ExecutorService-">asyncFFmpegExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession, java.util.concurrent.ExecutorService executorService)</code> <div class="block">Asynchronously executes the FFmpeg session provided.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-">asyncFFprobeExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession)</code> <div class="block">Asynchronously executes the FFprobe session provided.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-java.util.concurrent.ExecutorService-">asyncFFprobeExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession, java.util.concurrent.ExecutorService executorService)</code> <div class="block">Asynchronously executes the FFprobe session provided.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-java.util.concurrent.ExecutorService-int-">asyncGetMediaInformationExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, java.util.concurrent.ExecutorService executorService, int waitTimeout)</code> <div class="block">Asynchronously executes the media information session provided.</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-">asyncGetMediaInformationExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, int waitTimeout)</code> <div class="block">Asynchronously executes the media information session provided.</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#clearSessions--">clearSessions</a></span>()</code> <div class="block">Clears all, including ongoing, sessions in the session history.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#closeFFmpegPipe-java.lang.String-">closeFFmpegPipe</a></span>(java.lang.String ffmpegPipePath)</code> <div class="block">Closes a previously created <code>FFmpeg</code> pipe.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#disableRedirection--">disableRedirection</a></span>()</code> <div class="block">Disables log and statistics redirection.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#enableExecuteCallback-com.arthenica.ffmpegkit.ExecuteCallback-">enableExecuteCallback</a></span>(<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a> executeCallback)</code> <div class="block">Sets a global callback function to receive execution results.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#enableLogCallback-com.arthenica.ffmpegkit.LogCallback-">enableLogCallback</a></span>(<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a> logCallback)</code> <div class="block">Sets a global callback function to redirect FFmpeg/FFprobe logs.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#enableRedirection--">enableRedirection</a></span>()</code> <div class="block">Enables log and statistics redirection.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#enableStatisticsCallback-com.arthenica.ffmpegkit.StatisticsCallback-">enableStatisticsCallback</a></span>(<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a> statisticsCallback)</code> <div class="block">Sets a global callback function to redirect FFmpeg statistics.</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#ffmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-">ffmpegExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession)</code> <div class="block">Synchronously executes the FFmpeg session provided.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#ffprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-">ffprobeExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession)</code> <div class="block">Synchronously executes the FFprobe session provided.</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getAsyncConcurrencyLimit--">getAsyncConcurrencyLimit</a></span>()</code> <div class="block">Returns the maximum number of async sessions that will be executed in parallel.</div> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getBuildDate--">getBuildDate</a></span>()</code> <div class="block">Returns FFmpegKit library build date.</div> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getFFmpegVersion--">getFFmpegVersion</a></span>()</code> <div class="block">Returns the version of FFmpeg bundled within <code>FFmpegKit</code> library.</div> </td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getLastCompletedSession--">getLastCompletedSession</a></span>()</code> <div class="block">Returns the last session completed from the session history.</div> </td> </tr> <tr id="i20" class="altColor"> <td class="colFirst"><code>static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getLastSession--">getLastSession</a></span>()</code> <div class="block">Returns the last session created from the session history.</div> </td> </tr> <tr id="i21" class="rowColor"> <td class="colFirst"><code>static <a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getLogLevel--">getLogLevel</a></span>()</code> <div class="block">Returns the current log level.</div> </td> </tr> <tr id="i22" class="altColor"> <td class="colFirst"><code>static <a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getLogRedirectionStrategy--">getLogRedirectionStrategy</a></span>()</code> <div class="block">Returns the active log redirection strategy.</div> </td> </tr> <tr id="i23" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-">getMediaInformationExecute</a></span>(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, int waitTimeout)</code> <div class="block">Synchronously executes the media information session provided.</div> </td> </tr> <tr id="i24" class="altColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSafParameterForRead-android.content.Context-android.net.Uri-">getSafParameterForRead</a></span>(android.content.Context context, android.net.Uri uri)</code> <div class="block">Converts the given Structured Access Framework Uri (<code>"content:…"</code>) into an input url that can be used in FFmpeg and FFprobe commands.</div> </td> </tr> <tr id="i25" class="rowColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSafParameterForWrite-android.content.Context-android.net.Uri-">getSafParameterForWrite</a></span>(android.content.Context context, android.net.Uri uri)</code> <div class="block">Converts the given Structured Access Framework Uri (<code>"content:…"</code>) into an output url that can be used in FFmpeg and FFprobe commands.</div> </td> </tr> <tr id="i26" class="altColor"> <td class="colFirst"><code>static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSession-long-">getSession</a></span>(long sessionId)</code> <div class="block">Returns the session specified with <code>sessionId</code> from the session history.</div> </td> </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSessionHistorySize--">getSessionHistorySize</a></span>()</code> <div class="block">Returns the session history size.</div> </td> </tr> <tr id="i28" class="altColor"> <td class="colFirst"><code>static java.util.List<<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSessions--">getSessions</a></span>()</code> <div class="block">Returns all sessions in the session history.</div> </td> </tr> <tr id="i29" class="rowColor"> <td class="colFirst"><code>static java.util.List<<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSessionsByState-com.arthenica.ffmpegkit.SessionState-">getSessionsByState</a></span>(<a href="../../../com/arthenica/ffmpegkit/SessionState.html" title="enum in com.arthenica.ffmpegkit">SessionState</a> state)</code> <div class="block">Returns sessions that have the given state.</div> </td> </tr> <tr id="i30" class="altColor"> <td class="colFirst"><code>static java.util.List<java.lang.String></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSupportedCameraIds-android.content.Context-">getSupportedCameraIds</a></span>(android.content.Context context)</code> <div class="block">Returns the list of camera ids supported.</div> </td> </tr> <tr id="i31" class="rowColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getVersion--">getVersion</a></span>()</code> <div class="block">Returns FFmpegKit library version.</div> </td> </tr> <tr id="i32" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#ignoreSignal-com.arthenica.ffmpegkit.Signal-">ignoreSignal</a></span>(<a href="../../../com/arthenica/ffmpegkit/Signal.html" title="enum in com.arthenica.ffmpegkit">Signal</a> signal)</code> <div class="block">Registers a new ignored signal.</div> </td> </tr> <tr id="i33" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#isLTSBuild--">isLTSBuild</a></span>()</code> <div class="block">Returns whether FFmpegKit release is a Long Term Release or not.</div> </td> </tr> <tr id="i34" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#messagesInTransmit-long-">messagesInTransmit</a></span>(long sessionId)</code> <div class="block">Returns the number of native messages that are not transmitted to the Java callbacks for this session natively.</div> </td> </tr> <tr id="i35" class="rowColor"> <td class="colFirst"><code>static java.lang.String[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#parseArguments-java.lang.String-">parseArguments</a></span>(java.lang.String command)</code> <div class="block">Parses the given command into arguments.</div> </td> </tr> <tr id="i36" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#printToLogcat-int-java.lang.String-">printToLogcat</a></span>(int logPriority, java.lang.String string)</code> <div class="block">Prints the given string to Logcat using the given priority.</div> </td> </tr> <tr id="i37" class="rowColor"> <td class="colFirst"><code>static java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#registerNewFFmpegPipe-android.content.Context-">registerNewFFmpegPipe</a></span>(android.content.Context context)</code> <div class="block">Creates a new named pipe to use in <code>FFmpeg</code> operations.</div> </td> </tr> <tr id="i38" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setAsyncConcurrencyLimit-int-">setAsyncConcurrencyLimit</a></span>(int asyncConcurrencyLimit)</code> <div class="block">Sets the maximum number of async sessions that will be executed in parallel.</div> </td> </tr> <tr id="i39" class="rowColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setEnvironmentVariable-java.lang.String-java.lang.String-">setEnvironmentVariable</a></span>(java.lang.String variableName, java.lang.String variableValue)</code> <div class="block">Sets an environment variable.</div> </td> </tr> <tr id="i40" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setFontconfigConfigurationPath-java.lang.String-">setFontconfigConfigurationPath</a></span>(java.lang.String path)</code> <div class="block">Sets and overrides <code>fontconfig</code> configuration directory.</div> </td> </tr> <tr id="i41" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setFontDirectory-android.content.Context-java.lang.String-java.util.Map-">setFontDirectory</a></span>(android.content.Context context, java.lang.String fontDirectoryPath, java.util.Map<java.lang.String,java.lang.String> fontNameMapping)</code> <div class="block">Registers the fonts inside the given path, so they become available to use in FFmpeg filters.</div> </td> </tr> <tr id="i42" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setFontDirectoryList-android.content.Context-java.util.List-java.util.Map-">setFontDirectoryList</a></span>(android.content.Context context, java.util.List<java.lang.String> fontDirectoryList, java.util.Map<java.lang.String,java.lang.String> fontNameMapping)</code> <div class="block">Registers the fonts inside the given list of font directories, so they become available to use in FFmpeg filters.</div> </td> </tr> <tr id="i43" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setLogLevel-com.arthenica.ffmpegkit.Level-">setLogLevel</a></span>(<a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a> level)</code> <div class="block">Sets the log level.</div> </td> </tr> <tr id="i44" class="altColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setLogRedirectionStrategy-com.arthenica.ffmpegkit.LogRedirectionStrategy-">setLogRedirectionStrategy</a></span>(<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a> logRedirectionStrategy)</code> <div class="block">Sets the log redirection strategy</div> </td> </tr> <tr id="i45" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setSessionHistorySize-int-">setSessionHistorySize</a></span>(int sessionHistorySize)</code> <div class="block">Sets the session history size.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="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> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="enableRedirection--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enableRedirection</h4> <pre>public static void enableRedirection()</pre> <div class="block"><p>Enables log and statistics redirection. <p>When redirection is enabled FFmpeg/FFprobe logs are redirected to Logcat and sessions collect log and statistics entries for the executions. It is possible to define global or session specific log/statistics callbacks as well. <p>Note that redirection is enabled by default. If you do not want to use its functionality please use <a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#disableRedirection--"><code>disableRedirection()</code></a> to disable it.</div> </li> </ul> <a name="disableRedirection--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>disableRedirection</h4> <pre>public static void disableRedirection()</pre> <div class="block"><p>Disables log and statistics redirection. <p>When redirection is disabled logs are printed to stderr, all logs and statistics callbacks are disabled and <code>FFprobe</code>'s <code>getMediaInformation</code> methods do not work.</div> </li> </ul> <a name="setFontconfigConfigurationPath-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFontconfigConfigurationPath</h4> <pre>public static int setFontconfigConfigurationPath(java.lang.String path)</pre> <div class="block"><p>Sets and overrides <code>fontconfig</code> configuration directory.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>path</code> - directory that contains fontconfig configuration (fonts.conf)</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>zero on success, non-zero on error</dd> </dl> </li> </ul> <a name="setFontDirectory-android.content.Context-java.lang.String-java.util.Map-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFontDirectory</h4> <pre>public static void setFontDirectory(android.content.Context context, java.lang.String fontDirectoryPath, java.util.Map<java.lang.String,java.lang.String> fontNameMapping)</pre> <div class="block"><p>Registers the fonts inside the given path, so they become available to use in FFmpeg filters. <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 use fonts in <code>FFmpeg</code>.</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 .otf files)</dd> <dd><code>fontNameMapping</code> - custom font name mappings, useful to access your fonts with more friendly names</dd> </dl> </li> </ul> <a name="setFontDirectoryList-android.content.Context-java.util.List-java.util.Map-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setFontDirectoryList</h4> <pre>public static void setFontDirectoryList(android.content.Context context, java.util.List<java.lang.String> fontDirectoryList, java.util.Map<java.lang.String,java.lang.String> fontNameMapping)</pre> <div class="block"><p>Registers the fonts inside the given list of font directories, so they become available to use in FFmpeg filters. <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 use fonts in <code>FFmpeg</code>.</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 .otf files)</dd> <dd><code>fontNameMapping</code> - custom font name mappings, useful to access your fonts with more friendly names</dd> </dl> </li> </ul> <a name="registerNewFFmpegPipe-android.content.Context-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>registerNewFFmpegPipe</h4> <pre>public static java.lang.String registerNewFFmpegPipe(android.content.Context context)</pre> <div class="block"><p>Creates a new named pipe to use in <code>FFmpeg</code> operations. <p>Please note that creator is responsible of closing created pipes.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>context</code> - application context</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>the full path of the named pipe</dd> </dl> </li> </ul> <a name="closeFFmpegPipe-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>closeFFmpegPipe</h4> <pre>public static void closeFFmpegPipe(java.lang.String ffmpegPipePath)</pre> <div class="block"><p>Closes a previously created <code>FFmpeg</code> pipe.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ffmpegPipePath</code> - full path of the FFmpeg pipe</dd> </dl> </li> </ul> <a name="getSupportedCameraIds-android.content.Context-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSupportedCameraIds</h4> <pre>public static java.util.List<java.lang.String> getSupportedCameraIds(android.content.Context context)</pre> <div class="block">Returns the list of camera ids supported. These devices can be used in <code>FFmpeg</code> commands. <p>Note that this method requires API Level ≥ 24. On older API levels it returns an empty list.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>context</code> - application context</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>list of camera ids supported or an empty list if no supported cameras are found</dd> </dl> </li> </ul> <a name="getFFmpegVersion--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getFFmpegVersion</h4> <pre>public static java.lang.String getFFmpegVersion()</pre> <div class="block"><p>Returns the version of FFmpeg bundled within <code>FFmpegKit</code> library.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the version of FFmpeg</dd> </dl> </li> </ul> <a name="getVersion--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getVersion</h4> <pre>public static java.lang.String getVersion()</pre> <div class="block"><p>Returns FFmpegKit library version.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>FFmpegKit version</dd> </dl> </li> </ul> <a name="isLTSBuild--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isLTSBuild</h4> <pre>public static boolean isLTSBuild()</pre> <div class="block"><p>Returns whether FFmpegKit release is a Long Term Release or not.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>true/yes or false/no</dd> </dl> </li> </ul> <a name="getBuildDate--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBuildDate</h4> <pre>public static java.lang.String getBuildDate()</pre> <div class="block"><p>Returns FFmpegKit library build date.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>FFmpegKit library build date</dd> </dl> </li> </ul> <a name="printToLogcat-int-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>printToLogcat</h4> <pre>public static void printToLogcat(int logPriority, java.lang.String string)</pre> <div class="block"><p>Prints the given string to Logcat using the given priority. If string provided is bigger than the Logcat buffer, the string is printed in multiple lines.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>logPriority</code> - one of <code>Log.VERBOSE</code>, <code>Log.DEBUG</code>, <code>Log.INFO</code>, <code>Log.WARN</code>, <code>Log.ERROR</code>, <code>Log.ASSERT</code></dd> <dd><code>string</code> - string to be printed</dd> </dl> </li> </ul> <a name="setEnvironmentVariable-java.lang.String-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setEnvironmentVariable</h4> <pre>public static int setEnvironmentVariable(java.lang.String variableName, java.lang.String variableValue)</pre> <div class="block"><p>Sets an environment variable.</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> <dt><span class="returnLabel">Returns:</span></dt> <dd>zero on success, non-zero on error</dd> </dl> </li> </ul> <a name="ignoreSignal-com.arthenica.ffmpegkit.Signal-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ignoreSignal</h4> <pre>public static void ignoreSignal(<a href="../../../com/arthenica/ffmpegkit/Signal.html" title="enum in com.arthenica.ffmpegkit">Signal</a> signal)</pre> <div class="block"><p>Registers a new ignored signal. Ignored signals are not handled by <code>FFmpegKit</code> library.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>signal</code> - signal to be ignored</dd> </dl> </li> </ul> <a name="ffmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ffmpegExecute</h4> <pre>public static void ffmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession)</pre> <div class="block"><p>Synchronously executes the FFmpeg session provided.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ffmpegSession</code> - FFmpeg session which includes command options/arguments</dd> </dl> </li> </ul> <a name="ffprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ffprobeExecute</h4> <pre>public static void ffprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession)</pre> <div class="block"><p>Synchronously executes the FFprobe session provided.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ffprobeSession</code> - FFprobe session which includes command options/arguments</dd> </dl> </li> </ul> <a name="getMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMediaInformationExecute</h4> <pre>public static void getMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, int waitTimeout)</pre> <div class="block"><p>Synchronously executes the media information session provided.</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> </li> </ul> <a name="asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncFFmpegExecute</h4> <pre>public static void asyncFFmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession)</pre> <div class="block"><p>Asynchronously executes the FFmpeg session provided.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ffmpegSession</code> - FFmpeg session which includes command options/arguments</dd> </dl> </li> </ul> <a name="asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-java.util.concurrent.ExecutorService-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncFFmpegExecute</h4> <pre>public static void asyncFFmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a> ffmpegSession, java.util.concurrent.ExecutorService executorService)</pre> <div class="block"><p>Asynchronously executes the FFmpeg session provided.</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> </li> </ul> <a name="asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncFFprobeExecute</h4> <pre>public static void asyncFFprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession)</pre> <div class="block"><p>Asynchronously executes the FFprobe session provided.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ffprobeSession</code> - FFprobe session which includes command options/arguments</dd> </dl> </li> </ul> <a name="asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-java.util.concurrent.ExecutorService-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncFFprobeExecute</h4> <pre>public static void asyncFFprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a> ffprobeSession, java.util.concurrent.ExecutorService executorService)</pre> <div class="block"><p>Asynchronously executes the FFprobe session provided.</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> </li> </ul> <a name="asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncGetMediaInformationExecute</h4> <pre>public static void asyncGetMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, int waitTimeout)</pre> <div class="block"><p>Asynchronously executes the media information session provided.</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> </li> </ul> <a name="asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-java.util.concurrent.ExecutorService-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asyncGetMediaInformationExecute</h4> <pre>public static void asyncGetMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a> mediaInformationSession, java.util.concurrent.ExecutorService executorService, int waitTimeout)</pre> <div class="block"><p>Asynchronously executes the media information session provided.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>mediaInformationSession</code> - media information session which includes command options/arguments</dd> <dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd> <dd><code>waitTimeout</code> - max time to wait until media information is transmitted</dd> </dl> </li> </ul> <a name="getAsyncConcurrencyLimit--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getAsyncConcurrencyLimit</h4> <pre>public static int getAsyncConcurrencyLimit()</pre> <div class="block">Returns the maximum number of async sessions that will be executed in parallel.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>maximum number of async sessions that will be executed in parallel</dd> </dl> </li> </ul> <a name="setAsyncConcurrencyLimit-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setAsyncConcurrencyLimit</h4> <pre>public static void setAsyncConcurrencyLimit(int asyncConcurrencyLimit)</pre> <div class="block">Sets the maximum number of async sessions that will be executed in parallel. If more sessions are submitted those will be queued.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>asyncConcurrencyLimit</code> - new async concurrency limit</dd> </dl> </li> </ul> <a name="enableLogCallback-com.arthenica.ffmpegkit.LogCallback-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enableLogCallback</h4> <pre>public static void enableLogCallback(<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a> logCallback)</pre> <div class="block"><p>Sets a global callback function to redirect FFmpeg/FFprobe logs.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>logCallback</code> - log callback function or null to disable a previously defined callback</dd> </dl> </li> </ul> <a name="enableStatisticsCallback-com.arthenica.ffmpegkit.StatisticsCallback-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enableStatisticsCallback</h4> <pre>public static void enableStatisticsCallback(<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a> statisticsCallback)</pre> <div class="block"><p>Sets a global callback function to redirect FFmpeg statistics.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>statisticsCallback</code> - statistics callback function or null to disable a previously defined callback</dd> </dl> </li> </ul> <a name="enableExecuteCallback-com.arthenica.ffmpegkit.ExecuteCallback-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enableExecuteCallback</h4> <pre>public static void enableExecuteCallback(<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a> executeCallback)</pre> <div class="block"><p>Sets a global callback function to receive execution results.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>executeCallback</code> - execute callback function or null to disable a previously defined callback</dd> </dl> </li> </ul> <a name="getLogLevel--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLogLevel</h4> <pre>public static <a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a> getLogLevel()</pre> <div class="block">Returns the current log level.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>current log level</dd> </dl> </li> </ul> <a name="setLogLevel-com.arthenica.ffmpegkit.Level-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setLogLevel</h4> <pre>public static void setLogLevel(<a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a> level)</pre> <div class="block">Sets the log level.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>level</code> - new log level</dd> </dl> </li> </ul> <a name="getSafParameterForRead-android.content.Context-android.net.Uri-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSafParameterForRead</h4> <pre>public static java.lang.String getSafParameterForRead(android.content.Context context, android.net.Uri uri)</pre> <div class="block"><p>Converts the given Structured Access Framework Uri (<code>"content:…"</code>) into an input url that can be used in FFmpeg and FFprobe commands. <p>Requires API Level ≥ 19. On older API levels it returns an empty url.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>context</code> - application context</dd> <dd><code>uri</code> - saf uri</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>input url that can be passed to FFmpegKit or FFprobeKit</dd> </dl> </li> </ul> <a name="getSafParameterForWrite-android.content.Context-android.net.Uri-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSafParameterForWrite</h4> <pre>public static java.lang.String getSafParameterForWrite(android.content.Context context, android.net.Uri uri)</pre> <div class="block"><p>Converts the given Structured Access Framework Uri (<code>"content:…"</code>) into an output url that can be used in FFmpeg and FFprobe commands. <p>Requires API Level ≥ 19. On older API levels it returns an empty url.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>context</code> - application context</dd> <dd><code>uri</code> - saf uri</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>output url that can be passed to FFmpegKit or FFprobeKit</dd> </dl> </li> </ul> <a name="getSessionHistorySize--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSessionHistorySize</h4> <pre>public static int getSessionHistorySize()</pre> <div class="block">Returns the session history size.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>session history size</dd> </dl> </li> </ul> <a name="setSessionHistorySize-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setSessionHistorySize</h4> <pre>public static void setSessionHistorySize(int sessionHistorySize)</pre> <div class="block">Sets the session history size.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>sessionHistorySize</code> - session history size, should be smaller than 1000</dd> </dl> </li> </ul> <a name="getSession-long-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSession</h4> <pre>public static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a> getSession(long sessionId)</pre> <div class="block">Returns the session specified with <code>sessionId</code> from the session history.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>sessionId</code> - session identifier</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>session specified with sessionId or null if it is not found in the history</dd> </dl> </li> </ul> <a name="getLastSession--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLastSession</h4> <pre>public static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a> getLastSession()</pre> <div class="block">Returns the last session created from the session history.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the last session created or null if session history is empty</dd> </dl> </li> </ul> <a name="getLastCompletedSession--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLastCompletedSession</h4> <pre>public static <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a> getLastCompletedSession()</pre> <div class="block">Returns the last session completed from the session history.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>the last session completed. If there are no completed sessions in the history this method will return null</dd> </dl> </li> </ul> <a name="getSessions--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSessions</h4> <pre>public static java.util.List<<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>> getSessions()</pre> <div class="block"><p>Returns all sessions in the session history.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>all sessions in the session history</dd> </dl> </li> </ul> <a name="clearSessions--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>clearSessions</h4> <pre>public static void clearSessions()</pre> <div class="block"><p>Clears all, including ongoing, sessions in the session history. <p>Note that callbacks cannot be triggered for deleted sessions.</div> </li> </ul> <a name="getSessionsByState-com.arthenica.ffmpegkit.SessionState-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getSessionsByState</h4> <pre>public static java.util.List<<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>> getSessionsByState(<a href="../../../com/arthenica/ffmpegkit/SessionState.html" title="enum in com.arthenica.ffmpegkit">SessionState</a> state)</pre> <div class="block"><p>Returns sessions that have the given state.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>state</code> - session state</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>sessions that have the given state from the session history</dd> </dl> </li> </ul> <a name="getLogRedirectionStrategy--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLogRedirectionStrategy</h4> <pre>public static <a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a> getLogRedirectionStrategy()</pre> <div class="block">Returns the active log redirection strategy.</div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>log redirection strategy</dd> </dl> </li> </ul> <a name="setLogRedirectionStrategy-com.arthenica.ffmpegkit.LogRedirectionStrategy-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setLogRedirectionStrategy</h4> <pre>public static void setLogRedirectionStrategy(<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a> logRedirectionStrategy)</pre> <div class="block"><p>Sets the log redirection strategy</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>logRedirectionStrategy</code> - log redirection strategy</dd> </dl> </li> </ul> <a name="parseArguments-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>parseArguments</h4> <pre>public static java.lang.String[] parseArguments(java.lang.String 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.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>command</code> - string command</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>array of arguments</dd> </dl> </li> </ul> <a name="argumentsToString-java.lang.String:A-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>argumentsToString</h4> <pre>public static java.lang.String argumentsToString(java.lang.String[] arguments)</pre> <div class="block"><p>Concatenates arguments into a string adding a space character between two arguments.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>arguments</code> - arguments</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>concatenated string containing all arguments</dd> </dl> </li> </ul> <a name="messagesInTransmit-long-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>messagesInTransmit</h4> <pre>public static int messagesInTransmit(long sessionId)</pre> <div class="block"><p>Returns the number of native messages that are not transmitted to the Java callbacks for this session natively.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>sessionId</code> - id of the session</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>number of native messages that are not transmitted to the Java callbacks for this session natively</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../index-all.html">Index</a></li> <li><a href="../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../com/arthenica/ffmpegkit/FFmpegKit.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../index.html?com/arthenica/ffmpegkit/FFmpegKitConfig.html" target="_top">Frames</a></li> <li><a href="FFmpegKitConfig.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>