[Elphel-support] Fwd: Uncaught bounce notification

support-list support-list at support.elphel.com
Tue May 28 09:40:25 PDT 2013


 >  I’m trying to record some movie to the USB stick plugged into the camera
 >  Note: I’m able to record arbitrary long movies with recording the rtsp stream of the camera with ‘mencoder’ on a remote computer.


 >  I.)  What I would like is to be able to record long movies using command line instructions on the camers. How can I do that ?

Dear Gergely,

It is not possible to record normal (only very low FPS ones) videos to the USB stick - USB is just USB 1.1 (all that  ETRAX FS processor supports), for recording I would recommend external SATA HDD/SSD attached to the camera. 

 
 >  II.) Is it also possible to set/edit the various camera parameters from the command line ?

Camera supports pipelined operation, so at the same time different exposure or even frame size may have different values in the different parts of the camera (sensor(s), FPGA modules, software) so there is no single "current parameter value" you can set/edit - that makes simple parameter edit from the command line not very practical. This is why we implemented parameter manipulations in the drivers and provided PHP extension to handle them. "parsedit.php" has some explanation how to use it with examples, you can construct HTTP GET request with parameter get/set string to use with this script (or make your own script that calls the functions of this extension).

When using scripts PHP from the command line in the camera it is better to use web server (wget "http://127.0.0.1/.../some_script.php"), not calling it in CLI mode (php some_script.php). Web server has (by default 3) instances of the PHP interpreter in memory (FastCGI mode), ready to process the scripts, while calling PHP in CLI mode involves loading PHP into system memory, that takes more than a second.

Andrey



 >  Thanks a lot,
 > 
 >  Gergely





More information about the Support-list mailing list