Thread
:
How do I turn on the front cam?
View Single Post
fgs
2010-02-13 , 21:42
Posts: 77 | Thanked: 85 times | Joined on Feb 2008 @ Italy
#
6
Install rootsh from Application Manager
Open X Terminal
Type: sudo gainroot
Type: apt-get install gstreamer-tools
Confirmation to install gstreamer-tools will be asked: enter yes
Wait for installation to complete. Do not close X Terminal
Type: exit
Type: gst-launch v4l2src device=/dev/video1 ! xvimagesink
Behold!
Explanation
- After typing a line, in X Terminal, you must press enter key to actually issue the command
- At step 3, you become root, the system administrator that can do literally anything on a Linux machine, included breaking everything. Therefore, never become root without a very valid reason; when you do have one, quit being root as soon as possible.
- At step 7, you quit becoming root, for the sake of the above wise advice.
- At step 8, you create a gstreamer multimedia pipeline. The imput is a Video4Linux device, identified by the path /dev/video1: this is the N900 front camera. The output is xvimagesink, which basically says to show output on screen.
Sorry if I am saying things in a very pedantic way. I do not know your level of Linux expertise.
Last edited by fgs; 2010-02-13 at
21:46
.
Quote & Reply
|
The Following 4 Users Say Thank You to fgs For This Useful Post:
flydeep
,
noobmonkey
,
spoonbuddy
,
surtr
fgs
View Public Profile
Send a private message to fgs
Find all posts by fgs