<p><code>-r HYBRID</code> fetches both HDR10/HDR10+ and Dolby Vision and merges them with <code>dovi_tool</code>. It requires the <code>dovi_tool</code> binary on your <code>PATH</code>.</p>
<p><code>-r HYBRID</code> fetches both an HDR10/HDR10+/HDR Vivid base and Dolby Vision and merges them with <code>dovi_tool</code>. It requires the <code>dovi_tool</code> binary on your <code>PATH</code>.</p>
</div>
<h3id="language-subtitles">Language & subtitles<aclass="headerlink"href="#language-subtitles"title="Permanent link">¶</a></h3>
@@ -3297,7 +3297,7 @@ therefore keeps its <code>3840×1920</code> HDR10 track, even when another range
</table>
<p>A <code>quality</code> in the config counts as a requested resolution. When <code>--best-available</code> finds none of the
requested resolutions, <code>--worst</code> also picks from the lowest resolution. In hybrid mode, that is the
lowest resolution that has an HDR10 or HDR10+ base.</p>
lowest resolution that has an HDR10, HDR10+ or HDR Vivid base.</p>
<divclass="language-shell highlight"><spanclass="filename">Never fail on a missing resolution</span><pre><span></span><code><spanid="__span-5-1"><aid="__codelineno-5-1"name="__codelineno-5-1"href="#__codelineno-5-1"></a>unshackle<spanclass="w"></span>dl<spanclass="w"></span>-q<spanclass="w"></span><spanclass="m">2160</span><spanclass="w"></span>--best-available<spanclass="w"></span>EXAMPLE<spanclass="w"></span>0ABC123
</span></code></pre></div>
<h2id="video-codec-and-colour-range">Video codec and colour range<aclass="headerlink"href="#video-codec-and-colour-range"title="Permanent link">¶</a></h2>
@@ -3389,7 +3389,7 @@ alone, so unshackle selects it only when you ask for it with <code>-v LCEVC</cod
</tr>
<tr>
<td><code>HYBRID</code></td>
<td>Fetch both an HDR10/HDR10+ base and a DV track, then merge them</td>
<td>Fetch both an HDR10/HDR10+/HDR Vivid base and a DV track, then merge them</td>
</tr>
</tbody>
</table>
@@ -3435,17 +3435,19 @@ MP4, see <a href="../output-and-naming/#3d-output">3D output</a>.</p>
<p><code>-r HYBRID</code> makes a single hybrid track by injecting the Dolby Vision RPU
metadata onto an HDR10/HDR10+ base layer with <strong>dovi_tool</strong>.
metadata onto an HDR10/HDR10+/HDR Vivid base layer with <strong>dovi_tool</strong>.
It requires the <code>dovi_tool</code> binary, resolved from unshackle's <code>binaries/</code> folder,
the <code>binaries</code> folder of your user data directory, or your <code>PATH</code>. A hybrid needs a DV track plus an HDR10 or
HDR10+ base. With no DV track, the title fails, unless you add <code>--generate-dv</code> (see below).
When HDR10+ is present, unshackle prefers it over HDR10 as the base layer. The base must be
HEVC; a title whose HDR10/HDR10+ tracks are all in another codec fails before it downloads.
the <code>binaries</code> folder of your user data directory, or your <code>PATH</code>. A hybrid needs a DV track plus an HDR10,
HDR10+ or HDR Vivid base. With no DV track, the title fails, unless you add <code>--generate-dv</code> (see below).
unshackle prefers HDR10+ as the base layer, then HDR10. It uses an HDR Vivid track only when the title has
no HEVC HDR10 or HDR10+ track, and only a track with a PQ base. The base and the DV track must have the
same frame rate, and the DV track must not be profile 8.4 (HLG). The base must be
HEVC; a title whose HDR10/HDR10+/HDR Vivid tracks are all in another codec fails before it downloads.
If the hybrid step fails for one resolution, unshackle logs an error, skips that resolution
and goes on with the other resolutions of the title. When no hybrid file at all was made,
the title fails.</p>
<p>A track that is <code>DV+HDR10P</code>, <code>HDR10+DV</code> or<code>HDR10P+DV</code> in <code>--list</code> already carries Dolby Vision and an HDR10
or HDR10+ base, so it is already a hybrid. At a resolution that has one, <code>-r HYBRID</code> selects it
<p>A track that is <code>DV+HDR10P</code>, <code>HDR10+DV</code>,<code>HDR10P+DV</code> or <code>VIVID+DV</code> in <code>--list</code> already carries Dolby Vision and
an HDR10, HDR10+ or PQ HDR Vivid base, so it is already a hybrid. At a resolution that has one, <code>-r HYBRID</code> selects it
and muxes it as it is, with no base track and no dovi_tool step. A track that carries HDR10+
comes first, then the highest bitrate (the lowest with <code>--worst</code>). The other resolutions get a
hybrid that unshackle makes.</p>
@@ -3454,7 +3456,7 @@ hybrid that unshackle makes.</p>
</div>
<h4id="dolby-vision-without-a-dv-track">Dolby Vision without a DV track<aclass="headerlink"href="#dolby-vision-without-a-dv-track"title="Permanent link">¶</a></h4>
<p>When a title has no DV track, <code>-r HYBRID --generate-dv</code> makes a Dolby Vision Profile 8.1 track
for its HDR10 or HDR10+ base. When a title has a DV track, unshackle uses that track and ignores
for its HDR10, HDR10+ or HDR Vivid base. When a title has a DV track, unshackle uses that track and ignores
the flag. When it has none, the flag also makes unshackle ask the service for its HDR10+ tracks.</p>
<table>
<thead>
@@ -3469,7 +3471,7 @@ the flag. When it has none, the flag also makes unshackle ask the service for it
<td>The HDR10+ metadata</td>
</tr>
<tr>
<td>HDR10, or HDR10+ without <code>hdr10plus_tool</code>, or an HDR10+ label with no metadata in the track</td>
<td>HDR10, HDR Vivid, or HDR10+ without <code>hdr10plus_tool</code>, or an HDR10+ label with no metadata in the track</td>
<li>Removes the flag when the CDM returns the same content key, because then the decode check was wrong, not the content key. A content key from another vault is checked in its turn, and flagged as well if it also fails.</li>
</ol>
<p>The download stops with an error instead of writing noise when no ciphertext is left to retry with, or when every vault and the CDM are used up. Without a local SQLite vault nothing remembers a flag, so the same vault serves the same pair again and the download stops there.</p>
<p>Per-segment decryption gives up the retry. With <code>decrypt_segments</code> on, and always with MonaLisa, the plaintext replaces each segment as it arrives, so no ciphertext is left. A failed decode then flags the pair and stops the download. The next run skips the flagged pair.</p>
<p>Per-segment decryption gives up the retry. With <code>decrypt_segments</code> on, and always with a MonaLisa tool that decrypts segments, the plaintext replaces each segment as it arrives, so no ciphertext is left. A failed decode then flags the pair and stops the download. The next run skips the flagged pair.</p>
<p>unshackle copies a content key from one vault to the others only after this check passes, so a content key that fails the check does not spread. Without FFmpeg, a content key from a vault is not copied at all. To see or clear the flags, open the SQLite file and read or delete rows in <code>bad_keys</code>.</p>
<divclass="admonition tip">
<pclass="admonition-title">A good two-vault setup</p>
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.