hive 0.1 Video shot boundary detection

Changes
-------
hive-0.16 Added encoder mode option and handling of anses vidseg files

Configuration
-------------
Requires libjpeg (See http://www.ijg.org)
         libmpeg3 (See  http://heroinewarrior.com/libmpeg3.php3)

Just run "make" in the hive directory


Run
---

Usage: hive options input_file
  -h --help               Display this usage information.
  -o --output-file  file  XML output file.
  -k --keyframe-dir dir   Output directory for keyframes.
  -m --main-thresh value  Main threshold setting.
  -l --low-thresh value   Gradual threshold setting.
  -e --encoder-mode mode  Output format. Mode is	
	                             1 - XML output (default)
	                             2 - ANSES vidseg output

Only compulsory option is "-o <file>" for specifying xml output file.

Minimal command line would be e.g.:
% hive -o /tmp/shots.xml /video/myvideo.mpg

Main and low thresholds default to sensible values of respectively 0.5 and 0.05.

Main threshold: Determines sensitivity to shot boundaries (higher = less sensitive)
Low threshold: Determines sensitivity to start and end of gradual transitions.

If a directory is specified for keyframes using "-k <keyframedir>" then a keyframe will be written to that directory on the 10th frame of each shot.

Example command line with varied thresholds and keyframes:
% hive -o /tmp/shots.xml -k /tmp/keyframes -m 0.4 -l 0.07 /video/myvideo.mpg

----------------
Marcus Pickering
m.pickering@doc.ic.ac.uk