maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How do I turn on the front cam? (https://talk.maemo.org/showthread.php?t=44396)

maeomo 2010-02-13 20:55

How do I turn on the front cam?
 
didn't find anything to switch ..

That One Guy 2010-02-13 20:59

Re: How do I turn on the front cam?
 
~shakes head~

maeomo 2010-02-13 21:07

Re: How do I turn on the front cam?
 
Quote:

Originally Posted by That One Guy (Post 525126)
~shakes head~

???????how?????

noobmonkey 2010-02-13 21:18

Re: How do I turn on the front cam?
 
Quote:

Originally Posted by maeomo (Post 525133)
???????how?????

download and run the mirror app.

its the only thing that uses it at the mo.

zehjotkah 2010-02-13 21:22

Re: How do I turn on the front cam?
 
you could also do video calls over google talk.
or you could start it by installing gstreamer-tool and run the cam via command-line.

fgs 2010-02-13 21:42

Re: How do I turn on the front cam?
 
  1. Install rootsh from Application Manager
  2. Open X Terminal
  3. Type: sudo gainroot
  4. Type: apt-get install gstreamer-tools
  5. Confirmation to install gstreamer-tools will be asked: enter yes
  6. Wait for installation to complete. Do not close X Terminal
  7. Type: exit
  8. Type: gst-launch v4l2src device=/dev/video1 ! xvimagesink
  9. 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.

maeomo 2010-02-13 23:11

Re: How do I turn on the front cam?
 
Quote:

Originally Posted by fgs (Post 525174)
  1. Install rootsh from Application Manager
  2. Open X Terminal
  3. Type: sudo gainroot
  4. Type: apt-get install gstreamer-tools
  5. Confirmation to install gstreamer-tools will be asked: enter yes
  6. Wait for installation to complete. Do not close X Terminal
  7. Type: exit
  8. Type: gst-launch v4l2src device=/dev/video1 ! xvimagesink
  9. 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.

Trust me, i'll get it done.
what you said is not too hard to understand

maeomo 2010-02-13 23:16

Re: How do I turn on the front cam?
 
every time i wanna use the front cam, i have to enter such a long "gst-launch v4l2src device=/dev/video1 ! xvimagesink "....
too complecated

noobmonkey 2010-02-13 23:17

Re: How do I turn on the front cam?
 
Quote:

Originally Posted by maeomo (Post 525287)
every time i wanna use the front cam, i have to enter such a long "gst-launch v4l2src device=/dev/video1 ! xvimagesink "....
too complecated

Or.......... download the mirror app and use that.... wow i'm sounding like a broken record tonight :)

maeomo 2010-02-13 23:20

Re: How do I turn on the front cam?
 
Quote:

Originally Posted by noobmonkey (Post 525288)
Or.......... download the mirror app and use that.... wow i'm sounding like a broken record tonight :)

that app is in the "devel"
i'm afraid that i don't wanna use it
thank u all the same


All times are GMT. The time now is 01:34.

vBulletin® Version 3.8.8