mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-12 20:15:10 +00:00
Deployed 65e807bf with MkDocs version: 1.6.1
This commit is contained in:
@@ -2553,7 +2553,7 @@ format-appropriate clean-up to make a single, valid file:</p>
|
||||
<code>&lrm;</code> / <code>&rlm;</code> bidirectional entities.</li>
|
||||
<li><strong>Segment merging</strong>: when a WebVTT or boxed subtitle arrives as many DASH/HLS
|
||||
segments, unshackle merges the segments back into one continuous document with
|
||||
correct timing.</li>
|
||||
correct timing. A cue that a segment boundary cuts in two comes out as one cue.</li>
|
||||
<li><strong>WebVTT sanitization</strong>: merged WebVTT runs through a repair pipeline that clamps
|
||||
negative timestamps to <code>00:00:00.000</code>, removes stray cue identifiers (like <code>Q0</code>, <code>Q1</code>)
|
||||
that confuse downstream parsers, and merges multi-line cues that a service split into
|
||||
|
||||
BIN
Binary file not shown.
@@ -2324,6 +2324,17 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Subtitle.append_cue" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> append_cue
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -3797,6 +3808,17 @@
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="#unshackle.core.tracks.Subtitle.append_cue" class="md-nav__link">
|
||||
<span class="md-ellipsis">
|
||||
|
||||
<code class="doc-symbol doc-symbol-toc doc-symbol-method"></code> append_cue
|
||||
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="md-nav__item">
|
||||
@@ -6364,6 +6386,30 @@ A cue carried in from before the offset starts at 0; this method drops a cue tha
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
<h3 id="unshackle.core.tracks.Subtitle.append_cue" class="doc doc-heading">
|
||||
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">append_cue</span>
|
||||
|
||||
|
||||
<span class="doc doc-labels">
|
||||
<small class="doc doc-label doc-label-staticmethod"><code>staticmethod</code></small>
|
||||
</span>
|
||||
|
||||
<a href="#unshackle.core.tracks.Subtitle.append_cue" class="headerlink" title="Permanent link">¶</a></h3>
|
||||
<div class="language-python doc-signature highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="nf">append_cue</span><span class="p">(</span><span class="n">kept</span><span class="p">,</span> <span class="n">caption</span><span class="p">)</span>
|
||||
</span></code></pre></div>
|
||||
|
||||
<div class="doc doc-contents ">
|
||||
|
||||
<p>Append caption to kept, or extend the last cue that a segment boundary cut and caption carries on.</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="doc doc-object doc-function">
|
||||
|
||||
|
||||
<h3 id="unshackle.core.tracks.Subtitle.first_cue_start" class="doc doc-heading">
|
||||
<code class="doc-symbol doc-symbol-heading doc-symbol-method"></code> <span class="doc doc-object-name doc-function-name">first_cue_start</span>
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user