I updated /opt/rtcds/caltech/c1/scripts/general/videoscripts.py so that it supports movie capturing. It saves captured images (bmp) and movies (mp4) in /users/sensoray/SensorayCaptures/ directory.
I also updated /opt/rtcds/caltech/c1/scripts/pylibs/pyndslib.py because /usr/bin/lalapps_tconvert is not working and now /usr/bin/tconvert works.
However, tconvert doesn't run on ottavia, so I need Jamie to fix it.
videocapture.py -h:
Usage:
videocapture.py [cameraname] [options]
Example usage:
videocapture.py MC2F -s 320x240 -t off
(Camptures image of MC2F with the size of 320x240, without timestamp on the image. MUST RUN ON PIANOSA!)
videocapture.py AS -m 10
(Camptures 10 sec movie of AS with the size of 720x480. MUST RUN ON PIANOSA!)
Options:
-h, --help show this help message and exit
-s SIZE specify image size [default: 720x480]
-t TIMESTAMP_ONOFF timestamp on or off [default: on]
-m MOVLENGTH specity movie length (in sec; takes movie if specified) [default: 0] |