ffmpeg-kit/docs/android/javadoc/com/arthenica/ffmpegkit/FFprobeKit.html
2023-08-22 23:45:47 +03:00

993 lines
77 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
<title>FFprobeKit </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-03-25">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../dokka-javadoc-stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
<script type="text/javascript" src="../../../search.js"></script>
<script async type="text/javascript" src="../../../module-search-index.js"></script>
<script async type="text/javascript" src="../../../package-search-index.js"></script>
<script async type="text/javascript" src="../../../type-search-index.js"></script>
<script async type="text/javascript" src="../../../member-search-index.js"></script>
<script async type="text/javascript" src="../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
</div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li>Help</li>
</ul></div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
<h2 title="Class FFprobeKit" class="title">Class FFprobeKit</h2>
</div>
<div class="contentContainer">
<!-- <ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>adaptation.Adaptation</li>
</ul>
</li>
</ul> TODO inheritance tree -->
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre class="wrap-overflow">
public class <span class="typeNameLabel"><a href=FFprobeKit.html>FFprobeKit</a></span>
</pre>
<div class="block"><p>Main class to run <code>FFprobe</code> commands. Supports executing commands both synchronously and asynchronously. </p><pre><code>FFprobeSession session = FFprobeKit.execute("-hide_banner -v error -show_entries format=size -of default=noprint_wrappers=1 file1.mp4");
FFprobeSession asyncSession = FFprobeKit.executeAsync("-hide_banner -v error -show_entries format=size -of default=noprint_wrappers=1 file1.mp4", completeCallback);
</code></pre><p>Provides overloaded <code>execute</code> methods to define session specific callbacks. </p><pre><code>FFprobeSession session = FFprobeKit.executeAsync("-hide_banner -v error -show_entries format=size -of default=noprint_wrappers=1 file1.mp4", completeCallback, logCallback);
</code></pre><p>It can extract media information for a file or a url, using <a href=FFprobeKit.html#getMediaInformation(String)>getMediaInformation</a> method. </p><pre><code>MediaInformationSession session = FFprobeKit.getMediaInformation("file1.mp4");
</code></pre></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal">
<button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
<!-- TODO: Instance and Concrete Methods #1118 -->
</div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeWithArguments(Array)>executeWithArguments</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments) </code>
</th>
<td class="colLast">Synchronously executes FFprobe with arguments provided.</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution with arguments provided.</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution with arguments provided.</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,ExecutorService)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution with arguments provided.</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution with arguments provided.</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#execute(String)>execute</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command) </code>
</th>
<td class="colLast">Synchronously executes FFprobe command provided.</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution for the given command.</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,LogCallback)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution for the given command.</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,ExecutorService)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution for the given command.</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href=FFprobeSession.html>FFprobeSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution for the given command.</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformation(String)>getMediaInformation</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path) </code>
</th>
<td class="colLast">Extracts media information for the file specified with path.</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformation(String,int)>getMediaInformation</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, int waitTimeout) </code>
</th>
<td class="colLast">Extracts media information for the file specified with path.</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, int waitTimeout) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,ExecutorService)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,ExecutorService,int)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService, int waitTimeout) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationFromCommand(String)>getMediaInformationFromCommand</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command) </code>
</th>
<td class="colLast">Extracts media information using the command provided.</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href=MediaInformationSession.html>MediaInformationSession</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#getMediaInformationFromCommandAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)>getMediaInformationFromCommandAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, int waitTimeout) </code>
</th>
<td class="colLast">Starts an asynchronous FFprobe execution to extract media information using a command.The command passed to this method must generate the output in JSON format in order tosuccessfully extract media information from it.</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=FFprobeSession.html>FFprobeSession</a>&gt;</code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#listFFprobeSessions()>listFFprobeSessions</a>() </code>
</th>
<td class="colLast">Lists all FFprobe sessions in the session history.</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=MediaInformationSession.html>MediaInformationSession</a>&gt;</code>
</td>
<th class="colSecond" scope="row"><code><a href=FFprobeKit.html#listMediaInformationSessions()>listMediaInformationSessions</a>() </code>
</th>
<td class="colLast">Lists all MediaInformation sessions in the session history.</td>
</tr>
</tbody>
</table>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="executeWithArguments(Array)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeWithArguments</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeWithArguments(Array)>executeWithArguments</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments)</pre>
<div class="block"><p>Synchronously executes FFprobe with arguments provided.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - FFprobe command options/arguments as string array</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeWithArgumentsAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution with arguments provided.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - FFprobe command options/arguments as string array</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeWithArgumentsAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution with arguments provided.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - FFprobe command options/arguments as string array</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,ExecutorService)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeWithArgumentsAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,ExecutorService)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution with arguments provided.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - FFprobe command options/arguments as string array</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
<dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeWithArgumentsAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeWithArgumentsAsync(Array,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)>executeWithArgumentsAsync</a>(<a href=https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html>Array</a>&lt;<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a>&gt; arguments, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution with arguments provided.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - FFprobe command options/arguments as string array</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
<dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="execute(String)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>execute</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#execute(String)>execute</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command)</pre>
<div class="block"><p>Synchronously executes FFprobe command provided. Space character is used to split commandinto arguments. You can use single or double quote characters to specify arguments insideyour command.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeAsync(String,FFprobeSessionCompleteCallback)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution for the given command. Space character is usedto split the command into arguments. You can use single or double quote characters tospecify arguments inside your command.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeAsync(String,FFprobeSessionCompleteCallback,LogCallback)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,LogCallback)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution for the given command. Space character is usedto split the command into arguments. You can use single or double quote characters tospecify arguments inside your command.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeAsync(String,FFprobeSessionCompleteCallback,ExecutorService)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,ExecutorService)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution for the given command. Space character is usedto split the command into arguments. You can use single or double quote characters tospecify arguments inside your command.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
<dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="executeAsync(String,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>executeAsync</h4>
<pre class="methodSignature"> static <a href=FFprobeSession.html>FFprobeSession</a> <a href=FFprobeKit.html#executeAsync(String,FFprobeSessionCompleteCallback,LogCallback,ExecutorService)>executeAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution for the given command. Space character is usedto split the command into arguments. You can use single or double quote characters tospecify arguments inside your command.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use an <a href=FFprobeSessionCompleteCallback.html>FFprobeSessionCompleteCallback</a> if you want to be notified about theresult.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
<dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformation(String)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformation</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformation(String)>getMediaInformation</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path)</pre>
<div class="block"><p>Extracts media information for the file specified with path.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformation(String,int)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformation</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformation(String,int)>getMediaInformation</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, int waitTimeout)</pre>
<div class="block"><p>Extracts media information for the file specified with path.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
<dd><code>waitTimeout</code> - max time to wait until media information is transmitted</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationAsync(String,MediaInformationSessionCompleteCallback)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationAsync</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use a <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> if you want to be notifiedabout the result.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationAsync</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, int waitTimeout)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use a <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> if you want to be notifiedabout the result.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
<dd><code>waitTimeout</code> - max time to wait until media information is transmitted</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,ExecutorService)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationAsync</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,ExecutorService)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use a <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> if you want to be notifiedabout the result.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
<dd><code>completeCallback</code> - callback that will be called when the execution has completed</dd>
<dd><code>executorService</code> - executor service that will be used to run this asynchronous operation</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,ExecutorService,int)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationAsync</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationAsync(String,MediaInformationSessionCompleteCallback,LogCallback,ExecutorService,int)>getMediaInformationAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> path, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, <a href=https://developer.android.com/reference/kotlin/java/util/concurrent/ExecutorService.html>ExecutorService</a> executorService, int waitTimeout)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution to extract the media information for thespecified file.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use a <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> if you want to be notifiedabout the result.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path or uri of a media file</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</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>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationFromCommand(String)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationFromCommand</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationFromCommand(String)>getMediaInformationFromCommand</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command)</pre>
<div class="block"><p>Extracts media information using the command provided.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command that prints media information for a file in JSON format</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="getMediaInformationFromCommandAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>getMediaInformationFromCommandAsync</h4>
<pre class="methodSignature"> static <a href=MediaInformationSession.html>MediaInformationSession</a> <a href=FFprobeKit.html#getMediaInformationFromCommandAsync(String,MediaInformationSessionCompleteCallback,LogCallback,int)>getMediaInformationFromCommandAsync</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> command, <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> completeCallback, <a href=LogCallback.html>LogCallback</a> logCallback, int waitTimeout)</pre>
<div class="block"><p>Starts an asynchronous FFprobe execution to extract media information using a command.The command passed to this method must generate the output in JSON format in order tosuccessfully extract media information from it.</p><p>Note that this method returns immediately and does not wait the execution to complete.You must use a <a href=MediaInformationSessionCompleteCallback.html>MediaInformationSessionCompleteCallback</a> if you want to be notifiedabout the result.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>command</code> - FFprobe command that prints media information for a file in JSONformat</dd>
<dd><code>completeCallback</code> - callback that will be notified when execution has completed</dd>
<dd><code>logCallback</code> - callback that will receive logs</dd>
<dd><code>waitTimeout</code> - max time to wait until media information is transmitted</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="listFFprobeSessions()">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>listFFprobeSessions</h4>
<pre class="methodSignature"> static <a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=FFprobeSession.html>FFprobeSession</a>&gt; <a href=FFprobeKit.html#listFFprobeSessions()>listFFprobeSessions</a>()</pre>
<div class="block"><p>Lists all FFprobe sessions in the session history.</p></div>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="listMediaInformationSessions()">
<!-- -->
</a>
<ul class=
"blockListLast"
>
<li class="blockList">
<h4>listMediaInformationSessions</h4>
<pre class="methodSignature"> static <a href=https://developer.android.com/reference/kotlin/java/util/List.html>List</a>&lt;<a href=MediaInformationSession.html>MediaInformationSession</a>&gt; <a href=FFprobeKit.html#listMediaInformationSessions()>listMediaInformationSessions</a>()</pre>
<div class="block"><p>Lists all MediaInformation sessions in the session history.</p></div>
<!-- TODO missing return annotation -->
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
</div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li>Help</li>
</ul></div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../../../allclasses.html">All&nbsp;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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>