MoCA Project: Last edited 04.07.1998, Author: Rainer Lienhart

Automatic Movie Content Analysis    

cutdet

Description

Detects and localizes hard cuts

Options

-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
 

Example

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. 
 
 
© 1998  Rainer Lienhart@informatik.uni-mannheim.de