maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] Mirror (https://talk.maemo.org/showthread.php?t=33098)

qole 2009-10-23 05:57

Re: [ANNOUNCE] Mirror
 
Well it kinda sorta works. The controls on the right work, nothing else does (including the focussing).

http://farm3.static.flickr.com/2747/...433ea726_o.png

daperl 2009-10-23 07:00

Re: [ANNOUNCE] Mirror
 
Thanks for trying. Does the console say anything interesting for the stuff that doesn't work?

attila77 2009-10-24 00:31

Re: [ANNOUNCE] Mirror
 
Okay folks, version 2.0-1 is in extras-devel. It finally knows it's own name, fullscreens, zooms, knows about 16:9 and almost everything that was mentioned in this thread. Those with extras-devel enabled, please take a peek before I promote to extras-testing (the black band is still there - it's officially a "fixed in Fremantle"). Image quality is still horrible, we'll work on that once the usability kinks are ironed out.

attila77 2009-10-26 11:33

Re: [ANNOUNCE] Mirror
 
Not much feedback, must mean everything works, eh ? :)

Anyway, people with extras-testing enabled, PLEASE take a look and thumb up/down so we could (finally) get this into extras. Thank you.

http://maemo.org/packages/package_in.../mirror/2.0-2/

qole 2009-10-26 17:44

Re: [ANNOUNCE] Mirror
 
Ok, it works, but here are some problems:
  • Icon is too big for desktop
  • Image is square, it should be cropped, top and bottom, to fill the whole screen
  • App starts windowed, it should start fullscreen
  • The quality of the image is terrible -- like UHF TV from a distant station.

kryptoniankid17 2009-10-26 18:01

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by qole (Post 358383)
Ok, it works, but here are some problems:
  • Icon is too big for desktop
  • Image is square, it should be cropped, top and bottom, to fill the whole screen
  • App starts windowed, it should start fullscreen
  • The quality of the image is terrible -- like UHF TV from a distant station.

from my experience with the n97, n95, and n96. this might be an issue with the camera as all of them have pretty grainy quality.

kryptoniankid17 2009-10-26 18:03

Re: [ANNOUNCE] Mirror
 
does any one know how many mp the front camera on the n900 has.

RevdKathy 2009-10-26 18:04

Re: [ANNOUNCE] Mirror
 
I'm not sure how big a problem that is: we're looking for something that will enable the application of a smear of lippy or ensuring the removal of spinach from the teeth, not a device to determine Who Is The Fairest Of Them All.

attila77 2009-10-26 18:25

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by qole (Post 358383)
Ok, it works, but here are some problems:[*]Icon is too big for desktop

Hmm. This is some hildon misunderstanding... the app provides all possible sizes (how do I influence which one is picked by the desktop ?).

Quote:

[*]Image is square, it should be cropped, top and bottom, to fill the whole screen
I take it you have not found 'toggle wide' in the menu :) BTW the cropped mode lowers resolution and thus makes noise look worse, that's why I chose chose the uncropped one as the default, but I'm not emotionally attached to it, so if you all say 'crop FTW' who am I to contradict :)

Quote:

[*]App starts windowed, it should start fullscreen
Hm. Sure ? I kind of thought people press it once to start, press the X to quit...

Quote:

[*]The quality of the image is terrible -- like UHF TV from a distant station.[/LIST]
Alas, this one is out of my reach. It IS a 640x480 webcam with a chip size that nears the head of a pin... There should be SOME improvement via next firmwares but don't expect wonders. Alternatively, one could implement denoising and hot pixel removal filters, but that's heavy artillery outside the scope of this app...

attila77 2009-10-26 18:26

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by kryptoniankid17 (Post 358404)
does any one know how many mp the front camera on the n900 has.

0.3mpix :) It's 640x480.

qole 2009-10-26 18:35

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 358424)
I take it you have not found 'toggle wide' in the menu :)

Ok, I found it. But your app stubbornly refuses to remember that I like "wide-and-low". If it remembered my preference, I'd be happy.

EDIT: Oh, and if you make a settings file, maybe have a "start fullscreen" setting too?

Quote:

Originally Posted by attila77 (Post 358424)
Alas, this one is out of my reach. It IS a 640x480 webcam with a chip size that nears the head of a pin... There should be SOME improvement via next firmwares but don't expect wonders. Alternatively, one could implement denoising and hot pixel removal filters, but that's heavy artillery outside the scope of this app...

Have you found a way to reduce the frames-per-second? Cutting the fps to 15 would probably improve the image dramatically, at the expense of some real-time motion responsiveness... Maybe another setting?

I notice that the screen flickers a lot; clearly, the device is trying to auto-adjust the brightness. It would be nice to kill that somehow. Hm. Someone who isn't as terrified of Bugzilla as I am should probably should post a bug about that.

attila77 2009-10-26 18:41

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by qole (Post 358433)
Ok, I found it. But your app stubbornly refuses to remember that I like "wide-and-low". If it remembered my preference, I'd be happy.

EDIT: Oh, and if you make a settings file, maybe have a "start fullscreen" setting too?

Deal.

Quote:

Have you found a way to reduce the frames-per-second? Cutting the fps to 15 would probably improve the image dramatically, at the expense of some real-time motion responsiveness... Maybe another setting?
That can be set through gstreamer, I'll try and see whether it influences image quality.

Quote:

I notice that the screen flickers a lot; clearly, the device is trying to auto-adjust the brightness. It would be nice to kill that somehow. Hm. Someone who isn't as terrified of Bugzilla as I am should probably should post a bug about that.
This one, however, is a lot deeper, we have no control over camera gain ATM.

koivjann 2009-10-26 18:44

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 358426)
0.3mpix :) It's 640x480.

The quality of the picture is terrible. On the right hand side there is some kind of darker bar about 1 cm wide. And the application goes off in about 1 minute.

Thank you for the first working application which uses the front camera. Now we know that it's working and exists.

Maybe this lead to something.

attila77 2009-10-26 18:50

Re: [ANNOUNCE] Mirror
 
I think I'll put up a startup notification bar that the image quality and the dark bar is not my doing :)

As for goes off... what do you mean ? The screen-save kicks in, the app crashes, or ?

koivjann 2009-10-26 18:58

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 358451)
I think I'll put up a startup notification bar that the image quality and the dark bar is not my doing :)

As for goes off... what do you mean ? The screen-save kicks in, the app crashes, or ?

I suppose it crashes by itself. If the screen saver goes on it comes on if you unlock screen saver. But there is no crash report alt ought I have reporter on.

I'm sorry not to recognize your startup notification

qole 2009-10-26 19:14

Re: [ANNOUNCE] Mirror
 
Yes, I noticed that too, the screen goes dark after a short period. Probably you should turn off screen blanking while your app is in the foreground...

mikkov 2009-10-26 19:31

Re: [ANNOUNCE] Mirror
 
It is killed after 2 min because .desktop file has X-Osso-Service=org.maemo.mirror, but program is not registered with libosso functions.

So remove X-Osso-Service from .desktop and it doesn't crash or use libosso. But because you are not using anything from libosso or dbus you can just remove it.

kryptoniankid17 2009-10-26 21:22

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 358426)
0.3mpix :) It's 640x480.

you would think nokia would of improved this by now. thats not much to work with.

attila77 2009-10-27 02:00

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by kryptoniankid17 (Post 358554)
you would think nokia would of improved this by now. thats not much to work with.

Actually, there is little point going higher res, as there is no device that could display it (remember, this is the videocall cam - how many phones do you know that have significantly better than 640x480 displays ? :) ). It *could* have been a better quality one, though :(

koivjann 2009-10-27 12:29

Re: [ANNOUNCE] Mirror
 
The new version gives "much" better picture than earlier. That seems to depend on illumination :p Thanks

attila77 2009-11-01 22:43

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by qole (Post 358433)
Ok, I found it. But your app stubbornly refuses to remember that I like "wide-and-low". If it remembered my preference, I'd be happy.

EDIT: Oh, and if you make a settings file, maybe have a "start fullscreen" setting too?

Okay, new version 2.1 that does the above is out. Test and thumb, thank you.


Quote:

Have you found a way to reduce the frames-per-second? Cutting the fps to 15 would probably improve the image dramatically, at the expense of some real-time motion responsiveness... Maybe another setting?
I tried lowering framerate, no noticeable image quality improvement :(

qole 2009-11-02 19:37

Re: [ANNOUNCE] Mirror
 
What about decreasing overall resolution? 320x240 (or whatever the actual resolution should be) might hide the noise better than 640x480...?

attila77 2009-11-02 22:06

Re: [ANNOUNCE] Mirror
 
Lowering resolution does not help image quality (only speed, the current 'default' seems to be a dumb n-th pixel readout) - unless I do it in software, with some sort of median/denoising filter. Or maybe figure out how to make a darkframe without bothering the user... (if you cover the camera with your finger you'll see there are plenty of hot pixels). At this point, though, I'd rather wait for final firmware and implement improvements based on that.

sarahn 2009-11-05 17:25

Re: [ANNOUNCE] Mirror
 
A serious suggestion:

People say that symmetry is what leads to beauty. Taking art I recall that we were supposed to look at our pictures in mirrors to make sure they were balanced.

I suggest being able to draw a line at an arbitrary point in the picture and have one side or the other mirrored along that line. Additionally, make the mirror semi-transparent (0 to 100 or whatever) so that one side of your face is superimposed on the other. Could be useful for makeup, either as a comparison or as a guide when you have done one side of your face and not the other.

attila77 2009-11-05 23:00

Re: [ANNOUNCE] Mirror
 
Interesting idea, but I'm afraid that surpasses my current GTK/GStreamer skills - volunteers welcome !

BTW Mirror is now officially part of extras (=available to the general public, not just testers).

attila77 2009-11-11 17:26

Re: [ANNOUNCE] Mirror
 
Anyone with a 42-11 (=release) firmware ? I'd like to hear if the image quality is any better compared to the Summit 41-10's and confirm the demise of the right-side dark band.

jebba 2009-12-07 00:56

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 372593)
Anyone with a 42-11 (=release) firmware ? I'd like to hear if the image quality is any better compared to the Summit 41-10's and confirm the demise of the right-side dark band.

Sorry to tell you, but image quality still sucks and the band is still there. This is due to the firmware, not your program (as you well know).

It does the same thing in mplayer. Example (from my old mirror script for Eee):

Code:

mplayer \
        -fs \
        -v \
        -fps 25 \
        -nosound \
        -ao null \
        -nojoystick \
        -nolirc \
        -ontop \
        -framedrop \
        -stop-xscreensaver \
        -nocache \
        -vf-add mirror \
        -vf-add crop=640:380 \
        -vf-add hqdn3d \
        -noslices \
        -vo xv \
        -tv brightness=0:contrast=0:hue=0:saturation=-0:gain=0:device=/dev/video1 \
        tv://

None of the -tv options work on the front (mirror) camera. They work fine on /dev/video0 though.

-Jeff

bocaJ 2009-12-08 20:45

Re: [ANNOUNCE] Mirror
 
Do we know that the band on the front camera is actually do to firmware and not a hardware defect?

Psymastr 2009-12-10 01:36

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by bocaJ (Post 417363)
Do we know that the band on the front camera is actually do to firmware and not a hardware defect?

Yes, and nokia already has a fix internally.

calnghia333 2010-04-13 00:50

Re: [ANNOUNCE] Mirror
 
i try to install mirror to my phone but it keeps telling me unable to install 'mirror' because CONFLICT WITHALLICATION PACKAGE: MAEMO 5..
can anyone show me how to install mirror to the phone.. thank you very much

attila77 2010-04-14 14:36

Re: [ANNOUNCE] Mirror
 
whoa, interesting. What version of the firmware do you have ? (settings->about product)

qole 2010-06-01 21:53

Re: [ANNOUNCE] Mirror
 
I just tried Mirror with PR 1.2 and it looks much, much better... except that everything is greenish. Is there a white balance that needs to be invoked now?

attila77 2010-06-05 11:40

Re: [ANNOUNCE] Mirror
 
Nice catch, I will play with it to get more natural results. Doesn't look white balance to me, more like something happening around the demosaicing phase (the CCD has twice as much green pixels than red or blue). Doubling red/blue or halving green component should help it...

PMaff 2011-01-11 19:52

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 700936)
Nice catch, I will play with it to get more natural results. Doesn't look white balance to me, more like something happening around the demosaicing phase (the CCD has twice as much green pixels than red or blue). Doubling red/blue or halving green component should help it...

I tried downloading mirror from
http://maemo.org/downloads/product/Maemo5/mirror/
but it says that "Error 404: Page Could Not Be Found"
for "/downloads/product/raw/raw/Maemo5/mirror/"

Anything broken there?

attila77 2011-01-11 22:49

Re: [ANNOUNCE] Mirror
 
When you say 'downloading', what exactly did you click on that page, and did you do it from a desktop computer or the N900 itself ?

PMaff 2011-01-13 12:20

Re: [ANNOUNCE] Mirror
 
Quote:

Originally Posted by attila77 (Post 918250)
When you say 'downloading', what exactly did you click on that page, and did you do it from a desktop computer or the N900 itself ?

Click on the green item on the page on my N900.
Afair this normally downloads/installs the application?
;-)

waiku 2013-06-18 07:09

Re: [ANNOUNCE] Mirror
 
sorry,..
when i uninstall this mirror it to easy, but when i install this MIRROR again, it has a problems,... look like something missing
gstreamer0.10-plugins-good package.

why i can not install MIRROR ?

tks...


All times are GMT. The time now is 00:23.

vBulletin® Version 3.8.8