12,297
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
# Pick and download a video with a lot of edits. New coverage is good. | # 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 and extract them. (You need to install Python) <code>scenedetect -i goldeneye.mp4 -o output_dir detect-content -t 27 list-scenes | # use the PySceneDetect tool (link on main page) to detect the scenes and extract them. (You need to install Python) <code>scenedetect -i goldeneye.mp4 -o output_dir detect-content -t 27 list-scenes split-video</code> | ||
# reattach the clips in a different order with ffmpeg <code>ffmpeg -i "concat:part3.mp4|part1.mp4|part2.mp4" -c copy output.mp4</code> | # reattach the clips in a different order with ffmpeg <code>ffmpeg -i "concat:part3.mp4|part1.mp4|part2.mp4" -c copy output.mp4</code> | ||