Thread
:
Front Camera of NOKIA N900
View Single Post
dov
2010-09-01 , 04:44
Posts: 81 | Thanked: 45 times | Joined on Dec 2009
#
8
The following command records a snapshot from the front camera:
gst-launch v4l2camsrc device=/dev/video1 num-buffers=1 ! omx_jpegenc ! filesink location=test.jpg
Of course this totally missing the point of having a live view of the front camera before getting the snapshot. :-)
What is really needed is something that does:
gst-launch v4l2src device=/dev/video1 ! autovideosink
and then sits around waiting for the camera button to be pressed, and then runs the above command.
Any takers?
Quote & Reply
|
The Following 4 Users Say Thank You to dov For This Useful Post:
cheve
,
debernardis
,
ivyking
,
Wikiwide
dov
View Public Profile
Send a private message to dov
Visit dov's homepage!
Find all posts by dov