ffmpeg-kit/docs/android/javadoc/com/arthenica/ffmpegkit/FFmpegKitConfig.html

1249 lines
58 KiB
HTML
Raw Normal View History

2021-09-18 15:20:11 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2021-03-02 01:25:17 +02:00
<!-- 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) {
}
//-->
2021-09-18 15:20:11 +03:00
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};
2021-03-02 01:25:17 +02:00
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";
2021-09-18 15:20:11 +03:00
</script>
2021-03-02 01:25:17 +02:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
2021-09-18 15:20:11 +03:00
<div class="topNav"><a name="navbar.top">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
2021-09-18 15:20:11 +03:00
<a name="navbar.top.firstrow">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2021-09-18 15:20:11 +03:00
<li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li>
2021-03-02 01:25:17 +02:00
<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">
2021-09-18 15:20:11 +03:00
<ul class="navList">
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegKit.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2021-03-02 01:25:17 +02:00
</ul>
2021-09-18 15:20:11 +03:00
<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&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2021-09-18 15:20:11 +03:00
<a name="skip.navbar.top">
2021-03-02 01:25:17 +02:00
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
2021-09-18 15:20:11 +03:00
<div class="subTitle">com.arthenica.ffmpegkit</div>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<br>
2021-03-02 01:25:17 +02:00
<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">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="method.summary">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Method Summary</h3>
2021-09-18 15:20:11 +03:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
2021-03-02 01:25:17 +02:00
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2021-09-18 15:20:11 +03:00
<th class="colLast" scope="col">Method and Description</th>
2021-03-02 01:25:17 +02:00
</tr>
<tr id="i0" class="altColor">
2021-09-18 15:20:11 +03:00
<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[]&nbsp;arguments)</code>
<div class="block">Concatenates arguments into a string adding a space character between two arguments.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;ffmpegSession)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<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>&nbsp;ffmpegSession,
java.util.concurrent.ExecutorService&nbsp;executorService)</code>
<div class="block">Asynchronously executes the FFmpeg session provided.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;ffprobeSession)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<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>&nbsp;ffprobeSession,
java.util.concurrent.ExecutorService&nbsp;executorService)</code>
<div class="block">Asynchronously executes the FFprobe session provided.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;mediaInformationSession,
2021-03-02 01:25:17 +02:00
java.util.concurrent.ExecutorService&nbsp;executorService,
2021-09-18 15:20:11 +03:00
int&nbsp;waitTimeout)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<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>&nbsp;mediaInformationSession,
int&nbsp;waitTimeout)</code>
<div class="block">Asynchronously executes the media information session provided.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#closeFFmpegPipe-java.lang.String-">closeFFmpegPipe</a></span>(java.lang.String&nbsp;ffmpegPipePath)</code>
<div class="block">Closes a previously created <code>FFmpeg</code> pipe.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;executeCallback)</code>
<div class="block">Sets a global callback function to receive execution results.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;logCallback)</code>
<div class="block">Sets a global callback function to redirect FFmpeg/FFprobe logs.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;statisticsCallback)</code>
<div class="block">Sets a global callback function to redirect FFmpeg statistics.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
<tr id="i14" class="altColor">
2021-09-18 15:20:11 +03:00
<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>&nbsp;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>&nbsp;ffprobeSession)</code>
<div class="block">Synchronously executes the FFprobe session provided.</div>
</td>
</tr>
<tr id="i16" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static int</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getAsyncConcurrencyLimit--">getAsyncConcurrencyLimit</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the maximum number of async sessions that will be executed in parallel.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i17" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getBuildDate--">getBuildDate</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns FFmpegKit library build date.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i18" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getFFmpegVersion--">getFFmpegVersion</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the version of FFmpeg bundled within <code>FFmpegKit</code> library.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the last session completed from the session history.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the last session created from the session history.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the current log level.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the active log redirection strategy.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i23" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;mediaInformationSession,
int&nbsp;waitTimeout)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Synchronously executes the media information session provided.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i24" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<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&nbsp;context,
android.net.Uri&nbsp;uri)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<tr id="i25" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<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&nbsp;context,
android.net.Uri&nbsp;uri)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<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&nbsp;sessionId)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the session specified with <code>sessionId</code> from the session history.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i27" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static int</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSessionHistorySize--">getSessionHistorySize</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the session history size.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i28" class="altColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSessions--">getSessions</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns all sessions in the session history.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&gt;</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>&nbsp;state)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns sessions that have the given state.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i30" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.util.List&lt;java.lang.String&gt;</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getSupportedCameraIds-android.content.Context-">getSupportedCameraIds</a></span>(android.content.Context&nbsp;context)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the list of camera ids supported.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i31" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#getVersion--">getVersion</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns FFmpegKit library version.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i32" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;signal)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Registers a new ignored signal.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i33" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static boolean</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#isLTSBuild--">isLTSBuild</a></span>()</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns whether FFmpegKit release is a Long Term Release or not.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i34" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static int</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#messagesInTransmit-long-">messagesInTransmit</a></span>(long&nbsp;sessionId)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the number of native messages that are not transmitted to the Java callbacks for
this session natively.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<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&nbsp;command)</code>
<div class="block">Parses the given command into arguments.</div>
</td>
</tr>
<tr id="i36" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#printToLogcat-int-java.lang.String-">printToLogcat</a></span>(int&nbsp;logPriority,
java.lang.String&nbsp;string)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Prints the given string to Logcat using the given priority.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i37" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static java.lang.String</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#registerNewFFmpegPipe-android.content.Context-">registerNewFFmpegPipe</a></span>(android.content.Context&nbsp;context)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Creates a new named pipe to use in <code>FFmpeg</code> operations.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i38" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setAsyncConcurrencyLimit-int-">setAsyncConcurrencyLimit</a></span>(int&nbsp;asyncConcurrencyLimit)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets the maximum number of async sessions that will be executed in parallel.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i39" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static int</code></td>
2021-09-18 15:20:11 +03:00
<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&nbsp;variableName,
java.lang.String&nbsp;variableValue)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets an environment variable.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i40" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static int</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setFontconfigConfigurationPath-java.lang.String-">setFontconfigConfigurationPath</a></span>(java.lang.String&nbsp;path)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets and overrides <code>fontconfig</code> configuration directory.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i41" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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&nbsp;context,
2021-03-02 01:25:17 +02:00
java.lang.String&nbsp;fontDirectoryPath,
2021-09-18 15:20:11 +03:00
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;fontNameMapping)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Registers the fonts inside the given path, so they become available to use in FFmpeg
filters.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i42" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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&nbsp;context,
2021-03-02 01:25:17 +02:00
java.util.List&lt;java.lang.String&gt;&nbsp;fontDirectoryList,
2021-09-18 15:20:11 +03:00
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;fontNameMapping)</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<tr id="i43" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;level)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets the log level.</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i44" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<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>&nbsp;logRedirectionStrategy)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets the log redirection strategy</div>
</td>
</tr>
2021-09-18 15:20:11 +03:00
<tr id="i45" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>static void</code></td>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#setSessionHistorySize-int-">setSessionHistorySize</a></span>(int&nbsp;sessionHistorySize)</code>
2021-03-02 01:25:17 +02:00
<div class="block">Sets the session history size.</div>
</td>
</tr>
</table>
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="method.detail">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Method Detail</h3>
2021-09-18 15:20:11 +03:00
<a name="enableRedirection--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableRedirection</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;enableRedirection()</pre>
2021-03-02 01:25:17 +02:00
<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
2021-09-18 15:20:11 +03:00
please use <a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html#disableRedirection--"><code>disableRedirection()</code></a> to disable it.</div>
2021-03-02 01:25:17 +02:00
</li>
</ul>
2021-09-18 15:20:11 +03:00
<a name="disableRedirection--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>disableRedirection</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;disableRedirection()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setFontconfigConfigurationPath-java.lang.String-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontconfigConfigurationPath</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;int&nbsp;setFontconfigConfigurationPath(java.lang.String&nbsp;path)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setFontDirectory-android.content.Context-java.lang.String-java.util.Map-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontDirectory</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setFontDirectory(android.content.Context&nbsp;context,
2021-03-02 01:25:17 +02:00
java.lang.String&nbsp;fontDirectoryPath,
2021-09-18 15:20:11 +03:00
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;fontNameMapping)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setFontDirectoryList-android.content.Context-java.util.List-java.util.Map-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFontDirectoryList</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setFontDirectoryList(android.content.Context&nbsp;context,
2021-03-02 01:25:17 +02:00
java.util.List&lt;java.lang.String&gt;&nbsp;fontDirectoryList,
2021-09-18 15:20:11 +03:00
java.util.Map&lt;java.lang.String,java.lang.String&gt;&nbsp;fontNameMapping)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="registerNewFFmpegPipe-android.content.Context-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>registerNewFFmpegPipe</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;registerNewFFmpegPipe(android.content.Context&nbsp;context)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="closeFFmpegPipe-java.lang.String-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeFFmpegPipe</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;closeFFmpegPipe(java.lang.String&nbsp;ffmpegPipePath)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getSupportedCameraIds-android.content.Context-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSupportedCameraIds</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.util.List&lt;java.lang.String&gt;&nbsp;getSupportedCameraIds(android.content.Context&nbsp;context)</pre>
2021-03-02 01:25:17 +02:00
<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 &ge; 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>
2021-09-18 15:20:11 +03:00
<a name="getFFmpegVersion--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFFmpegVersion</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;getFFmpegVersion()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getVersion--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getVersion</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;getVersion()</pre>
2021-03-02 01:25:17 +02:00
<div class="block"><p>Returns FFmpegKit library version.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>FFmpegKit version</dd>
</dl>
</li>
</ul>
2021-09-18 15:20:11 +03:00
<a name="isLTSBuild--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLTSBuild</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;boolean&nbsp;isLTSBuild()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getBuildDate--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBuildDate</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;getBuildDate()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="printToLogcat-int-java.lang.String-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printToLogcat</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;printToLogcat(int&nbsp;logPriority,
2021-03-02 01:25:17 +02:00
java.lang.String&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="setEnvironmentVariable-java.lang.String-java.lang.String-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEnvironmentVariable</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;int&nbsp;setEnvironmentVariable(java.lang.String&nbsp;variableName,
2021-03-02 01:25:17 +02:00
java.lang.String&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="ignoreSignal-com.arthenica.ffmpegkit.Signal-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ignoreSignal</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;ignoreSignal(<a href="../../../com/arthenica/ffmpegkit/Signal.html" title="enum in com.arthenica.ffmpegkit">Signal</a>&nbsp;signal)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="ffmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ffmpegExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;ffmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;ffmpegSession)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="ffprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ffprobeExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;ffprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a>&nbsp;ffprobeSession)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMediaInformationExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;getMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a>&nbsp;mediaInformationSession,
2021-03-02 01:25:17 +02:00
int&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncFFmpegExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncFFmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;ffmpegSession)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="asyncFFmpegExecute-com.arthenica.ffmpegkit.FFmpegSession-java.util.concurrent.ExecutorService-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncFFmpegExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncFFmpegExecute(<a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;ffmpegSession,
2021-03-02 01:25:17 +02:00
java.util.concurrent.ExecutorService&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncFFprobeExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncFFprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a>&nbsp;ffprobeSession)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="asyncFFprobeExecute-com.arthenica.ffmpegkit.FFprobeSession-java.util.concurrent.ExecutorService-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncFFprobeExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncFFprobeExecute(<a href="../../../com/arthenica/ffmpegkit/FFprobeSession.html" title="class in com.arthenica.ffmpegkit">FFprobeSession</a>&nbsp;ffprobeSession,
2021-03-02 01:25:17 +02:00
java.util.concurrent.ExecutorService&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncGetMediaInformationExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncGetMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a>&nbsp;mediaInformationSession,
2021-03-02 01:25:17 +02:00
int&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="asyncGetMediaInformationExecute-com.arthenica.ffmpegkit.MediaInformationSession-java.util.concurrent.ExecutorService-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>asyncGetMediaInformationExecute</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;asyncGetMediaInformationExecute(<a href="../../../com/arthenica/ffmpegkit/MediaInformationSession.html" title="class in com.arthenica.ffmpegkit">MediaInformationSession</a>&nbsp;mediaInformationSession,
2021-03-02 01:25:17 +02:00
java.util.concurrent.ExecutorService&nbsp;executorService,
int&nbsp;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>
2021-09-18 15:20:11 +03:00
<a name="getAsyncConcurrencyLimit--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAsyncConcurrencyLimit</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;int&nbsp;getAsyncConcurrencyLimit()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setAsyncConcurrencyLimit-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAsyncConcurrencyLimit</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setAsyncConcurrencyLimit(int&nbsp;asyncConcurrencyLimit)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="enableLogCallback-com.arthenica.ffmpegkit.LogCallback-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableLogCallback</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;enableLogCallback(<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="enableStatisticsCallback-com.arthenica.ffmpegkit.StatisticsCallback-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableStatisticsCallback</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;enableStatisticsCallback(<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="enableExecuteCallback-com.arthenica.ffmpegkit.ExecuteCallback-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enableExecuteCallback</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;enableExecuteCallback(<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getLogLevel--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogLevel</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;<a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a>&nbsp;getLogLevel()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setLogLevel-com.arthenica.ffmpegkit.Level-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogLevel</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setLogLevel(<a href="../../../com/arthenica/ffmpegkit/Level.html" title="enum in com.arthenica.ffmpegkit">Level</a>&nbsp;level)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getSafParameterForRead-android.content.Context-android.net.Uri-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSafParameterForRead</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;getSafParameterForRead(android.content.Context&nbsp;context,
2021-03-02 01:25:17 +02:00
android.net.Uri&nbsp;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 &ge; 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>
2021-09-18 15:20:11 +03:00
<a name="getSafParameterForWrite-android.content.Context-android.net.Uri-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSafParameterForWrite</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.lang.String&nbsp;getSafParameterForWrite(android.content.Context&nbsp;context,
2021-03-02 01:25:17 +02:00
android.net.Uri&nbsp;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 &ge; 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>
2021-09-18 15:20:11 +03:00
<a name="getSessionHistorySize--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionHistorySize</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;int&nbsp;getSessionHistorySize()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setSessionHistorySize-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSessionHistorySize</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setSessionHistorySize(int&nbsp;sessionHistorySize)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getSession-long-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSession</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&nbsp;getSession(long&nbsp;sessionId)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getLastSession--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastSession</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&nbsp;getLastSession()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getLastCompletedSession--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastCompletedSession</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&nbsp;getLastCompletedSession()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getSessions--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessions</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&gt;&nbsp;getSessions()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="clearSessions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearSessions</h4>
<pre>public static&nbsp;void&nbsp;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-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSessionsByState</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a>&gt;&nbsp;getSessionsByState(<a href="../../../com/arthenica/ffmpegkit/SessionState.html" title="enum in com.arthenica.ffmpegkit">SessionState</a>&nbsp;state)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getLogRedirectionStrategy--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogRedirectionStrategy</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a>&nbsp;getLogRedirectionStrategy()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="setLogRedirectionStrategy-com.arthenica.ffmpegkit.LogRedirectionStrategy-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLogRedirectionStrategy</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;void&nbsp;setLogRedirectionStrategy(<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a>&nbsp;logRedirectionStrategy)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="parseArguments-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseArguments</h4>
<pre>public static&nbsp;java.lang.String[]&nbsp;parseArguments(java.lang.String&nbsp;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&nbsp;java.lang.String&nbsp;argumentsToString(java.lang.String[]&nbsp;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-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>messagesInTransmit</h4>
2021-09-18 15:20:11 +03:00
<pre>public static&nbsp;int&nbsp;messagesInTransmit(long&nbsp;sessionId)</pre>
2021-03-02 01:25:17 +02:00
<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 ====== -->
2021-09-18 15:20:11 +03:00
<div class="bottomNav"><a name="navbar.bottom">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2021-09-18 15:20:11 +03:00
<a name="navbar.bottom.firstrow">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2021-09-18 15:20:11 +03:00
<li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li>
2021-03-02 01:25:17 +02:00
<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">
2021-09-18 15:20:11 +03:00
<ul class="navList">
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegKit.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Next&nbsp;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&nbsp;Frames</a></li>
</ul>
2021-03-02 01:25:17 +02:00
<ul class="navList" id="allclasses_navbar_bottom">
2021-09-18 15:20:11 +03:00
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2021-03-02 01:25:17 +02:00
</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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2021-09-18 15:20:11 +03:00
<a name="skip.navbar.bottom">
2021-03-02 01:25:17 +02:00
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>