File:GstSurveilance.png

Surveilance camera using Gstreamer. The Logitech QuickCam vision Pro 9000 is captured at 1280x720 pixels / 5 fps. Current date, time and elapsed time are added. The stream is shown on the screen and saved to an OGG file at 1 fps:

gst-launch -e v4l2src ! video/x-raw-yuv,format=\(fourcc\)YUY2,width=1280,height=720,framerate=5/1 ! \   ffmpegcolorspace ! timeoverlay halign=right valign=top ! clockoverlay halign=left valign=top time-format="%Y/%m/%d %H:%M:%S" ! \   tee name="splitter" ! queue ! xvimagesink sync=false splitter. ! queue ! videorate ! video/x-raw-yuv,framerate=1/1 ! \   heoraenc bitrate=256 ! oggmux ! filesink location=webcam.ogg