Skip to content

Commit

Permalink
Deployed 2096923 to v0.2.6-dev with MkDocs 1.6.0 and mike 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiTronix committed Jun 23, 2024
1 parent 01c0c86 commit 23af120
Show file tree
Hide file tree
Showing 6 changed files with 1,816 additions and 1,764 deletions.
29 changes: 14 additions & 15 deletions dev/reference/ffhelper/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -461,21 +461,20 @@
<a id=__codelineno-0-23 name=__codelineno-0-23 href=#__codelineno-0-23></a> <span class=n>supported_protocols</span> <span class=o>=</span> <span class=n>splitted</span><span class=p>[</span><span class=n>splitted</span><span class=o>.</span><span class=n>index</span><span class=p>(</span><span class=s2>&quot;Output:&quot;</span><span class=p>)</span> <span class=o>+</span> <span class=mi>1</span> <span class=p>:</span> <span class=nb>len</span><span class=p>(</span><span class=n>splitted</span><span class=p>)</span> <span class=o>-</span> <span class=mi>1</span><span class=p>]</span>
<a id=__codelineno-0-24 name=__codelineno-0-24 href=#__codelineno-0-24></a> <span class=c1># RTSP is a demuxer somehow</span>
<a id=__codelineno-0-25 name=__codelineno-0-25 href=#__codelineno-0-25></a> <span class=c1># support both RTSP and RTSPS(over SSL)</span>
<a id=__codelineno-0-26 name=__codelineno-0-26 href=#__codelineno-0-26></a> <span class=n>logger</span><span class=o>.</span><span class=n>critical</span><span class=p>(</span><span class=n>get_supported_demuxers</span><span class=p>(</span><span class=n>path</span><span class=p>))</span>
<a id=__codelineno-0-27 name=__codelineno-0-27 href=#__codelineno-0-27></a> <span class=n>supported_protocols</span> <span class=o>+=</span> <span class=p>(</span>
<a id=__codelineno-0-28 name=__codelineno-0-28 href=#__codelineno-0-28></a> <span class=p>[</span><span class=s2>&quot;rtsp&quot;</span><span class=p>,</span> <span class=s2>&quot;rtsps&quot;</span><span class=p>]</span> <span class=k>if</span> <span class=s2>&quot;rtsp&quot;</span> <span class=ow>in</span> <span class=n>get_supported_demuxers</span><span class=p>(</span><span class=n>path</span><span class=p>)</span> <span class=k>else</span> <span class=p>[]</span>
<a id=__codelineno-0-29 name=__codelineno-0-29 href=#__codelineno-0-29></a> <span class=p>)</span>
<a id=__codelineno-0-30 name=__codelineno-0-30 href=#__codelineno-0-30></a> <span class=c1># Test and return result whether scheme is supported</span>
<a id=__codelineno-0-31 name=__codelineno-0-31 href=#__codelineno-0-31></a> <span class=k>if</span> <span class=n>extracted_scheme_url</span> <span class=ow>and</span> <span class=n>extracted_scheme_url</span> <span class=ow>in</span> <span class=n>supported_protocols</span><span class=p>:</span>
<a id=__codelineno-0-32 name=__codelineno-0-32 href=#__codelineno-0-32></a> <span class=n>verbose</span> <span class=ow>and</span> <span class=n>logger</span><span class=o>.</span><span class=n>debug</span><span class=p>(</span>
<a id=__codelineno-0-33 name=__codelineno-0-33 href=#__codelineno-0-33></a> <span class=s2>&quot;URL scheme `</span><span class=si>{}</span><span class=s2>` is supported by FFmpeg.&quot;</span><span class=o>.</span><span class=n>format</span><span class=p>(</span><span class=n>extracted_scheme_url</span><span class=p>)</span>
<a id=__codelineno-0-34 name=__codelineno-0-34 href=#__codelineno-0-34></a> <span class=p>)</span>
<a id=__codelineno-0-35 name=__codelineno-0-35 href=#__codelineno-0-35></a> <span class=k>return</span> <span class=kc>True</span>
<a id=__codelineno-0-36 name=__codelineno-0-36 href=#__codelineno-0-36></a> <span class=k>else</span><span class=p>:</span>
<a id=__codelineno-0-37 name=__codelineno-0-37 href=#__codelineno-0-37></a> <span class=n>verbose</span> <span class=ow>and</span> <span class=n>logger</span><span class=o>.</span><span class=n>warning</span><span class=p>(</span>
<a id=__codelineno-0-38 name=__codelineno-0-38 href=#__codelineno-0-38></a> <span class=s2>&quot;URL scheme `</span><span class=si>{}</span><span class=s2>` isn&#39;t supported by FFmpeg!&quot;</span><span class=o>.</span><span class=n>format</span><span class=p>(</span><span class=n>extracted_scheme_url</span><span class=p>)</span>
<a id=__codelineno-0-39 name=__codelineno-0-39 href=#__codelineno-0-39></a> <span class=p>)</span>
<a id=__codelineno-0-40 name=__codelineno-0-40 href=#__codelineno-0-40></a> <span class=k>return</span> <span class=kc>False</span>
<a id=__codelineno-0-26 name=__codelineno-0-26 href=#__codelineno-0-26></a> <span class=n>supported_protocols</span> <span class=o>+=</span> <span class=p>(</span>
<a id=__codelineno-0-27 name=__codelineno-0-27 href=#__codelineno-0-27></a> <span class=p>[</span><span class=s2>&quot;rtsp&quot;</span><span class=p>,</span> <span class=s2>&quot;rtsps&quot;</span><span class=p>]</span> <span class=k>if</span> <span class=s2>&quot;rtsp&quot;</span> <span class=ow>in</span> <span class=n>get_supported_demuxers</span><span class=p>(</span><span class=n>path</span><span class=p>)</span> <span class=k>else</span> <span class=p>[]</span>
<a id=__codelineno-0-28 name=__codelineno-0-28 href=#__codelineno-0-28></a> <span class=p>)</span>
<a id=__codelineno-0-29 name=__codelineno-0-29 href=#__codelineno-0-29></a> <span class=c1># Test and return result whether scheme is supported</span>
<a id=__codelineno-0-30 name=__codelineno-0-30 href=#__codelineno-0-30></a> <span class=k>if</span> <span class=n>extracted_scheme_url</span> <span class=ow>and</span> <span class=n>extracted_scheme_url</span> <span class=ow>in</span> <span class=n>supported_protocols</span><span class=p>:</span>
<a id=__codelineno-0-31 name=__codelineno-0-31 href=#__codelineno-0-31></a> <span class=n>verbose</span> <span class=ow>and</span> <span class=n>logger</span><span class=o>.</span><span class=n>debug</span><span class=p>(</span>
<a id=__codelineno-0-32 name=__codelineno-0-32 href=#__codelineno-0-32></a> <span class=s2>&quot;URL scheme `</span><span class=si>{}</span><span class=s2>` is supported by FFmpeg.&quot;</span><span class=o>.</span><span class=n>format</span><span class=p>(</span><span class=n>extracted_scheme_url</span><span class=p>)</span>
<a id=__codelineno-0-33 name=__codelineno-0-33 href=#__codelineno-0-33></a> <span class=p>)</span>
<a id=__codelineno-0-34 name=__codelineno-0-34 href=#__codelineno-0-34></a> <span class=k>return</span> <span class=kc>True</span>
<a id=__codelineno-0-35 name=__codelineno-0-35 href=#__codelineno-0-35></a> <span class=k>else</span><span class=p>:</span>
<a id=__codelineno-0-36 name=__codelineno-0-36 href=#__codelineno-0-36></a> <span class=n>verbose</span> <span class=ow>and</span> <span class=n>logger</span><span class=o>.</span><span class=n>warning</span><span class=p>(</span>
<a id=__codelineno-0-37 name=__codelineno-0-37 href=#__codelineno-0-37></a> <span class=s2>&quot;URL scheme `</span><span class=si>{}</span><span class=s2>` isn&#39;t supported by FFmpeg!&quot;</span><span class=o>.</span><span class=n>format</span><span class=p>(</span><span class=n>extracted_scheme_url</span><span class=p>)</span>
<a id=__codelineno-0-38 name=__codelineno-0-38 href=#__codelineno-0-38></a> <span class=p>)</span>
<a id=__codelineno-0-39 name=__codelineno-0-39 href=#__codelineno-0-39></a> <span class=k>return</span> <span class=kc>False</span>
</code></pre></div> </details> </div> </div> <p>&nbsp;</p> <div class="doc doc-object doc-function"> <div class="doc doc-contents first"> <h4 id=deffcode.ffhelper.check_sp_output--check_sp_output>check_sp_output<a class=headerlink href=#deffcode.ffhelper.check_sp_output--check_sp_output title="Anchor link to this section for reference">&para;</a></h4> <p>Returns FFmpeg <code>stdout</code> output from subprocess module.</p> <p><strong>Parameters:</strong></p> <table> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> </thead> <tbody> <tr> <td><code>args</code></td> <td><code>based on input</code></td> <td><p>Non Keyword Arguments</p></td> <td><code>()</code></td> </tr> <tr> <td><code>kwargs</code></td> <td><code>based on input</code></td> <td><p>Keyword Arguments</p></td> <td><code>{}</code></td> </tr> </tbody> </table> <p><strong>Returns:</strong> A string value.</p> <details class=quote> <summary>Source code in <code>deffcode/ffhelper.py</code></summary> <div class=highlight><pre><span></span><code><a id=__codelineno-0-1 name=__codelineno-0-1 href=#__codelineno-0-1></a><span class=k>def</span> <span class=nf>check_sp_output</span><span class=p>(</span><span class=o>*</span><span class=n>args</span><span class=p>,</span> <span class=o>**</span><span class=n>kwargs</span><span class=p>):</span>
<a id=__codelineno-0-2 name=__codelineno-0-2 href=#__codelineno-0-2></a><span class=w> </span><span class=sd>&quot;&quot;&quot;</span>
<a id=__codelineno-0-3 name=__codelineno-0-3 href=#__codelineno-0-3></a><span class=sd> ## check_sp_output</span>
Expand Down
Loading

0 comments on commit 23af120

Please sign in to comment.