spcaview modified

spcaview-clock-1.0.bz2
This is spcaview modified, with clock and mjpegtools YUV format output to stdout,
interfaces to mplayer, memcoder, mpeg2enc, and ffmpeg.
Extra functions added by Jan Panteltje Wed Feb 15 21:43:11 CET 2006

-y outputs mjpegtools YUV format to stdout
-x shows time in the YUV output
-r int sets the clock position,
0=top_left, 1=top_middle, 2=top_right, 3=bottom_left, 4=bottom_middle, 5=bottom_right,
default bottom_middle
-u clock is in UTC time

Examples:
mplayer in full screen with clock:
spcaview -w 127.0.0.1:7070 -x -y | mplayer -fs -

mencoder encode to AVI:
spcaview -w 127.0.0.1:7070 -x -y -u -e | mencoder - -o recording.avi -oac copy -ovc lavc

ffmpeg record to H264 with very low bandwidth (36 kbytes [per minute, so 2 MB per hour!:
spcaview -w 127.0.0.1:7070 -x -y -u -e |\
ffmpeg -f yuv4mpegpipe -i - -f avi -vcodec h264 -r 2 -b 10 -g 300 -bf 2 -y camera.avi

This last option, with clock, is ideal for use as security camera, as you can leave it on and later play it back.

Some other experiment:
spcaview-pcat-0.1.1.bz2

Note:
I am not the Q-Tec camera at the moment, because the quality is not very good.
It is worth spending some more on a real webcam, with ethernet, for example a dcs-900