Deployed d12bf31b with MkDocs version: 1.6.1

This commit is contained in:
2026-11-10 18:58:00 +00:00
parent 4d29600e4f
commit 57fb0d9d87
9 changed files with 437 additions and 123 deletions
+2 -2
View File
@@ -2566,13 +2566,13 @@ fetching tracks:</p>
</span><span id="__span-4-3"><a id="__codelineno-4-3" name="__codelineno-4-3" href="#__codelineno-4-3"></a> <span class="n">codecs</span><span class="p">:</span> <span class="nb">list</span><span class="p">[</span><span class="n">Video</span><span class="o">.</span><span class="n">Codec</span><span class="p">]</span> <span class="o">=</span> <span class="p">[]</span> <span class="c1"># empty == accept any codec</span>
</span><span id="__span-4-4"><a id="__codelineno-4-4" name="__codelineno-4-4" href="#__codelineno-4-4"></a> <span class="n">ranges</span><span class="p">:</span> <span class="nb">list</span><span class="p">[</span><span class="n">Video</span><span class="o">.</span><span class="n">Range</span><span class="p">]</span> <span class="o">=</span> <span class="p">[</span><span class="n">Video</span><span class="o">.</span><span class="n">Range</span><span class="o">.</span><span class="n">SDR</span><span class="p">]</span>
</span><span id="__span-4-5"><a id="__codelineno-4-5" name="__codelineno-4-5" href="#__codelineno-4-5"></a> <span class="n">best_available</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span>
</span><span id="__span-4-6"><a id="__codelineno-4-6" name="__codelineno-4-6" href="#__codelineno-4-6"></a> <span class="n">generate_dv</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span> <span class="c1"># --generate-dv: make Dolby Vision from HDR10+</span>
</span><span id="__span-4-6"><a id="__codelineno-4-6" name="__codelineno-4-6" href="#__codelineno-4-6"></a> <span class="n">generate_dv</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span> <span class="c1"># --generate-dv: make Dolby Vision when a title has no DV track</span>
</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
HDR10P when <code>track_request.generate_dv</code> is set and the title has no DV track.
The conversion needs an HEVC HDR10+ track as its base.
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>
</div>
<div class="admonition note">
+1 -1
View File
@@ -4086,7 +4086,7 @@ ignore it safely. See <a href="../../creating-a-service/#split-episodes">Split e
<td><code>generate_dv</code></td>
<td>boolean</td>
<td><code>false</code></td>
<td>With <code>HYBRID</code> in <code>range</code>, make Dolby Vision from the HDR10+ metadata when a title has no DV track. Needs <code>hdr10plus_tool</code> on the server. Without <code>HYBRID</code> in <code>range</code>, the request returns <code>400</code>.</td>
<td>With <code>HYBRID</code> in <code>range</code>, make Dolby Vision from the HDR10+ metadata or the decoded video when a title has no DV track. With <code>HDR10</code> or <code>HDR10P</code> in <code>range</code> and no <code>HYBRID</code>, make it for that base and ignore a DV track. With none of the three in <code>range</code>, the field has no effect.</td>
</tr>
<tr>
<td><code>repack</code></td>
+1 -1
View File
@@ -2832,7 +2832,7 @@ See <a href="../../guide/proxies-and-vpn/">Proxies and VPN</a>.</p>
<code>[Video.Range.SDR]</code>), <code>best_available</code>, and <code>generate_dv</code> (from <code>--generate-dv</code>).
Use it in <code>get_tracks</code> to decide which variants to fetch. A service that fetches
the HYBRID variants itself must also fetch HDR10P when <code>generate_dv</code> is set and
the title has no DV track, because the conversion needs an HEVC HDR10+ base.</p>
the title has no DV track, because unshackle prefers an HEVC HDR10+ base.</p>
</div>
<h2 id="titles-and-the-title-hierarchy">Titles and the <code>Title</code> hierarchy<a class="headerlink" href="#titles-and-the-title-hierarchy" title="Permanent link">&para;</a></h2>
<p><code>get_titles()</code> returns a <strong>title collection</strong>, one of the <code>Titles_T</code> types. Each