GMU:Procedural Cut/Assignment Sequence: Difference between revisions

From Medien Wiki
(Created page with "Let's get started with python and ffmpeg # Pick and download a video with a lot of edits. New coverage is good. # use the PySceneDetect tool (link on main page) to detect the...")
 
No edit summary
Line 7: Line 7:


Bonus learn some python to further automate the process
Bonus learn some python to further automate the process
== Keno ==
=== Code ===
* [https://github.com/kenokenobingo/detective Git repo: Detective]
=== Result ===

Revision as of 20:20, 14 November 2019

Let's get started with python and ffmpeg

  1. Pick and download a video with a lot of edits. New coverage is good.
  2. use the PySceneDetect tool (link on main page) to detect the scenes. (You need to install Python)
  3. use ffmpeg to extract all the scenes as individual clips ffmpeg -i goldeneye.mp4 -ss 00:00:00.000 -t 00:00:03.754 -c copy part1.mp4
  4. reattach the clips in a different order with ffmpeg ffmpeg -i "concat:part3.mp4|part1.mp4|part2.mp4" -c copy output.mp4

Bonus learn some python to further automate the process

Keno

Code

Result