[Elphel-support] Fwd: ccam.cgi

Andrey Filippov andrey at elphel.com
Mon Dec 28 11:23:52 PST 2009


Simon,

I would recommend to try snapfull.php (
http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/packages/web/353/php_top/snapfull.php?revision=1.3&view=markup).
This script is designed to capture full resolution images with minimal
interruptions to the simultaneously streamed video (lower resolution, higher
frame rate) but can be used without video too. It does the following
1 - gets current acquisition parameters and stores them
2 - programs camera to acquire in different resolution: by default - full
resolution, no decimation, but it is possible to provide any other
parameters in the URL (i.e.
   http://camera_ip/snapfull.php?WOI_WIDTH=1280&WOI_HEIGHT=1024
3 - programs sesnoir to the original state using parameters saved in step 1,
specifying frame number after the one it will sesn back
4 - waits for the image (with new parameters) to appear in the circular
buffer
5 - redirects HTTP request to the imgsrv specifying the location of the
programmed image

You may want to create your modified version of the script - remove step 3,
then the camera will stay with new (modified) parameters after serving the
image.

Using autocampars.php that Alexandre recommended (and parsedit.php that is
called by it) will provide manual control over parameters (and explanation
what each of them does), you can add those parameters by their names to the
arguments of snapfull.php (or your new script).

Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20091228/43bfd8de/attachment-0002.html>


More information about the Support-list mailing list