[Elphel-support] Fwd: ccam.cgi

Simon Zuñiga ccc_mindsz at yahoo.com
Mon Dec 28 12:09:18 PST 2009


Thank you Alexandre and Andrey.

I'll try it using the methods you've outlined.

-S

--- On Mon, 12/28/09, Andrey Filippov <andrey at elphel.com> wrote:

From: Andrey Filippov <andrey at elphel.com>
Subject: Re: [Elphel-support] Fwd: ccam.cgi
To: "Simon Zuñiga" <ccc_mindsz at yahoo.com>, support-list at support.elphel.com, "Alexandre Poltorak" <alexandre at elphel.com>
Date: Monday, December 28, 2009, 2:23 PM

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/7044242b/attachment-0002.html>


More information about the Support-list mailing list