Talk:Camogm

From ElphelWiki
Jump to: navigation, search

Camogm seems to be very versatile.. however, is there a similar method (command line) for changing acquisition parameters (e.g., decimation, exposure time, etc.) ? I am interested in automating capture of low-rate, high-res still images and high-rate, low-res video. The ability to switch between these two without using ccam (or any web interface) would be ideal. --Ekratzer 11:18, 19 November 2007 (CST)

None yet. I was focusing on separating functionality of the overgrown ccam.cgi into separate parts - image acquisition to the internal buffer (that includes programming of different sensors) and dealing with the data from the buffer. So far we did more for that second part, there are 3 applications now:

  • imgsrv that serves images from the circbuf in response to HTTP GET
  • astreamer (recently updated by Spectr to support circbuf) for RTP streaming
  • camogm - to record images/video to the internal storage media

Two last ones are pretty new so bugs are definitely expected, fixing them will make sure that underlying drivers work nicely. After that we plan to add more functionality on the sensor/compressor control - there are many sensors to support and different modes of operation.--Andrey.filippov 13:40, 19 November 2007 (CST)


For timelapse, should timescale be negative? and what does it exactly ? a video with same number of frames but played faster or does the video have less images? (i try to do a timelapse with images every 1 minutes and would like to play it 12 images per second (12 minutes of real time per second, an hour viewed in 5 seconds)) --Polto 16:36, 26 November 2007 (GMT)

No, not negaitive. just > or < 1. 10 will playback 10 slower (100fps will play at 10 fps), 0.00139 should do what you wanted. --Andrey.filippov

I understood correctly, but as it was not working i tried different things... So it seems to be a bug. I do: echo "status; exif=1; format=mov; prefix=/var/tmp/z/timelapse; duration=600; timescale=0.0001; status=/var/tmp/camogm.status" > /var/state/camogm_cmd

And i get a normal video (i mean not a timelapse). If i look to the status i see: timescale 1.000000 --Polto 22:14, 28 November 2007 (GMT)

There are many new changes in Exif data handling and camogm that uses it (i.e. it can now output *.kml files in parallel with the video). Please stay tuned for the documentation --Andrey.filippov 10:41, 17 April 2008 (CDT)