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

573 lines
32 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>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) {
}
//-->
2021-09-18 15:20:11 +03:00
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10};
2021-03-02 01:25:17 +02:00
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";
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/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>
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/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>
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>
2021-09-18 15:20:11 +03:00
<li><a href="#fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">Field</a>&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<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>
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 FFmpegSession" class="title">Class FFmpegSession</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
2021-09-18 15:20:11 +03:00
<li><a href="../../../com/arthenica/ffmpegkit/AbstractSession.html" title="class in com.arthenica.ffmpegkit">com.arthenica.ffmpegkit.AbstractSession</a></li>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<dd><a href="../../../com/arthenica/ffmpegkit/Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></dd>
2021-03-02 01:25:17 +02:00
</dl>
<hr>
2021-09-18 15:20:11 +03:00
<br>
2021-03-02 01:25:17 +02:00
<pre>public class <span class="typeNameLabel">FFmpegSession</span>
2021-09-18 15:20:11 +03:00
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>
2021-03-02 01:25:17 +02:00
<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">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="field.summary">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="constructor.summary">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2021-09-18 15:20:11 +03:00
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
2021-03-02 01:25:17 +02:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2021-09-18 15:20:11 +03:00
<th class="colOne" scope="col">Constructor and Description</th>
2021-03-02 01:25:17 +02:00
</tr>
<tr class="altColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="rowColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="altColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
<tr class="rowColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== 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="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>
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">
<td class="colFirst"><code>void</code></td>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Adds a new statistics entry for this session.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
<tr id="i2" class="altColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns the last received statistics entry.</div>
</td>
</tr>
<tr id="i4" class="altColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries delivered for this session.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#isFFmpeg--">isFFmpeg</a></span>()</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#isFFprobe--">isFFprobe</a></span>()</code>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/arthenica/ffmpegkit/FFmpegSession.html#toString--">toString</a></span>()</code>&nbsp;</td>
2021-03-02 01:25:17 +02:00
</tr>
</table>
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="methods.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</ul>
<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, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="methods.inherited.from.class.com.arthenica.ffmpegkit.Session">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
2021-09-18 15:20:11 +03:00
<li class="blockList"><a name="constructor.detail">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2021-09-18 15:20:11 +03:00
<a name="FFmpegSession-java.lang.String:A-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
2021-09-18 15:20:11 +03:00
<pre>public&nbsp;FFmpegSession(java.lang.String[]&nbsp;arguments)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FFmpegSession</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="FFmpegSession-java.lang.String:A-com.arthenica.ffmpegkit.ExecuteCallback-com.arthenica.ffmpegkit.LogCallback-com.arthenica.ffmpegkit.StatisticsCallback-com.arthenica.ffmpegkit.LogRedirectionStrategy-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FFmpegSession</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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">
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="getStatisticsCallback--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatisticsCallback</h4>
2021-09-18 15:20:11 +03:00
<pre>public&nbsp;<a href="../../../com/arthenica/ffmpegkit/StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;getStatisticsCallback()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getAllStatistics-int-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getAllStatistics--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of statistics entries generated for this session</dd>
</dl>
</li>
</ul>
2021-09-18 15:20:11 +03:00
<a name="getStatistics--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatistics</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="getLastReceivedStatistics--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastReceivedStatistics</h4>
2021-09-18 15:20:11 +03:00
<pre>public&nbsp;<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;getLastReceivedStatistics()</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="addStatistics-com.arthenica.ffmpegkit.Statistics-">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addStatistics</h4>
2021-09-18 15:20:11 +03:00
<pre>public&nbsp;void&nbsp;addStatistics(<a href="../../../com/arthenica/ffmpegkit/Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;statistics)</pre>
2021-03-02 01:25:17 +02:00
<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>
2021-09-18 15:20:11 +03:00
<a name="isFFmpeg--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFmpeg</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns whether it is an <code>FFmpeg</code> session or not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it is an <code>FFmpeg</code> session, false otherwise</dd>
</dl>
</li>
</ul>
2021-09-18 15:20:11 +03:00
<a name="isFFprobe--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFprobe</h4>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<div class="block">Returns whether it is an <code>FFprobe</code> session or not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
2021-09-18 15:20:11 +03:00
<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>
2021-03-02 01:25:17 +02:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it is an <code>FFprobe</code> session, false otherwise</dd>
</dl>
</li>
</ul>
2021-09-18 15:20:11 +03:00
<a name="toString--">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
2021-09-18 15:20:11 +03:00
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
2021-03-02 01:25:17 +02:00
<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 ====== -->
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/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>
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>
2021-09-18 15:20:11 +03:00
<li><a href="#fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">Field</a>&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<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>
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>