(→Code) |
(→Keno) |
||
Line 14: | Line 14: | ||
=== Result === | === Result === | ||
* [[File:lIognoirBsu_artseds.mp4]] |
Revision as of 12:33, 17 November 2019
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 scenes. (You need to install Python)
- 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
- 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