![]() |
Software rack focus
I've posted a short video showing an upcoming Magic Lantern feature: software focus pulls. This is a demonstration of how smooth the software control can be with a very fine step size. It is doing 30 steps/sec in the video with a stepsize of 1 and speed of 1.
Magic Lantern - Software rack focus test on Vimeo |
Great work Tramm. Very smooth video clip, had to play it back to see the focus change.
Does the camera register what step position the lens is currently at? I mean can you preset a step position 1 and 2. Can this also be routed to the bottom dial/wheel? This has the potential to be a great ML feature. Well done, you must be totally consumed with the camera. |
This is amazingly cool.
Any idea of how to do the user interface? I see two possibilities, one that's self contained and another that uses external control. For the self-contained version, having a single button press (even better - IR trigger for use on a gimbal rig) to start a pre-programmed rack focus would be excellent. The distance and duration could be loaded in a (the) config file. An S-curve could be applied, either in-camera or baked into a config sequence. The extra step of loading the parameters into the card isn't too bad. Setting up a dynamic rack focus shot takes a fair amount of time to setup anyway. A minute of burning a file on the card would be well worth it to get a butter smooth transition with a perfect end point. Multiple transitions - each manually triggered - would be amazing. |
Tramm, that is brilliant. How are you currently setting the start and end points?
Do you think you in future we could integrate this with some kind of controller app for PC, Mac, pocket pc or Iphone?? I know that pocket phojo on windows mobile can control some camera functions so it may be possible without a proper computer or netbook, if we could connect a device like this to the camera and then control it from another on a peer-to-peer network it would be amazing. Dan |
Quote:
Quote:
I would really like to track down a WFT-E4. The 5D Mark II has a full TCP/IP stack with a built-in webserver. Think about the possibilities there! |
I am confused. Do any Canon lenses offer external control of the focus? I didn't think that was possible. Or are you sending signals to some other device?
|
Tramm, if this is what you do in your spare time, what is your real job :) We all appreciate the tools that you are creating for us!
|
Quote:
Tramm, great work and great ideas! I will donate some $$$ for sure. Dennis from Germany |
Quote:
|
would the Magic Lantern void the Canon Warranty,
|
Tramm, That is AWESOME!
I had programmable buttons on my old Sony Z1u, where I could set up Button 1 for X focus and then Button 2 for Y focus and then rack between the two. I really missed being able to do that, and here you come with that feature for our 5DM2! That's brilliant!!! |
Very nice Tramm
Some exciting possibilities there I think Avey |
Quote:
You can read about how CHDK affects the Canon Warranty here: FAQ - CHDK Wiki From a practical standpoint, I doubt that Canon service would be able to detect if 3rd party code had ever been loaded. |
I've been using Nikon (all manual) lenses, with this I may have to change. I'm guessing there is no motor function to the Canon zoom lenses. If I'm wrong and I hope I am, would this allow programed zooms (not that the world hasn't seen quite enough zooms already - but just in case one more is needed).
|
Quote:
|
Quote:
That's a wonderful feature. That alone may make me start using ML. Thanks. |
Quote:
Here is a better video showing a range of speeds: Magic Lantern - software rack focus speeds These were generated by selecting the different speeds from the Magic Lantern menu and hitting "Test rack focus". If I had thought about it, I would have written a short program to loop over the desired speeds and reset the focus to 0.85 m after each one. That way the video wouldn't have any edits at all and would demonstrate something approaching scriptability (in C). The slow speeds work fairly well (although there is still an occasional hiccup), but since the AF motor seems to only run at full speed when commanded with PROP_LV_FOCUS, it is hard do a smooth, fast focus pull. The really fast pulls even over-shoot the desired 2.9 m distance. I'm hoping that there is another command that allows a selectable focus speed. When focusing with the "focus by wire" 85 mm f/1.2 L, does it seem to have multiple smooth speeds or does the lens always jump to the new focus distance? If anyone has one that I can use for non-destructive testing near Charleston, or if you just aren't happy with it and want to trade it for my 85 mm f/1.8, you know how to reach me. |
Very nice, Tramm. Is this long term project or do you think this is coming to ML 0.1.6 ?
|
Quote:
|
My preference for simplicity is a script or series of scripts that can be triggered by IR. That lets people with gimbal rigs trigger measured focus pulls without upsetting the balance. This application is probably the most in need of a remote, no-tension solution.
Live use, with a knob, will take more tinkering... |
All times are GMT -6. The time now is 08:14 AM. |
DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network