mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 14:35:09 +00:00
Deployed ce0babb4 with MkDocs version: 1.6.1
This commit is contained in:
@@ -3689,6 +3689,9 @@ and <code>vorbis</code> gives <code>OGG</code>.</p>
|
||||
<code>5.1.4</code> matches on its total number of channels, so <code>-c 10</code> selects it.</li>
|
||||
<li><code>-naa</code> / <code>--noatmos</code>: exclude Atmos audio tracks from selection.</li>
|
||||
</ul>
|
||||
<p>A track is Atmos when its manifest says so: a DD+ JOC descriptor, an HLS <code>CHANNELS</code> value with
|
||||
<code>JOC</code> or <code>ATMOS</code> (<code>16/JOC</code>, <code>2/IMSA,ATMOS</code>), or the Smooth Streaming <code>HasAtmos</code> attribute. A DASH
|
||||
manifest has no Atmos signal for AC-4, so a DASH AC-4 track is Atmos only when the service marks it.</p>
|
||||
<div class="language-shell highlight"><span class="filename">5.1 audio, no Atmos</span><pre><span></span><code><span id="__span-11-1"><a id="__codelineno-11-1" name="__codelineno-11-1" href="#__codelineno-11-1"></a>unshackle<span class="w"> </span>dl<span class="w"> </span>-c<span class="w"> </span><span class="m">5</span>.1<span class="w"> </span>--noatmos<span class="w"> </span>EXAMPLE<span class="w"> </span>0ABC123
|
||||
</span></code></pre></div>
|
||||
<h3 id="music-quality">Music quality<a class="headerlink" href="#music-quality" title="Permanent link">¶</a></h3>
|
||||
|
||||
@@ -2813,7 +2813,7 @@
|
||||
</div>
|
||||
<div class="admonition tip">
|
||||
<p class="admonition-title">Let tool runs log themselves</p>
|
||||
<p>For external-tool calls (FFmpeg, mkvmerge, <code>dovi_tool</code>, and friends), route through <code>run_step</code> / <code>run_tool</code> / <code>ffprobe</code>, which auto-emit a <code>tool_run</code> entry capturing the binary's version, return code, and duration consistently. <code>run_tool</code> also raises <code>ToolFailed</code>, whose message names the tool, the exit code and the last lines the tool wrote. Only fall back to calling <code>log_tool_run</code> manually for a direct <code>subprocess.run</code> you genuinely cannot route through those helpers. Auto-logging is the preferred path precisely because it captures those fields the same way every time.</p>
|
||||
<p>For external-tool calls (FFmpeg, mkvmerge, <code>dovi_tool</code>, and friends), route through <code>run_step</code> / <code>run_tool</code> / <code>ffprobe</code>, which auto-emit a <code>tool_run</code> entry capturing the binary's version, return code, and duration consistently. <code>run_tool</code> also raises <code>ToolFailed</code>, whose message names the tool, the exit code and the last lines the tool wrote. A failure that the caller recovers from (a retry, a fallback) is named with <code>handled=</code> (exit codes or stderr text): its <code>tool_run</code> entry is <code>DEBUG</code>, not <code>ERROR</code>, and the call still raises. Only fall back to calling <code>log_tool_run</code> manually for a direct <code>subprocess.run</code> you genuinely cannot route through those helpers. Auto-logging is the preferred path precisely because it captures those fields the same way every time.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user