[Elphel-support] change camera parameters through Telnet

Shane Sanford shane.sanford at concurrent.us
Fri Dec 14 15:11:24 PST 2012


For the others who have been following the discussion on the list.

 

From: Shane Sanford [mailto:shane.sanford at concurrent.us] 
Sent: Friday, December 14, 2012 10:08 AM
To: 'Biel Bestué de Luna'
Subject: RE: [Elphel-support] change camera parameters through Telnet

 

Yeah, I was aware mimg sucks up memory in a heartbeat but was  just a “quick
and dirty” test.

 Be sure to check out readparameter_demo.php as I found it very helpful as
well.

 Glad it helped.  Good luck on your project.

 Shane

 

From: Biel Bestué de Luna [mailto:7318.tk at gmail.com] 
Sent: Friday, December 14, 2012 9:51 AM
To: Shane Sanford
Subject: Re: [Elphel-support] change camera parameters through Telnet

 

hey shane thanks for your time, I've tried the three scripts, the last one
seems to fail, I get the following message in the browser:

Parse error: syntax error, unexpected '*' in
/mnt/flash/html/setparameters_demo.php on line 2

It seems the parser can't parse the initial comments I've solved by adding
the line 1 from another php file:
"
/*!*************************************************************************
****
"
and now it works, it changes the parms with the three frames delay as stated
in the resulting text
it works great! it's way more quicker! even with wget and downloading
something.

maybe if wget downloaded a blank file, simplifying the script even more, it
would be even more quicker, isn't it?

--------------------------------

one thing I found out using "mimg" eated all my memory in seconds, it
stopped my computer, even lowering the compression to a minimum, it seems
like "mimg" doesn't clear the memory after it discarded the last frame a
frame, so his memory footprint keeps growing.

I think you better try this with my GStreamer line I posted above, have you
tried it? the only delay is just a frame of delay which is imperceptible.

 

  

From: Shane Sanford [mailto:shane.sanford at concurrent.us] 
Sent: Friday, December 14, 2012 7:38 AM
To: 'Biel Bestué de Luna'
Subject: RE: [Elphel-support] change camera parameters through Telnet

 

Biel,

 Here is an experiment it may be worth trying (preferably with your laptop
with a wired connection to your router to eliminate possible wireless
issues) .

 Make sure you have enough illumination your exposure is not causing lag (so
say exposure of 50ms or lower would be perfect for this).  Open the below
command in a browser and note the exposure and adjust illumination if need
be.  Then close the browser.

http://192.168.0.33/webcam_adv.php

 Open up a browser with

http://192.168.0.33:8081/mimg

This will continuously acquire images at the max rate the camera can send
using imgsrv.

 In a second browser send the following command and see how long it takes
before you see the difference. 

http://192.168.0.33/setparameters_demo.php?EXPOS=50000

 Obviously your camera IP will be different than mine and I just choose a
exposure setting that would basically saturate the image to make it easier
to see.  My auto exposure is turned on so it will readjust itself back down
to a happy level and I can repeat the test by hitting f5 to resend the
command.

 For me I am seeing maybe a ½ second delay at most before the setting is
applied.

 I found the following the setparameters_demo.php & readparameter_demo.php
much preferred over trying to use parsedit.php for having my program
interface with the camera.

/usr/html/setparameters_demo.php 

/usr/html/readparameter_demo.php

 Hope this is helpful in some way.  Best of luck!

 

BTW, I am just another user and have no association with Elphel


 Shane

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20121214/bc4e3b90/attachment-0002.html>


More information about the Support-list mailing list