Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - garry23

#2
General Help Q&A / EOS M Shutter problem
June 18, 2023, 06:09:56 PM
As some may know I'm not new to ML, it's just that I've mainly been using my CHDK cams recently.

Anyway, I decided to revisit my EOSM DOFIS script and noticed some strangeness.

Without ML on a card all is OK, ie the shutter works as expected.

Put ML (latest Lua fix build) on and with all modules off, ie bare ML, the shutter will not fire.

I've (think) I've tried everything to see if I have a 'rogue' setting somewhere, but the problem remains.

Does anyone have any idea what's going on, ie what stupid thing I'm doing?

Cheers

Garry
#4
General Help Q&A / Farewell 5D3
November 06, 2021, 10:42:32 AM
After much personal debate, I've made the decision to trade in my 5D3 and jump into the EOS R world, initially with a secondhand R.

This was not an easy decision, as I loved my 5D3, and I had great fun writing Lua scripts for it, culminating in DOFIS, for focus, and MUSIC, for use case bracketing.

I'm keeping my EOSMs, so I'll continue to tweak DOFIS and MUSIC on my visible, full spectrum and IR Ms.

BTW if anyone wishes to PM me (U.K. based), I have a 5D3 cage in great condition, an unused Canon battery grip and an L bracket for the grip, that I will sell at a sensible price to a good home.

A sad day in one way, but I'm hopeful we may see ML on the R one day.
#5
General Help Q&A / Macro Focus Stacking
August 18, 2021, 06:28:15 PM
I feel embarrassed to ask for help on this topic, but I simply can't get ML menu driven focus stacking to work as I think it should.

I'm in LV on 5D3 with a 100mm Canon macro lens. Latest Lua fix version.

Stacking appears to work, but the camera goes out and back into LV after every shot. Which I don't think it should.

I have no scripts running.

Can some kind person put me out of my misery.

Cheers

Garry
#8
Academic Corner / Historic records
April 03, 2021, 08:57:10 AM
I thought some may be interested in this work:

https://youtu.be/g5fwrS4G9js
#9
Scripting Q&A / Dual ISO and Lua
March 23, 2021, 10:00:53 AM
@a1ex

I'm not sure you are able to pick up on questions like this.

I'm playing with a script at the moment where I switch off Dual ISO between shots.

Using menu.set("Expo","Dual ISO",0) the dual ISO is switch off, ie when I exit I clearly see it's off.

The problem is, when I call camera.shoot dual iso is still active.

Are you aware of any issues with dynamically switch dual on and off in scripts?

Cheers

Garry
#11
General Chat / For the Astro shooters
March 12, 2021, 08:11:05 AM
I thought some may be interested in this:

https://youtu.be/YbesLsnJhnQ
#12
General Chat / Now that’s impressive
March 10, 2021, 09:36:28 AM
I thought some, especially drone users, would l8ke this:

https://youtu.be/VgS54fqKxf0
#13
Hardware and Accessories / Full Spectrum EOSM
March 03, 2021, 04:41:38 PM
I thought some may be interested in this post: https://photography.grayheron.net/2021/03/the-eosm-travellers-friend.html
#14
General Chat / The future for ML
February 21, 2021, 07:29:16 PM
Just me having a bit of weekend fun...in a positive way.

I'm so excited about the prospects of a resurgence in ML development, fingers crossed.

I see AI based ideas cropping up all over the place, eg this latest one from Leica  https://youtu.be/i2juNxPsHe8

You see these things unfolding in other cameras, and your mind opens regarding what ML could do in a modern Cam, eg an R series, with Lua scripting.
#16
Academic Corner / Photography on Mars ;-)
February 19, 2021, 02:38:05 PM
Just saw this posted over on DPR and thought some may like to read it as well.

https://link.springer.com/article/10.1007/s11214-020-00765-9
#17
General Chat / Anamorphic lenses
February 16, 2021, 10:45:42 PM
I thought some may like to watch this?

https://youtu.be/bIhaItLnSR0
#19
Scripting Corner / EOSM Focus Reporting
February 12, 2021, 10:28:58 PM
@a1ex

Just reporting the following, using my latest DOFIS script with the latest Lua fix.

On the 5D3 all is OK, ie I can track focus, focal length and aperture outside of LV, ie when the Quick Shooting screen is showing.

On the EOSM when I go into the QS screen, focus doesn't update.

As I say, just reporting.

Cheers

Garry
#20
General Help Q&A / Quick Shooting Screen
February 11, 2021, 08:11:14 PM
@a1ex

I'm in the process of adding a feature to my focus bracketing script (DOFIS) that will provide user feedback in the Quick Shooting screen (on my 5D3).

However, I've noticed a strangeness, that could be a 'ML bug'.

Here is a screen capture:

VRAM9q" border="0

As you can see, I'm adding a bar at the top that shows some focus info and changes colour according to focus overlap with the previously taken image. In the above the bar is white, but it can also be red or green.

All seems OK, however, as you can see the ML enhanced battery value has taken on the colour of my bar, and the battery colour changes according to my bar's colour.

None of the other ML enhanced info fields, eg colour temp, changes, just the battery field.

Just thought I would let you know.

Cheers

Garry
#21
General Help Q&A / CBR Error
February 09, 2021, 02:59:07 PM
@a1ex

I get random console messages, ie not every time, saying "CBR Error not enough memory".

The script seems to keep running OK: 5D3 with latest Lua fix.

Without wishing to waste your time, have you any general guidance regarding this error message.

Cheers

Garry
#22
General Help Q&A / Start up messages
February 08, 2021, 05:53:45 PM
All of a sudden the console always comes on at start up, ie something was triggering it: 5D3 latest Lua fix.

I have switched off all modules and still get this at start up, which confuses me:

image0w" border="0

Can anyone suggest what's going on?

I can't see how I have references to ETTR is I haven't loaded that module, and what's the intervalomter ref mean?
#23
General Help Q&A / Err 70
February 07, 2021, 05:20:29 PM
I posting this as I don't usually see Err 70 messages, but this occurred three times in a row, ie after pulling battery etc.

5D3 using latest Lua build.

Not sure if it's me causing it (eg one of my scripts) or core ML:

ASSERT: FALSE
at ./Memory/Memory.c:187, MetaCtg:9a90
lv:0 mode:3

MetaCtg stack: 18ef30 [18f500-18e500]
0xUNKNOWN  @ de48:18f4f8
0xUNKNOWN  @ 17bbc:18f4d0
0x000178B4 @ ff2b9dec:18f4b0
0xUNKNOWN  @ 178e4:18f4a0
0xUNKNOWN  @ 1796c:18f480
0xFF433360 @ ff4344f4:18f3e0
0xFF432128 @ ff4339a8:18f2d0
0xFF438ED0 @ ff4321c8:18f280
0xFF438A04 @ ff43936c:18f168
0xFF58F5B0 @ ff438a94:18f040
0xFF428918 @ ff58f5d4:18f018
0xFF428434 @ ff428a90:18efd8
0xFF58A5CC @ ff4286cc:18efa0
0x000099A0 @ 17fa8:18ef90
0x00001900 @ 9a8cMagic Lantern version : lua_fix.2020Dec28.5D3123
Mercurial changeset   : 7e5067c0a8cf (lua_fix) tip
Built on 2020-12-28 18:19:30 UTC by jenkins@nightly.
Free Memory  : 241K + 2935K
#24
Scripting API suggestions / Potential Lua API additions
February 07, 2021, 01:06:21 PM
This is my humble attempt to start a list of user requested API ideas/enhancements/additions to Lua.

I suggest anyone posting here attempt to suggest their idea in a format that mirrors the ML Lua API documentation (see mine in this post).

I suggest this thread is not the place to debate the worth or even practicality of the API suggestion. Let's leave that for another place, once a Lua API 'uplift project' gets going. This thread is about ideas/needs/wants. Having said that, I suggest anyone posting here think about their need or use case, ie let's try and be sensible ;-)

The following are a few of my personal suggestions to get us going (note I have deliberately kept formatting simple, ie not complicating the posts with HTML:

----
lv.spotmeter(x,y[,width=10[,height=10]]])
  Returns the currently spotmeter value at the LV x and y position
  Only works in LiveView.
Parameters:
  - x int LV x position of centre of spotmeter box
  - y int LV y position of centre of spotmeter box
  - width/height int size of spotmeter's width in LV units. Min = 5, Max = edge of LV_reached (x and y)
Returns:
  Requested spotmeter value, as set in the ML spotmeter menu, eg Ev units etc
----

----
lv.histo(x,y[,from=0)
  Returns the currently histogram % value between the requested x and y values
  Only works in LiveView.
Parameters:
  - x int histogram start (0,255)
  - y int histogram end (0,255)
  - from (0 or 1). 0 full LV, 1 from spotmeter box
Returns:
  Requested histogram % value
----

----
Camera.shutter.[class=raw].ettr
  Gets the current ETTR shutter value, according to the class selected
  Only works in LiveView, controlled by settings in ETTR menu
Parameters:
  - None
Returns:
  The shutter sub-class value according to the class used
----

----
lens.mf(value=0)
  Sets/gets manual focus, ie switches/overrides lens-set AF, ie MF on and off irrespective of lens physical setting
  Only works in LiveView
Parameters:
  - 1 = on, 0 = off
Returns:
  (bool) whether the operation was successful or not
----

----
camera.mlu(value=0)
  Sets/gets whether mirror is up or not
  Works outside of LV
Parameters:
  - 1 = up, 0 = down
Returns:
  MLU state
----

#25
Scripting Q&A / MLU
February 07, 2021, 10:09:45 AM
@a1ex

I'm trying to understand how ML's MLU work, eg on my 5D3, using the latest Lua fix build.

Seems to work ok in single shooting.

What I'm wondering is, would it be possible, from a Lua call, to enable it and activate it, ie move the mirror, then call shoot() as many times as needed, then switch off MLU, ie lower the mirror.

I appreciate this 'request' will need to be added to others and only enabled in the future when priorities allow. Just asking if you think it is possible.
#26
I thought some may be interested in my latest post on using the Hollyland Mars X from a 5D3 photographer's perspective:

https://photography.grayheron.net/2021/02/composing-wirelessly-on-5d3.html
#27
General Help Q&A / Hollyland Mars X help
February 01, 2021, 06:47:05 PM
I've just got myself a Hollyland Mars X HDMI wireless transmitter to use with my photography, ie not videography, ie as an experiment, having convinced myself it will work.

https://www.hollyland-tech.com/products/detail-39.html

The use case is mainly with my 5D3 and composing the scene and controlling the camera, Canon and ML side, when the camera is low, on the ground or LV is not easily viewable. All the time using my iPad or iPhone as a wireless monitor, ie rather than the  camera's LV.

After a few hours playing with it, it does indeed seem to work on the 5D3, and I'll write up and report on my experiences as soon as I can.

The device connects at 1080p24, ie as shown on the Mars X unit.

My problem is I can't seem to get the EOS M to be recognised by the Mars X unit.

I've tried forcing HDMI in ML, ie on and off, and I've set the EOS M to 24 FPS.

Remember I'm in photo mode in this use case.

Can any of the video gurus suggest what I might be doing wrong, ie so that the Mars X works on the 5D3 but not the EOS M. 

Maybe, sadly, it simply doesn't work with the EOS M :-(

Cheers

Garry
#28
Scripting Q&A / Full shutter press and event handler
January 25, 2021, 10:39:35 AM
@a1ex

Forgive me if this has been asked by someone before, especially by me  :) ;)

When using the keypress event handler, I can't seem to hijack the full shutter and unpress full shutter, ie even when I return false, the shutter still operates, both in LV and non LV mode.

Is there a way in Lua to hijack the Canon full shutter?

Cheers

Garry
#29
Scripting Q&A / Key event handler and ETTR
January 22, 2021, 02:00:23 PM
@a1ex

In the script I'm playing with I wish to hijack the SET and UNPRESS_SET keys, so I can use these with a long press, ie use normally if the press/unpress is less that x seconds, or use differently if longer than x seconds.

All is OK, other than the ETTR remains triggered by a SET, no matter what I do.

That is, the ETTR triggered by SET seems to circumvent the key event handler, eg if I use the following, ETTR still triggers off of SET:

if kk == KEY.SET or kk== KEY.UNPRESS_SET then
    return false
end


Is this intentional or a 'bug'?

Cheers

Garry
#30
Scripting Q&A / ISO strangeness
January 17, 2021, 12:11:21 PM
I've convinced myself that setting ISO values via Lua 'may' be broken.

I can use camera.iso.apex or camera.iso.value etc to read, eg x = camera.iso.apex; but if I use something like camera.iso.apex = 10 I get 'failed stack traceback' error.

Has anyone else come across this?
#31
Scripting Corner / MUlti Shot Image Capture script
January 11, 2021, 02:36:53 PM
This 'new' MUSIC script is aimed at those interested in taking brackets sets.

This first release covers noise reduction and super resolution bracketing.

Future releases will cover, FRSP bracketing, Zero Noise bracketing, People Elimination bracketing, Hand Held bracketing and Long Exposure simulation bracketing.

You can read about MUSIC developments on my blog at https://photography.grayheron.net/

The latest MUSIC script is always here https://gist.github.com/pigeonhill/7b02d3dcadddbc703940778d74cd7af2?ts=4
#32
General Chat / Merry Christmas one and all
December 24, 2020, 05:47:48 PM
Just a Merry Christmas message from a pestilence locked down U.K. 

Plus a great link to read over your holiday break: https://ciechanow.ski/cameras-and-lenses/

Cheers

Garry
#33
General Development / Lens Simulator
December 07, 2020, 11:00:36 AM
Some may be interested in a little project I've developed to create a Lens Data Sheet.

Here is the latest post on LensSim: http://photography.grayheron.net/2020/12/lenssim-data-sheet.html
#34
General Development / Cooled R5
November 26, 2020, 04:54:14 PM
I thought some may be interested in this.

https://youtu.be/X1u-9YqrIJc
#35
General Chat / Tilt/Shift Lens Simulator
November 02, 2020, 03:44:49 PM
I thought some may be interested in my latest post: http://photography.grayheron.net/2020/11/focusing-tilt-shift-lens.html
#37
General Development / A question for the C gurus
September 17, 2020, 10:53:11 AM
Things look really exciting over in ML videoland at the moment, but over in ML photoland some of us are 'struggling'.

What I've been trying to do is see if I can extend the Lua fix and expose more functionality, thus opening up Lua to greater things.

For example, at the moment the ML spotmeter, and in particular RAW form, remains 'hidden' in Lua.

In the main source, the spotmeter is in zebra.c:

#ifdef FEATURE_RAW_SPOTMETER
    int raw_luma = 0;
    int raw_ev = 0;
    if (can_use_raw_overlays() && raw_update_params())
    {
        const int xcr = BM2RAW_X(xcb);
        const int ycr = BM2RAW_Y(ycb);
        const int dxr = BM2RAW_DX(dxb);

        raw_luma = 0;
        int raw_count = 0;
        for( y = ycr - dxr ; y <= ycr + dxr ; y++ )
        {
            if (y < raw_info.active_area.y1 || y > raw_info.active_area.y2) continue;
            for( x = xcr - dxr ; x <= xcr + dxr ; x++ )
            {
                if (x < raw_info.active_area.x1 || x > raw_info.active_area.x2) continue;

                raw_luma += raw_get_pixel(x, y);
                raw_count++;
               
                /* define this to check if spotmeter reads from the right place;
                 * you should see some gibberish on raw zebras, right inside the spotmeter box */
                #ifdef RAW_SPOTMETER_TEST
                raw_set_pixel(raw_buf, x, y, rand());
                #endif
            }
        }
        if (!raw_count) return;
        raw_luma /= raw_count;
        raw_ev = (int) roundf(10.0 * raw_to_ev(raw_luma));
    }
    #endif


The relevant info here are the x and y values, ie giving the screen position of the spotmeter, and the raw EV value we see on the LV, ie raw_ev.

Having looked at the Lua module in the source, there are ways to access ML C and Canon variable, but this requires coding in C and compiling, which is a little bit beyond me at the moment.

So, does anyone know if it is possible to access variables that are in the main build, eg the spotmeter, but only via using Lua. I've read online that it should be possible, within Lua, to access functions in C, but I'm not sure if you can do this with variables and, of course, with ML Lua?

Obviously I'm only looking to read, not write, here.

I know there are lots of bright people out there and thus I would welcome any thoughts on the above, ie is it possible, using only, Lua, to read a C variable from ML, eg raw_ev above.

#38
Scripting Q&A / Advanced Bracketing (AB) problem
September 07, 2020, 08:48:36 AM
I've given up trying to fix the following, but someone else may see the error of my ways.

I switch off ML AB, so I can use camera.shoot().

When I've finished, I switch it back on.

The problem is, AB then starts taking pictures :-(

Here is a slice of the code:

local ab_state = menu.get("Shoot","Advanced Bracket","")
menu.set("Shoot","Advanced Bracket",0) -- switch off ML AB

camera.shoot()
camera.wait()

sleep(5) -- this doesn't effect the problem

menu.set("Shoot","Advanced Bracket",ab_state) -- AB starts taking pictures!!!!


Can someone suggest why?
#39
Scripting Q&A / ML bars
August 30, 2020, 05:46:36 PM
Does anyone know if there is a way in a Lua or ML to disable, ie not show, the top and bottom ML bars, but not disable the ML crop mark overlay?

Cheers

Garry
#40
After many experiments trying to find the 'best' way to show focus information, eg for setting infinity and focus bracketing, I've finally settled on integrating things into the ML bars.

This latest version of my Depth Of Field Ibfo Script (DOFIS) has been tweaked for use by photographers and videographers and covers all my DoF ideas, as well as incorporating exposure bracketing, with and without focus bracketing.

Simply, DOFIS is the only focus tool you need to use.

You can read about DOFIS and download the script here: http://photography.grayheron.net/2020/08/dofis-just-gets-better-and-better.html

As usual I welcome feedback on DOFIS.
#41
General Chat / Using Zoom
August 25, 2020, 07:37:09 PM
I've tried to get my 5D3 with ML overlays displaying on my second monitor and, in a Win10 environment, sharing that sceen via Zoom.

But I'm failing.

Does anyone have any thoughts on how to achieve the above, ie showing my ML screen via a Zoom share.

Cheers

Garry
#42
Scripting Corner / Deep Focus DOFI script
August 23, 2020, 05:31:03 PM
This thread is superseded by https://www.magiclantern.fm/forum/index.php?topic=25286.msg230159#msg230159

I'm pleased to release my latest script, a split lens version of my DOFI script.

Rather than waste space here, you can read about the script, and access it, my going to: http://photography.grayheron.net/2020/08/pragmatism-not-perfection.html
#44
I thought some may wish to read my latest post: http://photography.grayheron.net/2020/07/a-credit-card-based-generalised-focus.html

If you use this approach, you will minimise scripting focus discrepancies, especially in the near field.
#46
Although it is CHDK based, I thought some may be interested in my latest deep focus photography post related to the EOSM3: http://photography.grayheron.net/2020/07/quick-update-on-deep-focus-photography.html
#48
General Chat / Hyperfocal Bracketing Simulator
June 07, 2020, 02:30:48 PM
I thought some may get (general) photography value out of my latest blog post on Hyperfocal Bracketing: http://photography.grayheron.net/2020/06/hyperfocal-bracketing-simulator-hbs.html
#49
General Chat / Getting more out of Focus :-)
May 20, 2020, 11:16:35 AM
The C19 chaos gave  me the time to create two web-based classes on focusing, that I gave to my UK camera club, and that I thought ML friends might be interested in them, as I do mention Lua scripting: http://photography.grayheron.net/2020/05/getting-even-more-out-of-focus.html

All the best and I hope you are all surviving the 'insanity' of C19.

Cheers and stay safe

Garry