17 Mar
2022
17 Mar
'22
10:33 p.m.
I was looking for some equivalent of automatic scene detection, and found those scripts https://github.com/NapoleonWils0n/ffmpeg-scripts#scene-cut they work by re-encoding from original clip, but may be they can be modified for using 'copy' codec over i-only videos? $ ./scene-detect -i ~/dothack2.mpeg -t 0.2 -o cutfile.cvs (detects two scene changes) ./scene-time -i cutfile.cvs -o cutfile $ ./scene-cut -i ~/dothack2.mpeg -c cutfile $ cat cutfile.cvs 00:00:00 00:00:12.36 00:00:16.896 $ cat cutfile 00:00:00,00:00:12.36 00:00:12.36,00:00:04.536 $ lowering threshold to 0.1 'detects' one more scene change, so video split into 3 parts.