Author Topic: Mode dials and Playback pushbuttons  (Read 15568 times)

Offline barberofcivil

  • Sr. Member
  • ****
  • Posts: 267
    • deviantART Gallery
Re: Mode dials and Playback pushbuttons
« Reply #180 on: 08 / December / 2009, 00:42:26 »
  • Publish
  • 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)
    32774 is Long Shutter mode in SX10 as well.  It just shows up as AUTO on screen and Program AE in exif.
    The mode doesn't work fully on SX10.  The shutter speed at half press shows up as 1s (or greater if Tv/M is set to greater than 1s, but never less), but the actual shutter speed used is that selected in Tv/M.

    Offline barberofcivil

    • Sr. Member
    • ****
    • Posts: 267
      • deviantART Gallery
    Re: Mode dials and Playback pushbuttons
    « Reply #181 on: 08 / December / 2009, 02:40:21 »
  • Publish
  • OK, here is a list of all the modes, normal and hidden, for the SX10 that I dug up out of the firmware.
    The modes have all been tested and load up (I haven't included any the freeze the camera).
    For hidden modes, I didn't try to fully test and check them all, so some are listed as unknown for status, meaning I don't know if they do what the mode usually does.

    Normal means it's regular mode selectable on the mode dial.

    Quote
    Mode Number     Mode                         Status                          Notes                                                     
    2597VideoNormal Mode
    2598Video: Color AccentHidden - WorkingUses setting from Scene: Color Accent
    2599Video: Color SwapHidden - WorkingUses setting from Scene: Color Swap
    2600Video: ?Hidden - Unknown
    2601Video: ?Hidden - Unknown
    2602Video: ?Hidden - Unknown
    2603Video: ?Hidden - Unknown
    2604Video: ?Hidden - Unknown
    16398Scene: Night SceneNormal
    16401Scene: IndoorNormal
    16402Scene: SunsetNormal
    16403Scene: FoliageNormal
    16404Scene: SnowNormal
    16405Scene: BeachNormal
    16406Scene: FireworksNormal
    16408Scene: AquariumNormal
    16413Scene: ISO3200Normal
    16414ISO6400Hidden - Nonfunctional
    16923Scene: Color AccentNormal
    16924Scene: Color SwapNormal
    32768AutoNormal
    32769MNormal
    32770AvNormal
    32771TvNormal
    32772PNormal
    32773MacroHidden - WorkingSame as using normal macro focus
    32774Long ShutterHidden - NonfunctionalShows shutter >1s, uses shutter from Tv/M
    32779Night SnapshotNormal
    32780LandscapeNormal
    32781PortraitNormal
    32784Kids&PetsHidden - Unknown
    32791UnderwaterHidden - Unknown
    32793Fast ShutterHidden - Working
    32794Slow ShutterHidden - Working
    33287SportsNormal
    33288Digital MacroHidden - WorkingDigital zoom must be enabled
    33289Super MacroHidden - WorkingCan also use digital zoom
    33290Stitch assistNormal
    33295Creative Light EffectHidden - Nonfunctional
    33311EasyHidden - Unknown
    33312Quick ShotHidden - Unknown
    8225CustomNormal

    Offline reyalp

    • Guru Member
    • ******
    • Posts: 4826
    Re: Mode dials and Playback pushbuttons
    « Reply #182 on: 08 / December / 2009, 03:43:48 »
  • Publish
  • Here is something a little interesting (but maybe not of much use) that I'm not sure if it's been noticed. This is on the SX10 and possibly others with a dedicated video record button.
    Whatever mode the camera is set to, when video record is started, the mode numbers in propcase 49 & 50 increase by 1024 (0x400 HEX):
    e.g.:
    Video: 2597 -> 3621
    Sports: 33287 -> 34311
    etc.
    Yes, this is the same on SD990 if you program the DP button to start video. Good to know SX10 behaves the same way. I need to update mode_get etc to support this.

    If anyone can confirm that the other cameras with movie button/shortcut (esp the older ones ) behave the same way, that would be helpful.
    Quote
    Going the other way, setting the modenumber +1024, the camera basically switches to that mode (without the mode icon though).  Also, the exif mode comes up as MovieSnap.
    Hmm, if you take a still while shooting video, is that what is in the exif ? (and does the propcase change)

    Quote
    Maybe not of a lot of use though.   I tried initiating a script while video record was on, but it ends the video record and takes a picture in the mode that the actual dial is set to.
    It needs to be supported on the get_ side somehow, otherwise CHDK is confused about what mode it is in. I'm not totally sure how to do this yet, it will require some reworking.
    Quote
    One thing I can't find, is how do I initiate video record with a script on the sx10?  It has a dedicated video record button, so using "shoot()" or the others actually takes a photo, it doesn't start video record and I don't seem to see a script actio to start video, am I missing something?
    KEY_VIDEO is in the keyboard map, so I assume you can send that from script. If not, you can presumably use
    post_levent_to_ui("PressMovieButton")
    post_levent_to_ui("UnpressMovieButton")

    edit:
    Re long shutter: This is an feature of cameras that don't have full manual, I wouldn't expect it to be useful on cameras that have real manual.

    the 2600 series modes are canon timelapse on the cameras that have it. You can the find propcase that controls canon timelapse on the wiki, might be worth a try. edit: but not for all, a2000 uses this for regular video!

    Video color accent/swap: are thse not available normally on the sx10 ?

    regarding propcase 50, can you describe how it behaves with other modes ?

    Thanks again for your testing.
    « Last Edit: 09 / December / 2009, 06:08:30 by reyalp »
    Don't forget what the H stands for.

    Offline reyalp

    • Guru Member
    • ******
    • Posts: 4826
    Re: Mode dials and Playback pushbuttons
    « Reply #183 on: 08 / December / 2009, 03:49:41 »
  • Publish
  • @barberofcivil, it didn't combine Manual/Digital, set_capture_mode_canon(37) just used to set the A590IS to  macro mode with the old modemap. set_capture_mode_canon (33288) does the same thing.
    I'm sorry, but set_capture_mode doesn't do anything different from set_capture_mode_cannon. It can only be an error on your part, or something random. Look at the C code yourself if you don't believe me. Substituting _canon in only the second call in your script will do exactly the same thing that happened with the old modemap as far as the camera is concerned.
    Don't forget what the H stands for.

    Offline user1

    • Rookie
    • *
    • Posts: 20
    Re: Mode dials and Playback pushbuttons
    « Reply #184 on: 08 / December / 2009, 04:15:09 »
  • Publish
  • One thing I can't find, is how do I initiate video record with a script on the sx10?  It has a dedicated video record button, so using "shoot()" or the others actually takes a photo, it doesn't start video record and I don't seem to see a script actio to start video, am I missing something?

    click("video")

    Offline barberofcivil

    • Sr. Member
    • ****
    • Posts: 267
      • deviantART Gallery
    Re: Mode dials and Playback pushbuttons
    « Reply #185 on: 08 / December / 2009, 05:59:31 »
  • Publish
  • Quote
    Hmm, if you take a still while shooting video, is that what is in the exif ? (and does the propcase change)
    MovieSnap

    Quote
    KEY_VIDEO is in the keyboard map, so I assume you can send that from script. If not, you can presumably use
    post_levent_to_ui("PressMovieButton")
    post_levent_to_ui("UnpressMovieButton")
    Thanks. I have a couple items I want to check with this.

    Quote
    Video color accent/swap: are thse not available normally on the sx10 ?
    Yes, indirectly.  By setting the camera to this mode for shooting and starting a video.  That is somewhat the advantage of the video button, you can start in any mode.  May be of use to know that it can be set directly though.

    Offline reyalp

    • Guru Member
    • ******
    • Posts: 4826
    Re: Mode dials and Playback pushbuttons
    « Reply #186 on: 08 / December / 2009, 08:40:58 »
  • Publish
  • Modemap cleanup:
    I'm going to try to make all the mode constants match their canon descriptions. Here's what I have so far

    MODE_NIGHT->MODE_NIGHT_SCENE called "night scene" in canon descriptions not to be confused with "special scene" modes that get the SCN prefix. There is also a SCN version of this on some cameras, currently called NIGHT1 or NIGHT
    + MODE_LONG_SHUTTER was mostly shared with "night scene" or missing from the modemap but functions completely differently
    SCN_NIGHT1 -> SCN_NIGHT_SCENE (yay)
    SCN_NIGHT-> SCN_NIGHT_SNAPSHOT

    the following were all redundant names for the same thing (based on canon manuals). The value closer to the canon description will be used. Some of these have both SCN and non SCN variants
    GRASS -> FOLIAGE
    CHILD -> KIDS_PETS
    PARTY -> INDOOR
    WATER->UNDERWATER

    Note that various cameras individually have used these inconsistently. This will be cleaned up as much as I can, but errors are likely to remain!

    I'm unsure what to do with the modes that have both SCN and non-SCN variants that refer to the same functionality. I don't see why we would ever care about the distinction, but canon does use different ranges of constants for them. For the first step of the cleanup, I'll keep the SCN_ distinction, but suggestions are welcome.
    Don't forget what the H stands for.

    Offline fe50

    • Guru Member
    • ******
    • Posts: 2694
    • IXUS50 & 860, SX10 Star WARs-Star RAWs
      • fe50
    Re: Mode dials and Playback pushbuttons
    « Reply #187 on: 08 / December / 2009, 12:05:48 »
  • Publish
  • Whatever mode the camera is set to, when video record is started, the mode numbers in propcase 49 & 50 increase by 1024 (0x400 HEX)

    If anyone can confirm that the other cameras with movie button/shortcut (esp the older ones ) behave the same way, that would be helpful.

    It's the same on the SD870 when using the shortcut button, registered with "Rec. movie", e.g. from M mode: 32772 ->33796 -> 32772.

    Offline Aged

    • Rookie
    • *
    • Posts: 39
    Re: Mode dials and Playback pushbuttons
    « Reply #188 on: 08 / December / 2009, 21:09:41 »
  • Publish
  • re S3is extra modes  (8218 and 4215)
    I know one of the above has been associated with the C (custom) mode could the other be associated with the fitting of a converter lens ?

    The Canon Menu has a software three-way switch effectively Wide angle, Extra Zoom and off.  Presumably the camera is told  to make some adjustments. The switch position does not seem to change Exif values, I have not tried with either converter in place.

    CHDK Forum

    Re: Mode dials and Playback pushbuttons
    « Reply #188 on: 08 / December / 2009, 21:09:41 »

    Offline reyalp

    • Guru Member
    • ******
    • Posts: 4826
    Re: Mode dials and Playback pushbuttons
    « Reply #189 on: 09 / December / 2009, 04:19:48 »
  • Publish
  • re S3is extra modes  (8218 and 4215)
    I know one of the above has been associated with the C (custom) mode could the other be associated with the fitting of a converter lens ?

    I wouldn't expect the converter to have it's own mode, since you could use any mode with it, right ?

    For C mode (which I would guess is 8218) can you test as described here:
    http://chdk.setepontos.com/index.php/topic,3228.msg44244.html#msg44244
    If you can look for a propcase that is set to 8218 after you set this mode, that would also be helpful.

    On propset 1 cameras like this, both #0 and #236 are known to show the shooting mode.
    Don't forget what the H stands for.

    Offline dvip

    • Full Member
    • ***
    • Posts: 194
    Re: Mode dials and Playback pushbuttons
    « Reply #190 on: 09 / December / 2009, 07:55:05 »
  • Publish
  • Some A590IS fishing:

    sleep(500)
    print "Striped fish with bubbles icon"
    set_capture_mode_canon(32791)
    sleep(4000)

    print "Video icon - 640/20 fps"
    set_capture_mode_canon(3279)
    sleep(4000)

    print "Video icon - 640/20 fps"
    set_capture_mode_canon(2597)
    sleep(4000)

    print "Video icon - 640/20 fps"
    set_capture_mode_canon(2599)
    sleep(4000)

    print "AUTO icon"
    set_capture_mode_canon(33306)
    sleep(4000)

    sleep(500)
    print "Unknown gray box icon/ Like MODE_EASY uses macro"
    set_capture_mode_canon(33288)
    sleep(4000)

    --[[
    --]]


    Offline barberofcivil

    • Sr. Member
    • ****
    • Posts: 267
      • deviantART Gallery
    Re: Mode dials and Playback pushbuttons
    « Reply #191 on: 09 / December / 2009, 08:07:37 »
  • Publish

  • print "Striped fish with bubbles icon"
    set_capture_mode_canon(32791)

    print "Unknown gray box icon/ Like MODE_EASY uses macro"
    set_capture_mode_canon(33288)
    If you open the pics in ZoomBrowser or some other one with extended exif info, you should be able to see the mode name.
    Also, in playback mode, if you swith to display with info, little icons should be present for the mode.
    If they are the same in all DryOS they should likely be:
    32791 should be Underwater - Striped fish w bubbles
    33288 should be Digital Macro - Macro flower with "D" inside.


    Offline dvip

    • Full Member
    • ***
    • Posts: 194
    Re: Mode dials and Playback pushbuttons
    « Reply #192 on: 09 / December / 2009, 08:55:50 »
  • Publish
  • @barberofcivil,
    Exif for both 32791 and 33288 say:
    Exposure Mode: Easy Shooting

    I think they are some extra SCN modes.

    In playmode the icon for 32791 is the striped fish with
    bubbles. For 33288 there isn't an icon in playmode, in
    recmode the icon is a semi-transparent gray square.


    Offline barberofcivil

    • Sr. Member
    • ****
    • Posts: 267
      • deviantART Gallery
    Re: Mode dials and Playback pushbuttons
    « Reply #193 on: 09 / December / 2009, 19:13:47 »
  • Publish
  • Quote

    regarding propcase 50, can you describe how it behaves with other modes ?

    Thanks again for your testing.


    I did some checking and of note is the following:
    -in C (custom) mode, 49 holds the emulated/saved modenumber, 50 is 8225
    -for all other modes, both are 49 & 50 are the same
    -when starting a video in amy mode, 49 & 50 both increase by 1024 (even 2597 for video and the 8225 for custom)
    -setting the mode to a mode number +1024, switches to that mode with no icon.  Pictures taken get the exif tag MovieSnap.
    -for the additional movie modes, they all show up tagged as Video, but 2598 & 2599 also have the MyColors tag set to Color Accent and Color Swap
    -when stopping a video record, the camera switches back to to physical dial set mode

    Offline Microfunguy

    • Developers
    • Guru Member
    • ****
    • Posts: 3205
      • StereoData Maker
    Re: Mode dials and Playback pushbuttons
    « Reply #194 on: 11 / December / 2009, 03:01:37 »
  • Publish
  • Can you check these canon modes on a460
    32774 (maybe mycolors on ixus60/ixus65)

    Just enters so-called Manual mode.

    Quote
    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.

    Well, it does enter stitch mode and I can take multiple photos.
    The left/right keys only seem to browse to previous or next image.

    I cannot exit stitch mode by pressing SET  ... or anything.

    I just move the dial to a new position.

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal