Detects and localizes hard cuts.
-videoDir | path to movie | required |
-videoName | name of video file | required |
-cutdb | path to cut database (i.e. the place where the results will be stored) default: <video Dir>/measurements/hartcutDetection |
optional |
-from | number of first frame of search range default: first video frame |
optional |
-to | number of last frame of search range default: last video frame |
optional |
-cutthr | threshhold of the color histogram difference default: 0.175000 |
optional |
cutdet -videoDir /opt/Movies/ForrestGump/ -videoName ForrestGump.mpg -cutdb test
As a result two file will be generated: test and test.range. For your purpose test can be deleted. test.range contains all you need. It is a ASCII file of the form
Since hard cuts are edits of duration 0 each text line gives you the first frame of the next shot. For soft cuts e.g. detected by fadedet a text line would look like
specifying the range of the fade. The first line of test.range specifies the number of the first and last frame of the search range.