GMU:Procedural Cut/Assignment Sequence: Difference between revisions

From Medien Wiki
No edit summary
Line 11: Line 11:


=== Code ===
=== Code ===
* [https://github.com/kenokenobingo/detective Git repo: Detective]
* [https://github.com/kenokenobingo/detective GitHub: Detective]


=== Result ===
=== 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