[Server-devel] Taking pictures with an XSCE on an XO

James Cameron quozl at laptop.org
Sat Feb 22 06:16:01 EST 2014

Thanks Anna.

You may find the motion package interesting.  In addition to saving
images based on motion detection, it can also save snapshots at
regular intervals, and provide a live feed to a browser.

It doesn't require any apache integration to provide the live feed.

It has a much smaller resource footprint than gstreamer, last time I
checked.  One process does all.

It even has a web browser control interface.


Works on XO-1.5, XO-1.75, and XO-4.  On XO-1.75 it consumes about 13%
CPU at two frames per second.  It doesn't do the expensive JPG
compression unless the image is to be recorded or sent over the net.

I've got several working on various tasks.  My favourite motion.conf
file looks like this:

framerate 2
webcam_localhost off
webcam_port 8081
control_port 8080
control_localhost off
daemon on
despeckle EedDl
threshold 13000
quality 90
target_dir /var/tmp/images
jpeg_filename %s-%v-%q
width 640
height 480
snapshot_interval 600
snapshot_filename %s

James Cameron

More information about the Server-devel mailing list