![]() |
N900- Front camera activation command...
Hi!
I need a command that activates the front camera from command line.(without installing any apps(like mplayer)) If I not mistaken there was the "cameratest" command on N810/800. I need some similar thing... Could anybody help me? (Really sorry for my bad english) CG |
Re: N900- Front camera activation command...
There are "Power Search" and "Search" menu items to be found on the right side in the menu :-)
Here you go, "Front facing camera". No need to install anything, as the mentioned gst-launch is now installed by default (IIRC), just try from X-Term: gst-launch v4l2src device=/dev/video1 ! autovideosink |
Re: N900- Front camera activation command...
Hi, thx for quick answer but it says: gst-launch: not found.
What can I do? Sorry, i haven't got any experiences in linux... |
Re: N900- Front camera activation command...
Hi, could anybody help me in this issue?
|
Re: N900- Front camera activation command...
From the Application Manager, install the "rootsh" package.
Then open X-Term, type "sudo gainroot" Now type "apt-get install gstreamer-tools" |
Re: N900- Front camera activation command...
i tried starting gst-launch and it works even as non root
|
Re: N900- Front camera activation command...
I tried this and it worked, but in portraitmode the picture was upsidedown.
I have read many complaining about the quality of this camere, but the picture was clear and more than good enough for videocalls. |
Re: N900- Front camera activation command...
"CrckMc" Wich firmware is in use on your device? I tried with 2.2009.51.1
|
Re: N900- Front camera activation command...
Hi, you need to install gstreamer first. There is a package called gstreamer0.10-gnomlin which you should be able to install from the app manager which will fix this.
Peter |
Re: N900- Front camera activation command...
THX...Is there any other way to activation? Without installing any packages or programs? :-(
|
Re: N900- Front camera activation command...
None of the programs included by default as of PR1.1 support the front camera.
|
Re: N900- Front camera activation command...
Worked for me...Front camera quality appeared better than using "Mirror" application..
|
Re: N900- Front camera activation command...
shadowjk, you really should check for facts before posting.
Front camera works with Jabber/GTalk videochat, with the only exception that you can't initiate from the n900. |
Re: N900- Front camera activation command...
Quote:
|
Re: N900- Front camera activation command...
Hi, the command works, nice.
Is it possible to make a shortcut to activate the frontcamera? |
Re: N900- Front camera activation command...
Added Font-Camera test picture into Healthcheck (Link in my signature) - now in extras testing...
I think in future versions i need to brighten it up - but just checks it and saves a test file :) (Healthcheck installs g-streamer if you do not already have it) |
Re: N900- Front camera activation command...
I don't have the testing repo added to my app manager,
and that's not exactly what i'm looking for. It was an idea to add an extra cam to my phonenext to the other shortcuts. I'm carefull with the testing cause i'm new to linux and maemo |
Re: N900- Front camera activation command...
Quote:
Maybe a request for a new app? |
Re: N900- Front camera activation command...
i downloaded the command but how can ill be sure its working or not,from where i can find the command.pls help me.
|
Re: N900- Front camera activation command...
Quote:
Quote:
The command is in this thread, and you run it from x-terminal. Is there anything specific you are trying to do? - test the camera? video? quality? etc etc? |
Re: N900- Front camera activation command...
Quote:
|
Re: N900- Front camera activation command...
lol.......sir!
x-terminal is like a dos prompt in windows. you cant save things like a word editor. but you can create scripts to make repeating the task easier. in x-terminal you litterally type the command in and hit enter. it then runs the command you type in, or throws up an error. |
Re: N900- Front camera activation command...
I have the latest firmware and I tried couple of step all of you mentioned in this thread for activating the front camera but nothing worked. I used xtermina and also pusht but everything failed.
Please help me out to activate the cam. Thanks |
Re: N900- Front camera activation command...
Quote:
When you try running a command, if it does not work it will post an error message. hard to help without any details :( |
Re: N900- Front camera activation command...
well im a newbie and everything in the first page helped me. first you have to get the tools:
open xterminal type: apt-get install gstreamer-tools after that type: gst-launch v4l2src device=/dev/video1 ! autovideosink it will pause for a min then it will come on. hopefully soon we can get a real webcam app that can initiate the front cam instead of all these damn work arounds. lol would be nice to have one with cam settings like resolution and brightness. hope i helped. this is what worked for me |
Re: N900- Front camera activation command...
Quote:
gst-launch v4l2src device=/dev/video1 ! autovideosink then it shows gst-launch: not found I don't have rootch installed and i have version 3.2010.02-8.002. I believe that's PR 1.2, right? What am i doing wrong here? |
Re: N900- Front camera activation command...
Quote:
Ok that is pr 1.1.1 (Healthcheck should tell you that!!) PR1.2 is not out yet, apart from in the SDK. if GST-launch is not found then you do not have gstreamer tools installed correctly, I would suggest that once you are comfortable, install rootsh from extras and follow the above commands. |
Re: N900- Front camera activation command...
Quote:
|
Re: N900- Front camera activation command...
Quote:
i guess thats what happens when u be on pr1.2 thread lol all the time.my bad dude |
Re: N900- Front camera activation command...
Quote:
Now you need to retry this command in x-terminal Code:
gst-launch v4l2src device=/dev/video1 ! autovideosink |
Re: N900- Front camera activation command...
Thanks, it worked. So everytime if I want to use the front cam, I need to put that command in X terminal?
|
Re: N900- Front camera activation command...
well i suppose.... healthcheck will take a test picture and mirror works.......
so either use mirror app or do it yourself for now :D Or create a [request] thread for someone to help you in making an application, if you have a specific request? |
Re: N900- Front camera activation command...
Quote:
1. Open X Terminal. 2. sudo gainroot 3. cd /usr/share/applications/hildon 4. cp camera-ui.desktop frontcamera.desktop 5. vi frontcamera.desktop 6. hit 'i' on the keyboard so that vi would go to editing mode 7. use arrows up-down to go between lines, left-right to go left-right on one line 8. change name from "camera_ap_camera" to something like "Front Camera" 9. change comment from "camera_ap_camera_thumb" to something like "front_camera_thumb" 10. change exec from "/usr/bin/camera-ui" to "gst-launch v4l2src device=/dev/video1 ! autovideosink" 11. erase completely line "X-Osso-Service=com.nokia.cameraui"; it is done by tapping "Esc" button of X Terminal and then double-hitting of 'd' on keyboard; then you need to hit 'i' to go to editing mode again; 12. erase completely line "X-Text-Domain=osso-camera-ui" Now, that you have done it, tap "Esc" button of X Terminal and then hit on the keyboard consequentially 'Shift' '.' 'w' You will see :w being typed Then hit 'Enter' on the keyboard. The changes to the file are written down. Now you can go to launcher of applications: you will see at the end of the list the camera icon with words "Front Camera". Tap it, and it will launch. To exit vi, tap 'Esc', write ":q", hit 'Enter'. You will now be able to type commands in X Terminal again. Or you can simply close the whole window of X Terminal, if you want: you have already saved all the changes to the file. Does it help? Miscellaneous: if you use device video0 instead of video1, you can see picture of large camera. It will be raw, without autofocus, etc, and ignore shutter state completely. |
All times are GMT. The time now is 21:04. |
vBulletin® Version 3.8.8