|
49 | 49 | <dl class="field-list simple"> |
50 | 50 | <dt class="field-odd">Parameters<span class="colon">:</span></dt> |
51 | 51 | <dd class="field-odd"><ul class="simple"> |
52 | | -<li><p><strong>output_csv_file</strong> (<em>TextIO</em><em> | </em><em>str</em><em> | </em><em>Path</em>) – Handle to open file in write mode, or a filesystem path. A path is |
| 52 | +<li><p><strong>output_csv_file</strong> (<em>str</em><em> | </em><em>PathLike</em><em>[</em><em>str</em><em>] </em><em>| </em><em>bytes</em><em> | </em><em>PathLike</em><em>[</em><em>bytes</em><em>] </em><em>| </em><em>TextIO</em>) – Handle to open file in write mode, or a filesystem path. A path is |
53 | 53 | opened with a context manager so the file is closed after writing.</p></li> |
54 | 54 | <li><p><strong>scene_list</strong> (<em>list</em><em>[</em><em>tuple</em><em>[</em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>, </em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>]</em><em>]</em>) – List of pairs of FrameTimecodes denoting each scene’s start/end FrameTimecode.</p></li> |
55 | 55 | <li><p><strong>include_cut_list</strong> (<em>bool</em>) – Bool indicating if the first row should include the timecodes where |
|
74 | 74 | <dl class="field-list simple"> |
75 | 75 | <dt class="field-odd">Parameters<span class="colon">:</span></dt> |
76 | 76 | <dd class="field-odd"><ul class="simple"> |
77 | | -<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to write the EDL file to. Parent directories must exist.</p></li> |
| 77 | +<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>PathLike</em><em>[</em><em>str</em><em>] </em><em>| </em><em>bytes</em><em> | </em><em>PathLike</em><em>[</em><em>bytes</em><em>] </em><em>| </em><em>TextIO</em>) – Open text file or path to write the EDL file to. Parent directories must |
| 78 | +exist. When a path is provided, the file is closed after writing.</p></li> |
78 | 79 | <li><p><strong>scene_list</strong> (<em>list</em><em>[</em><em>tuple</em><em>[</em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>, </em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>]</em><em>]</em>) – List of scenes as pairs of FrameTimecodes denoting each scene’s start/end.</p></li> |
79 | 80 | <li><p><strong>title</strong> (<em>str</em>) – Title header written as <code class="docutils literal notranslate"><span class="pre">TITLE:</span></code> in the EDL.</p></li> |
80 | 81 | <li><p><strong>reel</strong> (<em>str</em>) – Reel name used for each event. Typically 2-8 uppercase characters.</p></li> |
|
96 | 97 | <dl class="field-list simple"> |
97 | 98 | <dt class="field-odd">Parameters<span class="colon">:</span></dt> |
98 | 99 | <dd class="field-odd"><ul class="simple"> |
99 | | -<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to write the xmeml file to. Parent directories must exist.</p></li> |
| 100 | +<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>PathLike</em><em>[</em><em>str</em><em>] </em><em>| </em><em>bytes</em><em> | </em><em>PathLike</em><em>[</em><em>bytes</em><em>] </em><em>| </em><em>TextIO</em>) – Open text file or path to write the xmeml file to. Parent directories must |
| 101 | +exist. When a path is provided, the file is closed after writing.</p></li> |
100 | 102 | <li><p><strong>scene_list</strong> (<em>list</em><em>[</em><em>tuple</em><em>[</em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>, </em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>]</em><em>]</em>) – List of scenes as pairs of FrameTimecodes. Must not be empty.</p></li> |
101 | 103 | <li><p><strong>video_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to the source video file; written into the output as a <code class="docutils literal notranslate"><span class="pre">file://</span></code> URI.</p></li> |
102 | 104 | <li><p><strong>frame_rate</strong> (<em>Fraction</em>) – Source frame rate as a rational <cite>Fraction</cite>.</p></li> |
|
121 | 123 | <dl class="field-list simple"> |
122 | 124 | <dt class="field-odd">Parameters<span class="colon">:</span></dt> |
123 | 125 | <dd class="field-odd"><ul class="simple"> |
124 | | -<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to write the FCPXML file to. Parent directories must exist.</p></li> |
| 126 | +<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>PathLike</em><em>[</em><em>str</em><em>] </em><em>| </em><em>bytes</em><em> | </em><em>PathLike</em><em>[</em><em>bytes</em><em>] </em><em>| </em><em>TextIO</em>) – Open text file or path to write the FCPXML file to. Parent directories must |
| 127 | +exist. When a path is provided, the file is closed after writing.</p></li> |
125 | 128 | <li><p><strong>scene_list</strong> (<em>list</em><em>[</em><em>tuple</em><em>[</em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>, </em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>]</em><em>]</em>) – List of scenes as pairs of FrameTimecodes. Must not be empty.</p></li> |
126 | 129 | <li><p><strong>video_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to the source video file; written into the output as a <code class="docutils literal notranslate"><span class="pre">file://</span></code> URI.</p></li> |
127 | 130 | <li><p><strong>frame_rate</strong> (<em>Fraction</em>) – Source frame rate as a rational <cite>Fraction</cite> (e.g. <code class="docutils literal notranslate"><span class="pre">Fraction(24000,</span> <span class="pre">1001)</span></code>).</p></li> |
|
164 | 167 | <dl class="field-list simple"> |
165 | 168 | <dt class="field-odd">Parameters<span class="colon">:</span></dt> |
166 | 169 | <dd class="field-odd"><ul class="simple"> |
167 | | -<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to write the OTIO file to. Parent directories must exist.</p></li> |
| 170 | +<li><p><strong>output_path</strong> (<em>str</em><em> | </em><em>PathLike</em><em>[</em><em>str</em><em>] </em><em>| </em><em>bytes</em><em> | </em><em>PathLike</em><em>[</em><em>bytes</em><em>] </em><em>| </em><em>TextIO</em>) – Open text file or path to write the OTIO file to. Parent directories must |
| 171 | +exist. When a path is provided, the file is closed after writing.</p></li> |
168 | 172 | <li><p><strong>scene_list</strong> (<em>list</em><em>[</em><em>tuple</em><em>[</em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>, </em><a class="reference internal" href="common.html#scenedetect.common.FrameTimecode" title="scenedetect.common.FrameTimecode"><em>FrameTimecode</em></a><em>]</em><em>]</em>) – List of scenes as pairs of FrameTimecodes.</p></li> |
169 | 173 | <li><p><strong>video_path</strong> (<em>str</em><em> | </em><em>Path</em>) – Path to the source video file; written into the output as an absolute path.</p></li> |
170 | 174 | <li><p><strong>frame_rate</strong> (<em>Fraction</em>) – Source frame rate as a rational <cite>Fraction</cite>. Exported as a float, as the |
|
0 commit comments