setparam.php is a very simple and effective way indeed: http://elphel.svn.sourceforge.net/viewvc/elphel/Apertus/ElphelVision/camera%20www/ElphelVision/setparam.php?revision=95&view=markup
Take a look at the code block at line 61 - 73. I guess that contains everything you need. Regards Sebastian On Tue, Mar 15, 2011 at 03:52, David McPike <[email protected]> wrote: > Hi Andrey, > > Very true. We measured ~80ms of latency while the camera executes > camvc.php. Nonetheless, it has remained in our program as it fills > the need and we don't change parameters all that often during > operation. Sebastian Pichelhofer also turned us onto setparam.php in > the ElphelVision source, which is very speedy. It just requires you > to format parameters like they are used in parsedit.php. > > http://elphel.svn.sourceforge.net/viewvc/elphel/Apertus/ElphelVision/camera%20www/ElphelVision/ > > Best, > David > > > On Mon, Mar 14, 2011 at 10:16 PM, Andrey Filippov > <[email protected]> wrote: >> David, Sebastien, >> >> >> ccam.php may not be the optimal way to control these parameters - it is a >> large script made to replace functionality of the older ccam.cgi And in 8.x >> software you do not need to do anything more than write the new parameter to >> apply it. This script may be relatively slow, I would recommend making a >> small one that controls just the parameters you need - the snapfull.php ( >> http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/packages/web/353/php_top/snapfull.php?view=markup >> ) can be an example of such script. It saves the current values of the >> parameters that are to be modified, modifies them,acquires 1 image and >> changes parameters back. It was designed to acquire full resolution >> snapshots with minimal interruption to the simultaneous streaming of lower >> resolution video. >> >> To experiment with the parameters (or just change them manually) I would >> recommend using parsedit.php. There are usage examples on the page >> http://192.168.0.9/parsedit.php (if the camera ip is in default state), >> alternatively you may get there from http://192.168.0.9/autocampars.php - >> select parameters group and press view/edit selected - it will generate >> parsedit.php with the list of parameters. On that generated page you may >> hover mouse pointer over the parameter - it will show short explanation of >> it. >> >> Andrey >> >> >> > > _______________________________________________ > Support-list mailing list > [email protected] > http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com > _______________________________________________ Support-list mailing list [email protected] http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
