Last active
August 21, 2019 20:37
-
-
Save salamanders/2b15ff27ca230f3ae08d703c13e05cd9 to your computer and use it in GitHub Desktop.
Revisions
-
salamanders revised this gist
Aug 21, 2019 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,5 +2,11 @@ brew update && brew upgrade pip install --upgrade pip pip install scenedetect[opencv,progress_bar] mkdir out # Optionally tune the threshold, using the content_val column scenedetect -i clip1.mov -o ./out --stats my_video.stats.csv detect-content # Write the files scenedetect -i clip1.mov [...-i clip2.mov] -o ./out detect-content split-video --copy # or for larger chunks: scenedetect -i clip1.mov -o ./out detect-content -m 120 -t 90 split-video --high-quality -
salamanders created this gist
Aug 21, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ brew update && brew upgrade pip install --upgrade pip pip install scenedetect[opencv,progress_bar] mkdir out scenedetect -i clip1.mov [...-i clip2.mov] -o ./out detect-content split-video --copy # or 1 video without the --copy