Reassign button for White Balance

Started by dfort, December 01, 2015, 11:09:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dfort

Recently I discovered the ML Auto adjust Kelvin + G/M in a submenu. It would be so cool (and warm and magenta and green) to map a button for this like on the big boys' cinema cameras. Is this possible? Maybe with a lua script?

Thanks to Danne for pointing out this feature to me.

Danne

It,s a hidden gem really. A shortcut to a custom white balance mode, not having to snap a picture change mode on camera, select picture etc.
What makes this even more interesting is that MLV format registers G/M B/A settings in metadata. This makes it useful in post if one could convert calculations from G/M B/A to AsShotNeutral values. I tried to some extent to make this work coming close but not being totally correct it,s decieving.

For instance. Having these values
G/M -9
-AsShotNeutral=0.8217730437 1 0.3426459946

Trying out
9x0.01=0.09
0.3426459946-0.09=0.2526459946
New AsShotNeutralvalue would be
-AsShotNeutral=0.8217730437 1 0.2526459946

This would compensate for tint reading. Can,t verify how correct this is.
Of course when B/A is change too to something like B/A 9 G/M -9 the calculations are much harder to accomplish.



DeafEyeJedi

Indeed, it is a hidden gem and I enjoy/love using this feature on my 5D3 (need to double check for my other cameras as well) since I'm not sure if it's possible to set "SET" button as the hot key for the custom WB to kick in prior to shooting.

However, as Danne pointed out earlier, this can be quite deceiving because when it comes to post and want to try to achieve as close to "AsShotNeutal" values and unfortunately it can be rather annoying to spend too much time doing so in post.

Thanks, Daniel, for starting this thread as I feel it will lead to good things... Usually around this time of the year is when the magic happens on this incredible Forum within this community!
5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

Audionut

As far as I know, being able to reassign buttons is no easy task.  Some buttons are readily available (and hence already used for things in ML), and I believe some buttons are simply not yet available for modification.

Since the usage of buttons has sort of just built up over the years, you can't exactly just start using some button without modification of the existing code for the usage of the button.

http://www.magiclantern.fm/forum/index.php?topic=7816.0

dfort

Maybe move it out of the submenu? It should be more accessible.

That is something even I might be able to do.

dfort

Well that was pretty easy:



I just made a second menu outside of the White Balance submenu item so it is easier to get to. I'll put it on my EOSM__working branch to share with other EOSM users who feel left out of the nightly builds party.

a1ex

On the other cameras, this is implemented via the arrow key shortcuts - that is, you press some camera-specific shortcut key, then you press SET.

http://wiki.magiclantern.fm/userguide#arrow_key_shortcuts

I'm not sure what button can be used here - maybe a long press on some button may work, but you need a button that sends both press and unpress events (and, on most cameras, only SET and arrows would do that). Or maybe a double-click - which is also a bit tricky to implement, since you need to pass the single click to Canon firmware, but not the double click.

I would avoid moving this option in the main menu, for clutter reasons. If you use it often, you can place it into My Menu (Prefs -> Customize Menus).

dfort

I'll play around with it some more and see what shortcut keys work for the EOS-M. For now this seemed like a good place and it is no more cluttered than the Canon menu.


dfort

Customize Menus > doh!
Just tried it out an it does exactly what I wanted.

However now I think I found something even better if that is possible. The Play button lets you change the white balance but it only goes in one direction. As far as I know there is no button that takes you the other direction. Wouldn't it be better if the Play button invokes the "Auto adjust Kelvin + G/M" setting? Is that possible? Guess I'll have to do something a bit more challenging.

dfort

Ok--tried something new. I updated the White Balance button assignment so it triggers "Auto adjust Kelvin + G/M" instead of incrementing the color temperature. Updated the pull request:

https://bitbucket.org/hudson/magic-lantern/pull-requests/673/auto-adjust-kelvin-g-m-tool-in-the-main/diff

DeafEyeJedi

5D3.113 | 5D3.123 | EOSM.203 | 7D.203 | 70D.112 | 100D.101 | EOSM2.* | 50D.109

axelcine

Well done, dfort. Very good idea - I trim the WB all the time. A handy shortcut would be - magic.
EOS RP, 5dIII.113/Batt.grip, 5dIII.123, 700d/Batt.Grip/VF4 viewfinder + a truckload of new and older Canon L, Sigma and Tamron glass

dfort

This is still a work in progress. Looks like this broke some functionality and brought up some issues with the menu backend. Keep an eye on this pull request for the latest updates.

https://bitbucket.org/hudson/magic-lantern/pull-requests/673/auto-adjust-kelvin-g-m-tool-in-the-main/diff

Danne

+1 to such a button.
Anybody knows how canon calculates the G/M B/A numbers to CR2 wb metadata? I should check it out myself.

eyeland

+1 from here as well
Canons implementation of wb controls has always been one of my main frustrations when it comes to DSLR video
Daybreak broke me loose and brought me back...

aschille84

+1 to this
Would be a superquick way to set wb

dfort

This is still on my wish list but there seems to be some issues with the way I'm trying to implement it and the way the ML menu settings are coded.
https://bitbucket.org/hudson/magic-lantern/pull-requests/673/auto-adjust-kelvin-g-m-tool-in-the-main/diff

In the meantime here's the next best thing. Make a custom menu.

Start out by going to the wrench menu and select "Customize Menus" the highlighting will change from blue to brown.


While the highlighting is brown navigate to the White Balance submenu and select "Auto adjust Kelvin + G/M".



This will create a new star menu icon and in there you will find "Auto adjust Kelvin + G/M" without having to dig into the White Balance submenu in order to get to it.


Not quite a one button solution but much easier to access when you want to do a quick white balance.

aschille84

Thats a great tip @dfort. Ill set the shortcut up next time I use the camera.

axelcine

ML is filled with clever possibilities. I set up ML My Menu the first day I had my 5d3's, and of course the wb adjust got a prominent place. But whenever I select ML, the menus pop up somewhere else than in My Menu, so I have to navigate a bit with the joystick. Not a very big problem, but...

I have set up My Menu in the Canon menu system as well, and the Canon-version can be set as default so it pops up every time. Would it be possible to read the associated flag or register, and - if set - the ML version of My Menu would also take priority and pop up right away all the time as first menu choice? That way the ML My Menu could reuse a Canon Menu feature and avoid having to get a register or flag of its own.

Then wb adjust would be right under your thumb every time.
EOS RP, 5dIII.113/Batt.grip, 5dIII.123, 700d/Batt.Grip/VF4 viewfinder + a truckload of new and older Canon L, Sigma and Tamron glass

goldenchild9to5

Always something new and useful in Magic Lantern  :D Great job Team..