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

652 lines
32 KiB
HTML
Raw Normal View History

2022-09-17 20:29:42 +03:00
<!DOCTYPE HTML>
2021-03-02 01:25:17 +02:00
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>FFmpegSession (FFmpegKit)</title>
2022-09-17 20:29:42 +03:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2021-03-02 01:25:17 +02:00
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
2022-09-17 20:29:42 +03:00
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
2021-03-02 01:25:17 +02:00
<script type="text/javascript" src="../../../script.js"></script>
2022-09-17 20:29:42 +03:00
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
2021-03-02 01:25:17 +02:00
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="FFmpegSession (FFmpegKit)";
}
}
catch(err) {
}
//-->
2022-09-17 20:29:42 +03:00
var data = {"i0":10,"i1":9,"i2":9,"i3":9,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
2021-03-02 01:25:17 +02:00
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
2022-09-17 20:29:42 +03:00
var pathtoroot = "../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2021-03-02 01:25:17 +02:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2022-09-17 20:29:42 +03:00
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
2021-03-02 01:25:17 +02:00
<!-- ========= START OF TOP NAVBAR ======= -->
2022-09-17 20:29:42 +03:00
<div class="topNav"><a id="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>
2022-09-17 20:29:42 +03:00
<a id="navbar.top.firstrow">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2022-09-17 20:29:42 +03:00
<li><a href="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" id="allclasses_navbar_top">
2022-09-17 20:29:42 +03:00
<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" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
2022-09-17 20:29:42 +03:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2021-03-02 01:25:17 +02:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
2022-09-17 20:29:42 +03:00
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2022-09-17 20:29:42 +03:00
<li>Constr&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2022-09-17 20:29:42 +03:00
<a id="skip.navbar.top">
2021-03-02 01:25:17 +02:00
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
2022-09-17 20:29:42 +03:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
2021-03-02 01:25:17 +02:00
<!-- ======== START OF CLASS DATA ======== -->
2022-09-17 20:29:42 +03:00
<main role="main">
2021-03-02 01:25:17 +02:00
<div class="header">
2022-09-17 20:29:42 +03:00
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.arthenica.ffmpegkit</a></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">
2022-09-17 20:29:42 +03:00
<li><a href="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>
2022-09-17 20:29:42 +03:00
<dd><code><a href="Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></dd>
2021-03-02 01:25:17 +02:00
</dl>
<hr>
<pre>public class <span class="typeNameLabel">FFmpegSession</span>
2022-09-17 20:29:42 +03:00
extends <a href="AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a>
implements <a href="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 =========== -->
2022-09-17 20:29:42 +03:00
<section role="region">
2021-03-02 01:25:17 +02:00
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="field.summary">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="fields.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<h3>Fields inherited from class&nbsp;com.arthenica.ffmpegkit.<a href="AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a></h3>
<code><a href="AbstractSession.html#arguments">arguments</a>, <a href="AbstractSession.html#createTime">createTime</a>, <a href="AbstractSession.html#DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT">DEFAULT_TIMEOUT_FOR_ASYNCHRONOUS_MESSAGES_IN_TRANSMIT</a>, <a href="AbstractSession.html#endTime">endTime</a>, <a href="AbstractSession.html#failStackTrace">failStackTrace</a>, <a href="AbstractSession.html#future">future</a>, <a href="AbstractSession.html#logCallback">logCallback</a>, <a href="AbstractSession.html#logRedirectionStrategy">logRedirectionStrategy</a>, <a href="AbstractSession.html#logs">logs</a>, <a href="AbstractSession.html#logsLock">logsLock</a>, <a href="AbstractSession.html#returnCode">returnCode</a>, <a href="AbstractSession.html#sessionId">sessionId</a>, <a href="AbstractSession.html#sessionIdGenerator">sessionIdGenerator</a>, <a href="AbstractSession.html#startTime">startTime</a>, <a href="AbstractSession.html#state">state</a></code></li>
2021-03-02 01:25:17 +02:00
</ul>
</li>
</ul>
2022-09-17 20:29:42 +03:00
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
2021-03-02 01:25:17 +02:00
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="method.summary">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="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>
2021-03-02 01:25:17 +02:00
<tr>
2022-09-17 20:29:42 +03:00
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2021-03-02 01:25:17 +02:00
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addStatistics(com.arthenica.ffmpegkit.Statistics)">addStatistics</a></span>&#8203;(<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;statistics)</code></th>
<td class="colLast">
<div class="block">Adds a new statistics entry for this session.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String%5B%5D)">create</a></span>&#8203;(java.lang.String[]&nbsp;arguments)</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String%5B%5D,com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback)">create</a></span>&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback)</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String%5B%5D,com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback,com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.StatisticsCallback)">create</a></span>&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback,
<a href="LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback)</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Builds a new FFmpeg session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i4" class="altColor">
<td class="colFirst"><code>static <a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#create(java.lang.String%5B%5D,com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback,com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.StatisticsCallback,com.arthenica.ffmpegkit.LogRedirectionStrategy)">create</a></span>&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback,
<a href="LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback,
<a href="LogRedirectionStrategy.html" title="enum in com.arthenica.ffmpegkit">LogRedirectionStrategy</a>&nbsp;logRedirectionStrategy)</code></th>
<td class="colLast">
<div class="block">Builds a new FFmpeg session.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllStatistics()">getAllStatistics</a></span>()</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i6" class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllStatistics(int)">getAllStatistics</a></span>&#8203;(int&nbsp;waitTimeout)</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries generated for this session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCompleteCallback()">getCompleteCallback</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the session specific complete callback.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastReceivedStatistics()">getLastReceivedStatistics</a></span>()</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Returns the last received statistics entry.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i9" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStatistics()">getStatistics</a></span>()</code></th>
<td class="colLast">
2021-03-02 01:25:17 +02:00
<div class="block">Returns all statistics entries delivered for this session.</div>
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStatisticsCallback()">getStatisticsCallback</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the session specific statistics callback.</div>
2021-03-02 01:25:17 +02:00
</td>
</tr>
2022-09-17 20:29:42 +03:00
<tr id="i11" class="rowColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>boolean</code></td>
2022-09-17 20:29:42 +03:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFFmpeg()">isFFmpeg</a></span>()</code></th>
<td class="colLast">
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>
2022-09-17 20:29:42 +03:00
<tr id="i12" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>boolean</code></td>
2022-09-17 20:29:42 +03:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFFprobe()">isFFprobe</a></span>()</code></th>
<td class="colLast">
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>
2022-09-17 20:29:42 +03:00
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMediaInformation()">isMediaInformation</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns whether it is a <code>MediaInformation</code> session or not.</div>
</td>
</tr>
<tr id="i14" class="altColor">
2021-03-02 01:25:17 +02:00
<td class="colFirst"><code>java.lang.String</code></td>
2022-09-17 20:29:42 +03:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
2021-03-02 01:25:17 +02:00
</tr>
</table>
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="methods.inherited.from.class.com.arthenica.ffmpegkit.AbstractSession">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<h3>Methods inherited from class&nbsp;com.arthenica.ffmpegkit.<a href="AbstractSession.html" title="class in com.arthenica.ffmpegkit">AbstractSession</a></h3>
<code><a href="AbstractSession.html#addLog(com.arthenica.ffmpegkit.Log)">addLog</a>, <a href="AbstractSession.html#cancel()">cancel</a>, <a href="AbstractSession.html#getAllLogs()">getAllLogs</a>, <a href="AbstractSession.html#getAllLogs(int)">getAllLogs</a>, <a href="AbstractSession.html#getAllLogsAsString()">getAllLogsAsString</a>, <a href="AbstractSession.html#getAllLogsAsString(int)">getAllLogsAsString</a>, <a href="AbstractSession.html#getArguments()">getArguments</a>, <a href="AbstractSession.html#getCommand()">getCommand</a>, <a href="AbstractSession.html#getCreateTime()">getCreateTime</a>, <a href="AbstractSession.html#getDuration()">getDuration</a>, <a href="AbstractSession.html#getEndTime()">getEndTime</a>, <a href="AbstractSession.html#getFailStackTrace()">getFailStackTrace</a>, <a href="AbstractSession.html#getFuture()">getFuture</a>, <a href="AbstractSession.html#getLogCallback()">getLogCallback</a>, <a href="AbstractSession.html#getLogRedirectionStrategy()">getLogRedirectionStrategy</a>, <a href="AbstractSession.html#getLogs()">getLogs</a>, <a href="AbstractSession.html#getLogsAsString()">getLogsAsString</a>, <a href="AbstractSession.html#getOutput()">getOutput</a>, <a href="AbstractSession.html#getReturnCode()">getReturnCode</a>, <a href="AbstractSession.html#getSessionId()">getSessionId</a>, <a href="AbstractSession.html#getStartTime()">getStartTime</a>, <a href="AbstractSession.html#getState()">getState</a>, <a href="AbstractSession.html#thereAreAsynchronousMessagesInTransmit()">thereAreAsynchronousMessagesInTransmit</a>, <a href="AbstractSession.html#waitForAsynchronousMessagesInTransmit(int)">waitForAsynchronousMessagesInTransmit</a></code></li>
2021-03-02 01:25:17 +02:00
</ul>
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="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">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="methods.inherited.from.class.com.arthenica.ffmpegkit.Session">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<h3>Methods inherited from interface&nbsp;com.arthenica.ffmpegkit.<a href="Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></h3>
<code><a href="Session.html#addLog(com.arthenica.ffmpegkit.Log)">addLog</a>, <a href="Session.html#cancel()">cancel</a>, <a href="Session.html#getAllLogs()">getAllLogs</a>, <a href="Session.html#getAllLogs(int)">getAllLogs</a>, <a href="Session.html#getAllLogsAsString()">getAllLogsAsString</a>, <a href="Session.html#getAllLogsAsString(int)">getAllLogsAsString</a>, <a href="Session.html#getArguments()">getArguments</a>, <a href="Session.html#getCommand()">getCommand</a>, <a href="Session.html#getCreateTime()">getCreateTime</a>, <a href="Session.html#getDuration()">getDuration</a>, <a href="Session.html#getEndTime()">getEndTime</a>, <a href="Session.html#getFailStackTrace()">getFailStackTrace</a>, <a href="Session.html#getFuture()">getFuture</a>, <a href="Session.html#getLogCallback()">getLogCallback</a>, <a href="Session.html#getLogRedirectionStrategy()">getLogRedirectionStrategy</a>, <a href="Session.html#getLogs()">getLogs</a>, <a href="Session.html#getLogsAsString()">getLogsAsString</a>, <a href="Session.html#getOutput()">getOutput</a>, <a href="Session.html#getReturnCode()">getReturnCode</a>, <a href="Session.html#getSessionId()">getSessionId</a>, <a href="Session.html#getStartTime()">getStartTime</a>, <a href="Session.html#getState()">getState</a>, <a href="Session.html#thereAreAsynchronousMessagesInTransmit()">thereAreAsynchronousMessagesInTransmit</a></code></li>
2021-03-02 01:25:17 +02:00
</ul>
</li>
</ul>
2022-09-17 20:29:42 +03:00
</section>
2021-03-02 01:25:17 +02:00
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2022-09-17 20:29:42 +03:00
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
2021-03-02 01:25:17 +02:00
<ul class="blockList">
2022-09-17 20:29:42 +03:00
<li class="blockList"><a id="method.detail">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<h3>Method Detail</h3>
<a id="create(java.lang.String[])">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
2022-09-17 20:29:42 +03:00
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;create&#8203;(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>
2022-09-17 20:29:42 +03:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created session</dd>
2021-03-02 01:25:17 +02:00
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="create(java.lang.String[],com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback)">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
2022-09-17 20:29:42 +03:00
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;create&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback)</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>
2022-09-17 20:29:42 +03:00
<dd><code>completeCallback</code> - session specific complete callback</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created session</dd>
2021-03-02 01:25:17 +02:00
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="create(java.lang.String[],com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback,com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.StatisticsCallback)">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
2022-09-17 20:29:42 +03:00
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;create&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback,
<a href="LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="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>
2022-09-17 20:29:42 +03:00
<dd><code>completeCallback</code> - session specific complete callback</dd>
<dd><code>logCallback</code> - session specific log callback</dd>
<dd><code>statisticsCallback</code> - session specific statistics callback</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created session</dd>
2021-03-02 01:25:17 +02:00
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="create(java.lang.String[],com.arthenica.ffmpegkit.FFmpegSessionCompleteCallback,com.arthenica.ffmpegkit.LogCallback,com.arthenica.ffmpegkit.StatisticsCallback,com.arthenica.ffmpegkit.LogRedirectionStrategy)">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<ul class="blockList">
2021-03-02 01:25:17 +02:00
<li class="blockList">
2022-09-17 20:29:42 +03:00
<h4>create</h4>
<pre class="methodSignature">public static&nbsp;<a href="FFmpegSession.html" title="class in com.arthenica.ffmpegkit">FFmpegSession</a>&nbsp;create&#8203;(java.lang.String[]&nbsp;arguments,
<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;completeCallback,
<a href="LogCallback.html" title="interface in com.arthenica.ffmpegkit">LogCallback</a>&nbsp;logCallback,
<a href="StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;statisticsCallback,
<a href="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>
2022-09-17 20:29:42 +03:00
<dd><code>completeCallback</code> - session specific complete callback</dd>
<dd><code>logCallback</code> - session specific log callback</dd>
<dd><code>statisticsCallback</code> - session specific statistics callback</dd>
2021-03-02 01:25:17 +02:00
<dd><code>logRedirectionStrategy</code> - session specific log redirection strategy</dd>
2022-09-17 20:29:42 +03:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>created session</dd>
2021-03-02 01:25:17 +02:00
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="getStatisticsCallback()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
2022-09-17 20:29:42 +03:00
<ul class="blockList">
<li class="blockList">
<h4>getStatisticsCallback</h4>
<pre class="methodSignature">public&nbsp;<a href="StatisticsCallback.html" title="interface in com.arthenica.ffmpegkit">StatisticsCallback</a>&nbsp;getStatisticsCallback()</pre>
<div class="block">Returns the session specific statistics callback.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>session specific statistics callback</dd>
</dl>
</li>
</ul>
<a id="getCompleteCallback()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
2022-09-17 20:29:42 +03:00
<h4>getCompleteCallback</h4>
<pre class="methodSignature">public&nbsp;<a href="FFmpegSessionCompleteCallback.html" title="interface in com.arthenica.ffmpegkit">FFmpegSessionCompleteCallback</a>&nbsp;getCompleteCallback()</pre>
<div class="block">Returns the session specific complete callback.</div>
2021-03-02 01:25:17 +02:00
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
2022-09-17 20:29:42 +03:00
<dd>session specific complete callback</dd>
2021-03-02 01:25:17 +02:00
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="getAllStatistics(int)">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&gt;&nbsp;getAllStatistics&#8203;(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>
2022-09-17 20:29:42 +03:00
<a id="getAllStatistics()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllStatistics</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="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
2022-09-17 20:29:42 +03:00
<a href="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>
2022-09-17 20:29:42 +03:00
<a id="getStatistics()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStatistics</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="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>
2022-09-17 20:29:42 +03:00
<a id="getLastReceivedStatistics()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastReceivedStatistics</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;<a href="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>
2022-09-17 20:29:42 +03:00
<a id="addStatistics(com.arthenica.ffmpegkit.Statistics)">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addStatistics</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;void&nbsp;addStatistics&#8203;(<a href="Statistics.html" title="class in com.arthenica.ffmpegkit">Statistics</a>&nbsp;statistics)</pre>
<div class="block">Adds a new statistics entry for this session. It is invoked internally by
<code>FFmpegKit</code> library methods. Must not be used by user applications.</div>
2021-03-02 01:25:17 +02:00
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>statistics</code> - statistics entry</dd>
</dl>
</li>
</ul>
2022-09-17 20:29:42 +03:00
<a id="isFFmpeg()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFmpeg</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isFFmpeg()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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>
2022-09-17 20:29:42 +03:00
<dd><code><a href="Session.html#isFFmpeg()">isFFmpeg</a></code>&nbsp;in interface&nbsp;<code><a href="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>
2022-09-17 20:29:42 +03:00
<a id="isFFprobe()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFFprobe</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isFFprobe()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="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>
2022-09-17 20:29:42 +03:00
<dd><code><a href="Session.html#isFFprobe()">isFFprobe</a></code>&nbsp;in interface&nbsp;<code><a href="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>
2022-09-17 20:29:42 +03:00
<a id="isMediaInformation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isMediaInformation</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isMediaInformation()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="Session.html#isMediaInformation()">Session</a></code></span></div>
<div class="block">Returns whether it is a <code>MediaInformation</code> session or not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="Session.html#isMediaInformation()">isMediaInformation</a></code>&nbsp;in interface&nbsp;<code><a href="Session.html" title="interface in com.arthenica.ffmpegkit">Session</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if it is a <code>MediaInformation</code> session, false otherwise</dd>
</dl>
</li>
</ul>
<a id="toString()">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
2022-09-17 20:29:42 +03:00
<pre class="methodSignature">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>
2022-09-17 20:29:42 +03:00
</section>
2021-03-02 01:25:17 +02:00
</li>
</ul>
</div>
</div>
2022-09-17 20:29:42 +03:00
</main>
2021-03-02 01:25:17 +02:00
<!-- ========= END OF CLASS DATA ========= -->
2022-09-17 20:29:42 +03:00
<footer role="contentinfo">
<nav role="navigation">
2021-03-02 01:25:17 +02:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2022-09-17 20:29:42 +03:00
<div class="bottomNav"><a id="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>
2022-09-17 20:29:42 +03:00
<a id="navbar.bottom.firstrow">
2021-03-02 01:25:17 +02:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2022-09-17 20:29:42 +03:00
<li><a href="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">
<ul class="navList" id="allclasses_navbar_bottom">
2022-09-17 20:29:42 +03:00
<li><a href="../../../allclasses.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>
2022-09-17 20:29:42 +03:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2021-03-02 01:25:17 +02:00
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
2022-09-17 20:29:42 +03:00
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2022-09-17 20:29:42 +03:00
<li>Constr&nbsp;|&nbsp;</li>
2021-03-02 01:25:17 +02:00
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
2022-09-17 20:29:42 +03:00
<a id="skip.navbar.bottom">
2021-03-02 01:25:17 +02:00
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2022-09-17 20:29:42 +03:00
</nav>
</footer>
2021-03-02 01:25:17 +02:00
</body>
</html>