Mode dials and Playback pushbuttons - page 17 - General Discussion and Assistance - CHDK Forum supplierdeeply

Mode dials and Playback pushbuttons

  • 201 Replies
  • 46132 Views
*

Offline reyalp

  • ******
  • 12106
Re: Mode dials and Playback pushbuttons
« Reply #160 on: 06 / December / 2009, 18:46:00 »
Advertisements
mode 32791 sets OK, lua testscript says "UNKNOWN' must be alternative AQUARIUM mode
                    though, it shows a striped fish with bubbles symbol (as shown in #148)
As barberofcivil says, this is the underwater icon. So maybe a590 has hidden underwater mode. According to canon, underwater should adjust the white balance, and limit the use of flash (by adjusting ISO as much as possible I think). Might be difficult to tell if this is correctly implemented in the canon FW.


The only problem  is that in the test script it sets the cam out of Manual mode and  switches it to an unknown mode (gray box icon). Using set_capture_mode(5) and set_capture_mode(37) the A590IS was always in manual mode.
The only difference between set_capture_mode and set_capture_mode_canon is that set_capture_mode looks up the canon mode number from the CHDK mode number first. So if you are seeing different behavior, this is a difference in your script or testing conditions.

The other question is does this mode actually work as a digital macro mode ? The fact that the camera sets it and displays an icon doesn't mean much. I'm not even sure how "digital macro" is supposed to work... I guess it lets you use digital zoom without zooming mechanical first ?

@Microfunguy
Yes, I meant 100f for a620.
I'll add "super macro" to the modemap for a460.
Can you check these canon modes on a460
32774 (maybe mycolors on ixus60/ixus65)
33290 (stitch on many, according to canon specs, a460 doesn't have stitch)
I'd be particularly interested to know if stitch actually works on this camera.

@fe50
Thanks, I'll have a look at those next. If you see any modes in that list that are incorrectly named for what is available on your cameras, or modes that cameras have that are missing, let me know.

edit:
@barberofcivil great sounds like we can set c mode. Would be useful to find the function that saves the settings.
« Last Edit: 06 / December / 2009, 18:52:39 by reyalp »
Don't forget what the H stands for.

Re: Mode dials and Playback pushbuttons
« Reply #161 on: 06 / December / 2009, 19:17:17 »
Quote
The other question is does this mode actually work as a digital macro mode ? The fact that the camera sets it and displays an icon doesn't mean much. I'm not even sure how "digital macro" is supposed to work... I guess it lets you use digital zoom without zooming mechanical first ?
This is what it does on the SX10.


Quote
edit:
@barberofcivil great sounds like we can set c mode. Would be useful to find the function that saves the settings.
Yes that could be useful.

On the SX10 the firmware has strings that refere to an additional C1 and C2 mode.  I hadn't noticed the 8225 on the list of mode numbers I refererred to earlier.  Now that I go back and look there is also 8226 and 8227. I'm wondering if these are additional custom modes?  They would only be of use if we could save to the settings they use as the current interface only saves for the main C mode.

*

Offline reyalp

  • ******
  • 12106
Re: Mode dials and Playback pushbuttons
« Reply #162 on: 06 / December / 2009, 19:31:19 »
On G7, which does have C1 and C2, the canon mode list has 8222 and 8223

Note that the save function must write to internal flash, so trying to save a second set might do Bad Things if there wasn't space allocated for it. Proceed with caution ;)
Don't forget what the H stands for.

*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #163 on: 06 / December / 2009, 19:39:27 »
@reyalp, it doesn't displays the macro icon, but it does focus at macro distance without problems.
I don't know either what "digital macro" is. 
In any case, set_capture_mode(5) with set_capture_mode(37) did the job well before and the cam stayed in Manual mode.


Re: Mode dials and Playback pushbuttons
« Reply #164 on: 06 / December / 2009, 20:40:16 »
@reyalp, it doesn't displays the macro icon, but it does focus at macro distance without problems.
I don't know either what "digital macro" is. 
In any case, set_capture_mode(5) with set_capture_mode(37) did the job well before and the cam stayed in Manual mode.

As I noted in my other thread (at least for the SX10) none of the disabled modes show an icon on screen except for Kids&Pets, the rest are just blank.  But they do show an icon in Playback and record the modename in exif.

Re: Mode dials and Playback pushbuttons
« Reply #165 on: 06 / December / 2009, 21:19:39 »
On G7, which does have C1 and C2, the canon mode list has 8222 and 8223

Note that the save function must write to internal flash, so trying to save a second set might do Bad Things if there wasn't space allocated for it. Proceed with caution ;)
Tested this and 8222 & 8223 freeze the camera, as do 8226 & 8227

*

Offline reyalp

  • ******
  • 12106
Re: Mode dials and Playback pushbuttons
« Reply #166 on: 06 / December / 2009, 21:43:12 »
In any case, set_capture_mode(5) with set_capture_mode(37) did the job well before and the cam stayed in Manual mode.
As I explained before, all set_capture_mode does is look up the canon number from the CHDK number, and then set it with the same function as _canon. Any difference you see is a result of something you are doing different on your end. Given that you haven't verified that this ever worked as "digital macro" (or even figured out exactly how it is supposed to work) I'm not sure why you keep bringing the issue up. If I've understood "digital macro" it's basically useless anyway. Shooting at full resolution in normal macro mode and cropping/enlarging after the fact should give you exactly the same result.

If you want to set regular macro mode from script, you should already be able to do that with button presses, events or propcases.

My intention is to make set_capture_mode provide every mode that is listed in the canon specs for each camera, with appropriate names that predictably map to a specific function. (supporting all the obscure scene modes is probably a waste of time, but I'm a sucker for consistency and I've already started down this path)

Other "hidden" modes that are verified as fully functional and useful can be added, but this is not a priority. Anyone who wants to use them can still use the _canon function if they know the propcase values for their specific camera.

Don't forget what the H stands for.

Re: Mode dials and Playback pushbuttons
« Reply #167 on: 06 / December / 2009, 22:41:37 »
Quote
If I've understood "digital macro" it's basically useless anyway. Shooting at full resolution in normal macro mode and cropping/enlarging after the fact should give you exactly the same result.
This is mostly true, it's basically as useful as digital zoom in general which is more or less a crop and enlarge operation done in-camera that can be done just as well or better out of the camera.  However, I think that there is may be some use to it if you are shooting at lower resolution, as you do gain useful pixels.  (Similar to as described for regular digital zoom p69 of the SX10 manual)

Quote
Other "hidden" modes that are verified as fully functional and useful can be added, but this is not a priority. Anyone who wants to use them can still use the _canon function if they know the propcase values for their specific camera.
Admittedly, I mostly use the M/P/Tv/Av modes, so most of the other modes are just a bit of novelty.  There are a few that may be of specific use to some people for certain circumstances without having to fiddle with manual settings (e.g. Kids&Pets, Fast Shutter, Slow Shutter)


*

Offline dvip

  • ****
  • 451
Re: Mode dials and Playback pushbuttons
« Reply #168 on: 06 / December / 2009, 23:52:53 »
@reyalp, I did verify it, and it did work before a590-101b-0.9.9-
858. It took the pics in macro and they didn't look like the
described digital macro or crops.

The lua test script was simple, here it is:

sleep(2000)
set_capture_mode(5)
print("done")
sleep(2000)
set_capture_mode(37)
print("macro")
sleep(3000)

sleep(3000)
press("shoot_half")
sleep(3000)
press("shoot_full")
sleep(3000)
release("shoot_full")
release("shoot_half")

--[[
--]]

This script used to set the cam to manual mode, then to macro,
and the cam stayed in manual mode after taking the picture
something it doesn't do anymore. I can always use
set_capture_mode_canon(33288) (thanks barberofcivil) but this
sets the cam to an unknown mode and I want to keep it in
manual mode.

The conditions and the script were the same. Nothing different
was done at my end and it took the picture in macro mode. 
Now, if you don't want to believe it then there isn't much I can
do, but if you find out otherwise please let me know.

I agree, digital macro/zoom is not something I would use much,
I use the regular macro (optical?) and have digital zoom off all
the time.

Regarding the "hidden" modes, I mostly shoot in raw and
manual mode so all those "hidden" scene modes are not that
important to me but they may be for someone else, that's why I
spend the little time I have free to find them.

I hope you appreciate me pointing this things out and I hope it
can make chdk better.


*

Offline reyalp

  • ******
  • 12106
Re: Mode dials and Playback pushbuttons
« Reply #169 on: 07 / December / 2009, 00:01:48 »
@fe50
on ixus50_sd400, if you set canon mode to 2, does this switch to "long shutter" mode ?

Also, if you manually switch to long shutter mode, does propcase 0 become 2 ?

Finally, in long shutter mode, does propcase 40 show the selected Tv (in tv96) in this mode ?

Thanks.

edit to add:
for ixus860_sd870
can you try canon mode 32774 ? Maybe this is also long shutter mode (I had it as MYCOLORS on some other cameras, but that's already on a different mode for this one)

@barberofcivil
I guess digital zoom/digital macro are good if card space is an issue (saving time with smaller resolution isn't noticeably better, and is sometimes worse!). If you are taking a time lapse that's going to get rendered at lower res anyway, you may as well use it I guess.

Regarding C mode, do you see any propcase that shows that you are in C ? Also, if you set C mode and change settings (e.g. change your Tv) are those settings saved automatically ? If so, does this still work if C mode is set with script ?
« Last Edit: 07 / December / 2009, 01:10:40 by reyalp »
Don't forget what the H stands for.

 

Related Topics