MLV Lite - The sweet taste of MLV with none of the extra calories™

Lua scripting updated


Twitter: @autoexec_bin    Facebook: magiclantern.firmware    Live chat: [email protected]

Want to help with Magic Lantern development, but have no coding skills?

Author Topic: Full-resolution silent pictures  (Read 258271 times)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 8671
  • 5D Mark Free
Full-resolution silent pictures
« on: July 01, 2014, 05:11:15 PM »
Update: now available in the nightly builds!

Another pipe dream came true :)

- are you afraid to waste shutter clicks on timelapse or focus stacks?
- do you need to take pictures in quiet environments?
- do you have problems with mirror vibration (e.g. at very long focal lengths)?
- your shutter is worn out so badly that you can no longer take pictures (ERR20)?
- old silent picture mode's resolution was too low for these tasks?

I believe I've just found the solution to all of the above.



How it works?

I've tried to call a factory test routine: FA_CaptureTestImage (helped by FA_CreateTestImage and FA_DeleteTestImage). At first sight, it did not do anything visible (g3gg0 already tried it years ago), but the diagnostic log and the EDMAC info box revealed the magic: the sensor was sampled at full resolution, without shutter actuation!

So, to take an useful image, I went to LiveView first to open the shutter and raise the mirror, then I've paused LiveView (from ML powersave routines, or by going to PLAY mode or Canon menu from LiveView). Then I've called the above routines, and after that, all I had to do was to fill the raw_info structure and save the DNG.

If you call these routines without going to LiveView first, the result will be a dark frame (interesting for astro - you can take 300 dark frames without wearing the shutter mechanism).

For more details, take a look at this changeset.

Limitations

- The fastest shutter speed I've got is around 1/10 seconds (very rough estimation by comparing brightness from a regular picture). With regular pictures, faster speeds are done via mechanical shutter actuation.
- Long exposures are fine up to 15 seconds (longer exposures will crash the camera).
- Fastest capture speed: 220ms on 5D3, 320ms on 5D2. This includes a dummy readout, which is probably a bias frame.
- So, at least for now, the usefulness is limited to timelapse and medium-long exposures (no moving subjects).
- If you use the intervalometer, I recommend taking a picture every 10 or 15 seconds (not faster). Saving DNGs from the camera is slow.
- In photo mode, aperture will be most likely wide open, regardless of the setting, because of exposure simulation (enable Expo Override to fix it).

4K video?

Too early to ask. Find a way to speed up the capture process first (see the research section below).

However, I don't really expect more than 10 fps (in LV crop mode on 5D3, 1/3.6 of the total sensor area is sampled at 30fps). If you implement a burst mode from the current code base, you'll get up to 5 fps.

Is it safe?

You'll have to judge yourself; I'll just give you some details.
- I've discovered this the day before yesterday
- I took less than 100 pictures, on 4 different cameras (5D3, 5D2, 550D and 60D)
- The functions I'm calling were meant for factory testing (see these comments from silent.c for some details on what they do)
- The functions I'm calling will change some properties back and forth, e.g. PROP_FA_ADJUST_FLAG (you know, properties are usually persistent settings, and a mistake there may soft-brick the camera)
- The sensor is sampled in the same way as in photo mode, just without mechanical shutter actuation
- I won't include it in the nightly builds at this stage; early adopters will have to compile it themselves.

How do I install it?

Download the latest nightly build and enable silent.mo.

Research

- log file from 5D2: FA_CaptureTestImage.log
- some of my experiments on 5D2: http://pastebin.com/6Lyhrqtj
- http://magiclantern.wikia.com/wiki/ADTG
- http://magiclantern.wikia.com/wiki/Register_Map
- How does the camera take a picture?
- ADTG registers thread and classic adtg_gui
- enhanced adtg_gui from the iso-research branch
- analyze Canon debug messages with the code from the dm-spy-experiments branch
- figure out how to speed up the capture process (maybe without the dummy capture step, or find out how to trigger the continuous readout mode)
- figure out how to get fast shutter speeds, as in LiveView (electronic shutter)
- implement a fast bracketing, exposure stacking or other funky capture modes
- compare the dynamic range with regular photo mode, with raw_diag (check the ISO research thread)
- don't burn your sensor ;)



Please do not ask for builds in this thread.  This thread is for development related feedback only.

If you would like a build compiled, so you can help the Magic Lantern development team by testing this feature and providing feedback, please see this thread.
« Last Edit: March 29, 2015, 08:20:20 PM by a1ex »

Walter Schulz

  • Hero Member
  • *****
  • Posts: 4715
Re: Full-resolution silent pictures
« Reply #1 on: July 01, 2014, 05:18:42 PM »
Chapeau!

Stedda

  • Hero Member
  • *****
  • Posts: 504
Re: Full-resolution silent pictures
« Reply #2 on: July 01, 2014, 05:20:50 PM »
You're an animal! It will be interesting to watch as it progresses. Congrats!
5D Mark III -- 7D   SOLD -- EOS M 22mm 18-55mm STM -- Fuji X-T1 18-55 F2.8-F4 & 35 F1.4
Canon Glass   100L F2.8 IS -- 70-200L F4 -- 135L F2 -- 85 F1.8 -- 17-40L --  40 F2.8 -- 35 F2 IS  Sigma Glass  120-300 F2.8 OS -- 50 F1.4 -- 85 F1.4  Tamron Glass   24-70 2.8 VC   600EX-RT X3

britom

  • Member
  • ***
  • Posts: 113
Re: Full-resolution silent pictures
« Reply #3 on: July 01, 2014, 05:40:37 PM »
GREATEST THING SINCE RAW VIDEO! so fucking awesome man, you're awesome! :')
7D Builds with RAW support: http://bit.ly/14Llzda

marekk

  • Senior
  • ****
  • Posts: 329
  • www.oddajmisie.com
Re: Full-resolution silent pictures
« Reply #4 on: July 01, 2014, 05:44:32 PM »
a1ex, thanks for your awesome work !

4K silent timelapse ? :) why not :)
We can put captured frames in mlv container to avoid DNG processing on camera.

SpcCb

  • Member
  • ***
  • Posts: 176
Re: Full-resolution silent pictures
« Reply #5 on: July 01, 2014, 05:48:26 PM »
(...)
If you call these routines without going to LiveView first, the result will be a dark frame (interesting for astro - you can take 300 dark frames without wearing the shutter mechanism).
Very nice. ;D

(...)
Limitations

- The fastest shutter speed I've got is around 1/10 seconds (very rough estimation by comparing brightness from a regular picture). With regular pictures, faster speeds are done via mechanical shutter actuation.
- Long exposures are fine up to 15 seconds (longer exposures will crash the camera).
(...)
So it is a solution for time-lapses, not really for astronomy (15s is a bit short), for the moment.

BTW I'm pretty sure that it is possible to get same params than a regular picture (exposure duration etc.), because the Canon LX NR do it (we can do 15mn dark frame for ex.). The question is 'will it be possible in LV'..

Attero

  • New to the forum
  • *
  • Posts: 31
Re: Full-resolution silent pictures
« Reply #6 on: July 01, 2014, 05:48:47 PM »
A1ex, awesome work!

@marekk: Yea, that would be great and perfect for the Workflow!

Johannes

  • New to the forum
  • *
  • Posts: 24
Re: Full-resolution silent pictures
« Reply #7 on: July 01, 2014, 06:32:39 PM »
Thank you so much A1ex!!

Johannes

  • New to the forum
  • *
  • Posts: 24
Re: Full-resolution silent pictures
« Reply #8 on: July 01, 2014, 06:34:13 PM »
@marekk: Yea, that would be great and perfect for the Workflow!
[/quote]

Of course. Or full res!

Edgar Matos

  • New to the forum
  • *
  • Posts: 49
Re: Full-resolution silent pictures
« Reply #9 on: July 01, 2014, 07:07:37 PM »
5K VIDEO, HERE WE COME!!!!

Toffifee

  • Member
  • ***
  • Posts: 104
  • 5D Mark III Happy tester
Re: Full-resolution silent pictures
« Reply #10 on: July 01, 2014, 08:25:00 PM »
Awesome news! I look forward to seeing where this could be taken!

ilovecinema

  • Just arrived
  • *
  • Posts: 2
Re: Full-resolution silent pictures
« Reply #11 on: July 01, 2014, 08:52:37 PM »
Wow! Thanks so much, A1ex!

johansugarev

  • Freshman
  • **
  • Posts: 77
Re: Full-resolution silent pictures
« Reply #12 on: July 01, 2014, 08:57:33 PM »
Will this work for the 50D? Is there a module I can install to try it out?

Pelican

  • Senior
  • ****
  • Posts: 403
Re: Full-resolution silent pictures
« Reply #13 on: July 01, 2014, 09:20:11 PM »
Congrats! :)
EOS 7D Mark II, EOS 7D, EOS 5, EOS 100 + lenses (10mm to 300mm), 600EX, 550EX, YN600EX x 3
EOScard, EOS DSLR firmwares, ARMu, NiControl, etc.: http://pel.hu/down

Danne

  • Hero Member
  • *****
  • Posts: 2178
Re: Full-resolution silent pictures
« Reply #14 on: July 01, 2014, 09:46:06 PM »
Wow  :D!

poromaa

  • Member
  • ***
  • Posts: 135
  • Engineer by day James Cameron in my dreams
Re: Full-resolution silent pictures
« Reply #15 on: July 01, 2014, 10:09:50 PM »
Great find!

Greg

  • Senior
  • ****
  • Posts: 471
Re: Full-resolution silent pictures
« Reply #16 on: July 01, 2014, 10:23:37 PM »
500D :


Thanks A1ex!  :D

nikfreak

  • Hero Member
  • *****
  • Posts: 727
Re: Full-resolution silent pictures
« Reply #17 on: July 01, 2014, 11:02:55 PM »
awesome! Once this allows faster shutter speeds it will become even more fun to experminet with. I could think of some useful cases in conjunction with flash to bypass some restritions with flash sync speed...
« Last Edit: July 01, 2014, 11:05:42 PM by nikfreak »
70D.111A & 100D.100B

Greg

  • Senior
  • ****
  • Posts: 471
Re: Full-resolution silent pictures
« Reply #18 on: July 02, 2014, 12:40:21 AM »
I could think of some useful cases in conjunction with flash to bypass some restritions with flash sync speed...

This is not possible. Try to video mode, shoot one frame using the flash.

jimmyD30

  • Senior
  • ****
  • Posts: 385
Re: Full-resolution silent pictures
« Reply #19 on: July 02, 2014, 02:52:48 AM »
Amazing :D

ItsMeLenny

  • Hero Member
  • *****
  • Posts: 797
  • 550D
Re: Full-resolution silent pictures
« Reply #20 on: July 02, 2014, 04:25:12 AM »
April fools!

Rewind

  • Senior
  • ****
  • Posts: 337
Re: Full-resolution silent pictures
« Reply #21 on: July 02, 2014, 04:43:01 AM »
Works fine on 550D here



« Last Edit: July 02, 2014, 04:55:39 AM by Rewind »

budafilms

  • Hero Member
  • *****
  • Posts: 590
  • 5D Mark a1ex
Re: Full-resolution silent pictures
« Reply #22 on: July 02, 2014, 08:59:45 AM »
I want your brain, A1ex. 8)

jose_ugs

  • Member
  • ***
  • Posts: 243
  • 5DM3
Re: Full-resolution silent pictures
« Reply #23 on: July 02, 2014, 10:10:57 AM »
DAMN!!! Gr8 find a1ex!

marekk

  • Senior
  • ****
  • Posts: 329
  • www.oddajmisie.com
Re: Full-resolution silent pictures
« Reply #24 on: July 02, 2014, 10:28:14 AM »
Canon 5D Mark III Mirrorless Edition :)

 

courtesy