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:
@@ -2959,7 +2959,7 @@ attachments come from the first manifest only.</p>
|
||||
<ul>
|
||||
<li><code>signature</code> holds the attributes that the track list and selection
|
||||
read: codec, range, resolution, frame rate, bitrate and name for video;
|
||||
language, codec, channels, JOC, descriptive, bitrate and name for audio;
|
||||
language, codec, channels, JOC, Atmos, descriptive, bitrate and name for audio;
|
||||
language, codec, flags and name for subtitles.</li>
|
||||
<li>The helper does not remove copies inside one manifest. To remove them,
|
||||
call <code>tracks.dedupe()</code>. Two tracks that differ only in a value outside
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
@@ -10692,7 +10692,9 @@ The transfer the file states wins; <code>self.range</code> applies only when the
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>Return a TextTrack object representing CC track extracted by CCExtractor.</p>
|
||||
<p>Return the CC track that CCExtractor extracts, or None when the video has no captions.</p>
|
||||
<p>CCExtractor reports no captions with exit 10. Version 0.93 exits 0 with an empty file when it cannot read
|
||||
an MP4, so an empty file also counts as no captions.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user