maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   ρcam 1.0.7 now in extras -- raw/jpg camera application for N9 and N900 with manual controls and image stabilization (N9 version still on 1.0.4) (https://talk.maemo.org/showthread.php?t=85512)

qwazix 2012-11-04 13:51

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Unfortunately I can't find it. I've checked and re-checked the code that defines the overlay but I cannot find anything wrong with it.

The even more frustrating thing is that the bug now happens the *second* time that I open rawcam after a reboot (that is why I thought I fixed it). Also google does not provide any info about N9 and video overlay (funnily enough rawcam is the second result of "harmattan video overlay" google search query.

www.rzr.online.fr 2012-11-06 22:31

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Someone just join this group, I feel there is a lot to (l)earn from him and help each other ...


let me connect this thread to :

http://talk.maemo.org/showthread.php...52#post1291252 # Welcome @detkodave to #Maemo #TMO #ITT #MeeGo communities @nokia @Nokia_Connects @NokiaCEE @nokia_uk @NokiaUS

PIDk 2012-11-07 07:27

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Quote:

Originally Posted by qwazix (Post 1289883)
Unfortunately I can't find it. I've checked and re-checked the code that defines the overlay but I cannot find anything wrong with it.

I also tried CameraPro N9 (link) because it offers features similar to rawcam - manual control of exposure/focus/iso/flash plus DNG capture. I definetly can say that rawcam is better than CameraPro at many aspects, but CameraPro doesn't have overlay bug. Maybe you could contact the author of CameraPro and ask him how he managed to prevent overlay bug? I think he uses somehow the same technique as you in his app.

qwazix 2012-11-07 08:28

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Please do the following test:
1. Reboot
2. Open rawcam and take a picture. Closer rawcam
3. Repeat step 2
4. Open video player (overlay should be dimmed)
5. Open camerapro. Close camerapro
6. Open videoplayer.

Is the video still dimmed?

PIDk 2012-11-07 15:27

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Quote:

Originally Posted by qwazix (Post 1291370)
Please do the following test:
1. Reboot
2. Open rawcam and take a picture. Closer rawcam
3. Repeat step 2
4. Open video player (overlay should be dimmed)
5. Open camerapro. Close camerapro
6. Open videoplayer.

Is the video still dimmed?

Nah, it didn't help - video is still dimmed.

BTW, now I'm using KMPlayer+MPlayer to watch videos and overlay bug causes video in KMPlayer to be not dimmed but comepletely black! Maybe this information can help somehow, because it's clearly related to how video playback implemented. You can find sources for KMPlayer here: https://garage.maemo.org/frs/?group_id=42

qwazix 2012-11-07 16:32

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Thanks!

I think that will certainly help.

koos 2012-11-07 21:29

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Didn't go over the whole thread, but could it be that the overlay changes the xv color key. Maybe reset it to 'auto' on exit

qwazix 2012-11-07 21:35

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
It does chnange the color key, but I'm saving the old one into a variable and restoring it upon exit, but still...

I haven't seen an auto option though, do you have a code snippet or reference page handy?

koos 2012-11-07 22:03

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Quote:

Originally Posted by qwazix (Post 1291603)
It does chnange the color key, but I'm saving the old one into a variable and restoring it upon exit, but still...

I haven't seen an auto option though, do you have a code snippet or reference page handy?

From mplayer sources: x11_common.c

Atom xv_atom = XInternAtom(mDisplay, "XV_COLORKEY",False);
XvSetPortAttribute( mDisplay, xv_port, xv_atom, vo_colorkey );

and vo_colorkey is probably NULL as far as I grepped for CK_METHOD_AUTOPAINT and vo_colorkey.

Update with some googling, it should be XV_AUTOPAINT_COLORKEY set to 1

psychEinside 2012-11-14 13:18

Re: [#MCCXII] ρcam raw/jpg camera application for N9 **and N900** with manual controls
 
Quote:

Originally Posted by qwazix (Post 1289660)
I have been trying all day to fix the bugs that rawcam has (it doesn't close cleanly). I resulted in a little bit better code but the bugs are still there. It's not fun trying to nail them down anymore so I decided to let them go and focus on new features. I won't check out the vertical lines either, sorry PsychEinside but as they don't affect the photos I think it's minor.

Thanks again to everybody for the support.

thanks sir! :)


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

vBulletin® Version 3.8.8