ffmpeg-kit/docs/android/javadoc/com/arthenica/ffmpegkit/FFmpegSession.html
2021-09-19 21:48:24 +01:00

573 lines
32 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>FFmpegSession (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="FFmpegSession (FFmpegKit)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/arthenica/ffmpegkit/FFprobeKit.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/FFmpegSession.html" target="_top">Frames</a></li>
<li><a href="FFmpegSession.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>
</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><a href="#fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.arthenica.ffmpegkit</div>
<h2 title="Class FFmpegSession" class="title">Class FFmpegSession</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../com/arthenica/ffmpegkit/AbstractSession.html" title="class in com.arthenica.ffmpegkit">com.arthenica.ffmpegkit.AbstractSession</a></li>
<li>
<ul class="inheritance">
<li>com.arthenica.ffmpegkit.FFmpegSession</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">FFmpegSession</span>
extends <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a>
implements <a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></pre>
<div class="block"><p>An FFmpeg session.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;com.arthenica.ffmpegkit.<a href="../../../com/arthenica/ffmpegkit/AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a></h3>
<code><a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#arguments">arguments</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#createTime">createTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT">DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#endTime">endTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#executeCallback">executeCallback</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#failStackTrace">failStackTrace</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#future">future</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#logCallback">logCallback</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#logRedirectionStrategy">logRedirectionStrategy</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#logs">logs</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#logsLock">logsLock</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#returnCode">returnCode</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#sessionId">sessionId</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#sessionIdGenerator">sessionIdGenerator</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#startTime">startTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#state">state</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#FFmpegSession-java.lang.String:A-">FFmpegSession</a></span>(java.lang.String[]&nbsp;arguments)</code>
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-">FFmpegSession</a></span>(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback)</code>
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-">FFmpegSession</a></span>(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback,
<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback)</code>
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-com.arthenica.ffmpegkit.LogRedirectionStrategy-">FFmpegSession</a></span>(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback,
<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback,
<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a>&nbsp;logRedirectionStrategy)</code>
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#addStatistics-com.arthenica.ffmpegkit.Statistics-">addStatistics</a></span>(<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;statistics)</code>
<div class="block">Adds a new statistics entry for this session.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#getAllStatistics--">getAllStatistics</a></span>()</code>
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#getAllStatistics-int-">getAllStatistics</a></span>(int&nbsp;waitTimeout)</code>
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#getLastReceivedStatistics--">getLastReceivedStatistics</a></span>()</code>
<div class="block">Returns the last received statistics entry.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#getStatistics--">getStatistics</a></span>()</code>
<div class="block">Returns all statistics entries delivered for this session.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#getStatisticsCallback--">getStatisticsCallback</a></span>()</code>
<div class="block">Returns the session specific statistics callback function.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#isFFmpeg--">isFFmpeg</a></span>()</code>
<div class="block">Returns whether it is an <code>FFmpeg</code> session or not.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#isFFprobe--">isFFprobe</a></span>()</code>
<div class="block">Returns whether it is an <code>FFprobe</code> session or not.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;com.arthenica.ffmpegkit.<a href="../../../com/arthenica/ffmpegkit/AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a></h3>
<code><a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#addLog-com.arthenica.ffmpegkit.Log-">addLog</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#cancel--">cancel</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getAllLogs--">getAllLogs</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getAllLogs-int-">getAllLogs</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getAllLogsAsString--">getAllLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getAllLogsAsString-int-">getAllLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getArguments--">getArguments</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getCommand--">getCommand</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getCreateTime--">getCreateTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getDuration--">getDuration</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getEndTime--">getEndTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getExecuteCallback--">getExecuteCallback</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getFailStackTrace--">getFailStackTrace</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getFuture--">getFuture</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getLogCallback--">getLogCallback</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getLogRedirectionStrategy--">getLogRedirectionStrategy</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getLogs--">getLogs</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getLogsAsString--">getLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getOutput--">getOutput</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getReturnCode--">getReturnCode</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getSessionId--">getSessionId</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getStartTime--">getStartTime</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#getState--">getState</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#thereAreAsynchronousMessagesInTransmit--">thereAreAsynchronousMessagesInTransmit</a>, <a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#waitForAsynchronousMessagesInTransmit-int-">waitForAsynchronousMessagesInTransmit</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="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, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.com.arthenica.ffmpegkit.Session">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;com.arthenica.ffmpegkit.<a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></h3>
<code><a href="../../../com/arthenica/ffmpegkit/Session.html#addLog-com.arthenica.ffmpegkit.Log-">addLog</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#cancel--">cancel</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getAllLogs--">getAllLogs</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getAllLogs-int-">getAllLogs</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getAllLogsAsString--">getAllLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getAllLogsAsString-int-">getAllLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getArguments--">getArguments</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getCommand--">getCommand</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getCreateTime--">getCreateTime</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getDuration--">getDuration</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getEndTime--">getEndTime</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getExecuteCallback--">getExecuteCallback</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getFailStackTrace--">getFailStackTrace</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getFuture--">getFuture</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getLogCallback--">getLogCallback</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getLogRedirectionStrategy--">getLogRedirectionStrategy</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getLogs--">getLogs</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getLogsAsString--">getLogsAsString</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getOutput--">getOutput</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getReturnCode--">getReturnCode</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getSessionId--">getSessionId</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getStartTime--">getStartTime</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#getState--">getState</a>, <a href="../../../com/arthenica/ffmpegkit/Session.html#thereAreAsynchronousMessagesInTransmit--">thereAreAsynchronousMessagesInTransmit</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="FFmpegSession-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
<pre>public&nbsp;FFmpegSession(java.lang.String[]&nbsp;arguments)</pre>
<div class="block">Builds a new FFmpeg session.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - command arguments</dd>
</dl>
</li>
</ul>
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
<pre>public&nbsp;FFmpegSession(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback)</pre>
<div class="block">Builds a new FFmpeg session.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - command arguments</dd>
<dd><code>executeCallback</code> - session specific execute callback function</dd>
</dl>
</li>
</ul>
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
<pre>public&nbsp;FFmpegSession(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback,
<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback)</pre>
<div class="block">Builds a new FFmpeg session.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - command arguments</dd>
<dd><code>executeCallback</code> - session specific execute callback function</dd>
<dd><code>logCallback</code> - session specific log callback function</dd>
<dd><code>statisticsCallback</code> - session specific statistics callback function</dd>
</dl>
</li>
</ul>
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-com.arthenica.ffmpegkit.LogRedirectionStrategy-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FFmpegSession</h4>
<pre>public&nbsp;FFmpegSession(java.lang.String[]&nbsp;arguments,
<a href="../../../com/arthenica/ffmpegkit/ExecuteCallback.html" title="interface in com.arthenica.ffmpegkit">ExecuteCallback</a>&nbsp;executeCallback,
<a href="../../../com/arthenica/ffmpegkit/LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback,
<a href="../../../com/arthenica/ffmpegkit/LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a>&nbsp;logRedirectionStrategy)</pre>
<div class="block">Builds a new FFmpeg session.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>arguments</code> - command arguments</dd>
<dd><code>executeCallback</code> - session specific execute callback function</dd>
<dd><code>logCallback</code> - session specific log callback function</dd>
<dd><code>statisticsCallback</code> - session specific statistics callback function</dd>
<dd><code>logRedirectionStrategy</code> - session specific log redirection strategy</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getStatisticsCallback--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatisticsCallback</h4>
<pre>public&nbsp;<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;getStatisticsCallback()</pre>
<div class="block">Returns the session specific statistics callback function.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>session specific statistics callback function</dd>
</dl>
</li>
</ul>
<a name="getAllStatistics-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;&nbsp;getAllStatistics(int&nbsp;waitTimeout)</pre>
<div class="block">Returns all statistics entries generated for this session. If there are asynchronous
messages that are not delivered yet, this method waits for them until the given timeout.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>waitTimeout</code> - wait timeout for asynchronous messages in milliseconds</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of statistics entries generated for this session</dd>
</dl>
</li>
</ul>
<a name="getAllStatistics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;&nbsp;getAllStatistics()</pre>
<div class="block">Returns all statistics entries generated for this session. If there are asynchronous
messages that are not delivered yet, this method waits for them until
<a href="../../../com/arthenica/ffmpegkit/AbstractSession.html#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT"><code>AbstractSession.DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT</code></a> expires.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of statistics entries generated for this session</dd>
</dl>
</li>
</ul>
<a name="getStatistics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatistics</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;&nbsp;getStatistics()</pre>
<div class="block">Returns all statistics entries delivered for this session. Note that if there are
asynchronous messages that are not delivered yet, this method will not wait for
them and will return immediately.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of statistics entries received for this session</dd>
</dl>
</li>
</ul>
<a name="getLastReceivedStatistics--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastReceivedStatistics</h4>
<pre>public&nbsp;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;getLastReceivedStatistics()</pre>
<div class="block">Returns the last received statistics entry.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the last received statistics entry or null if there are not any statistics entries
received</dd>
</dl>
</li>
</ul>
<a name="addStatistics-com.arthenica.ffmpegkit.Statistics-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addStatistics</h4>
<pre>public&nbsp;void&nbsp;addStatistics(<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;statistics)</pre>
<div class="block">Adds a new statistics entry for this session.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>statistics</code> - statistics entry</dd>
</dl>
</li>
</ul>
<a name="isFFmpeg--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFmpeg</h4>
<pre>public&nbsp;boolean&nbsp;isFFmpeg()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../com/arthenica/ffmpegkit/Session.html#isFFmpeg--">Session</a></code></span></div>
<div class="block">Returns whether it is an <code>FFmpeg</code> session or not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/arthenica/ffmpegkit/Session.html#isFFmpeg--">isFFmpeg</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it is an <code>FFmpeg</code> session, false otherwise</dd>
</dl>
</li>
</ul>
<a name="isFFprobe--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFprobe</h4>
<pre>public&nbsp;boolean&nbsp;isFFprobe()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../com/arthenica/ffmpegkit/Session.html#isFFprobe--">Session</a></code></span></div>
<div class="block">Returns whether it is an <code>FFprobe</code> session or not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../com/arthenica/ffmpegkit/Session.html#isFFprobe--">isFFprobe</a></code>&nbsp;in interface&nbsp;<code><a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it is an <code>FFprobe</code> session, false otherwise</dd>
</dl>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../com/arthenica/ffmpegkit/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/arthenica/ffmpegkit/FFmpegKitConfig.html" title="class in com.arthenica.ffmpegkit"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../com/arthenica/ffmpegkit/FFprobeKit.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/FFmpegSession.html" target="_top">Frames</a></li>
<li><a href="FFmpegSession.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>