Изменения

Перейти к: навигация, поиск

Участник:VitaliyFilippov/Закладки

1814 байтов добавлено, 19:16, 23 августа 2020
Добавлена закладка How to concatenate clips from the same video with ffmpeg - Video Production Stack Exchange
=== августа 2020 ===
* 23 августа, 22:16:01: [https://video.stackexchange.com/questions/10396/how-to-concatenate-clips-from-the-same-video-with-ffmpeg How to concatenate clips from the same video with ffmpeg - Video Production Stack Exchange]
*: <html><h1>concat filter</h1> <p>This method is best if you need to perform additional filtering:</p> <p>Use the <a href="http://ffmpeg.org/ffmpeg-filters.html#trim"><code>trim</code></a>, <a href="http://ffmpeg.org/ffmpeg-filters.html#atrim"><code>atrim</code></a>, <a href="http://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts"><code>setpts</code></a>, <a href="http://ffmpeg.org/ffmpeg-filters.html#setpts_002c-asetpts"><code>asetpts</code></a>, and <a href="http://ffmpeg.org/ffmpeg-filters.html#concat"><code>concat</code></a> filters:</p> <pre class="lang-bash prettyprint prettyprinted" style=""><code><span class="pln">ffmpeg </span><span class="pun">-</span><span class="pln">i input </span><span class="pun">-</span><span class="pln">filter_complex \ </span><span class="str">"[0:v]trim=60:65,setpts=PTS-STARTPTS[v0]; \ [0:a]atrim=60:65,asetpts=PTS-STARTPTS[a0]; \ [0:v]trim=120:125,setpts=PTS-STARTPTS[v1]; [0:a]atrim=120:125,asetpts=PTS-STARTPTS[a1]; \ [v0][a0][v1][a1]concat=n=2:v=1:a=1[out]"</span><span class="pln"> \ </span><span class="pun">-</span><span class="pln">map </span><span class="str">"[out]"</span><span class="pln"> output</span><span class="pun">.</span><span class="pln">mkv</span></code></pre> <ul> <li><p><code>setpts</code> and <code>asetpts</code> will prevent a jerky output due to presentation timestamp issues.</p></li> <li><p>Make sure to use a recent version. See the <a href="http://ffmpeg.org/download.html">FFmpeg Download</a> page for links to builds for Windows, OS X, and Linux.</p></li></ul></html>
<!-- NEXT BOOKMARK -->
* 22 августа, 11:40:16: [https://github.com/JackSlateur/backurne JackSlateur/backurne: Backup Ceph's RBD on Ceph, with Proxmox integration]
* 15 августа, 19:09:29: [https://d2l.ai/ Dive into Deep Learning — Dive into Deep Learning 0.14.3 documentation]

Навигация