Notices


Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on May 2010 @ UK
#1
I'm just wondering if any thoughts have been or would be given into looking at adding a time delay option to the camera, you know where you can press the button, stand in front and 5 - 10 secs later it takes the pic?

I'm not sure if it would be an easy script to add in?
 
Posts: 433 | Thanked: 274 times | Joined on Jan 2010
#2
this is one of many features in lfocus http://talk.maemo.org/showpost.php?p=554743&postcount=1
__________________
n900: "with power comes responsibility".

If you buy a niche, highly modifiable smartphone and proceed to mess it up by blindly screwing around, don't just blame the phone, also blame yourelf.
 
Posts: 138 | Thanked: 14 times | Joined on Jun 2010 @ Holland
#3
Shoot photo after 10 seconds

The camera application must be off for it to work. And of course the camera shutter must be open...gst-launch comes with gstreamer-tools (or gst-launch-0.10 and gstreamer0.10-tools)

/bin/sleep 10 ; /usr/bin/gst-launch v4l2camsrc device=/dev/video0 num-buffers=1 \! video/x-raw-yuv,width=2592,height=1968 \! ffmpegcolorspace \! jpegenc \! filesink location=/home/user/MyDocs/DCIM/photo.jpg

To shoot from the front camera, change /dev/video0 to /dev/video1 and the proper resolution:

/bin/sleep 10 ; /usr/bin/gst-launch v4l2camsrc device=/dev/video1 num-buffers=1 \! video/x-raw-yuv,width=640,height=480 \! ffmpegcolorspace \! jpegenc \! filesink location=/home/user/MyDocs/DCIM/photo.jpg
 

The Following User Says Thank You to jbw89 For This Useful Post:
Posts: 138 | Thanked: 14 times | Joined on Jun 2010 @ Holland
#4
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:33.