Deployed 90ab0ca4 with MkDocs version: 1.6.1

This commit is contained in:
2026-12-01 21:29:26 +00:00
parent 5f4b508235
commit eaaad30b12
15 changed files with 905 additions and 631 deletions
+2 -2
View File
@@ -2591,7 +2591,7 @@ fetching tracks:</p>
</span></code></pre></div>
<div class="admonition note">
<p class="admonition-title"><code>generate_dv</code> and a hand-made HYBRID</p>
<p>A service that fetches the HYBRID variants itself (HDR10 and DV) must also fetch
<p>A service that fetches the HYBRID variants itself (HDR10 or HDR Vivid, and DV) must also fetch
HDR10P when <code>track_request.generate_dv</code> is set and the title has no DV track.
unshackle prefers an HEVC HDR10+ track as the base, and measures an HDR10 base from the decoded video.
<code>get_tracks_for_variants</code> does this for you.</p>
@@ -2941,7 +2941,7 @@ language token.</p>
</div>
<p>Some services deliver a <strong>separate manifest per codec/range</strong>. The base class
provides <code>get_tracks_for_variants(title, fetch_fn)</code> to fan out over every
codec×range in the <code>TrackRequest</code>, including <code>HYBRID</code> (fetch HDR10 + DV and
codec×range in the <code>TrackRequest</code>, including <code>HYBRID</code> (fetch HDR10, or HDR Vivid when there is no HDR10, + DV and
merge) and <code>--best-available</code> skip-on-error handling:</p>
<div class="language-python highlight"><pre><span></span><code><span id="__span-19-1"><a id="__codelineno-19-1" name="__codelineno-19-1" href="#__codelineno-19-1"></a><span class="k">def</span><span class="w"> </span><span class="nf">get_tracks</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">title</span><span class="p">:</span> <span class="n">Title_T</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tracks</span><span class="p">:</span>
</span><span id="__span-19-2"><a id="__codelineno-19-2" name="__codelineno-19-2" href="#__codelineno-19-2"></a> <span class="k">def</span><span class="w"> </span><span class="nf">fetch_variant</span><span class="p">(</span><span class="n">title</span><span class="p">,</span> <span class="n">codec</span><span class="p">,</span> <span class="n">range_</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="n">Tracks</span><span class="p">:</span>