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

343 lines
17 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

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

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
<title>MediaInformationJsonParser </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2020-03-25">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../dokka-javadoc-stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
<script type="text/javascript" src="../../../search.js"></script>
<script async type="text/javascript" src="../../../module-search-index.js"></script>
<script async type="text/javascript" src="../../../package-search-index.js"></script>
<script async type="text/javascript" src="../../../type-search-index.js"></script>
<script async type="text/javascript" src="../../../member-search-index.js"></script>
<script async type="text/javascript" src="../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
</div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li>Help</li>
</ul></div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
<h2 title="Class MediaInformationJsonParser" class="title">Class MediaInformationJsonParser</h2>
</div>
<div class="contentContainer">
<!-- <ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>adaptation.Adaptation</li>
</ul>
</li>
</ul> TODO inheritance tree -->
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre class="wrap-overflow">
public class <span class="typeNameLabel"><a href=MediaInformationJsonParser.html>MediaInformationJsonParser</a></span>
</pre>
<div class="block"><p>A parser that constructs <a href=MediaInformation.html>MediaInformation</a> from FFprobe's json output.</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public final static <a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a></code></td>
<th class="colSecond" scope="row"><code><a href=MediaInformationJsonParser.html#KEY_STREAMS>KEY_STREAMS</a></code></th>
<td class="colLast"></td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>public final static <a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a></code></td>
<th class="colSecond" scope="row"><code><a href=MediaInformationJsonParser.html#KEY_CHAPTERS>KEY_CHAPTERS</a></code></th>
<td class="colLast"></td>
</tr>
</table>
</div>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal">
<button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
<!-- TODO: Instance and Concrete Methods #1118 -->
</div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href=MediaInformation.html>MediaInformation</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=MediaInformationJsonParser.html#from(String)>from</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> ffprobeJsonOutput) </code>
</th>
<td class="colLast">Extracts <code>MediaInformation</code> from the given FFprobe json output.</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static <a href=MediaInformation.html>MediaInformation</a></code>
</td>
<th class="colSecond" scope="row"><code><a href=MediaInformationJsonParser.html#fromWithError(String)>fromWithError</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> ffprobeJsonOutput) </code>
</th>
<td class="colLast">Extracts MediaInformation from the given FFprobe json output.</td>
</tr>
</tbody>
</table>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="from(String)">
<!-- -->
</a>
<ul class=
"blockList"
>
<li class="blockList">
<h4>from</h4>
<pre class="methodSignature"> static <a href=MediaInformation.html>MediaInformation</a> <a href=MediaInformationJsonParser.html#from(String)>from</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> ffprobeJsonOutput)</pre>
<div class="block"><p>Extracts <code>MediaInformation</code> from the given FFprobe json output. Note that thismethod does not throw <a href=https://developer.android.com/reference/kotlin/org/json/JSONException.html>JSONException</a> as <a href=MediaInformationJsonParser.html#fromWithError(String)>fromWithError</a> does andhandles errors internally.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ffprobeJsonOutput</code> - FFprobe json output</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
<a id="fromWithError(String)">
<!-- -->
</a>
<ul class=
"blockListLast"
>
<li class="blockList">
<h4>fromWithError</h4>
<pre class="methodSignature"> static <a href=MediaInformation.html>MediaInformation</a> <a href=MediaInformationJsonParser.html#fromWithError(String)>fromWithError</a>(<a href=https://developer.android.com/reference/kotlin/java/lang/String.html>String</a> ffprobeJsonOutput)</pre>
<div class="block"><p>Extracts MediaInformation from the given FFprobe json output.</p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ffprobeJsonOutput</code> - ffprobe json output</dd>
</dl>
<!-- TODO missing return annotation -->
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
</div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li>Help</li>
</ul></div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
<li><a href="../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>