Thread
:
Terminal Command to take picture?
View Single Post
qole
2009-12-23 , 20:34
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#
10
So: first rig up some kind of a tripod system. Then take a picture of the scene with the camera app, with the flash disabled. Finally, run a little script that waits 5 or 10 seconds then takes a picture, something like
Code:
sleep 5 gst-launch v4l2src ! ffmpegcolorspace ! pngenc ! filesink location=$1.png
Ideally, you should add a gstreamer command line at the end to play the shutter sound, so you know the photo has been taken...
__________________
qole.org
---
twitter
---
Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2009-12-31 at
23:15
. Reason: removed the contentious "s" after "sleep 5"
Quote & Reply
|
The Following User Says Thank You to qole For This Useful Post:
bocaJ
qole
View Public Profile
Send a private message to qole
Visit qole's homepage!
Find all posts by qole