mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-15 05:25:12 +00:00
Deployed d7476ac6 with MkDocs version: 1.6.1
This commit is contained in:
@@ -1984,6 +1984,17 @@
|
||||
<nav class="md-nav" aria-label=" Codec">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Audio.Codec.from_ts" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> from_ts
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Audio.Codec.from_ffprobe" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
@@ -3650,6 +3661,17 @@
|
||||
<nav class="md-nav" aria-label=" Codec">
|
||||
<ul class="md-nav__list">
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Audio.Codec.from_ts" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> from_ts
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Audio.Codec.from_ffprobe" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
@@ -5771,6 +5793,30 @@ recommended.</p>
|
||||
|
||||
|
||||
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
<h4 id="unshackle.core.tracks.Audio.Codec.from_ts" class="doc doc-heading">
|
||||
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">from_ts</span>
|
||||
|
||||
|
||||
<span class="doc doc-labels">
|
||||
<small class="doc doc-label doc-label-staticmethod"><code>staticmethod</code></small>
|
||||
</span>
|
||||
|
||||
<a href="#unshackle.core.tracks.Audio.Codec.from_ts" class="headerlink" title="Permanent link">¶</a></h4>
|
||||
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">from_ts</span><span class="p">(</span><span class="n">stream_type</span><span class="p">,</span> <span class="n">registration</span><span class="p">)</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>The codec an MPEG-TS PMT entry names by its registration descriptor or <code>stream_type</code>, else None.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
@@ -5946,7 +5992,7 @@ float, so this adds its figures: "5.1.4" -> 10.0.</p>
|
||||
|
||||
<p>Remux the track into the container of the codec FFprobe reads from the file, cut to the sample window.</p>
|
||||
<p>The declared codec is used only when FFprobe cannot read the file. Every failure raises and keeps the
|
||||
downloaded file.</p>
|
||||
downloaded file. Audio Vivid raises: FFprobe reads it as MP3, and no music container carries it.</p>
|
||||
|
||||
|
||||
</div>
|
||||
@@ -9073,8 +9119,9 @@ A subtitle in an unlisted codec is always kept.</p>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>Sort video tracks by resolution, 2D before 3D, then bitrate, and optionally language.</p>
|
||||
<p>A 3D track carries two views, so its higher bitrate would otherwise rank it over the 2D one.</p>
|
||||
<p>Sort video tracks by standard resolution, 2D before 3D, then bitrate, and optionally language.</p>
|
||||
<p>The standard resolution puts a 3840x1606 and a 3840x1610 crop in one 2160p group, ordered by bitrate.
|
||||
A 3D track carries two views, so its higher bitrate would otherwise rank it over the 2D one.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2312,7 +2312,7 @@ default. In other words, config only fills in options you did not set on the com
|
||||
<td><code>range</code></td>
|
||||
<td>list</td>
|
||||
<td><code>["SDR"]</code></td>
|
||||
<td>Colour range(s): <code>SDR</code>, <code>HLG</code>, <code>HDR10</code>, <code>HDR10P</code>, <code>DV</code>, <code>HYBRID</code>.</td>
|
||||
<td>Colour range(s): <code>SDR</code>, <code>HLG</code>, <code>HDR10</code>, <code>HDR10P</code>, <code>VIVID</code>, <code>DV</code>, <code>HYBRID</code>.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>channels</code></td>
|
||||
@@ -2982,6 +2982,12 @@ probes the two highest and the two lowest bitrates first:</p>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>The probe also finds HDR Vivid in HEVC HDR10 and HLG tracks. A track becomes <code>VIVID</code>, so
|
||||
<code>-r VIVID</code> selects it, when its first frame carries CUVA HDR Vivid metadata, or when its MPEG-TS
|
||||
program map table (PMT) has the <code>cuvv</code> registration. An HLG track never becomes <code>HDR10P</code>. An audio
|
||||
track with no codec gets its codec from the PMT of an MPEG-TS first segment: the <code>AVSA</code>
|
||||
registration or <code>stream_type</code> <code>0xD5</code> gives <code>Audio Vivid</code>. The probe has no HDR10+ result for an
|
||||
MPEG-TS track.</p>
|
||||
<p>A probe that fails, or a fragment whose metadata is encrypted, keeps the label from the service.
|
||||
unshackle does not probe ISM tracks. Each probe makes one to three small requests: the 64 KiB
|
||||
fragment, plus the playlist of an HLS track or the header of a one-file track. The probes run in
|
||||
|
||||
@@ -2276,8 +2276,8 @@ order and the first match wins. If no rule matches, the global <code>tag</code>
|
||||
an HDR10 base layer gives <code>DV.HDR</code>, and with an HDR10+ base layer <code>DV.HDR10P</code>. Plain <code>DV</code>
|
||||
does <strong>not</strong> match those. Name every variant you want, as the example above does. Note
|
||||
also that HDR10 gives <code>HDR</code>, not <code>HDR10</code>, and so does a PQ video track with no HDR10
|
||||
metadata. The full set of values is <code>HDR</code>, <code>HDR10P</code>, <code>DV</code>, <code>DV.HDR</code>, <code>DV.HDR10P</code>, and
|
||||
<code>HLG</code>, as listed in the
|
||||
metadata. The full set of values is <code>HDR</code>, <code>HDR10P</code>, <code>DV</code>, <code>DV.HDR</code>, <code>DV.HDR10P</code>,
|
||||
<code>HDRVivid</code>, and <code>HLG</code>, as listed in the
|
||||
<a href="../../../guide/output-and-naming/#template-variables">variable table</a>.</p>
|
||||
</div>
|
||||
<h3 id="operators">Operators<a class="headerlink" href="#operators" title="Permanent link">¶</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user