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
1 200000
HardCut 61 61
HardCut 116 116
HardCut 161 161
HardCut 291 291
....
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
Fade 43 76
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.
|