This directory contains source for various utility programs.
To build everything, first edit the Makefile to include the appropriate
Tcl/Tk libraries, and change anything you need to.  Then type 'make.'

None of the programs do very much error checking, so beware.

PROGRAM:	blockrun
USAGE:		blockrun command num_args firstnum lastnum skip arg1 ... argn
DESCRIPTION:	runs the given command (which has num_args args), with the
		args arg1 ... argn, where any '=' character is replaced by
		a number from firstnum to lastnum, skipping by 'skip'

PROGRAM:	encode_sh
USAGE:		encode_sh -f encode.tcl
DESCRIPTION:	a very simple Tcl/Tk interface to the mpeg_encode program.
		For it to work, mpeg_encode must be in your path.
BUGS:  Only allows files from one directory.

PROGRAM:	ppmtoyuv
USAGE:		ppmtoyuv < input.ppm > output.yuv
DESCRIPTION:	converts a PPM file to a YUV file (encoder format)

PROGRAM:	yuvtojpeg
USAGE:		yuvtojpeg infile outfile
DESCRIPTION:	converts infile (a YUV file) to JPEG (outfile) by using cjpeg

All of the following programs require a Parallax XVideo card to run:

PROGRAM:	vidtoppm
USAGE:		vidtoppm filename width height start end outbase [quality]
DESCRIPTION:	converts an .vid file (see user manual) (filename) of given
		(width, height) into a bunch of ppm files.  Only does the
		frames numbered start to end (frames begin at 1).  Output
		file names are outbaseN.ppm where N is the frame number.
BUGS: may crash after 200 or 300 frames

PROGRAM:	vidtojpeg
USAGE:		vidtojpeg filename width height start end outbase [quality]
DESCRIPTION:	same as playone, except instead of outputting ppm files,
		outputs JPEG files.
BUGS: may crash after 200 or 300 frames

PROGRAM:	vidtoyuv
USAGE:		vidtoyuv filename width height start nth outbase [quality]
DESCRIPTION:	same as playskip, except instead of outputting ppm files,
		outputs yuv files.
BUGS: may crash after 200 or 300 frames
