Detects and localizes fades.
-videoDir | path to movie | required |
-videoName | name of video file | required |
-fadedb | path to fade database (i.e. place where the results will be stored) default: <video Dir>/measurements/fadeDetection |
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 |
-mlen | minimal required length of a fade (in frames) default: 10 |
optional |
-mcorr | minimal required correlation default: 0.9 |
optional |
-msigma | maximal allowed standard deviation of the pixels' color values in the first/last monochrome frame of a fade default: 10 |
optional |
fadedet -videoDir /opt/Movies/ForrestGump/ -videoName ForrestGump.mpg
As a result two file will be generated:
/opt/Movies/ForrestGump/measurements/fadeDetection/fadeDetection and /opt/Movies/ForrestGump/measurements/fadeDetection/fadeDetection.range.
For your purpose fadeDetection can be deleted. fadeDetection.range contains all you need. It is a ASCII file of the form
Each text line but the first specifies the type and range of a fade. The first text line gives the number of the first and last frame of the search range.