A810 porting thread - page 10 - DryOS Development - CHDK Forum supplierdeeply

A810 porting thread

  • 106 Replies
  • 32494 Views
*

Offline srsa_4c

  • ******
  • 4384
Re: A810 porting thread
« Reply #90 on: 17 / August / 2013, 09:38:30 »
Advertisements
I have done some tests to disable Focus Frame.  There is a task called DispFace, using LED for debug I detected a function which seems to draw focus frame. Finally, I added conditional call to that function, something like:
if ALT mode enabled, then skip draw focus frame, else draw focus frame.
Do I see it correctly, that the function you're making conditional is actually setting a huge sized propcase?
If so, this page will need an update.

I think that - if tests prove stability - you can do this, as it's a local change to the port. Does this solution handle the not face related moving focus frames (in live / easy mode or similar)?

My opinion is that it would be better to prevent Canon screen updates completely when the CHDK menu is visible. Or even better, always do CHDK screen writes right after Canon screen updates to prevent flickering. But that would require quite a bit of research...

Re: A810 porting thread
« Reply #91 on: 17 / August / 2013, 09:50:45 »
My opinion is that it would be better to prevent Canon screen updates completely when the CHDK menu is visible. Or even better, always do CHDK screen writes right after Canon screen updates to prevent flickering. But that would require quite a bit of research...
That's been another one of the "holy grails" of CHDK porting for a long time.   At one point I suggested just redrawing the CHDK menu every 100mSec but the feeling was that would involve too much "overhead". 

Philmoz added the code that checks a couple of bits at the corner of the menu and redraws if they are over-written.  Maybe we should be looking at the center of the screen?

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline nafraf

  • *****
  • 1308
Re: A810 porting thread
« Reply #92 on: 17 / August / 2013, 15:25:23 »
Do I see it correctly, that the function you're making conditional is actually setting a huge sized propcase?
If so, this page will need an update.
I'm not sure, I need to check the code.

Quote
I think that - if tests prove stability - you can do this, as it's a local change to the port. Does this solution handle the not face related moving focus frames (in live / easy mode or similar)?
It stops focus tracking in other modes too, but frame remains on screen. There is a video here: http://youtu.be/qTEjDpBKH8M

Quote
My opinion is that it would be better to prevent Canon screen updates completely when the CHDK menu is visible. Or even better, always do CHDK screen writes right after Canon screen updates to prevent flickering. But that would require quite a bit of research...
I agree, it is a better solution.

*

Offline srsa_4c

  • ******
  • 4384
Re: A810 porting thread
« Reply #93 on: 17 / August / 2013, 15:33:12 »
It stops focus tracking in other modes too, but frame remains on screen.
Looks convincing. If it's really tied to a propcase, maybe the other end (which reads it) should be researched too - perhaps that's easier to override.


Re: A810 porting thread
« Reply #94 on: 18 / December / 2013, 09:44:52 »
Hi All,

I received my A810 yesterday and am trying to get to grips with the CHDK - it's going fairly well, but I would like to know whether or not the manual focus has been sorted out. I am referring to the fact that you can turn the man. focus on by pressing "up", but as the "Down" and the "Display" are the same button you cannot set inf or hyper.

I wish to experiment with Astrophotography and would like some way to force the camera to "infinity", rather than trying to get the autofocus to focus on the stars.

Any help, etc.

All the best,

Neil.

Re: A810 porting thread
« Reply #95 on: 18 / December / 2013, 10:31:39 »
I wish to experiment with Astrophotography and would like some way to force the camera to "infinity", rather than trying to get the autofocus to focus on the stars.
I've been working on the same issue for a little while now. 

My current summary is here : CHDK Manual Focus and Subject Distance Overrides

I've been working on a more formal test method to identify what works for a particular camera and on a wiki cross reference chart where people can record their results for different cameras so that eventually you only need to look at the chart to determine what your camera needs.
« Last Edit: 18 / December / 2013, 10:39:22 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline Davo

  • ***
  • 183
Re: A810 porting thread
« Reply #96 on: 19 / December / 2013, 11:00:24 »
Hi All,

I received my A810 yesterday and am trying to get to grips with the CHDK - it's going fairly well, but I would like to know whether or not the manual focus has been sorted out. I am referring to the fact that you can turn the man. focus on by pressing "up", but as the "Down" and the "Display" are the same button you cannot set inf or hyper.

I wish to experiment with Astrophotography and would like some way to force the camera to "infinity", rather than trying to get the autofocus to focus on the stars.

Any help, etc.

All the best,

Neil.

Hi Neil,

To force infinity on my A810 I press the left (flower) button and then press right to select the mountains (infinity).

You might also want to check out my AstroKam software if you have a laptop.

http://chdk.wikia.com/wiki/CHDK_AstroKam

Dave

Re: A810 porting thread
« Reply #97 on: 19 / December / 2013, 11:17:49 »
To force infinity on my A810 I press the left (flower) button and then press right to select the mountains (infinity).
Thanks for that Dave!  Using click("left") to set AFL in a script is one of the methods mentioned in the wiki page linked above.  Obviously the actual button can vary from camera to camera.

However, I had not explored using buttons to also set "infinity".  The posted code samples all try to use the set_focus() command once focus is locked.  Using click("right") or some other button combination like that for each camera might be a good solution for cameras that won't respond to any of the scripting methods posted on that wiki page.   

I'll add a note to that effect - sometimes the easiest hacks are the best.
Ported :   A1200    SD940   G10    Powershot N    G16


Re: A810 porting thread
« Reply #98 on: 20 / December / 2013, 07:39:34 »
Thanks all for your replies regarding the infinity setting - it has finally clicked (only taken two days!) that CHDK, unless you tell it to, does not override the parameters you set on the native camera, so I ended up setting the camera to the night setting and setting the exposure to the max 15 seconds.

Thanks Dave for the advice to manually set to infinity. I have also worked out how to set the exposure to 30s, plus I have the intervalometer script working, so I should be good to go for those star trails once the clouds clear.

Taking a look at the AstroKam software now!

Neil (Cardiff).

Re: A810 porting thread
« Reply #99 on: 10 / February / 2014, 10:37:33 »
Hi!

How I can get AF scan during video recording in my camera A810 with chdk ?
In menu of chdk is only:
- video mode
- bitrate
- quality
- clear vid par
- vid qual control
- enable optical zoom
- show rem time
- refreshrate
no entry AF key
What can I do to during recording, get AF scan ?

Best Regards
Pit

 

Related Topics