473 lines
36 KiB
HTML
473 lines
36 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>FFmpegKit Linux API: ffmpegkit Namespace Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="../../ffmpeg-kit-icon-v9-small.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">FFmpegKit Linux API
|
|
 <span id="projectnumber">4.5.1</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Data Structures</a> |
|
|
<a href="#typedef-members">Typedefs</a> |
|
|
<a href="#enum-members">Enumerations</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ffmpegkit Namespace Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Data Structures</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d41/classffmpegkit_1_1_abstract_session.html">AbstractSession</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/df7/classffmpegkit_1_1_arch_detect.html">ArchDetect</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d9f/classffmpegkit_1_1_chapter.html">Chapter</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d71/classffmpegkit_1_1_f_fmpeg_kit.html">FFmpegKit</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d2a/classffmpegkit_1_1_f_fmpeg_kit_config.html">FFmpegKitConfig</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/dee/classffmpegkit_1_1_f_fmpeg_session.html">FFmpegSession</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d3f/classffmpegkit_1_1_f_fprobe_kit.html">FFprobeKit</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d5c/classffmpegkit_1_1_f_fprobe_session.html">FFprobeSession</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d1c/classffmpegkit_1_1_log.html">Log</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d06/classffmpegkit_1_1_media_information.html">MediaInformation</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d53/classffmpegkit_1_1_media_information_json_parser.html">MediaInformationJsonParser</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/db7/classffmpegkit_1_1_media_information_session.html">MediaInformationSession</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/dee/classffmpegkit_1_1_packages.html">Packages</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ReturnCode</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d0e/classffmpegkit_1_1_session.html">Session</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/de7/classffmpegkit_1_1_statistics.html">Statistics</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d9e/classffmpegkit_1_1_stream_information.html">StreamInformation</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
|
|
Typedefs</h2></td></tr>
|
|
<tr class="memitem:afc007c369cdeebeca5cbf663ab966443"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const std::shared_ptr< <a class="el" href="../../d2/dee/classffmpegkit_1_1_f_fmpeg_session.html">ffmpegkit::FFmpegSession</a> > session)> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#afc007c369cdeebeca5cbf663ab966443">FFmpegSessionCompleteCallback</a></td></tr>
|
|
<tr class="separator:afc007c369cdeebeca5cbf663ab966443"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af3f451cbb99c4dc36e2e2141a33cdf38"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const std::shared_ptr< <a class="el" href="../../da/d5c/classffmpegkit_1_1_f_fprobe_session.html">ffmpegkit::FFprobeSession</a> > session)> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#af3f451cbb99c4dc36e2e2141a33cdf38">FFprobeSessionCompleteCallback</a></td></tr>
|
|
<tr class="separator:af3f451cbb99c4dc36e2e2141a33cdf38"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a961de60de61ed79c2c7dfee08c9fa939"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const std::shared_ptr< <a class="el" href="../../db/d1c/classffmpegkit_1_1_log.html">ffmpegkit::Log</a> > log)> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a961de60de61ed79c2c7dfee08c9fa939">LogCallback</a></td></tr>
|
|
<tr class="separator:a961de60de61ed79c2c7dfee08c9fa939"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a909392d52220d37ab6e39bd7f4d6abb1"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const std::shared_ptr< <a class="el" href="../../df/db7/classffmpegkit_1_1_media_information_session.html">ffmpegkit::MediaInformationSession</a> > session)> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a909392d52220d37ab6e39bd7f4d6abb1">MediaInformationSessionCompleteCallback</a></td></tr>
|
|
<tr class="separator:a909392d52220d37ab6e39bd7f4d6abb1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a250a65ad52e13fa88362845eb4b848ef"><td class="memItemLeft" align="right" valign="top">typedef std::function< void(const std::shared_ptr< <a class="el" href="../../d0/de7/classffmpegkit_1_1_statistics.html">ffmpegkit::Statistics</a> > statistics)> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a250a65ad52e13fa88362845eb4b848ef">StatisticsCallback</a></td></tr>
|
|
<tr class="separator:a250a65ad52e13fa88362845eb4b848ef"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
|
Enumerations</h2></td></tr>
|
|
<tr class="memitem:a3726dad678d38ecd08f9af2f142156a4"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4">Level</a> { <br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4a4baea55bfac0c0ac87e3d022c7dfe06e">LevelAVLogStdErr</a> = -16,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4a601376fad6823274f99a97262f689c2f">LevelAVLogQuiet</a> = -8,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4a6be4cb38f1ff513c977d2d5e37deae42">LevelAVLogPanic</a> = 0,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4aeef1c634636b2a03270ba6bab8d2ecf1">LevelAVLogFatal</a> = 8,
|
|
<br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4a34bc76c36c5f97ec84ad0e5e1cd35251">LevelAVLogError</a> = 16,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4aaa2ab1eddacb480d687f17f0116d7e46">LevelAVLogWarning</a> = 24,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4acfd515b605fe5e71a66f2a47072c4d84">LevelAVLogInfo</a> = 32,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4ab251e1df59c8c9910f62effc9bbc8631">LevelAVLogVerbose</a> = 40,
|
|
<br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4a377b674192dd6d0212f3782280342ad3">LevelAVLogDebug</a> = 48,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4acb7d008328737b034c1ac65843c01413">LevelAVLogTrace</a> = 56
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a3726dad678d38ecd08f9af2f142156a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11bee89be98423d1dc425a2849001ebe"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebe">LogRedirectionStrategy</a> { <br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebea4ac7c7054007119d71549846c2544288">LogRedirectionStrategyAlwaysPrintLogs</a> = 0,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebea662a08ddb8f44ec2a54b2259108d11b1">LogRedirectionStrategyPrintLogsWhenNoCallbacksDefined</a> = 1,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebeacf82deb57f2cfc6bfac3ab4c9a8e534c">LogRedirectionStrategyPrintLogsWhenGlobalCallbackNotDefined</a> = 2,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebea3b1e8dc7839b7abe69fe333e37f71936">LogRedirectionStrategyPrintLogsWhenSessionCallbackNotDefined</a> = 3,
|
|
<br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebea51a85a2abdd53daab89f93edb3779635">LogRedirectionStrategyNeverPrintLogs</a> = 4
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:a11bee89be98423d1dc425a2849001ebe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6d76b34ad27245e8ba161c8f30ab5c8f"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8f">SessionState</a> { <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8faa2b60da11090d170819db698df90f4a2">SessionStateCreated</a> = 0,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8fa384cde9cd29cfe4e94fb4b8f5d3719c1">SessionStateRunning</a> = 1,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8fa4e355211ff575fe9e53b5cac1989473e">SessionStateFailed</a> = 2,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8fae395077a2a757c691699536f02cc264f">SessionStateCompleted</a> = 3
|
|
}</td></tr>
|
|
<tr class="separator:a6d76b34ad27245e8ba161c8f30ab5c8f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac57fab4209bd25d62c86a99bb459bda2"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2">Signal</a> { <br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2a5b4b088da6cf903093a8d7789cee04f9">SignalInt</a> = 2,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2a45dced6df666a601d492885399b63a82">SignalQuit</a> = 3,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2ae1349a4dbeee5769723ceb0b6ce0efee">SignalPipe</a> = 13,
|
|
<a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2a7a9761ba37058f9235355143ef34deaa">SignalTerm</a> = 15,
|
|
<br />
|
|
  <a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2a253eff2aef02dedda7967818ea2f0639">SignalXcpu</a> = 24
|
|
<br />
|
|
}</td></tr>
|
|
<tr class="separator:ac57fab4209bd25d62c86a99bb459bda2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:a7e9ba2846f91ff69d4ddf92e6e14164c"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/d25/namespaceffmpegkit.html#a7e9ba2846f91ff69d4ddf92e6e14164c">operator<<</a> (std::ostream &out, const std::shared_ptr< <a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ffmpegkit::ReturnCode</a> > &o)</td></tr>
|
|
<tr class="separator:a7e9ba2846f91ff69d4ddf92e6e14164c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Typedef Documentation</h2>
|
|
<a id="afc007c369cdeebeca5cbf663ab966443"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afc007c369cdeebeca5cbf663ab966443">◆ </a></span>FFmpegSessionCompleteCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::function<void(const std::shared_ptr<<a class="el" href="../../d2/dee/classffmpegkit_1_1_f_fmpeg_session.html">ffmpegkit::FFmpegSession</a>> session)> <a class="el" href="../../d2/d25/namespaceffmpegkit.html#afc007c369cdeebeca5cbf663ab966443">ffmpegkit::FFmpegSessionCompleteCallback</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Callback function that is invoked when an asynchronous <code>FFmpeg</code> session has ended. </p>
|
|
<p><a class="el" href="../../d5/d0e/classffmpegkit_1_1_session.html">Session</a> has either SessionStateCompleted or SessionStateFailed state when the callback is invoked. </p>
|
|
<p>If it has SessionStateCompleted state, <code><a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ReturnCode</a></code> should be checked to see the execution result. </p>
|
|
<p>If <code>getState</code> returns SessionStateFailed then <code>getFailStackTrace</code> should be used to get the failure reason. </p><pre>
|
|
switch (session->getState()) {
|
|
case SessionStateCompleted:
|
|
auto returnCode = session->getReturnCode();
|
|
break;
|
|
case SessionStateFailed:
|
|
auto failStackTrace = session->getFailStackTrace();
|
|
break;
|
|
}
|
|
</pre><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">session</td><td>session of the completed execution </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d6/d47/_f_fmpeg_session_complete_callback_8h_source.html#l00029">29</a> of file <a class="el" href="../../d6/d47/_f_fmpeg_session_complete_callback_8h_source.html">FFmpegSessionCompleteCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af3f451cbb99c4dc36e2e2141a33cdf38"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af3f451cbb99c4dc36e2e2141a33cdf38">◆ </a></span>FFprobeSessionCompleteCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::function<void(const std::shared_ptr<<a class="el" href="../../da/d5c/classffmpegkit_1_1_f_fprobe_session.html">ffmpegkit::FFprobeSession</a>> session)> <a class="el" href="../../d2/d25/namespaceffmpegkit.html#af3f451cbb99c4dc36e2e2141a33cdf38">ffmpegkit::FFprobeSessionCompleteCallback</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Callback function that is invoked when an asynchronous <code>FFprobe</code> session has ended. </p>
|
|
<p><a class="el" href="../../d5/d0e/classffmpegkit_1_1_session.html">Session</a> has either SessionStateCompleted or SessionStateFailed state when the callback is invoked. </p>
|
|
<p>If it has SessionStateCompleted state, <code><a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ReturnCode</a></code> should be checked to see the execution result. </p>
|
|
<p>If <code>getState</code> returns SessionStateFailed then <code>getFailStackTrace</code> should be used to get the failure reason. </p><pre>
|
|
switch (session->getState()) {
|
|
case SessionStateCompleted:
|
|
auto returnCode = session->getReturnCode();
|
|
break;
|
|
case SessionStateFailed:
|
|
auto failStackTrace = session->getFailStackTrace();
|
|
break;
|
|
}
|
|
</pre><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">session</td><td>session of the completed execution </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d5/d14/_f_fprobe_session_complete_callback_8h_source.html#l00029">29</a> of file <a class="el" href="../../d5/d14/_f_fprobe_session_complete_callback_8h_source.html">FFprobeSessionCompleteCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a961de60de61ed79c2c7dfee08c9fa939"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a961de60de61ed79c2c7dfee08c9fa939">◆ </a></span>LogCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::function<void(const std::shared_ptr<<a class="el" href="../../db/d1c/classffmpegkit_1_1_log.html">ffmpegkit::Log</a>> log)> <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a961de60de61ed79c2c7dfee08c9fa939">ffmpegkit::LogCallback</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Callback that receives logs generated for <code><a class="el" href="../../db/d71/classffmpegkit_1_1_f_fmpeg_kit.html">FFmpegKit</a></code> sessions.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">log</td><td>log entry </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d4/daf/_log_callback_8h_source.html#l00035">35</a> of file <a class="el" href="../../d4/daf/_log_callback_8h_source.html">LogCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a909392d52220d37ab6e39bd7f4d6abb1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a909392d52220d37ab6e39bd7f4d6abb1">◆ </a></span>MediaInformationSessionCompleteCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::function<void(const std::shared_ptr<<a class="el" href="../../df/db7/classffmpegkit_1_1_media_information_session.html">ffmpegkit::MediaInformationSession</a>> session)> <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a909392d52220d37ab6e39bd7f4d6abb1">ffmpegkit::MediaInformationSessionCompleteCallback</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Callback function that is invoked when an asynchronous <code><a class="el" href="../../df/d06/classffmpegkit_1_1_media_information.html">MediaInformation</a></code> session has ended. </p>
|
|
<p><a class="el" href="../../d5/d0e/classffmpegkit_1_1_session.html">Session</a> has either SessionStateCompleted or SessionStateFailed state when the callback is invoked. </p>
|
|
<p>If it has SessionStateCompleted state, <code><a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ReturnCode</a></code> should be checked to see the execution result. </p>
|
|
<p>If <code>getState</code> returns SessionStateFailed then <code>getFailStackTrace</code> should be used to get the failure reason. </p><pre>
|
|
switch (session->getState()) {
|
|
case SessionStateCompleted:
|
|
auto returnCode = session->getReturnCode();
|
|
break;
|
|
case SessionStateFailed:
|
|
auto failStackTrace = session->getFailStackTrace();
|
|
break;
|
|
}
|
|
</pre><dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">session</td><td>session of the completed execution </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d57/_media_information_session_complete_callback_8h_source.html#l00029">29</a> of file <a class="el" href="../../df/d57/_media_information_session_complete_callback_8h_source.html">MediaInformationSessionCompleteCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a250a65ad52e13fa88362845eb4b848ef"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a250a65ad52e13fa88362845eb4b848ef">◆ </a></span>StatisticsCallback</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef std::function<void(const std::shared_ptr<<a class="el" href="../../d0/de7/classffmpegkit_1_1_statistics.html">ffmpegkit::Statistics</a>> statistics)> <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a250a65ad52e13fa88362845eb4b848ef">ffmpegkit::StatisticsCallback</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Callback that receives statistics generated for <code><a class="el" href="../../db/d71/classffmpegkit_1_1_f_fmpeg_kit.html">FFmpegKit</a></code> sessions.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">statistics</td><td>statistics entry </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d6/df1/_statistics_callback_8h_source.html#l00035">35</a> of file <a class="el" href="../../d6/df1/_statistics_callback_8h_source.html">StatisticsCallback.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
|
<a id="a3726dad678d38ecd08f9af2f142156a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3726dad678d38ecd08f9af2f142156a4">◆ </a></span>Level</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a3726dad678d38ecd08f9af2f142156a4">ffmpegkit::Level</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Enumeration type for log levels. </p>
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4a4baea55bfac0c0ac87e3d022c7dfe06e"></a>LevelAVLogStdErr </td><td class="fielddoc"><p>This log level is defined by <a class="el" href="../../db/d71/classffmpegkit_1_1_f_fmpeg_kit.html">FFmpegKit</a>. It is used to specify logs printed to stderr by FFmpeg. Logs that has this level are not filtered and always redirected. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4a601376fad6823274f99a97262f689c2f"></a>LevelAVLogQuiet </td><td class="fielddoc"><p>Print no output. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4a6be4cb38f1ff513c977d2d5e37deae42"></a>LevelAVLogPanic </td><td class="fielddoc"><p>Something went really wrong and we will crash now. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4aeef1c634636b2a03270ba6bab8d2ecf1"></a>LevelAVLogFatal </td><td class="fielddoc"><p>Something went wrong and recovery is not possible. For example, no header was found for a format which depends on headers or an illegal combination of parameters is used. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4a34bc76c36c5f97ec84ad0e5e1cd35251"></a>LevelAVLogError </td><td class="fielddoc"><p>Something went wrong and cannot losslessly be recovered. However, not all future data is affected. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4aaa2ab1eddacb480d687f17f0116d7e46"></a>LevelAVLogWarning </td><td class="fielddoc"><p>Something somehow does not look correct. This may or may not lead to problems. An example would be the use of '-vstrict -2'. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4acfd515b605fe5e71a66f2a47072c4d84"></a>LevelAVLogInfo </td><td class="fielddoc"><p>Standard information. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4ab251e1df59c8c9910f62effc9bbc8631"></a>LevelAVLogVerbose </td><td class="fielddoc"><p>Detailed information. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4a377b674192dd6d0212f3782280342ad3"></a>LevelAVLogDebug </td><td class="fielddoc"><p>Stuff which is only useful for libav* developers. </p>
|
|
</td></tr>
|
|
<tr><td class="fieldname"><a id="a3726dad678d38ecd08f9af2f142156a4acb7d008328737b034c1ac65843c01413"></a>LevelAVLogTrace </td><td class="fielddoc"><p>Extremely verbose debugging, useful for libav* development. </p>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d2/d4b/_level_8h_source.html#l00028">28</a> of file <a class="el" href="../../d2/d4b/_level_8h_source.html">Level.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a11bee89be98423d1dc425a2849001ebe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a11bee89be98423d1dc425a2849001ebe">◆ </a></span>LogRedirectionStrategy</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a11bee89be98423d1dc425a2849001ebe">ffmpegkit::LogRedirectionStrategy</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a11bee89be98423d1dc425a2849001ebea4ac7c7054007119d71549846c2544288"></a>LogRedirectionStrategyAlwaysPrintLogs </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a11bee89be98423d1dc425a2849001ebea662a08ddb8f44ec2a54b2259108d11b1"></a>LogRedirectionStrategyPrintLogsWhenNoCallbacksDefined </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a11bee89be98423d1dc425a2849001ebeacf82deb57f2cfc6bfac3ab4c9a8e534c"></a>LogRedirectionStrategyPrintLogsWhenGlobalCallbackNotDefined </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a11bee89be98423d1dc425a2849001ebea3b1e8dc7839b7abe69fe333e37f71936"></a>LogRedirectionStrategyPrintLogsWhenSessionCallbackNotDefined </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a11bee89be98423d1dc425a2849001ebea51a85a2abdd53daab89f93edb3779635"></a>LogRedirectionStrategyNeverPrintLogs </td><td class="fielddoc"></td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d6/d42/_log_redirection_strategy_8h_source.html#l00025">25</a> of file <a class="el" href="../../d6/d42/_log_redirection_strategy_8h_source.html">LogRedirectionStrategy.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6d76b34ad27245e8ba161c8f30ab5c8f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6d76b34ad27245e8ba161c8f30ab5c8f">◆ </a></span>SessionState</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="../../d2/d25/namespaceffmpegkit.html#a6d76b34ad27245e8ba161c8f30ab5c8f">ffmpegkit::SessionState</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a6d76b34ad27245e8ba161c8f30ab5c8faa2b60da11090d170819db698df90f4a2"></a>SessionStateCreated </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a6d76b34ad27245e8ba161c8f30ab5c8fa384cde9cd29cfe4e94fb4b8f5d3719c1"></a>SessionStateRunning </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a6d76b34ad27245e8ba161c8f30ab5c8fa4e355211ff575fe9e53b5cac1989473e"></a>SessionStateFailed </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="a6d76b34ad27245e8ba161c8f30ab5c8fae395077a2a757c691699536f02cc264f"></a>SessionStateCompleted </td><td class="fielddoc"></td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../df/d13/_session_state_8h_source.html#l00025">25</a> of file <a class="el" href="../../df/d13/_session_state_8h_source.html">SessionState.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac57fab4209bd25d62c86a99bb459bda2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac57fab4209bd25d62c86a99bb459bda2">◆ </a></span>Signal</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="../../d2/d25/namespaceffmpegkit.html#ac57fab4209bd25d62c86a99bb459bda2">ffmpegkit::Signal</a></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<table class="fieldtable">
|
|
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ac57fab4209bd25d62c86a99bb459bda2a5b4b088da6cf903093a8d7789cee04f9"></a>SignalInt </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="ac57fab4209bd25d62c86a99bb459bda2a45dced6df666a601d492885399b63a82"></a>SignalQuit </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="ac57fab4209bd25d62c86a99bb459bda2ae1349a4dbeee5769723ceb0b6ce0efee"></a>SignalPipe </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="ac57fab4209bd25d62c86a99bb459bda2a7a9761ba37058f9235355143ef34deaa"></a>SignalTerm </td><td class="fielddoc"></td></tr>
|
|
<tr><td class="fieldname"><a id="ac57fab4209bd25d62c86a99bb459bda2a253eff2aef02dedda7967818ea2f0639"></a>SignalXcpu </td><td class="fielddoc"></td></tr>
|
|
</table>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d5/dce/_signal_8h_source.html#l00025">25</a> of file <a class="el" href="../../d5/dce/_signal_8h_source.html">Signal.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a7e9ba2846f91ff69d4ddf92e6e14164c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7e9ba2846f91ff69d4ddf92e6e14164c">◆ </a></span>operator<<()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::ostream& ffmpegkit::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::ostream & </td>
|
|
<td class="paramname"><em>out</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::shared_ptr< <a class="el" href="../../d4/dcf/classffmpegkit_1_1_return_code.html">ffmpegkit::ReturnCode</a> > & </td>
|
|
<td class="paramname"><em>o</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../d9/d21/_return_code_8cpp_source.html#l00051">51</a> of file <a class="el" href="../../d9/d21/_return_code_8cpp_source.html">ReturnCode.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Aug 15 2022 23:59:53 for FFmpegKit Linux API by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|