maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Brainstorm (https://talk.maemo.org/forumdisplay.php?f=47)
-   -   Front Camera of NOKIA N900 (https://talk.maemo.org/showthread.php?t=61507)

lucas777 2011-03-14 10:18

Re: Front Camera of NOKIA N900
 
This is what ticks me off when i see this, why the fukkking hell did those ******s at Nokia send the device out with a front camera if we cant even use it properly. Video calls suck arse on the front we all know it. and no button or built it to switch to front camera. I would really love a 30min interview with the people who made the hardware and developed the software. Tell them yes you have done an amazing job but did you all smoke crack half way through devlopment? makes no sense to me why they didnt finish it and test it properly. f u once again Nokia.

m4r0v3r 2011-03-14 22:24

Re: Front Camera of NOKIA N900
 
its weird when I use it for a skype call its fine. but streaming its terrible? odd...

lucas777 2011-03-14 22:36

Re: Front Camera of NOKIA N900
 
How can yopu say streaming skype is fine? video freezing up and quality is so bad its not funny, look at all the other devices out there that have front camera and how good it looks

azkay 2011-03-15 02:16

Re: Front Camera of NOKIA N900
 
Quote:

Originally Posted by nicolai (Post 967170)
less greenish
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! autovideosink

That awesome, thanks. Ive been looking for weeks on how to get rid of that green tint (works for /dev/video0 too).

figaro 2011-03-15 03:50

Re: Front Camera of NOKIA N900
 
Quote:

Originally Posted by nicolai (Post 967170)
less greenish
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! autovideosink

great, but could you make it less distorted? the picture looks like stretched to the sides, so maybe a "resolution" option would be nice

nicolai 2011-03-15 08:20

Re: Front Camera of NOKIA N900
 
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! xvimagesink force-aspect-ratio=true

figaro 2011-03-15 08:41

Re: Front Camera of NOKIA N900
 
Quote:

Originally Posted by nicolai (Post 968048)
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! xvimagesink force-aspect-ratio=true

this works perfectly. thanks a lot

if you don't mind, would you consider make a wrapper to this command to an app that would work as a fully working front camera app?
I believe a python script that run this command and listen to camera button, and on triggered it will run another command to capture the pic as file. I think it's doable

or maybe implement it to your camera-ui2 app? though I'd prefer a separate app since I still want to preserve my stock camera app :)

add.
do you have any idea why capturing to file can only create a very dark image?
I've tried it with this command

Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! jpegenc ! filesink location=test.jpg
and what I can see is lamps, nothing else. as if it can only capture source of lights. but original code works pretty well though (as best as a nokia's front cam can)
note. for unknown reason omx_jpegenc and dspjpegenc won't work on my device

TiagoTiago 2011-03-15 10:59

Re: Front Camera of NOKIA N900
 
The difference between Skype and most other programs that use the front camera is Skype plays with the parameters trying to adjust to the current conditions, while most other programs just turn the camera on.

debernardis 2011-03-15 12:10

Re: Front Camera of NOKIA N900
 
Quote:

Originally Posted by nicolai (Post 968048)
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! ffmpegcolorspace ! xvimagesink force-aspect-ratio=true

Pulling out ffmpegcolorspace the image is quite brighter:
Code:

gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! xvimagesink force-aspect-ratio=true

HtheB 2011-03-15 12:13

Re: Front Camera of NOKIA N900
 
I suddenly start to think that with this code the Mirror app can finally be fixed :p
hope the maintainer will see this


All times are GMT. The time now is 08:05.

vBulletin® Version 3.8.8