Skip to content

Commit 7c99726

Browse files
author
github-actions
committed
[docs] @Breakthrough: Generate Documentation
Source: main (7fce841) Destination: head
1 parent dd61eef commit 7c99726

17 files changed

Lines changed: 243 additions & 29 deletions
0 Bytes
Binary file not shown.
47.1 KB
Binary file not shown.

docs/head/.doctrees/cli.doctree

6.65 KB
Binary file not shown.
666 Bytes
Binary file not shown.
77.2 KB
Binary file not shown.

docs/head/_sources/api/migration_guide.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,4 @@ CLI Changes
203203

204204
- The ``-d``/``--min-delta-hsv`` option on ``detect-adaptive`` has been removed. Use ``-c``/``--min-content-val`` instead.
205205
- VFR videos now work correctly with both the OpenCV and PyAV backends.
206-
- New ``save-xml`` command for exporting scenes in Final Cut Pro XML format.
206+
- New ``save-fcp`` command for exporting scenes in Final Cut Pro XML format.

docs/head/_sources/api/output.rst.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ Ouptut
2020

2121
.. autofunction:: scenedetect.output.write_scene_list
2222

23+
.. autofunction:: scenedetect.output.write_scene_list_edl
24+
25+
.. autofunction:: scenedetect.output.write_scene_list_fcpx
26+
27+
.. autofunction:: scenedetect.output.write_scene_list_fcp7
28+
29+
.. autofunction:: scenedetect.output.write_scene_list_otio
30+
2331
.. autoclass:: scenedetect.output.SceneMetadata
2432

2533
.. autoclass:: scenedetect.output.VideoMetadata

docs/head/_sources/cli.rst.txt

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,6 @@ Options
178178

179179
Default: ``15.0``
180180

181-
182-
183181
.. option:: -f VAL, --frame-window VAL
184182

185183
Size of window to detect deviations from mean. Represents how many frames before/after the current one to use for mean.
@@ -552,6 +550,38 @@ Options
552550
Output directory to save EDL file to. Overrides global option :option:`-o/--output <scenedetect -o>`.
553551

554552

553+
.. _command-save-fcp:
554+
555+
.. program:: scenedetect save-fcp
556+
557+
558+
``save-fcp``
559+
========================================================================
560+
561+
Save cuts in Final Cut Pro XML format (FCP7 xmeml or FCPX).
562+
563+
564+
Options
565+
------------------------------------------------------------------------
566+
567+
568+
.. option:: -f NAME, --filename NAME
569+
570+
Filename format to use.
571+
572+
Default: ``$VIDEO_NAME.xml``
573+
574+
.. option:: --format TYPE
575+
576+
Format to export. TYPE must be one of: fcpx, fcp7.
577+
578+
Default: ``FcpFormat.FCPX``
579+
580+
.. option:: -o DIR, --output DIR
581+
582+
Output directory to save XML file to. Overrides global option :option:`-o/--output <scenedetect -o>`.
583+
584+
555585
.. _command-save-html:
556586

557587
.. program:: scenedetect save-html
@@ -658,11 +688,11 @@ Options
658688

659689
Default: ``3``
660690

661-
.. option:: -m N, --frame-margin N
691+
.. option:: -m DURATION, --frame-margin DURATION
662692

663-
Number of frames to ignore at beginning/end of scenes when saving images. Controls temporal padding on scene boundaries.
693+
Padding around the beginning/end of each scene used when selecting which frames to extract. DURATION can be specified in frames (-m 1), in seconds with `s` suffix (-m 0.1s), or timecode (-m 00:00:00.100).
664694

665-
Default: ``3``
695+
Default: ``1``
666696

667697
.. option:: -s S, --scale S
668698

docs/head/api.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,10 @@ <h2>Module Reference<a class="headerlink" href="#module-reference" title="Permal
317317
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.split_video_mkvmerge"><code class="docutils literal notranslate"><span class="pre">split_video_mkvmerge()</span></code></a></li>
318318
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list_html"><code class="docutils literal notranslate"><span class="pre">write_scene_list_html()</span></code></a></li>
319319
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list"><code class="docutils literal notranslate"><span class="pre">write_scene_list()</span></code></a></li>
320+
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list_edl"><code class="docutils literal notranslate"><span class="pre">write_scene_list_edl()</span></code></a></li>
321+
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list_fcpx"><code class="docutils literal notranslate"><span class="pre">write_scene_list_fcpx()</span></code></a></li>
322+
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list_fcp7"><code class="docutils literal notranslate"><span class="pre">write_scene_list_fcp7()</span></code></a></li>
323+
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.write_scene_list_otio"><code class="docutils literal notranslate"><span class="pre">write_scene_list_otio()</span></code></a></li>
320324
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.SceneMetadata"><code class="docutils literal notranslate"><span class="pre">SceneMetadata</span></code></a></li>
321325
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.VideoMetadata"><code class="docutils literal notranslate"><span class="pre">VideoMetadata</span></code></a></li>
322326
<li class="toctree-l2"><a class="reference internal" href="api/output.html#scenedetect.output.default_formatter"><code class="docutils literal notranslate"><span class="pre">default_formatter()</span></code></a></li>

docs/head/api/migration_guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ <h2>CLI Changes<a class="headerlink" href="#cli-changes" title="Permalink to thi
226226
<ul class="simple">
227227
<li><p>The <code class="docutils literal notranslate"><span class="pre">-d</span></code>/<code class="docutils literal notranslate"><span class="pre">--min-delta-hsv</span></code> option on <code class="docutils literal notranslate"><span class="pre">detect-adaptive</span></code> has been removed. Use <code class="docutils literal notranslate"><span class="pre">-c</span></code>/<code class="docutils literal notranslate"><span class="pre">--min-content-val</span></code> instead.</p></li>
228228
<li><p>VFR videos now work correctly with both the OpenCV and PyAV backends.</p></li>
229-
<li><p>New <code class="docutils literal notranslate"><span class="pre">save-xml</span></code> command for exporting scenes in Final Cut Pro XML format.</p></li>
229+
<li><p>New <code class="docutils literal notranslate"><span class="pre">save-fcp</span></code> command for exporting scenes in Final Cut Pro XML format.</p></li>
230230
</ul>
231231
</section>
232232
</section>

0 commit comments

Comments
 (0)