Magic Lantern Forum

Developing Magic Lantern => Modules Development => Topic started by: Danne on November 09, 2018, 05:11:37 PM

Title: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 09, 2018, 05:11:37 PM
Due to misassumptions let us move on!
https://www.magiclantern.fm/forum/index.php?topic=23041.msg208432#msg208432

From crop_rec thread:
https://www.magiclantern.fm/forum/index.php?topic=19300.msg208429#msg208429



In case anyone missed this:
https://www.magiclantern.fm/forum/index.php?topic=10111.msg208136#msg208136

A special ML build here for 5D3113:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets.zip

build for 5D3123(Not tested! bleeding edge, be careful)
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets.zip

commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/75b6e5aedbbb23c22b5055ddea6712f662681955

I added a few items to the crop_rec menu and also rearranged a few things which makes it possible to get cleaner output. Thanks to a1ex crop_rec.c code it´s possible for a player like myself to get some decent workflow out of this.

How does it work?
Pretty straight forward. If you want to shoot regular 14bit or use the regular 12/10 bit menu in RAW video you can use Crop mode menu as before. However, if you want to get cleaner iso and lowering analog gain to get 12/10bit output a different way do following:

1 - Enable crop rec and select any setting in Crop mode menu. Be sure to start off in 14bit-lossless

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FJhkZ9m0H%2FVRAM0-PPM-500px.png&hash=efdbb8ef3bb4f886b0228508fec39ea7)

2 - Press q on Crop mode menu and select any iso in there. This will result in a 13bit iso which will get you cleaner files than the regular iso. You won´t see the change by eye in liveview but comparing files recorded you´ll see the difference in shadows. By enabling iso in this submenu you will override any analog iso already set before. Set chosen iso to off if you want to get back to old iso settings

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FFsLcBN6t%2FVRAM2-PPM-500px.png&hash=b9b1398cb5cc653e6fd75e5c6c3faea8)

3 - You can now choose to add 12bit or 10bit on top of your chosen iso to further lower analog gain registers

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FXJ1FTJ3W%2FVRAM1-PPM-500px.png&hash=db3d80f39e08d1d86b89e548fb6b038d)

Original iso 100
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FR09ctyGk%2Fiso100-png-800px.png&hash=8b24d9f1b011c35adf9408123c19e29c)

10bit iso 100 More or less same as iso 1600. Let´s work the other bits if you not after lowering bitrate.
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2F50yQqVzR%2Fiso100-10bit-png-800px.png&hash=6aa3d7d2a0df5e8d918796a7561e90f5)

12bit iso 100
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FtgXxJP4y%2Fiso100-12bit-png-800px.png&hash=9b7b22c05f03ff346a749ed5a65dcdc3)

13bit iso 100
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2F0Q4MVBd2%2Fiso100-13bit-png-800px.png&hash=757aefa399db7f30bf918978e5778eea)

Have fun! And be careful. It´s bleeding edge...


Noticed two bugs on the way when testing:
1 - When 1080p45/1080p48 3x3 is set you will get stuck in 10x zoom mode if you go there.
2 - adtg_gui.mo will interfere with slowish "framing" previewing. You need to disable adtg_gui.mo altogether to have framing mode working again.

Thanks A1ex, Levas, bilal, 70MM13 and others for contributions.


Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jimiz on November 09, 2018, 05:29:33 PM
for 5D3123 , nothing ?  :-\
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 09, 2018, 05:33:45 PM
10bit iso 100

This is actually about ISO 1500. Try comparing it with Canon's ISO 1600, in both highlights and shadows.

Yes, it's slightly better than Canon's 1600, but labeling it as ISO 100 is plain misleading, sorry to say that.




Edit: further test reveals the actual ISO is actually *above* 1600. Test files (white level tweaked manually, right before the last histogram peak):
iso1600.DNG (https://a1ex.magiclantern.fm/bleeding-edge/iso50/danne/iso1600.DNG) (unmodified Canon ISO, assumed exact)
iso100-cmos0-443.DNG (https://a1ex.magiclantern.fm/bleeding-edge/iso50/danne/iso100-cmos0-443.DNG) (estimated ISO 1527)
iso100-cmos0-443-adtg-888x-low.DNG (https://a1ex.magiclantern.fm/bleeding-edge/iso50/danne/iso100-cmos0-443-adtg-888x-low.DNG) (estimated ISO 1491)
danne-iso100-10bit.DNG (https://a1ex.magiclantern.fm/bleeding-edge/iso50/danne/danne-iso100-10bit.DNG) (estimated ISO 2043)

ISO estimation method in octave, from median value in the raw file, normalized with black and white levels (not 100% right; estimation should be done from clipping point):
Code: [Select]
[a,ea] = read_raw('iso1600.DNG'); a = a - ea.black_level; a = a / (ea.white_level - ea.black_level); median(a(:))
ans =  0.33647

[a,ea] = read_raw('iso100-cmos0-443.DNG'); a = a - ea.black_level; a = a / (ea.white_level - ea.black_level); median(a(:))
ans =  0.32112
# 1600 * 0.32112 / 0.33647 = 1527

[a,ea] = read_raw('iso100-cmos0-443-adtg-888x-low.DNG'); a = a - ea.black_level; a = a / (ea.white_level - ea.black_level); median(a(:))
ans =  0.31355
# 1600 * 0.31355 / 0.33647 = 1491

[a,ea] = read_raw('danne-iso100-10bit.DNG'); a = a - ea.black_level; a = a / (ea.white_level - ea.black_level); median(a(:))
ans =  0.42959
# 1600 * 0.42959 / 0.33647 = 2043



Edit2: further testing to figure out why Danne's picture is brighter reveals a different shutter speed when crop_rec with the "iso 100 10-bit" preset active: rather than 1/100 as dialed in Canon menu, after enabling crop_rec, shutter speed becomes 1/73.31 (as read from the Expo menu or from the DNG metadata). This gives a resulting ISO of 2043 * 73.31 / 100 = 1498, i.e. as expected.

QED, initial hypothesis confirmed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 09, 2018, 05:41:39 PM
Oh, quite so. Same quality more or less. Tested. 10bit a no go. Thanks for pointing out. 10bit could still be useful for lower bitrates with modes not working with anything else than 14bit lossless.

@jimiz
Updated build for 5D3123 in my above post. Not tested so please report how it works.


EDIT:
Quote
Edit: further test reveals the actual ISO is actually *above* 1600. Test files (white level tweaked manually, right before the last histogram peak):
iso1600.DNG
iso100-cmos0-443.DNG
iso100-cmos0-443-adtg-888x-low-iso1500.DNG
danne-iso100-10bit.DNG
Confirmed, slightly above 1600iso comparing your files.
That octave image analysing is really something else.

EDIT 2:
So conclusion is I have been simply rearranging the signal pushing down for instance iso 400 to iso 100(12bit setting)
200 to 100(13bit). Fools gold  8).
Well, now I pragmatically now what´s going on and had a good c code practice...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 11:09:20 AM
Ok guys, here's the proof everyone needs...

I used a manual aperture lens and made absolutely sure that both exposures are identical.  This is a serious stress test.

See for yourself.

There's a bit of loss of highlights, but for practical purposes it is negligible.

I've been doing this by hand for all of my videos for the last year, and I am overjoyed to be able to do it so easily now.

Overwhelming thanks to Danne!

And of course to the wizard a1ex!
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fthumb.ibb.co%2Fgj4bQA%2F100-gain-dropped.jpg&hash=11340e26ba01951761fef3a175e577af) (https://ibb.co/gj4bQA)

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fthumb.ibb.co%2Fii8aJV%2F100-stock-iso.jpg&hash=3a6a12d15bf421a14c83de6fb39a6968) (https://ibb.co/ii8aJV)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 10, 2018, 11:24:03 AM
Thanks for sharing. Well, it goes like this. If you shoot at iso 100 then set it to iso 100 with gain drop you could actually then switch again to regular canon iso 200 and it should give you the same result as the one with the gain drop. Just keep the same settings, aperture, shutter(iso 200 will become brighter and classic ettr will take place). So what´s really happening here is that I have set iso hundred but in reality we are shooting iso 200. Conclusion. Fools gold  8).

One sidequestion. I know the question was asked that dual iso could be disabled for previewing purposes when entering 10xzoom mode. How would it work if dualiso previewing could act like HDR showing alternating iso image on display, high low with intervals? When hitting record dualiso should be enabled like before so it would only be a previewing feature. Even showing only base iso could be really useful, maybe even better than alternating isos.
Now that 1x3 recording is possible it´s even more useful with dualiso but previewing is a bit problematic.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 11:59:49 AM
200 stock ISO, same exposure...

The proof is in practice.
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fthumb.ibb.co%2FmawCyV%2F200-stock-iso.jpg&hash=a9354655ec9098639ff13c63e472b164) (https://ibb.co/mawCyV)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 10, 2018, 12:03:30 PM
DNG, please.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 12:31:54 PM
All three tests, zipped DNG.

https://drive.google.com/file/d/17hlqCmZtawshYnzvHpaMCi2zvuDxc6w_/view?usp=drivesdk
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jimiz on November 10, 2018, 12:37:11 PM

@jimiz
Updated build for 5D3123 in my above post. Not tested so please report how it works.





THANKS I will try!!!  ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 10, 2018, 01:09:03 PM
All three tests, zipped DNG.

Clip areas:
- 0446: 0.0863% (WL=16381)
- 0447: 0.1373% (WL=9138)
- 0618: 0.1101% (WL=16381)

Pretty sure 0447 was based on ISO 400 or greater, possibly 1600; please compare with these.

Additionally, your clipped area is extremely small. If you use a higher stock ISO, the highlight difference in the final output will be negligible. Please try.

Please consider using a lamp shining into some large flat area (such as a white wall); look at my test scene a few posts above. There, even a tiny change in ISO (e.g. from 1600 to 1500) is noticeable in clip areas, which are pretty large, btw:

iso1600.DNG: 15.34% (WL=16381)
iso100-cmos0-443.DNG: 13.98% (WL=16381)
iso100-cmos0-443-adtg-888x-low.DNG: 13.53% (WL=6040)
danne-iso100-10bit.DNG: 23.39% (WL=2885) [note: different exposure time on this one]

TLDR: please compare with stock ISO 400 and 1600.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 01:40:24 PM
At these exposures, stock 400 and especially 1600 are just a pile of noise when the shadows are lifted to my liking.

Maybe this isn't for everyone, but it sure works for me!

I'm a happy camper getting excellent results, and the last time I checked, that's what really matters...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 10, 2018, 01:45:03 PM
Please post the DNGs.

At these exposures, stock 400 and especially 1600 have much cleaner shadows than stock 100 or 200. Please try them.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 02:13:28 PM
Stock 400 did surprisingly well, but not as good as Danne 100.

Stock 1600 was unusable when pushed.  Not worth the data...

For me, 100 with clean shadows is heaven :)

Here's the DNG:

https://drive.google.com/file/d/1htZlLLEZTsXqRujzj7SV90sP1GcxzrxC/view?usp=drivesdk
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 10, 2018, 02:58:37 PM
Please make sure you use the same shutter speed, aperture, scene light and so on. Otherwise, the test is not relevant.

This last file shows 1/1000 exposure time; previous ones were at 1/62.5.

If scene light is no longer the same as in the original test, please capture the entire sequence again, at stock ISO 100, 200, 400, 800 and 1600, and at whatever settings you have used for Danne's ISO 100 (not known to me at the time of writing). Also, please minimize the camera movement (not with subpixel accuracy, but the test images should have the same framing).

Anyway, crop area in the last file is 0.1349%; not sure whether to consider it or not, given the different exposure time.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 10, 2018, 03:21:01 PM
I did a bunch of tests and found that the benefits are primarily for 100, falling off to equal by 400.

I was exposing to the right in the tests, using the bulb as the reference point by eye at 10X zoom, adjusting first by increasing the f stop and then by shutter speed when I hit the aperture limit.

I also don't know what Danne has done "under the hood", and so it may be that the test is invalid for actual ISO comparison.

Until today, I've been doing this by hand with the iso registers using your modules, knowing for example that I'm dropping 200 to 109, my most common setting.

I know exactly how well that works for me in extremely challenging circumstances, and I know that the iso 109 I am using really acts like 109 but with cleaner shadows.

I have to get back to the editor.  Hopefully something good will come from this, I know that I will be using it!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 10, 2018, 03:47:13 PM
Not by my computer atm. If running yesterday build I think stock iso 400 equals to setting iso to 100 in submenu. Leave out 12/10 bit.
If running todays build I am now focusing on getting continuous shooting rather than trying move isos around.
A1ex is right. Lowering analog gains compensating with pushing higher isos will only move base iso etc to another place. Getting cleaner files will need tweaking of other registers. The analog gains however is still a major player when getting continuous to 1x3 modes and modes that doesn't work with regular 10-14bits workflows.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 10, 2018, 03:48:34 PM
I also don't know what Danne has done "under the hood", and so it may be that the test is invalid for actual ISO comparison.

Analog gain lowered and CMOS[0] overridden for higher ISOs; see his commit.

For example, ISO 100 presets are:
- with his "iso100" option enabled: CMOS[0] as for ISO 200, analog gain 512
- with "iso100" + "12-bit": CMOS[0] as for ISO 400, analog gain 250
- with "iso100" + "10-bit": CMOS[0] as for ISO 1600, analog gain 60

I believe you have use one of the last two presets, just not sure which one.

In my tests, reducing analog gain only improves things by about 0.1 EV.

In other words, I'm pretty sure the results you were getting were 0.1 EV actual improvements, and 1.5 ... 3 stops were misunderstandings (possibly coming from the mislabeled ISO values in crop_rec menu). I wanted to prove it on your own images, but that requires identical test conditions for each setting (which you did not provide).

You made a very strong statement:

Ok guys, here's the proof everyone needs...

yet, you did not provide a valid proof.

I'm a happy camper getting excellent results, and the last time I checked, that's what really matters...

Yet, this particular topic (ISO tweaks) was about getting results *better* than with stock Canon ISOs.

My argument is that, in Danne's build, the improvement is about 0.1 EV over stock Canon ISOs (according to my measurements). In your example, the shadow difference is much stronger than that, but I'm pretty sure that difference is *not* an improvement over stock Canon ISOs (except for that 0.1 EV, which is not going to be noticeable without careful examination).

There's a bit of loss of highlights, but for practical purposes it is negligible.

Pretty sure the loss is about 1.9 EV if you have used the 12-bit "iso100", or 3.9 EV if you have used 10-bit "iso100". Clearly negligible ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on November 11, 2018, 01:30:53 PM
My statements were not in the right context.  My fault.

I was referring to my experiences with reduced gain by hand, not with Danne's experiment.  I have only used it to take those test shots.  It seemed like it was behaving the same way, which it may indeed, but I was going by my impression of how it behaves the same way under the familiar test conditions.

It may be that on a statistical level, the reduced gain is only marginally better, but in practice, I find it vastly superior.  There's still noise in the shadows, but it's more like film grain, and it is usable when pushed hard.  I can't do the same with stock ISO.

It works for me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 11, 2018, 02:01:07 PM
I was referring to my experiences with reduced gain by hand, not with Danne's experiment.  I have only used it to take those test shots.  It seemed like it was behaving the same way [...]

No, it does not.

Besides, your test scene is not ideal for comparing different ISOs, simply because the clipped area is extremely small. On your test image, whether you use ISO 100 or 400, it doesn't make a big difference in highlights (the clipped area was close to 0.1% in both cases). This is exactly why you said:
Quote
There's a bit of loss of highlights, but for practical purposes it is negligible.

Yet, the difference in highlights between these two ISOs is 2 full stops. In your test scene, these two stops are on the tiny light bulb; that's why you found the highlight difference to be negligible. In other scenes, the last 2 stops may cover a very large area of the image.

I'm still asking you to capture a full set of DNG images, with the same exposure time, on your test scene, at the following settings:
- stock ISO 100
- stock ISO 200
- stock ISO 400
- stock ISO 1600
- Danne's ISO 100 (all 3 flavors)
- the preset you use with manual tweaking from iso_regs

I bet you'll have a little surprise at ISO 1600. You'll be tempted to try 3200 and 6400. Not joking.

Caveats:
- enabling both crop_rec and iso_regs at the same time does not work; if you enable both and then disable one of them, it won't work either.
- enabling Danne's crop_rec will alter the shutter speed; to cross-check with iso_regs you may have to use the shutter fine-tuning feature.
  Just make sure shutter speed is set to Original (not Full Range) in crop_rec menu.


Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Levas on November 11, 2018, 02:44:25 PM
- enabling Danne's crop_rec will alter the shutter speed; to cross-check with iso_regs you may have to use the shutter fine-tuning feature.

I wonder why it messes with the shutter speed and was wondering if it could be the case that if 'full range' option is selected in crop_rec, it messes with shutter time. And could it be that if this option is set to 'original' it won't mess with shutter speed ?

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 11, 2018, 02:56:12 PM
Since there is still some interest in doing tests around my lowering gain builds I reupload them as they were published a few posts back:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets.zip
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets.zip

Feel free to do the tests suggested by a1ex two posts above but be sure to use the builds above. No time personally atm for testing.

I also uploaded two other versions which works pretty similar but with a few personal rearrangements which are to be considered a work in progress:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets-ver2.zip
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets-ver2.zip

On a sidenote it would be cool if we now could continue testing pregain etc and see if we could get it rightly done. I have to little experience in this field but got a few hints and pointers here:
https://www.magiclantern.fm/forum/index.php?topic=10111.msg208037#msg208037
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on November 11, 2018, 03:17:05 PM
I wonder why it messes with the shutter speed and was wondering if it could be the case that if 'full range' option is selected in crop_rec, it messes with shutter time. And could it be that if this option is set to 'original' it won't mess with shutter speed ?

That's correct. My bad, forgot this setting enabled.

On a sidenote it would be cool if we now could continue testing pregain etc and see if we could get it rightly done.

Keep an eye on the iso-research (https://bitbucket.org/hudson/magic-lantern/commits/branch/iso-research) branch.

My experimental modules (https://builds.magiclantern.fm/modules.html#iso-research) (iso_regs, raw_diag and adtg_gui) are compatible with crop_rec_4k and derived builds (including Danne's build), btw.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 14, 2018, 04:26:10 PM
Have been trying to get 1x3 binning mode to work with increased height on the 100D the but have been running out of ideas. No matter how I tweak registers I cannot move above 1736x1188 before I get either corrupted recordings, every other white, the next contains image content or if going higher I get completely white live view image.

Commit here:
https://bitbucket.org/Dannephoto/magic-lantern/commits/a6170f148121d281b9b17a807f264f7afce038d3?at=crop_rec_4k_mlv_snd_isogain_1x3_presets

Now I tried changing around a lot in raw.c. Testing excluding height-- among other stuff but this don´t seem to help.

Is there anything in the timing registers that could be tweaked or did I hit roof at height 1188?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: nikfreak on November 14, 2018, 04:45:22 PM
Unsure if it could help but you might try to define  timer A+B (https://bitbucket.org/Dannephoto/magic-lantern/src/a6170f148121d281b9b17a807f264f7afce038d3/src/fps-engio.c?at=crop_rec_4k_mlv_snd_isogain_1x3_presets&fileviewer=file-view-default#fps-engio.c-253) to it's orig value. Maybe my customisations interfere somehow.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 14, 2018, 05:05:17 PM
Might very well be. SOrry but what are the timer A+B original values?

Tried this but not really helping:
Code: [Select]
#elif defined(CONFIG_100D)
    #define TG_FREQ_BASE 32000000
    #define FPS_TIMER_A_MIN (fps_timer_a_orig)
    #undef FPS_TIMER_B_MIN
    // no need to cause confusions as recording speed cannot handle such high fps in crop mode
    // (ZOOM || MV1080CROP ? 1288 : 1970)) <-- these are ok while not recording.
    // Hybrid CMOS AF II uses 60fps by default in LV/MV for the camera display
    // to achieve a "snappy" autofocus by doubling the fps
    // MV720 is not LV so we need to extend the definition for the LCD.
    #define FPS_TIMER_B_MIN (fps_timer_b_orig)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: nikfreak on November 14, 2018, 05:14:08 PM
fps_timer_a_orig
fps_timer_b_orig
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on November 14, 2018, 05:28:48 PM
Hello all,

I was finally able to borrow a 5D3 for testing the latest very exciting 1x3 recording developments but only for a very short time - I have to return it tomorrow. Nonetheless, I thought, it might help if I provide some feedback on what I was able to test in that short time.
 
I tested briefly the two 17fps options in Danne's build:

https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets-ver2.zip

and all I can say is that this is another break through for Magic Lantern.  I would have never dreamed of shooting at 400/3200 Dual ISO at 1,0 crop factor and get usable results.  Not only are they usable and quite clean, but  also look very natural compared to previous techniques for improving dynamic range which in most cases provided very HDR-ish looking images.  In my opinion, this 1x3 technique, in combination with Dual ISO, provides a radical solution to low-light shooting high-quality FHD video in RAW without or with very little noise in the shadows.  I don't think, too many of the professional cinema cameras can do that.  Congratulations to all of you making this possible!

Also, I greatly appreciate Danne's efforts to provide continuous recording options, even at the expense of reduced frame rate.  There is nothing more annoying than early camera stops in the middle of a shooting.  And I don't think that 17 fps is that much of a problem.  Human eye accepts everything above 12 fps as motion and earlier silent movies were shot at 16 fps.  I shot a wedding film recently that I  filmed at 18 fps and nobody noticed that.  Nowadays we also have quite good optical flow techniques.  Of course, if you do a lot of camera motion, (slider, gimbal, flycam work, etc., requiring fast camera motion) you may end up with some choppy results but there is a solution to that too.  Motion should be slower for 17 fps, compared to 24 fps, and as smooth as possible, so training is required.  If you shoot from a tripod, monopod or even handheld and do not shake the camera too much, results are indistinguishable from 24 fps and the motion blur of moving objects in the scene really looks nice.  So, 17 fps is not necessarily a bad thing!

I didn't have time to test all the options, especially the 10/12-bit ones at different ISOs in the crop menu - this requires a lot of time and very systematic efforts to pixel peep all combinations and select the ones that provide the cleanest results with the highest dynamic range.  I hope that other 5D3 owners will jump in with more test results very soon which will be of great help to the developers.  However, I did test some of the high-resolution crop modes (I use them all the time, especially with the 100D) and am sorry to say that they are all broken in the above build.  The 3k crop mode that I have been successfully using to film the wedding at 3072x1728 resolution and 18 fps does not seem to be working at all.  It does not allow me to set any resolution but stays all the time at 0x0.  The 4k and Full-resolution Live View modes seem to be kind of working but the results are horrible - a lot of aliasing along horizontal and vertical edges, noise and loss of resolution - both, in the normal and Dual ISO modes.  Camera operation in those modes is very unstable either - lots of camera freezes requiring battery pulls. These high-res crop modes used to work very well even in the very early builds from April 2017. 

At this time I would make the following suggestion to A1ex and the other developers:  Please try to implement working 17 fps presets from Danne's build above into one of the experimental 5D3 builds.  Please use the July 4-th build #78 that you can find here:

https://builds.magiclantern.fm/jenkins/view/Experiments/job/crop_rec_4k/

The later ones, including the July 22-nd build, do not seem to be working properly - lots of instabilities.  Once such an experimental build works properly and is stable enough, I am sure many professional 5D3 video shooters will start working with it and will greatly appreciate it.  This is because they will have a very powerful tool in their hands that they will use for a long time in their work.  This is the dream of every video shooter, including me.  I would like to see a build that can provide the following modes:

1) Normal 1,0 crop factor FHD (1920x1080) RAW video with maximum quality and minimum noise that can be used in low-light conditions with Dual ISO.  The 17 fps presets already do that;

2) 3x-crop FHD (1920x1080) RAW video (1:1 mode) that will allow me to quickly change the focal length of my lens from 1 to 3x on a push of a button without changing lenses or using heavy zooms.  A 35/F2 IS lens is perfect for that and I use it all the time switching from 35 to 105mm focal length.

3) A 3k mode that I can use at 3072x1728 resolution and 18 fps for continuous recording (also with Dual ISO).  This one is perfect for capturing scenes with a lot of fine detail (group shots with 50 or more people on them, landscape videography, etc.).  Here is a film of the ancient city of Plovdiv that I made recently and that was filmed in that mode with the #78 build:

https://cloud.mail.ru/public/Grpx/iLK4KHaKi

(To watch it in the highest quality, please download it with the "Скачать" button from the top left of the above link).

4) A Full-resolution Live View mode with up to 5 fps continuous recording for smooth timelapses.

5) The usual 50/60 fps modes

For the beginning, 14-bit lossless compression would be perfect but wherever 13, 12 or 10 bit lossless could be implemented, would be very welcome to reduce file size.

And one final thought. Now that we have all the above functions more or less working and ready to use and we are close to the ultimate quality ML RAW video, in my opinion, future research should be directed towards increasing the interface bandwidth for higher frame rates and/or higher continuous recording resolutions.  This can be done in two ways:

A. Reimplementing card spanning on the 5D3.  I don't know why this extremely useful function was removed;

B. CF-card overclocking in a way similar to SD-card overclocking on the 100D - a God sent function.

It also would be very useful to create similar builds for other camera models such as the 100D, 7D, 650D and others.  The 5D3 is still quite expensive and the majority of ML users, including me, use the other camera models.  We all would love to see a long time awaited update to our cameras too in a way similar to what Bilal did with the 700D already. 

Please let me know what you think about my suggestions.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 15, 2018, 03:14:31 PM
Thanks for feedback IDA_ML. I checked and surely a lot of presets were broken. I readded all my presets to the crop_rec.c from crop_rec_4k branch and added it to my branch instead. Seems to work better:
https://bitbucket.org/Dannephoto/magic-lantern/commits/8846065dfd242f82de3942cc3295f5f33225f7e4

Downloads:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets.zip
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets.zip

In addition to 1x3 presets and isostuff in the submenu following is added:
- Added changes for 1920x1080 48 fps
- Changed following registers:
Code: [Select]
adtg_new[8]  = (struct adtg_new) {6, 0x8179, nrzi_encode(fps_timer_b - 5) }; /* PowerSaveTiming OFF (5D3/6D/700D) adtg_new[9]  = (struct adtg_new) {6, 0x8197, nrzi_encode(fps_timer_b - 5) }; /* PowerSaveTiming OFF (5D3) */

One very annoying bug is when camera mode is set to mv720p. Zooming will require battery bull when trying to get out of x10 zoom mode after previewing. No idea why it gets stuck. Happens with crop_rec presets.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 16, 2018, 01:52:38 PM
In addition to the previous bug I also noticed that "framing" preview isn't working when hdr is set. Anybody can confirm? Known issue a1ex? Really useful working when using 1920x1080p 48fps.
Also uploaded builds which should be more stable shooting with above mentioned setting.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on November 16, 2018, 04:19:21 PM
Danne,

I now remember one more bug that I noticed when I had the 5D3 in my hands but just forgot to report it in my post #1954 above.  It concerns "Full-resolution LiveView: 5796x3870 at 7.4 fps" which is very useful for shooting  smooth timelapse sequences at low frame rates using the full sensor resolution.  When activated, this mode records just one single frame and then camera stops.   This behavior is observed at any resolution set.  In older builds (those from April, 2017) this Full-resolution LiveView mode was working just fine, providing continuous recording at 5 fps as also stated on the Experimental page.  A fix should be greatly appreciated.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Levas on November 16, 2018, 06:03:58 PM
Now you mention it, I've made a full resolution live view crop preset for 6d.
And it behaves the same as the 5d3, only one frame is recorded.
The 6d has about 250Mb of free buffer, so you would at least expect to fit about 7 uncompressed frames in that buffer ??? (Not sure when lossless kicks in, is that before or after the buffer ?)

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: norek on November 16, 2018, 08:26:24 PM
Hi Danne,

Can I use, your latest crop_rec.c to eos m if I build your "crop_rec_4k_mlv_snd_isogain_1x3_presets" branch build to eos m?

thank you for Your hard work! :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 16, 2018, 09:02:05 PM
For eosm it's the same presets as with crop_rec_4k.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on November 17, 2018, 02:52:41 PM
Danne,

I have been inspecting the files that I shot on the 5D3 with the latest 1x3 crop modes recently and found that now the 5D3 is one BIG step closer to perfection.  The Crop ISO (CISO) settings work so well in providing clean shadows that the results are really amazing.  Here are a few more minor issues that need to be fixed to get the dream 5D3 video shooting build:

1) The 6400 CISO setting still has vertical stripes in the shadows.  If these could be fixed and just the noise is left, this high CISO setting may be a life savior in some really dark situations, especially keeping in mind that Resolve does a pretty good job with noise cleaning.  Please note that the CISOs 3200 and lower settings are perfect already - no vertical stripes at all.

2)  MLVApp does not recognize and report the correct CISO at which the clip was shot.  It reports Dual ISO 100/800 all the tme, regardless of what CISO was used.

I also have a few questions:

I.  We now have the possibility to use the normal FHD MLV RAW video mode with Canon's ISOs and the mv1080p_ mv720p mode with CISO and Canon's ISOs.  What exactly is the difference between these two modes and does one of them provide advantages vs. the other in terms of video quality (fine detail, dynamic range, etc.)?

II.  Do the CISO settings apply to all crop modes in the Crop menu?  Will they clean the Shadows of the high-resolution modes in the same way and strength as they do with the mv1080p_ mv720p mode?

III.  I have noticed that it is possible to activate several CISO settings at the same time - e.g. the 200 and the 1600 setting.  Which one will be applied in this case?  Could these clean CISOs be used to also make Dual ISO with two CISO settings simultaneously active?

IV.  This question is for A1ex and is actually a tool request.  Would it be possible to add an indicator showing how much space is left on the CF card while recording?  In the 1x3 crop modes the 5D3 eats card space for breakfast and you never know when you will run out of card space.

V.  I understand that there are problems with overclocking the CF-card interface.  Would it be possible to overclock the SD-card interface instead?  If it could be overclocked to say 30 MB/s and card spanning could be applied, then the 5D3 would write at a speed of about 150 MB/s and this would significantly increase continuous recording times at the high-resolutions and continuous recording at 24 fps at the 1920x3240 1x3 mode would be possible.

VI.  Danne, could you please provide some more information on how to use the "Shutter range" and the "Advanced options" in the Crop menu?  In what situations should those be used?

Thanks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 17, 2018, 05:42:07 PM
Since my iso experiments was built on faulty assumptions about how analog gain registers and analog iso registers were related I decided to simply erase those code parts in following builds:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets.zip
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets.zip

What still is valid testing and developing is 1x3 presets together with playing around with analog gain registers creating 10/12 bit. Those two settings can still be found in the sub menu of crop mode.
In a longer perspective iso tweaking is still valid and could be developed further I´m sure. I might dig into this and revive some code parts in crop_rec later on but without mislabeling menu items.

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/4e18649356067e49e15134e432025acdb2b6f0a7
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jimiz on February 15, 2019, 03:01:55 PM
Since my iso experiments was built on faulty assumptions about how analog gain registers and analog iso registers were related I decided to simply erase those code parts in following builds:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3113_presets.zip
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_5D3123_presets.zip

What still is valid testing and developing is 1x3 presets together with playing around with analog gain registers creating 10/12 bit. Those two settings can still be found in the sub menu of crop mode.
In a longer perspective iso tweaking is still valid and could be developed further I´m sure. I might dig into this and revive some code parts in crop_rec later on but without mislabeling menu items.

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/4e18649356067e49e15134e432025acdb2b6f0a7


@Danne

Can you compile crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb14  also for 5d3 123 ?

thanks lot !!!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jimiz on February 15, 2019, 05:02:54 PM
THANKS!!!   :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:09:47 PM
Continueing from here:
https://www.magiclantern.fm/forum/index.php?topic=19300.msg216898#msg216898


Worked on my 5D3 crop_rec.c code in this branch:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/src/master/


- Refined anamorphic presets so it now gives continuous:
1808x2300(2:35.1) = 5425 x 2300
1360x2300(16:9)    = 4080 x 2300

- Also adressed the battery pull issue happening when in 48fps or mv720p 3x3 mode. Workaround allows for looping through x5,x10 and back into x1 mode.

- cine.lua included
- set_25fps in crop mode sub menu working with anamorphic mode
- bitdepth modes in crop mode sub menu working for all presets
- not included sd_uhs(don´t see why sd patching would be needed with mlv_lite anyway)

Downloads:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Oct17.5D3113.zip
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Oct17.5D3123.zip

Source atm before leaving bitbucket:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/src/master/


In terms of image quality and performance the anamorphic mode on this camera outruns anything coming from eosm, 100d etc...

EDIT:
sd_uhs module:
Included as a module. Enable it in Modules tab.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:23:09 PM
@Danne
modules loaded: crop_rec, mlv_snd, mlv_lite, mlv_play
res: 1920x1080p /14bit lossless (not crop mode)
CF (KB1066x) card seems to be working/saving fine when I revert to a previous 4K_crop-rec Danne build 2/4/19 :)

Still odd…
Try fomatting card in camera (non exfat) reinstall clean build.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:24:37 PM
now it works im not sure what i had done in my first test. now i just clean install and turn on the anarmophic preset in crop rec and no more greenish black preview. i have a very slow 4gb cf card atm. wil test more as soon a i recieved another card
Yes, bleeding edge stuff. Faster card will probably help. I set regs all over the place. A safety press on menu button and thrashcan once in a while to settle all regs won´t hurt too.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 03:40:39 PM
Try fomatting card in camera (non exfat) reinstall clean build.

Tried this. Get a Canon menu error:

Cannot format
Change card1

Yes, am saving to the CF card (1)

Still getting CARD FULL in top left of ML menu when I press record in any res. My CF card has been faultless til today.

Files into MLV App produce error: 'File header is missing: invalid MLV" or "file length too short Invalid MLV'

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:43:32 PM
Sorry to hear but I suspect this is the reason but I can´t say for sure why it would break your card:
https://www.magiclantern.fm/forum/index.php?topic=19300.msg216884#msg216884

Tried formatting your card to fat32 on computer and then format in camera?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 03:44:48 PM
That I copied only the crop_rec.mo file?

I've done that before without issue…

Have I tanked something?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:45:29 PM
Tried formatting your card to fat32 (or fat, can´t remember exactly what it´s called) on computer and then format in camera?
Well, I can´t say what would work or not here. It´s all guesswork atm.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 03:47:00 PM
Tried formatting your card to fat32 on computer and then format in camera?
Well, I can´t say what would work or not here. It´s all guesswork atm.

Yes! See four posts above. :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:48:18 PM
Your answer indicates formatiing in camera but not on computer to fat. Do you have another card you can test my build on? If that´s working clearly your card is having an issue.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 03:49:50 PM
Oh right, sorry. Did you mean FAT32 instead of exFAT? Thought it needed to be exFAT?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 03:52:20 PM
Oh man, we need @Water Schultz on this one. Find one of his rescue procedures and see if that will work.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 04:11:30 PM
I'm going to revert to previous build and see if I can get back the status-quo!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 04:37:07 PM
Clean format of KB1066x CF card in mac to exFAT
Clean re-install of previous 4K_crop-rec Danne build 2/4/19 on SD card

All seems restored and working – except for one shot which didn't respond to stop button. Restarted camera, shot a few more tests at various res. All import working into MLVApp.

Tried a different Sandisk Extreme CF card with current state – all is well.

Totally weird!  :o But very happy my camera is still alive! :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 04:59:37 PM
Clean format of KB1066x CF card in mac to exFAT
Clean re-install of previous 4K_crop-rec Danne build 2/4/19 on SD card

All seems restored and working – except for one shot which didn't respond to stop button. Restarted camera, shot a few more tests at various res. All import working into MLVApp.

Tried a different Sandisk Extreme CF card with current state – all is well.

Totally weird!  :o But very happy my camera is still alive! :)
Still very unclear but I would say nothing is wrong with the ml builds. One thing is for sure. I would never trust that KB card.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 05:02:53 PM
I would never trust that KB card.

It's been rock solid til now – but today I'm starting to wonder…  :(  I had a Lexar before that which was a pile of poop!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 23, 2019, 05:09:59 PM
Try a windows formatting:
https://www.magiclantern.fm/forum/index.php?topic=5473.msg171046#msg171046
Seems different card readers can affect too. Doesn´t really matter that it worked perfect until today. Suddenly issues starts to happen.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on May 23, 2019, 05:13:41 PM
Try a windows formatting:

Didn't know that – interesting! Will look into it, but I need a PC!

Does anyone know when formatting on mac whether the eXFAT scheme is crucial? (e.g. GUID, Master Boot Record, APM)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 24, 2019, 01:10:26 PM
Sorry, haven't much time (and it doesn't look like I can help).
Formatting with ExFAT will enable Exfat on low capacity cards where Canon's firmware denies to apply Exfat within its own format routine. A1ex has a patch for it.
But I'm afraid it will not rectify the situation with given card. I had CFs going south without rhyme or reason. No expertise in flash CPR, sorry.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 24, 2019, 03:33:10 PM
i can increase fps override til 39fps in full HD without any corrupt/pink frames
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 24, 2019, 03:59:19 PM
Hey @andy kh with below mode you can do 45 or 48 fps mv1080p depending on if in 50fps(pal) or 60fps(ntsc) mode.
1080p45/1080p48 3x3

Worked before with 48fps 1920x1080 but reverted back to 1920x1040 because om pink frames.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 24, 2019, 06:17:54 PM
Posted two new builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Mainly I separated 45/48fps modes into two and they run in either 50 or 60p mode. Upscaled 48fps to 1060p:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FzB9rF1w7%2FVRAM0-PPM-scaled.png&hash=181458eb29e8f69513c42c9cb85b5d7b)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 24, 2019, 07:01:47 PM
@danne  problem wit 45/48fps is the live view. If i set to real time framing is not correct and if i set to framing live view is not in real time so very difficult to shoot a moving object in practical.
If i increase the fps in 1080p mode i get real time preview wit correct framing. There may be a way to increase the fps beyond 40
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 24, 2019, 07:08:47 PM
Wil try your new builds tomorrow as im away from home atm
And today i get greenish black live view while recording wit your yesterday's build. I was shooting 3.5k.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 24, 2019, 08:42:05 PM
@andy kh
Thanks for report. Found the issue and now fixed. New builds posted just now:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/178845d7d86e8b078a0d1345e05f4e35ee209fb2

Do note that preview will look a bit greenish because of the workaround to get bitdepth reduced with analog gain regs. Shouldn´t be almost black anymore though and image files will look good.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 25, 2019, 05:28:54 AM
Do note that preview will look a bit greenish because of the workaround to get bitdepth reduced with analog gain regs. Shouldn´t be almost black anymore though and image files will look good.

the live view gets much darker as soon as i hit  the record button making me difficult to shoot outdoor but not completely black anymore
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 25, 2019, 06:36:59 AM
Well from now on I expect some deeper feedback and testing. I will check into it myself som more though. I do see some extra greenish stuff happening. WIll look.
MAny of the presets can be run with the ordinary implementation of bitdepth changes so if that´s the case it will solve workaround issues.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 25, 2019, 06:39:47 AM
@danne  problem wit 45/48fps is the live view. If i set to real time framing is not correct and if i set to framing live view is not in real time so very difficult to shoot a moving object in practical.

very strange as framing in real time works only in ntsc . i have been testing in pal. today i tried both and found that framing in real timein pal is not correct
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 25, 2019, 06:48:45 AM
Are you referring to 45/48 fps presets? They are not gonna show the correct full mv1080p real time live view. They will behave the same both in pal and ntsc so don´t know what you are getting. Please film your screen or do more tests and explain further in detail.
Real time limitations known already since building the preset being in mv720p mode will yield faster fps.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on May 25, 2019, 07:00:38 AM
now i understand
i tried in 60p and i get 1920 by 800 whereass in pal i get 1920 by 818 so in 60p the bottom is crop by 18
and its very near to what i see in real time
now i can get exact framing in any mode by goin to reg_skip_botton and increase the number by 350
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 25, 2019, 08:32:39 AM
Well increasing reg_skip_bottom also removes resolution.

Uploaded two new builds. Fixed some testing stuff I forgot to erase which affected mv720p modes.
Trying to fight the greenish tint but the regs I use for this on eosm and 100D is not very effective on 5D3. Will take a deeper look into this when I can.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 16, 2019, 04:41:40 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Fixed a bug when recording 50/60fps
- Better handling mv720p mode 45/48 fps when going in and out of x10 zom mode
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jimiz on June 16, 2019, 10:12:52 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Fixed a bug when recording 50/60fps
- Better handling mv720p mode 45/48 fps when going in and out of x10 zom mode


simply THANKS Danne!!!   ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 16, 2019, 11:36:34 PM
You´re welcome.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: domasa on June 17, 2019, 10:44:45 AM
Is it already possible to use magic zoom in full screen mode on 5D2 ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 17, 2019, 12:13:46 PM
Ask in a thread specific to 5D2.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 20, 2019, 08:08:34 AM
just install this new build and tried shooting some slomo video. working fantastic so far.
thank q so much for this new build danne
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 20, 2019, 08:19:11 AM
Hey man. Thanks for reporting bugs and such.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 20, 2019, 06:50:42 PM
i stil cant shoot in 50fps with your latest build. 60fps is fine. i have been shooting 60fps for the last couple of hours without issue. just tried 50fps this evening and i get some error which is very strange. if i restart the camera canon setting jumps to ntsc from pal. i tried setting to pal again and shoot at 50fps and whenever i get this error i try restarting and jumps to ntsc

http://ibb.co/ygDJBJt
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 20, 2019, 07:34:08 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Minor change. Maybe it affects 50fps mode positively. Can´t test, no cam here.

Changing between PAL and NTSC is like you describe sometimes not really changing and goes back on restart. Because of this I want to separate 45/48, 50/60 fps to independent presets. This means they can be run in either ntsc or pal as long as camera is set to mv720p. 45/48 is already like this but havn´t had the time for the other two.

Anyway. When I tested myself before it seemed to work. Are you using 5D3.1.1.3? Maybe reinstall?

If people are testing please take alook at 50/60 fps mode and report back if working or not.

About your screenshot it´s related to compression handling in mlv_lite.c. Something is affecting it so it correctly reports files are getting corruption issues.

And as always. Changing presets also likes pushing canon menu button to settle regs...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 20, 2019, 08:53:12 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
stil the same problem. sometimes it works fine. the problems occurs after recording 3/4 times

About your screenshot it´s related to compression handling in mlv_lite.c. Something is affecting it so it correctly reports files are getting corruption issues.
i get som corrupted pink frames

i dont understand why there is no such problem with your 2nd Apr build!!i have been using it for so many days and i havnt found any problem so far
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 20, 2019, 08:55:39 PM
2nd april from my branch/builds?
What firmware used 1.1.3 or 1.2.3?
Could you share exact settings?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 20, 2019, 09:02:56 PM
yeah 2nd Apr if i remember from your branch/build. it works perfect
im on 1.1.3
 my settings are
pal in canon menu
720p@50fps
activate crop mode 1920 50/60 3X3
 edit : i set to 1920X818 spect ratio 2.35:1
14bit lossless
real time
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 20, 2019, 09:24:51 PM
Could you test this version of mlv_lite together with the latest build?
https://bitbucket.org/Dannephoto/magic-lantern/downloads/mlv_lite.mo

mlv_lite from 2nd april. Want to know if it´s related to something in there or in crop_rec.c.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 20, 2019, 09:41:02 PM
no it doesnt work
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 20, 2019, 09:56:36 PM
Doesn´t work at all or work and gives compression errors? I need my camera I believe...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 21, 2019, 09:42:55 AM
Doesn´t work at all or work and gives compression errors? I need my camera I believe...
gives compression errors.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: muanthang on June 22, 2019, 12:12:00 PM
Posted two new builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Mainly I separated 45/48fps modes into two and they run in either 50 or 60p mode. Upscaled 48fps to 1060p:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FzB9rF1w7%2FVRAM0-PPM-scaled.png&hash=181458eb29e8f69513c42c9cb85b5d7b)
New build anamorphic  test in5Diii 123. Thank you

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 27, 2019, 10:14:59 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Separated 50p and 60p into two separate presets same as 45p and 48p. Means they will work both in PAL or NTSC mv720p. Also modified numbers some. Seems more resistent from compression errors in 50p mode now

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/e6f87460df08f511b2f3790bdaa49a62d8f2623e

Thanks to andy kh for reports.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on June 29, 2019, 11:07:39 AM
Awesome!

Is it possible to have these presets (45/48/50/60 FPS) in 1920 1:1 ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 29, 2019, 11:31:54 AM
Might be. I could have a look in implementing the x3crop in Crop mode sub menu similar to how it's done for eosm.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 29, 2019, 04:33:17 PM
Awesome!

Is it possible to have these presets (45/48/50/60 FPS) in 1920 1:1 ?
mv720p mode and x3zoom seems restricted to reduced height like what you get when in mentioned 1920 1:1 mode. I have a hard time figuring out a1ex pack modes on cmos regs but maybe once those numbers are "decrypted" we can revert to some more obvious numbers and start constructing more freely.

EDIT: Nudged cmos1 and some other regs and seems I´m on to something. Stay tuned. I post when I gt something working.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 29, 2019, 06:55:48 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/ddd1c56678d2601be04091bb6fe8b08a63dfb838

Key are these two regs combined or resolution looks like sheit:
Code: [Select]
                adtg_new[3] = (struct adtg_new) {6, 0x8000, 5 + reg_8000};
                adtg_new[17] = (struct adtg_new) {2, 0x8806, 0x6088};
   

- x3crop now works with higher frame rates 45/48/50/60 fps. Simply be in one of the mentioned presets in mv720p and then select x3crop from within Crop mode sub menu:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FTwR53Yq8%2FVRAM0-PPM-500px.png&hash=81c2382e5110f091659a1c0fe107f22b)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on June 29, 2019, 07:00:31 PM
 :P
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on June 30, 2019, 09:12:48 PM
done a quick test so far so good
great job danne
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 01, 2019, 10:24:52 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- x3crop toggle working for 45/48/50/60 fps modes. Function same as for eosm here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg218141#msg218141
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: fresco on July 03, 2019, 06:51:39 PM
Hi Danne, just to say thank you for the work you do (and all FM devs of course), I've got a 5dmkIII and last week I needed 720p footage at 48FPS, so I've just overwritten my previous ML 113(experimental, the 4K raw video recording 22-7-18) and the 2 hours shooting (not continuous) went all great!!
I'm going to update in the next days as long as you go on coding...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 07, 2019, 12:49:35 PM

- Refined anamorphic presets so it now gives continuous:
1808x2300(2:35.1) = 5425 x 2300

https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul02.5D3113.zip

Wow, this one is awesome! Works without problems.

Hope, sometimes we'll have a realtime liveview to have a possibility to shoot moving objects, not only static frames from tripod.

Thanks for your job!!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 07, 2019, 02:29:16 PM
Yes, 5D3 can produce some heavy resolutions.
There's real time preview by the way. If in framing mode press halfshutter for cropped real time preview.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 07, 2019, 02:51:36 PM
There's real time preview by the way. If in framing mode press halfshutter for cropped real time preview.

Yes, I understand what you mean, but what is a real purpose for such a preview? The proportions aren't correct, we can only see a massively stretched top part of an image.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 07, 2019, 02:55:59 PM
Part of the workaround technique. Framing is done from real buffer very slow and focusing can be done while holding halfshutter while recording. Then back into framing again. In and out. I can work with that and capture pretty much anything I want.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: muanthang on July 07, 2019, 06:06:31 PM
Yes, I understand what you mean, but what is a real purpose for such a preview? The proportions aren't correct, we can only see a massively stretched top part of an image.
Danne, for me  continuous recording  in  anamorphic 1600X2332< 16:9! :) :) :)  another way round to  preview  framing before recording  is   press hold the AF Lock button (the  lens  should  be  in AF  Mode)Cheers...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 07, 2019, 06:08:25 PM
Yes. That should work just fine but not really 16:9 when upsampled in post :).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on July 08, 2019, 04:31:40 AM
I am not certain if it is possible, to drop resolution for a higher FPS.
For instance 1280x720 @ 96FPS
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 16, 2019, 03:37:57 PM
Is it possible to enable proxy recording from 1920 3x3 preset?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 16, 2019, 04:26:49 PM
What exact preset are you referring to?
When using proxy recording function also make sure you are selecting 2nd card(SD) in canon menu. This way proxy goes to sd and raw to CF.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 16, 2019, 07:37:00 PM
I've tried your latest build with 2:35.1 10bit lossless 25fps (i've got 1720x2200 px).
When I enable proxy - it's stretched and cropped. I understand, that it's somehow made from 1x3 proportions, that's why it's not usable. So, I assume, aren't these two processes independent (MLV and proxy)? Can't we somehow use nice proxies from Alex's build 1920 (3x3) with your 1x3 raw 1720x2200 px?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 16, 2019, 07:40:16 PM
Na, that would mean a corrected liveview output parallell to shooting raw. The holy graal if you so like ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 26, 2019, 11:36:01 AM
Hi, Danne!

I'm sorry, maybe it was mentioned before, but I cannot find an information about what your lua script exactly do? I mean step-by-step
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 26, 2019, 11:44:57 AM
Why not test it? It sets optimised settings for anamorpic 2.39:1 recordings.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 26, 2019, 12:39:12 PM
Why not test it? It sets optimised settings for anamorpic 2.39:1 recordings.

I did try. But I shoot mostly with 2.35:1, so I want to be sure, if I change 2.39 to 2.35, I won't mess anything else.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 26, 2019, 12:54:24 PM
No. That's fine. Once you run the script you are free to change anything after.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on July 26, 2019, 06:28:48 PM
Once you run the script you are free to change anything after.

So, what the script is actually doing? Can I do the same manually from ML menu?
I'm just curious, it would be nice to read some description of it. But if you're busy, don't bother ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 26, 2019, 06:34:49 PM
Yes, manually. It's only a helper script to get going. Originally created eosm on mind.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ibrahim on August 07, 2019, 10:03:18 AM
Anyone knows how to record continuous at 14-bit lossless at 1440p 24fps? I get pinky/black preview on my LCD screen.

These are my selected settings:
Global draw: liveview
fps override: 24 fps
crop mode: 4K 1:1 and x3crop set

RAW video:
2656x1494
16:9
14-bit lossless
preview: realtime
croprec preview: auto mode
kill global draw on
sound on at 48khz

Any tips on what I am doing wrong?
Using build 2019-07-20 on 5d mark III firm.123
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ibrahim on August 07, 2019, 10:27:03 AM
Anyone knows how to record continuous at 14-bit lossless at 1440p 24fps? I get pinky/black preview on my LCD screen.

These are my selected settings:
Global draw: liveview
fps override set at 24 fps
crop mode: 4K 1:1 and x3crop set

RAW video:
2656x1494
16:9
14-bit lossless
preview: realtime
croprec preview: auto mode
kill global draw on
sound on at 48khz

Any tips on what I am doing wrong?
Using build 2019-07-20 on 5d mark III firm.123
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ibrahim on August 09, 2019, 04:07:03 PM
With a slight modification of the aspect ratio (1:2 in raw menu and 2.35 in crop rec menu) and resolution to 1808x2300 in 14-bit lossless of the cinema lua script I managed to get automatically the following in MLVapp:

5424x2300

Just to make sure I have understood this script correctly. Does this signify that the streching by 3-fold 1808x2300 to 5424x2300 does not result in any loss of pixels? Meaning that pixels had been squeezed and then streched back making this true genuine 4k footage?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ibrahim on September 26, 2019, 12:31:03 PM
I've used the cinema lua script using an external monitor. The issue I am having is to see the lower end of my footage. I know that there is a stretching going on vertically, which is why I cannot see the lower end of the filmed footage. Is there a way to say shrink the entire frame so that the lower end can be seen? Any other solution?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 15, 2019, 06:26:03 PM
1. iso climb: in menu it is mentioned INFO(5D3), but it does nothing
2. x3crop toggle (halfshutter press (5d3)) in Press down or Set mode:   x10crop not compatible with x3toggle    - but i'm not in x10crop
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: DeafEyeJedi on October 15, 2019, 06:34:17 PM
There is a misprint for iso climb: in menu it is mentioned INFO(5D3), but it does nothing

Is this related to the 2019July20 or 2019Oct13 build from @Danne's bitbucket download page?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 15, 2019, 06:55:03 PM
2019Oct13.5D3113.zip
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 15, 2019, 07:13:55 PM
New builds 5D3:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Removed a few features due to lack of time bughunting
Removed: x3 crop toggle, iso climb.
All good stuff still in there so shouldn´t make any difference.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on October 16, 2019, 09:54:28 AM
Thanks a lot for all the good job you're doing.

I'm testing a lot of your builds, and this one will be tested tonight. I'll be putting a review.

Danne, if you need me to test something special feel free to ask. As I'm a developer too I'll try to clone and build your version myself.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 16, 2019, 10:14:45 AM
Ok, sounds good. General tests of the presets please go ahead. Not all sub menu items will work here and I am not up to date with this branch atm since I put all focus lately into the eos m. If you and others can find bugs and start working on fixes just go ahead. I will help out with pointers etc.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on October 17, 2019, 04:13:44 PM
I've just tried to compile on debian testing, the classic unified branch for 5DM123.

I had to comment out the include module_strings, because the file is not present and it gives a compilation error.

Make zip made me a zip, I do not yet have a working qemu to test it, it'll come soon !
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on October 18, 2019, 02:56:26 PM
Edit:
Everything is working so far, with your branch build on my debian.

I don't get how I can correctly fork your branch and see it on bitbucket. We'll see what to do on that.
Title: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 19, 2019, 12:52:36 AM
Part of the workaround technique. Framing is done from real buffer very slow and focusing can be done while holding halfshutter while recording. Then back into framing again. In and out. I can work with that and capture pretty much anything I want.

I tried  2019Oct15.5D3113 and 2019Oct15.5D3113. This feature is very very useful but sometimes(mostly) does not work for me. When it works and after pressing half shutter, it backs streched view again.

When I run your Lua script, everythings are fine and recording is ok. Low fps and laggy preview but at least not streched, framing is good. (I can get 5424x2270 24fps 10bit/12bit continuous)

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FY8bpTcH%2Fcropped.png&hash=b42e572bbcb072991daf6aa7031d1052)


When pressing half shutter for focusing:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FvHmvBLT%2Fstreched.png&hash=f7ba5b4cf065a615aa5e8d8f9366d770)

And it stucks there. I can't see correct framed version again. Sometimes works 1-2 times, then streched view again. Also freezing camera when change aspect ratio on crop_rec menu.

Am I doing something wrong?
Thanks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 19, 2019, 12:56:19 AM
.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 19, 2019, 01:31:52 AM
I don´t know if you have x10 focus aid enabled. Try disabling that if it´s the case.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 19, 2019, 09:32:25 AM
I don´t know if you have x10 focus aid enabled. Try disabling that if it´s the case.
Tried both on and off. Nothing changed. But for now i use zoom button 2 times then focusing. Not best solution and very slow, but works.[emoji3]

May I ask, do you use 123 or 113?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 19, 2019, 10:23:29 AM
Screen recordings preferred that shows your issues. Too much guesswork.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 19, 2019, 06:08:27 PM
Screen recordings preferred that shows your issues. Too much guesswork.
There is a video that i record. I hope it helps.
https://drive.google.com/open?id=1t4SrL51Cvcn_pFS0AusOpHd_CL3QuE15

Also my settings:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FXtzkcJh%2Fdanne-crop-rec-settings.jpg&hash=66e620060118e2962ea1840925a7b1f2)

I guess I'm missing something to do. :)
Thank you very much for your interest.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 19, 2019, 07:42:44 PM
All is working over here. Just tested. Did you set Preview to framing? You find this under RAW video menu settings.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 19, 2019, 08:59:59 PM
All is working over here. Just tested. Did you set Preview to framing? You find this under RAW video menu settings.

Yes its Framing.

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FRDqbHM3%2FDF514-BF2-ED51-4-DE0-99-CC-0173-F6-BB26-A8.jpg&hash=d30a628a5fc78e845ad2e2c5b468b371)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 19, 2019, 09:08:52 PM
Hard to say what is going on but keep testing different settings. Maybe you find the answer eventually. I'm on 1.1.3 by the way.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on October 20, 2019, 02:39:59 PM
Hard to say what is going on but keep testing different settings. Maybe you find the answer eventually. I'm on 1.1.3 by the way.

I guess i found the problem. It’s about adtg_ui module. I disabled the module and everything works expected.

Does this module use any code with your crop_rec? I tested and looks fine. Just want to know.

Thanks again Danne!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 20, 2019, 05:32:57 PM
Ah, yes. It will interfere with framing. Good catch. I should remove this module as it´s only needed for when looking for registry nad development.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: DeafEyeJedi on October 20, 2019, 06:01:00 PM
Ah, yes. It will interfere with framing. Good catch. I should remove this module as it´s only needed for when looking for registry nad development.
Or just leave it disable when installing. Enable when needed for troubleshoot and tests.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: gravitatemediagroup on October 26, 2019, 04:46:47 AM
nothing warms my heart more than seeing progression here
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 26, 2019, 06:28:25 PM
@Danne

Thanks for new build 'crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Oct15.5D3113.zip'

If I use with iso_regs.mo ON I get strange behaviour of liveview: e.g. in Anamorphic 1360x2300, the liveview image changes its centre point and becomes squished up. Turning iso_regs OFF and restart resets the liveview to normal behaviour.

Is iso_regs not designed to work with crop_rec.mo now?

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 26, 2019, 06:33:40 PM
Both adtg_gui and, also seemingly, iso_reg module, will affect outcome in some way. Have no idea why so feel free to take a look if you have the time.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 26, 2019, 06:46:22 PM
@Danne Righto. Thanks. Maybe something's changed, as previous versions seemed to play nicely with iso_regs.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 26, 2019, 07:29:09 PM
If so, try to narrow down the build where it starts to break.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 27, 2019, 01:30:04 PM
@Danne

Reverted to an older build to try and trace errors with iso_regs. Have only got a backup of crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr02.5D3113.zip which on my camera is buggy with compression errors. Errors go when I update to most recent – but then whenever iso_regs is enabled the crop_rec previews are all messed up.

Trying to find more recent builds from July19 (which were working well on my camera) on your downloads but can't find them. Have you taken them down? 

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 27, 2019, 02:13:24 PM
I can't keep every build. I'd prefer users to take time to compile on their own so I guess if this issue is important enough to fix you simply learn to compile. No priority over here. Need to focus on other things. Good luck.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 27, 2019, 02:23:29 PM
Ok. I hear you. Thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 28, 2019, 11:50:07 AM
@Danne I'm going to try to have a go and jump into ML dev.  :o I've installed via your compiler.app as per here https://www.magiclantern.fm/forum/index.php?topic=21882.0

The example given at 7) is for 17 EOSM.202

Could you give me some pointers how I'd change this to recompile your earlier Jul22 4K_crop_rec build for 5D3113 ?

Thanks!

PS I have managed to compile today's build, but am stuck on how to find an earlier build!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 28, 2019, 12:50:53 PM
Good. I didn't include jumping around in source tree in any easy way with compiler.app so it needs to be done in terminal. You can also work from atlassian source tree gui. In there you can see commits and doubleclick back in time.
Sorry, not a lot of time lately...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 28, 2019, 01:02:49 PM
You can also work from atlassian source tree gui. In there you can see commits and doubleclick back in time…
Thanks!

Lots of stuff I don't understand there! I know you're time-poor at moment so could anyone else point out how I work in the source tree gui to compile a specific build?

Thanks

***UPDATE***
I've searched back to find the commit for Jul22 and have managed to download a zip of this by doing https://bitbucket.org/Dannephoto/magic-lantern/get/f0e391b.zip

Now I have this folder, I need to compile it into the final zip… How do I do this?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 28, 2019, 02:15:02 PM
I've got Danne's  "crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul20.5D3113" build. If you need it I can upload it somewhere.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 28, 2019, 03:04:53 PM


@DeadEyeJedi I have got my install working to the same level as seen in this video now. What I'd like to know is how to compile a build from an earlier commit date in Danne's repo. Do you or anyone else know how?  :o

Cheers all!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 28, 2019, 06:09:03 PM
If you downloaded and got into the correct branch you can still compile from compiler.app after you select a new historical commit. I advice to use Source tree:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FTPgQQ0hY%2FScreenshot-2019-10-28-at-18-05-11-png-scaled.png&hash=09f4a82e8efd441d6b371c09efe30132)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 28, 2019, 07:16:38 PM
@Danne

Thanks. I have sourcetree installed now.

I'm doing: Open > Remote > Clone a repository > https://bitbucket.org/Dannephoto/magic-lantern > Destination: /Users/me/magic-lantern

From here I don't know how to select the historical commit or compile. Any pointers?

Thanks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on October 28, 2019, 10:39:20 PM
hg update [name of the branch you want to switch on, without the braces]

make clean

make zip

It can complain about module_strings.h missing. On debian testing as I don't know very much yet about it, I commented the include and got it to compile.

I take pointers if any.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 29, 2019, 09:51:55 AM
Hmm. Thanks, but that just gets me the current files.

In sourcetree:

1) I have cloned the branch to my local repo
2) Found the commit point (rev 19200) from which I want to compile
3) Image shows my options:

https://drive.google.com/file/d/1vLiEctKach9jIPcELzfzMGcjtdMwTJtx/view?usp=sharing

I think what I want is 'checkout' but I don't see that option – and I don't want to break the internet by pressing the wrong button!  :o

I'm also not sure when I switch from Sourcetree app to Danne's Compiler.app to do the compiling.

Any help gladly received. Thanks.

Tim
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 29, 2019, 09:57:24 AM
1 - In compiler.app source tree needs to be here:
Code: [Select]
crop_rec_4k_mlv_snd_isogain_1x3_presets
2 - On top of Source tree gui in your picture where it says "All branches" also select crop_rec_4k_mlv_snd_isogain_1x3_presets

3 - Double click backwards on any commit back in time and source will get updated into the past revisions

4 - Go back into compiler.app and compile
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on October 29, 2019, 10:16:30 AM
Thanks @Danne  :)

When I double clicked on the commit point the message said: 'Switching working copy' (Hope this is correct)

Then I compiled with compiler.app

The resultant compiled zip is labelled with today's date rather than the date of the commit. e.g. crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Oct29.5D3113.zip

Is this correct?

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on October 29, 2019, 12:58:20 PM
New uploads for the 5DIII:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Fixed a bug when recording 50/60fps
- Better handling mv720p mode 45/48 fps when going in and out of x10 zom mode

Is X3 back, compatible with 50/60 ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 29, 2019, 01:42:37 PM
Yes, I included x3zoom for these modes. Don´t remember how to reach them. Look in the Crop rec submenu if not present as a static preset menu item.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on November 30, 2019, 11:32:23 AM
Hi Danne and everyone involved, been following a lot of your work , especially with the eos M. And i thank you all so much for it. Workinh wonders.
I just bought myself a used mark iii. And tried the anamorphic mode, its awesome and the noise is so much cleaner in low light. And image quality superb. Love it. So happy, thanks guys.

I have one question about the anamorphic build, using the latest, on a 1.2.3 firmware.
I tried to understand the problem by reading this thread all over twice but i might not fully understand. When i use the anamorphic mode , the liveview halfshutter x10 works great, and zooms into the center of the image. But the ordinary liveview is focused on a different area, the upper part of the frame, so i cant really know exactly where the middle point of my shot is. Is this a thing that can be changed or is it ”common” knowledge to use the method of combininh halfshutter back and forth to know where center point rly is?

Hope it makes sense

Kind regards
S
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on November 30, 2019, 07:41:15 PM
There's certainly room for improvements. Check out 2blackbar managing to find center spot for anamorphic mode on the eosm. Same should be doable for the 5diii.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 07, 2019, 10:38:21 PM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Added my tlapse scripts originally built for the eosm here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg223238;topicseen#msg223238
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: DeafEyeJedi on December 08, 2019, 08:01:42 PM
Who needs Christmas or Santa when we all have @Danne's never-ending magic compiling upon on us every now and then.

Let's all make it snow for once and y'all get your hands dirty on these tests builds and please do report your findings.

Including myself. Especially on the 100D since this so-called DSLR definitely needs some love again. EOSM is just scary good!

Thank YOU for annihilating Santa as always w your charming talents annually, @Danne!  :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 10:47:40 AM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Added centered regs for UHD 1:1 preset(Thanks to Ilia3101 who tweaked these)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on December 11, 2019, 10:52:53 AM
Wow! Is there a chance your anamorphic to be centered or it has nothing common with this?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2Fcine.jpg&hash=cf9f3216f308154ed09ae25e5906f028)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 11:15:50 AM
Yes, it should be fixed too. No time atm, maybe Ilia3101 could jump in here  :P
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 04:05:27 PM
Wow! Is there a chance your anamorphic to be centered or it has nothing common with this?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2Fcine.jpg&hash=cf9f3216f308154ed09ae25e5906f028)

New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Rearranged cmos1 and seems more centered now for anamorphic modes. Needs testing.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on December 11, 2019, 05:22:31 PM
Testing:

Anamorphic mode has a single horiz 1px(?) white line at base.
If you come out of crop mode, LiveView shows only half the screen.

Or it could just be me…  ???
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 08:05:13 PM
Thanks for testing. I uploaded two new builds. Hopefully fixed now. Please test anamorphic again.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on December 11, 2019, 09:36:05 PM
Hopefully fixed now. Please test anamorphic again.

I have a green picture and a wrong information on top.

Here is a regular picture:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2FIMG_6330.jpg&hash=5cbf0710aa75bbf32b67b7df1fcf833a)

Here is a 1920 preset:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2FIMG_6330-1920.jpg&hash=acf7aa79336265466ea3c77b603fa590)

Here is anamorphic preset:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2FIMG_6330-anam.jpg&hash=89979d59dc468778aee91a0c171da60d)

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fbitbucket.org%2FDmytro_Kn%2Fml%2Fdownloads%2FIMG_6330off.jpg&hash=7cebc908c3b15e94d62bacf03d78df91)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 09:40:15 PM
1920 preset? I only changed for anamorphic mode. Did you push menu button and back? Fps set to 24 in canon menu?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on December 11, 2019, 09:44:08 PM
1920 preset? I only changed for anamorphic mode. Did you push menu button and back? Fps set to 24 in canon menu?

1920 preset - is just for comparison.
I've just found - green picture in anamorphic with problem on top appears when Set 25 fps is ON.
It's ok when Set 25 fps is OFF
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 11, 2019, 10:18:23 PM
Ok, I'll take a look tomorrow.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on December 11, 2019, 10:38:48 PM
Wow! It got fixed by Danne :-* I shall try it out tomorrow aswell! Superb work man..

Cheers
Chris
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 12, 2019, 08:40:54 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Slightly different centering for set_25fps but at least it works now. (Anamorphic mode)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on December 12, 2019, 11:28:50 AM
@Danne Both UHD and Anam are now good here! Preview fixed. :) Thanks plenty!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 12, 2019, 04:30:47 PM
Ported iso average,frame burst and frame stop functions to 5D3. New uploads, usual place.
On eosm iso average goes like this:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg222737#msg222737

Uploads:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on December 12, 2019, 08:52:10 PM
Hey Danne Great work, Cheers, I should try the iso average etc asap. :)
About the centered liveview, It doesn't seem to be centered to me yet. (I don't think my account has the permission to upload images so I can't really show you.)
But to explain in words - When I zoom in 10x to center, it shows another center then what is showing in Live View. The center is further up than the actual center.
Have anyone else got other results?

//Chris
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 12, 2019, 09:03:10 PM
Centre while recording better. Also if holding down halfshutter. X10 zoom follows its own protocol.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 20, 2019, 12:24:52 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Ported frame burst refinements same as on eosm here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg223648#msg223648




Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 21, 2019, 09:59:06 PM
@Danne

Started playing around with your latest 5D3 build, with the frame stop feature, but this build is clearly different to the experimental download version that runs.

First, my script doesn't run, but that is not the issue.

I set an exposure of 0.8s.

I have expo sim and override on.

I switch on crop FLV.

I switch on RAW video.

I switch FPS on and to 1 fps.

But, unlike with the experimental build, I don't get a LV image and more critically the shutter switches to 1/33.

Not looking for help/answer, just giving update at the moment.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 21, 2019, 11:48:34 PM
I get full range shutter when set so cannot reproduce what you are doing.
Anyway. Would help if you narrow down what works first then focus the bad new at the bottom of the list. Meaning. Is frame burst acting like it should when not moving fps override and such? Then give specifics of what happens when fps override is on. Do you turn off audio by the way? FLV do not like audio on etc.

Are we testing frame burst?:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg223648#msg223648

Also check here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg223238#msg223238

Also, if you are not getting a liveview image I doubt you are in framing mode. So I would say there´s a lot more to exercise around movie modes here.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 22, 2019, 09:22:45 AM
@Danne

It's a mystery  ;)

I've switched back and forth between the Experimental build and your frame burst one.

The experimental one works as expected, ie when I switch from LV to Movie mode the shutter stays at the correct shutter, eg 0.8s if I'm using a 1 FPS.

When I load yours it switches the shutter to 1/33 when I switch from LV to Movie mode.

As I say, I use the same settings for each build.

As I say, a mystery: but I'll keep playing around.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 22, 2019, 09:36:11 AM
Hm, I'l have a look later today. I might have messed some with a1ex fps values in crop_rec at some point. Didn't work this branch for a while.
Can you give feedback on the frame burst function itself. Tlapse script as well?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 22, 2019, 10:12:15 AM
Frame stopping working great: looking forward to trying that in my script, once I get the shutter fixed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 22, 2019, 10:28:15 AM
I try it here and all works. I need to push canon menu buttons once in a a while and at one time I restarted camera since framing wasn't working but it works. I choose Full-res LiveView then Shutter range to Full range,  FPS override set to Desired fps 1. Then I push canon menu twice and when coming back shutter is fullres 0.8. Disable sound and start recording. Works perfectly...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 22, 2019, 10:43:50 AM
BTW where do you disable sound?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 22, 2019, 10:54:18 AM
Got it!!!!!!!!!  :)

Quote
then Shutter range to Full range
This was the problem!

Shutter OK, but still can't see mage in LV, even after Menu pushes, ie black/purple diagonal lines fill the image.

I'll carry on playing around.

Thanks for your support.

BTW rather strangely the File Manager viewing of MLVs doesn't seem to work with your build, I get an "Allocation Failed" message. Not a priority for me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 22, 2019, 11:05:22 AM
Did you select framing under RAW video? If still not working simply restart.
What's working or not can't be determined by one preset selected tests. Please try other presets with file manager as well. Still trouble? Maybe you were lucky on the other build?
Edit: also note that adtg_gui should never be enabled if not in use. It kills framing for instance.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 22, 2019, 10:31:51 PM
UPDATE 29-Dec-2019

See https://www.magiclantern.fm/forum/index.php?topic=24663.msg223841#msg223841

@Danne

Have spent most of the day switching between your build and the experimental page version.

I have assured myself that the settings are the same each time, eg shutter at 0.8s and an FPS of 1.

With the experimental build I can always see a stable LV image in movie mode.

In your version I mostly see a solid black & purple image. No amount of switching the menu on and off fixes this. Occasionally the image from the non Movie LV mode transfers to move mode, but freezes.

The perfect world for me would be the experimental build with your framing feature   ;)

But then again, we don’t live in a perfect world  :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 22, 2019, 10:44:07 PM
I see. I would need your SETTINGS folder or a printscreen showing your settings in RAW video menu and in Movie tab to be able to see what's going on. Too many variables will go wrong otherwise. It works here, what can I say.
Edit: also what modules do you have enabled?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on December 29, 2019, 07:04:48 PM
Thanks Danne for the hard work.

I updated my repos and it just built fine.

More testings tomorrow, have good end of year :-)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 29, 2019, 07:13:20 PM
Yes. Lots of changes. Rearranged menus and modules enabled from start and a few other things...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on December 30, 2019, 09:51:05 PM
just download an tested crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Dec30.5D3123.zip
5d mark 3
version 1.2.3

I am really impressed.

my 'C' days are over long ago, (I do python as a qa automation developer)
I never was a videographer, only stills.
my English should get better
and when reading here I can understand one every two sentences
so please forgive me in advanced

the only issue
experimentals and your build from April (I belive) as well gave me an option to set live view and when pressing '*' I could frame my shot
it worked on all profiles. however on this build when pressed I get a x10 zoom which will not go away after release, and if I pressed many times on '*'
and the 'zoom' button It went away but image is broken, ML menue will not open an nothing else is working until restart

thank you so much for this it's all really  amazing that I don't really care if this would be fixed
5k raw video from 5d3, and continueas, and live view ! what else it would shoot rockets to space :)


amazing! !!!!!!!

few questions. . .

what is 'crop rec preview'  should it be on?
why in video menu it say '12 bit' and raw video menue say '14 bit'?
what is 'shutter range' I never sew this. logic tells me variable fps but didn't we had this all ready  ?
what iso is optimal?

and last I do not own anamorphic lenses, I shot my doter using the anamorphic 5k and let mlvapp do its own streaching magic
I don't see distortion and the frames look AMAZING, do I need an eye doctor ?
is it disorted in a way I don't see it ?
what am I missing ? 



Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 30, 2019, 10:29:39 PM
- Set focus aid to OFF for * button and halfshutter working normal way

- Keep 14bit lossless in RAW vide menu. As a workaround you can add 10 or 12 bit in the Movie tab menu for longer recording times. It actually lower analog gain acting 10 or 12bit

- Crop rec preview set to auto mode will select either framing or real time preview but automated depending on what preset chosen. Turn it off if you wish to work manually between presets.

- Yes, anamorphic is a pixelated stretch(I call it anamorphic) but without the need for any anamorphic lenses. You already noticed that Mlv App fixes the upscaling in post just fine. And yes, it´s good.

- Iso climb. Enable i and move joystick up or down for iso control, even while filming

- Shutter range. As it says ORIGINAL will set canon shutter. Full range will allow for much lower shutter speeds. Works with FPS override down to around 0.5s shutter
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 30, 2019, 11:45:01 PM
@Danne

Quote
- Set focus aid to OFF for * button and halfshutter working normal way

When I try this on the 5D3, the halfshutter works normally, but * does nothing, ie no zoom.

Is it me...again ::)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 30, 2019, 11:55:15 PM
zoom? You mean focus? Check your manual. Think it should look like this(except the pinks  :P:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2Fx8V4PpBF%2FVRAM0-PPM-300px.png&hash=7e335e530b5f091343c45987e0cff94d)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on December 31, 2019, 12:13:21 AM
No I meant zoom.

With that feature enabled the image zoom in to x10, I guess, when I do a half shutter press. If I disable that feature, the half shutter returns to normal, but the * doesn't 'zoom in', like the half shutter did. 

Are you saying it shouldn't zoom in, just do an AF?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 31, 2019, 12:20:03 AM
Either x10 zoom enabled or the rewired button disabled and then it´s back to canon settings for both halfshutter and ae button.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on December 31, 2019, 10:06:29 PM
I meant something else. not focus and not zoom.
in the experimental buildm my preview was realtime and when press+Hold '*' I get framing preview .
the change you suggested does help with the x10 but not bringing back old method. maybe it was a settings I did some how and don't remember how.
but I can totally live without it.

I made a few more test, and everything work like charm.

this build is the best new year  gift :)
Happy new year

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on December 31, 2019, 11:04:37 PM
It should enter framing when pushing halfshutter and set to real time. Will take a look tomorrow. What preset are you using by the way?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on January 01, 2020, 02:40:05 PM
Everything is working fine so far here.

The crop rec integration is more intuitive this way.

There are a few modes that says preview broken, is it fixable ? What's the cause of it ?

Happy new year BTW
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on January 01, 2020, 03:55:35 PM
@Danne

At the risk of annoying you, a quick thought on the focus aid.

Currently, when on pressing * will do a x10 zoom, which stays on until you do a half shutter press.

Doing a half shutter press brings up the x10 zoom, while the half shutter is pressed.

The ‘problem’ with this approach is that, if one uses the half shutter in a script, as I do, you can’t also use the focus aid.

One way round this is if your focus aid only used the * button and that it also toggled the x10 on and off. Thus freeing up the half shutter.

Just a thought and Happy New Year to you.

Cheers

Garry
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 01, 2020, 04:00:53 PM
* button comes with haflshutter button for good or worse. The other way around is tricky. I assume yoù know a way to assign the ae(*) button cause I don't.
Cheers
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on January 01, 2020, 04:34:42 PM
 Ok
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 02, 2020, 12:10:49 PM
Hi!

Just cloned your crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Jan01 repo and tried to add my iso-regs code into it.

Think maybe I've done something wrong as the new 'Presets' tab is there – but when I try and select it, it doesn't activate. :(

Can you see something I've done wrong? Maybe I need to add things in different places now…  :o


Ignore pls!

For some reason my crop_rec.mo wasn't compiling at all… Compiled separately and it works now.  Sorry…  :-[

Cheers!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 02, 2020, 02:07:12 PM
Cool menu edit + new toys… Thanks! :)

Notice that with Sound recording = ON, the camera start/stop beeps don't sound. Turning Sound recording = OFF brings them back. Is this expected behaviour?


Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 02, 2020, 02:16:39 PM
There's a reason for most things in here ;).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 09, 2020, 04:41:35 PM
Got these errors every other couple of shots today with latest build:

Live display; text in red:

'fatal no buffers'

then a few seconds later

'audio failed to stop. read state 3'

only a 3kb file is saved with no content.

Pressing menu then allows a proper recording, but the whole cycle repeats again.

I was recording in 3K as usual, with NO audio, so that's odd!

Anyone replicate this error?

Thanks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 09, 2020, 04:55:43 PM
Tell me exact settings, preset, etc. Preferrably do screenshots or a screenrecording to be sure not to miss anything.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 09, 2020, 05:08:57 PM
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FnP8VwwJ%2FIMG-3322.png&hash=158038f594192ef353802de7fa17c9db) (https://ibb.co/MB5jgg0)
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2Fm8b8cwC%2FIMG-3323.png&hash=d275f791932bb2166b062b4f76c460ea) (https://ibb.co/DpzpRyD)

These are the error screens, but I noticed that Sound recording was enabled – my bad. However, I was running raw_diag.mo. I disabled that module and it seems to be ok again. Never seen that error before!  :o Good to know!

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 09, 2020, 05:34:35 PM
How are you running raw_diag module?
Next time reporting issues tell build, set up, enabled modules etc. Tiring with most, not all, 'test reports'  just thrown out there without even basic info.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 09, 2020, 06:08:11 PM
Quote
How are you running raw_diag module?

Just by loading and enabling the module. I only really use it for the raw info readout window.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 09, 2020, 06:13:33 PM
Yes, but that indicates you are running older builds. In later build you would see that enabling modules is not there. So, build info is vital.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 09, 2020, 08:55:05 PM
I cloned your repo at commit #5a6f55b 2019‑12‑31 and compiled locally.

I can see that you have now enabled modules by default and that the modules tab doesn't display. But if you add other 'extra' modules in – as I did with a1ex's raw_diag.mo – the module tab then appears and can be accessed to enable these extra modules – but the rest of the modules still remain 'invisible'.

So I don't think it is an 'older build'. ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 09, 2020, 09:18:05 PM
Oh, that´s nice. Didn´t know it worked. Jip-Hop worked out the module automation routines. Nice find.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 10, 2020, 11:00:00 AM
Added mlv capabilities as for eosm here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg224216#msg224216

EDIT: Buggy. Took out the mlv_play fix for now. Needs more testing...

EDIT: Reuploaded. Hopefully bug fixed. Needs testing
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 12, 2020, 06:24:38 PM
The anamorphic mode is superb, so much less noise in low light situations.

Right bow i have the slow framing preview and a live preview on atomos shinobi working.
Tho the framing is correct on the canon camera its a bit off on the external monitor. I wonder if its possible to arrange it so that i can get the center position on my external monitor aswell?

//Chris
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 15, 2020, 04:00:02 PM
@Danne do you know why the 5D3 can only record 14 bit with compression in UHD preset?

Could 12/10 bit be added? Or is this something not easy? (I can go in to the code again if needed)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 15, 2020, 04:18:17 PM
It could probably be added but I don't know how to do it the "right" way. There are comments about reducing bits in mlv_lite.c.

But, meanwhile it should work with my bitdepth workaround by keeping 14bit lossless in RAW video menu and selecting 10 or 12 bit from Movie tab menu. Should do more or less the same.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 15, 2020, 04:33:47 PM
Ah ok, this is available with the new "eos m" layout? I will try it out.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 15, 2020, 04:59:38 PM
Yes, works, just tested.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 15, 2020, 09:24:36 PM
Nice! I will try it very soon. (once I empty my card)

Is this only possible with the recent layout update?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 15, 2020, 09:29:15 PM
Can´t remember. I know I added my bitdepth workaround not so long ago to the uhd so that might very well be true. But it´s better to use the latest as I did a lot of cleanup as well so nu reason to stay on the older version.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 15, 2020, 09:35:30 PM
I think it's true then, I remember I just couldn't find any way to change bitdepth in the previous build.

I will use the latest of course, I have always done so with magic lantern :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 15, 2020, 09:46:34 PM
I think it's true then, I remember I just couldn't find any way to change bitdepth in the previous build.

I will use the latest of course, I have always done so with magic lantern :)
Strange. Should have been in the sub menu. Anyway. It´s in Movie tab menu now so can´t be missed in the latest version. Just make sure that it´s set to 14bitlossless in RAW video menu:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 16, 2020, 01:27:23 AM
Ah I didn't even think it could have been in crop_rec! Spent an entire holiday choosing between 4 second recording times and 20fps :D

Also why are the modules gone in the new build? How does it all work? How do you load a module? Do you think this is the future of magic lantern layout? It feels a whole lot less modular to me :(
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 16, 2020, 06:55:31 AM
Future, modular? I rearranged and modified to be able to just start the camera and get on using it. It's just another open source project.
Code is there so you can build your own tweaks if there's something you're missing but since you didn't even find the crop mode sub menu in the last build at least enjoy the oppurtunity to lower the bitdepths again ;).
It's not like the modules are gone. They are simply autoenabled. Is there a module you're missing?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 16, 2020, 06:43:02 PM
Future, modular? I rearranged and modified to be able to just start the camera and get on using it. It's just another open source project.

Well your branch is clearly the most advanced and bug free right now, so it is the future. When referring to 'future' I meant: would a1ex want to merge all of these changes back in to the main source tree? I imagine the user interface changes (module aspect) are a bit too drastic (for exmaple some users don't want any video features), but the internal code changes are of course great.

I rearranged and modified to be able to just start the camera and get on using it. It's just another open source project.

It is great and very usable, I really like the new video tab. I just want to know which modules are enabvled by default now... (and to get module screen back if I can change your mind ;))

I remember on my 5D2, loading the smallest amount of modules would increase recording times. I just think it's best to let users disable whatever modules they want, but I am not against having some modules load by default like you have done.

Code is there so you can build your own tweaks if there's something you're missing but since you didn't even find the crop mode sub menu in the last build at least enjoy the oppurtunity to lower the bitdepths again ;).

Yes thanks :D

It's not like the modules are gone. They are simply autoenabled. Is there a module you're missing?

Nothing I'm missing, but I want to see what's enabled and disable what I don't need. I just think it's better for module screen to stay, what if someone wants to write a new module, it's useful for them to toggle it on and off easily.

I only want to suggest improvements, sorry if anything I say sounded rude.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 16, 2020, 08:07:25 PM
Nothing rude at all. I just answered :). I welcome feedback.

These modules are default:
Code: [Select]
mlv_lite \
mlv_play \
mlv_snd \
dual_iso \
silent \
lua \
crop_rec \
file_man \
ettr \
You can add any additional module by simply putting it in the module folder on your card and it should appear the normal way.
You can also look for this line in module.c in src folder:
Code: [Select]
char *core_modules[] = {"mlv_lite", "crop_rec", "mlv_play", "mlv_snd", "sd_uhs", "lua", "file_man", "dual_iso", "silent"};And erase:
Code: [Select]
char *core_modules[] = {};Or erase all code related to core_modules and it should be back to normal. Didn´t dig in to hard on this. It´s mostly Jip-Hops code parts in this case and works really well.

About bugs I created a couple of pull requests. All the rest is small quirk fixes here and there, nothing big really. A1ex also developed a refined crop_rec code for the 700D which might be the new standard in the future. Who can tell really?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 17, 2020, 11:22:31 AM
Ah good to know where that array is.

Also do you knokw why mlv_rec.mo stops working with crop rec enabled? I would be interested in trying to fix that (unless it's a really huge task), as I want to try card spanning.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 17, 2020, 11:33:49 AM
No idea really.
By the way. You should port card spanning to mlv_lite ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 17, 2020, 12:26:18 PM
By the way. You should port card spanning to mlv_lite ;)
+1 :)

I'm looking into this as well! I see the code in sd_uhs.c for enabling it in 5D3 (untested), but I assume additional code has to be ported into mlv_lite.

In which module does the code that needs to be ported live now?

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 17, 2020, 12:58:35 PM
No idea really.

😢

By the way. You should port card spanning to mlv_lite ;)

I like the sound of this too. I just looked at mlv_rec.c, and it seems not too complicated (an extra thread and loads of if statements).

But I need to gain some understanding of magic lantern code first. It's not as simple as c library and pthreads :'(

What branch would be the best starting point for this modification? Unified, crop_rec_4k or something else?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 17, 2020, 01:07:42 PM
I would work in this branch directly. I see no reason no too. I ported global draw off a while ago. Not as hard as card spanning though but as you say. Not impossible to understand but It's a bit over my head.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 17, 2020, 09:45:48 PM
I would work in this branch directly. I see no reason no too.
Yeah ok. I cloned crop_rec_4k_mlv_snd_isogain_1x3_presets, this is the main one right now?

I ported global draw off a while ago. Not as hard as card spanning though but as you say. Not impossible to understand but It's a bit over my head.
I am not sure where to start really. I see in mlv_lite theres loads of "NO_THREAD_SAFETY_ANALYSIS" which is a tiny bit concerning. Currently trying to compare how both modules do writing, it seems to be making a little bit of sense, but there's no clear comments like "this line writes the frame", so it's a bit difficult.

Are the FIO_* functions used for writing actual big frame data? Or are they just for headers? I can't tell what they are doing... just 'jobs' according to variable names.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: gravitatemediagroup on January 18, 2020, 03:14:00 AM
has anyone else experienced blacked out playback as if something went wrong with recording, but when loaded into MLVApp the image is there?  I've been noticing this the past few builds, I've tested and changed various settings/resolutions to see if I had accidently turned something off, but every shot comes back blank.  The liveview before shooting is there, just no playback.

sorry if this has been discussed already, i'm short on time so I just jumped to the end of the thread to ask. :) 
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 05:04:21 AM
More information needed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 01:24:31 PM
@Danne how often do you update mlv_lite.c? I hope we do not make changes at the same time that will be difficult to merge.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 01:45:52 PM
I only do minor changes. Did a small change today. Just keep on with your stuff. WHen ready I can merge it into mine branch.
By the way, where´s the branch you are working on?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 02:37:05 PM
I hg cloned crop_rec_4k_mlv_snd_isogain_1x3_presets yesterday - and am editing mlv_lite.c in there. Same branch as you?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 03:05:59 PM
Yes, same. Could you link your repo so I can follow?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 03:17:48 PM
Hmm I don't have it on bitbucket, I just typed "hg clone https://bitbucket.org/Dannephoto/magic-lantern -b crop_rec_4k_mlv_snd_isogain_1x3_presets" and started making changes. Should I make a branch of my own to my bitbucket account? How do I do that?

So far, I have been saving versions by copying the file, not through commits because I don't know how to use mercurial, however I can put those versions in to commits once I get the mercurial stuff set up properly.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 04:08:58 PM
I'm guessing maximum number of chunks of an MLV is 101? as you can have only one .MLV, and 100x of .M00-.M99
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 07:06:40 PM
It's actually really difficult to adapt mlv_lite for spanning. I will try again with a different approach, it's a bit of a mess this first attempt, I just tried to copy most of the way mlv_rec does it.

In mlv_rec writing loop is so much simpler, here it is tangled in to everything, so it's difficult to have two running at the same time. I wish we could have mlv_rec working with crop_rec.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 07:16:02 PM
Hm, keeping mlv rec is hard to justify. No lossless recording if I recall correctly? Only reason to hold on to it would be if both lossless and card spanning were working but ultimately if you manage to get it working on mlv_lite personally I would think it's the better way.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 07:22:13 PM
Hm, keeping mlv rec is hard to justify. No lossless recording if I recall correctly? Only reason to hold on to it would be if both lossless and card spanning were working but ultimately if you manage to get it working on mlv_lite personally I would think it's the better way.

I am trying again on mlv_lite, this time without copying how mlv_rec does it, as it's just too different.

Also I didn't realise mlv_rec didn't have compression, I always thought it was the more "advanced one" :D That's what I felt from using the 5D2 anyway :D But I guess I was wrong :-\

I think one advantage to mlv_rec is that it writes EXPO blocks for each exposure adjustment during recording, while mlv_lite does not, is that correct? Or is this also outdated information?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 07:44:24 PM
Yeah, mlv_lite is stripped for maximizing speed. Originally dmilligan started out building this module.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 18, 2020, 09:47:31 PM
Hi, I love the anamorphic mode, and i do not mind that it is squeezed in live view, and its perfect to be able to frame The desqueezed view before recording.
But i have one question that i rly havent found clearity to yet.
Even tho the live view is squeezed, is it possible to move the center position so that it matches the center better?

I made a video including external monitor to show what i mean.
It would be very very useful, (atleast for me;) ) if it was possible to match the squeezed views center point to the live view center point. In laymen terms, move the image up;)

4aed6ecab1

Is this complicated / goes much deeper than what I may think?

Thanks!

Kind regards
//Chris
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 18, 2020, 10:23:22 PM
I am almost done with card spanning, I have a very simple solution. just need to sort out one final thing: sharing the "slots" thing between two threads. Need to figure out what it is (I think it's a queue) and how it works, then how to share it. Going to leave this for tommorow.

Yeah, mlv_lite is stripped for maximizing speed. Originally dmilligan started out building this module.

So it would be nice to get mlv_rec working again and add compression support ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 18, 2020, 10:29:01 PM
Hehe, well. Who knows what tomorrow brings. Nice to hear about your progress on card spanning!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garry23 on January 19, 2020, 07:03:12 AM
I thought some of you videographers :) ;) may be interested to know that this 4mm fisheye lens us now available in an m mount, and it's cheap as chips.

https://www.venuslens.net/product/laowa-4mm-f-2-8-mft/
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 19, 2020, 11:00:19 PM
Should I add another struct semaphore * for protecting the slots array / writing queue when accessing it from two threads? Or should I extend the use of settings_sem to protect that?

BTW I am not adding any of this "guarded by" stuff to anything I add, as I don't know how to use it correctly. But as I understand that only affects static analysis, not running the code.

Also why does the code sometimes use '0' instead of NULL for pointers?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 20, 2020, 12:00:53 AM
Ok nevermind about all that for now. First I need to understand how write_frames works...

Could anyone who knows explain: why it is only called once for multiple slots? it only gets the pointer from the first slot as the ptr argument, yet somehow writes all of the slots to the card?

And as far as I can tell a "slot" is an MLV block waiting to be written, which can be a frame or any other type - correct?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: names_are_hard on January 20, 2020, 04:02:11 AM
Also why does the code sometimes use '0' instead of NULL for pointers?

NULL and 0 have the same value.  But, NULL implies pointer.  So many people think you should use NULL if it's a pointer, because it lets other people know they're dealing with a pointer.  I agree with this but it's basically a style choice.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 20, 2020, 01:36:25 PM
Could anyone who knows explain: why it is only called once for multiple slots? it only gets the pointer from the first slot as the ptr argument, yet somehow writes all of the slots to the card?

Ok firgured this one out, all the blocks are actually in a single continuous block of memory behind the scenes, somehow. Therefore the pointer to the first block is actually a pointer to all the blocks needing to be written.

I guess this must roll over back to the beginning of the buffer when it reaches the end, but where is the code for detecting the roll over?

I think can make spanning work now I kinda understand what's going on.

These are just notes for myself, but I'm writing here so anyone who knows better can correct me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on January 20, 2020, 04:48:54 PM
Indeed, your understanding is correct, so far. Most of these things are not related to Danne's changes; mlv_lite has the same quirks in the main repository (so, the discussion here is probably off-topic).

Anyway - mlv_lite is pretty much the codebase from the original raw_rec (i.e. most of that is my code, updated by dmilligan to support the MLV format at the same recording speeds as the original raw_rec implementation, if not a bit faster (https://www.magiclantern.fm/forum/index.php?topic=17091.0)). Long before that, mlv_rec was written by g3gg0 in an attempt to completely replace raw_rec; unfortunately, it was a little slower, and its menus and internals were a bit too complex for my taste, so... we ended up maintaining both. Not ideal, I know. It would make sense to merge both modules somehow, keeping both the raw recording speed and the features, if possible.

Regarding 'loads of "NO_THREAD_SAFETY_ANALYSIS"' - there are only two, that I could find, and that's because the static analysis (https://www.magiclantern.fm/forum/index.php?topic=18907) does not handle cli/sei correctly. I don't see this as a reason to be concerned - on the contrary. But I cannot guarantee 100% correctness either - maybe rewriting some parts of ML in Rust could help with that. No, I don't know Rust, besides trying to run Hello World some years ago, but it seems to be something worth learning.

About what things are executing - there are our own DryOS tasks, more or less straighforward to understand, and there are hooks placed at various locations in Canon firmware (usually in their DryOS tasks). The most interesting one here is the VSYNC hook, aka "EvfReadOutDone" on recent models (i.e. triggered once after capturing every single LiveView frame, in Canon's Evf/LiveView task, which runs with very high priority). That's where each frame is processed, and the next slot is chosen (ideally continuing the previous memory chunk, as it's a lot faster to write several megabytes at once).

However, what exactly happens within each LiveView frame was only recently understood (https://www.magiclantern.fm/forum/index.php?topic=19300.msg207723#msg207723), and only to a very limited extent.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 21, 2020, 02:45:13 PM
Thanks for the response a1ex

True it is a bit off topic, but the goal is adding card spanning which is on topic I think.

Is the reason for mlv_rec being slower that it writes one frame at a time? It would be nice to merge them. Would unified be the best starting point for this kind of change? Also about mlv_rec not loading in crop_rec_4k, is that a difficult fix?

Regarding 'loads of "NO_THREAD_SAFETY_ANALYSIS"' - there are only two, that I could find, and that's because the static analysis (https://www.magiclantern.fm/forum/index.php?topic=18907) does not handle cli/sei correctly. I don't see this as a reason to be concerned - on the contrary. But I cannot guarantee 100% correctness either - maybe rewriting some parts of ML in Rust could help with that. No, I don't know Rust, besides trying to run Hello World some years ago, but it seems to be something worth learning.

Hm rust, can it even be compiled to run on these cameras? Might it use any dynamic memory allocation behind the scenes?

Therefore, if a function is called from more than one task, it must be thread-safe.

This is a good way to think about it, will keep in mind.

About what things are executing - there are our own DryOS tasks, more or less straighforward to understand, and there are hooks placed at various locations in Canon firmware (usually in their DryOS tasks). The most interesting one here is the VSYNC hook, aka "EvfReadOutDone" on recent models (i.e. triggered once after capturing every single LiveView frame, in Canon's Evf/LiveView task, which runs with very high priority). That's where each frame is processed, and the next slot is chosen (ideally continuing the previous memory chunk, as it's a lot faster to write several megabytes at once).

However, what exactly happens within each LiveView frame was only recently understood (https://www.magiclantern.fm/forum/index.php?topic=19300.msg207723#msg207723), and only to a very limited extent.

Interesting to know. So the VSYNC hook is how ML redirects the image data to it's own memory?

And back to implementing spanning in mlv_lite:

My simplest (most threadsafe) idea was: the main thread will split each write in to an SD and a CF card part, then tell the SD card thread what to write (memory pointer and number of bytes). The splitting should be a 1:5 ratio, or learnt as the recording goes on. But this is not very good as it will make smaller chunks be written each time, and if the SD card has a hiccup, the main thread will be waiting for it to finish, and the other way round, the SD card would not be fully utilised. And if there is not enough frames in the queue, it can't be split very well.

I want to figure out a better way to share the queue between two threads. Do you think that is possible?

Haven't really made sense of the whole writing loop yet, so I can't tell.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 21, 2020, 03:17:05 PM
Mlv_rec works here. Only tested with eosm and with that particular branch. I thnk mlv_rec works with 5d3 too. At least with a1ex crop_rec_4k branch.
With that said only thing personally missed in mlv_lite is card spanning :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 21, 2020, 03:23:30 PM
oh it does? not with crop_rec.mo enabled though?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 21, 2020, 03:34:18 PM
Crop_rec works with eosm.
A bit off topic but it needs certain other modules enabled to work I guess. I'm sure it can be solved with a little trial and error. But let's fix card spanning on mlv_lite first ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 21, 2020, 04:01:15 PM
But let's fix card spanning on mlv_lite first ;)

Sure :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 04:08:38 PM
I think this line:
Code: [Select]
        writing_queue_head = after_last_grouped;
should be moved to before the frame(s) start being written, so that when the other thread starts looking for frames, it will get unwritten ones.

Or will moving this line affect whatever process is actually putting the frames in to the buffer? In that case, I can add an extra version of this variable for the write threads, updated at the start, and leave the original one for the process actually inserting frames, updated at the end as before (will need some care when both threads are updating it)

I also think the SD card thread should only write one frame at a time, otherwise it will be wasting time and memory, especially when the buffer starts getting full.

This is my current best idea for spanning.


@Danne Do you know how much extra write speed mlv_rec spanning adds? Does it perfectly sum CF and SD speed or is there overhead?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 22, 2020, 05:08:53 PM
I used it briefly when it was implemented. Wild guess it gives around 20mb extra. But. 5d3 can do sd_uhs hack so we might get like maybe 40mb extra rough estimation?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 05:13:07 PM
Woahh! Didn't know sd_uhs worked on 5D3 as well. So we may get 140MB/s which could give continuous UHD 😱
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 22, 2020, 05:17:58 PM
Well, a1ex would know this for sure but 125-130 might be more realistic maybe.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on January 22, 2020, 05:56:57 PM
Wrong thread, sorry
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 08:14:45 PM
I HAVE MADE WORKING SPANNING!!!!!! This is what the commit looks like: https://github.com/ilia3101/mlv_lite_spanning/commit/0684bab9e5937a563af8409f5c226af73b8e7c74

I have used github as I don't understand how to use bitbucket or mercurial. On that github repo you can see the before and after.

unfortunately: there is one case where the threads collide and recording stops with "Slot check error" - it happens rarely, and I know exactly why, I just haven't found a way to do mutual exclusion yet.

I am pretty sure the semaphore is what I should use as a "mutex", but I could not get it to work, could you help me a little bit please @a1ex? I just want to know how to use the semaphore for mutex purposes.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 08:20:11 PM
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 22, 2020, 08:21:15 PM
Wow. Impressive. No cam today but will test soon! Hope a1ex can take a look.
Bravo Ilia3101!!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 08:26:23 PM
I will upload test builds, I just don't recommend it for anything other than testing!

Recording WILL STOP due to an error sometimes!

Edit: I won't upload builds actually, until I have got it in to a more usable state. Testing right now won't mean anything.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 09:07:07 PM
When I add a semaphore eveything just freezes forever, and says something like "25 frames" or "31 frames" until I turn the whole camera off.

All I did was add a pair of take_semaphore and give_semaphore, timeout 0 which I guess means no timeout. I might just try something dumb like a spinlock.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: a1ex on January 22, 2020, 10:16:46 PM
Nice progress!

To debug these semaphores, you may use the wrappers at the beginning of menu.c. These will tell you who acquired the semaphore (what line of code), and you can also add the task name (get_current_task_name). What you print on the display, should stay there even if the camera locks up.

However, a hard lock up (when everything stops responding) generally means some kind of invalid hardware (MMIO) access, or DryOS memory overwritten, i.e. messed up badly enough that vanilla firmware can no longer continue. If some task ends up "simply" waiting at semaphore, that shouldn't bring down the entire machine.

For 32-bit integer assignments, on a single-core ARM CPU, semaphores should not be needed - afaik, this operation is atomic. That's probably not true on multi-core systems.

For very short critical sections, you may use cli/sei, but no other tasks will be able to run between those two. You should not call any DryOS API either (such as msleep), as these might enable the interrupts on their own.

Also take a look at the selftest module - that also serves as "documentation" of expected behavior and return value of various DryOS functions. The VxWorks documentation should be helpful, too, as the high-level behavior is pretty much identical (but the internals are not).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 10:30:14 PM
However, a hard lock up (when everything stops responding) generally means some kind of invalid hardware (MMIO) access, or DryOS memory overwritten, i.e. messed up badly enough that vanilla firmware can no longer continue. If some task ends up "simply" waiting at semaphore, that shouldn't bring down the entire machine.

None of my lockups were hard, just raw recording thread(s) locking up - I could still enter ML menu and it would just say "stopping"

For 32-bit integer assignments, on a single-core ARM CPU, semaphores should not be needed - afaik, this operation is atomic. That's probably not true on multi-core systems.

Doesn't apply to the current situation (I think), but good to know.

For very short critical sections, you may use cli/sei, but no other tasks will be able to run between those two. You should not call any DryOS API either (such as msleep), as these might enable the interrupts on their own.

This may be the perfect solution! I will try it out. Didn't realise what cli/sei were until I just googled it. Wow!

Is "ASSERT" and beep/bmp_printf allowed between cli/sei?


Will have a look at menu.c and selftest module as well.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 22, 2020, 11:07:04 PM
I added sei/cli and it seems to fix the problem, but I think the code runs between them for too long, so I will still try and sort out the mutex.

Just one last question for today: There is loads of "Frame order error" messages at the end of recording - it only seems to happen when the video's bitrate exceeds or almost exceeds total write speed. Is this a major issue?

With UHD total write speed tops out around 111MB/s right now, not as amazing as I expected. However I haven't tried sd_uhs yet. Update: I compiled sd_uhs in your branch @Danne and it says not supported on the 5D3 - where do I get the latest sd_uhs?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 07:07:05 AM
Check the code in sd_uhs.c(my branch):
Code: [Select]
/* Below cams not tested/supported atm. Try it by enabling sd_overclock_task(); */
    if (is_camera("5D3", "1.1.3"))
    {
        /* sd_setup_mode:
         * sdSendCommand: CMD%d  Retry=... ->
         * sd_configure_device(1) (called after a function without args) ->
         * sd_setup_mode(dev) if dev is 1 or 2 ->
         * logging hook is placed in the middle of sd_setup_mode_in (not at start)
         */
        sd_setup_mode       = 0xFF47B4C0;   /* start of the function; not strictly needed on 5D3 */
        sd_setup_mode_in    = 0xFF47B4EC;   /* after loading sd_mode in R0, before the switch */
        sd_setup_mode_reg   = 0;            /* switch variable is in R0 */
        sd_set_function     = 0xFF6ADE34;   /* sdSetFunction */
        sd_enable_18V       = 0xFF47B4B8;   /* 5D3 only (Set 1.8V Signaling) */
        SD_ReConfiguration  = (void *) 0xFF6AFF1C;
     /* sd_overclock_task(); */    }

    if (is_camera("5D3", "1.2.3"))
    {
        sd_setup_mode       = 0xFF484474;
        sd_setup_mode_in    = 0xFF4844A0;
        sd_setup_mode_reg   = 0;
        sd_set_function     = 0xFF6B8FD0;
        sd_enable_18V       = 0xFF48446C;   /* 5D3 only (Set 1.8V Signaling) */
        SD_ReConfiguration  = (void *) 0xFF6BB0B8;
     /* sd_overclock_task(); */    }

return 0;
}
Enable the function with this:
Code: [Select]
/* sd_overclock_task(); */to this:
Code: [Select]
sd_overclock_task();
Don´t forget, the module will autoenable when starting camera.
in modules.c
Code: [Select]
char *core_modules[] = {"mlv_lite", "crop_rec", "mlv_play", "mlv_snd", "lua", "file_man", "dual_iso", "silent", "ettr"};
Just tested over here and seems to work but havn´t checked agains any benchmark tests.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 02:27:19 PM
Didn't work, SD card just benchmarks at 0.0MB/s and there is some error when raw recording. (I'm firmware 1.1.3)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 02:41:23 PM
Well, I can´t really help you on that as I have no issues here.
You could test sd_uhs.mo from the sd_uhs branch. Here is a compiled version:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/sd_uhs.mo

Try and replace it with what´s in your modules folder now. This version needs to be enabled from with debug tab. Not as convenient but check if it works better.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 02:47:37 PM
Thanks! I will try that version.

Also this card might be wacky, it's an 600x pink transcend. I'll try a different card later.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 02:58:04 PM
Yes, could be it. My version don´t really like cheap cards  :P.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 09:32:36 PM
Anyone have any idea what this error could be about:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2F5tc3X3bF%2FIMG-20200123-202510.jpg&hash=7b4d6b2451fd05a2c66a908b031f69f2)

It only happens rarely, but does happen.

Since that error happened, the camera has been recording for 10 more minutes without any more errors.

I think spanning is getting close to usable now!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 09:37:19 PM
Wonderful Ilia3101!
Compression error. Usually includes corrupt frame/frames. I had them when recording was disturbed of sone engdrvout routine changing regs in crop rec. But root could as well be overhead or recording edge of speed I think.
Sd_uhs working?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 09:48:36 PM
About to try sd_uhs with a proper card!

Edit: the sd_uhs didn't work with any of my two cards I have tried. I will try with some other cards once they are free.

I have uploaded some testing builds with spanning:
https://github.com/ilia3101/mlv_lite_spanning/releases/download/test-builds/magiclantern-Nightly.2020Jan23.5D3113.zip
https://github.com/ilia3101/mlv_lite_spanning/releases/download/test-builds/magiclantern-Nightly.2020Jan23.5D3123.zip

I decided to post them as it does not seem to be causing any dangerous crashes or lockups. I have only tested 5D3.113, don't know if it will be different for 123. Curious to see people's results.

My modified mlv_lite.c and mlv_lite.h code can be seen here: https://github.com/ilia3101/mlv_lite_spanning

I did have issues at one moment, but it was just a faulty lens adapter chip messing with the camera. Not from my spanning code. Pretty certain it's safe.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 11:26:36 PM
Gave it a go with version 1.1.3 and could get continuous 24fps 10bit with full expansion of UHD 1:1(3840x1536). I needed sd_uhs enabled but had to get the old routine patching with the very long wait from sd_uhs branch. With my sd_uhs version it would create some File create error and then stop recording. I guess this module needs some testing to get automation working. On a side note I wish for continuation of the sd_uhs patching module. I never really liked the way I stripped and got it working reliably mostly for the eosm but not with other cams.

Compression errors were present when trying out higher frame rates like 48/50/60 fps modes. I guess these modes are too much for the sd card to handle.
Crop marks dir is missing and i also couldn´t get the mlv_lite.c and mlv_lite.h to work with my ongoing branch but I guess it could be done later on.

Great work Ilia3101.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 11:37:42 PM
Glad to see you testing it out :)

I just sorted out the semaphores (https://github.com/ilia3101/mlv_lite_spanning/commit/3f110176b170949d2668217a0e0e236664a07d4d), and it has added megabytes of performance, at least with the weird transcend card. Before I was using cli/sei which would block the processor for too long and cause the compression errors (I think).

I am recording a long test clip right now to see if any errors come up.


When do you think we can start figuring out how to put it back in to your bitbucket branch? How many changes have you made to mlv_lite since?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 11:44:56 PM
Only one slight change jan 18th:
Code: [Select]
     raw_set_preview_rect(skip_x, skip_y, res_x, res_y, 1);
     raw_force_aspect_ratio(0, 0); */
 
-    if (!get_halfshutter_pressed())
+    if (!get_halfshutter_pressed() || rec_trigger == 3)
     {
         autofocusing = 0;
         long_halfshutter_press = 0;

So it won´t be an issue. You could test compiling and working right into my latest branch. I won´t be messing with it for a while anyway ;).

You changed mlv_lite.c and mlv_lite.h but no other places? Modules needs to be turned on I see at least but I also had some warning about dryos. Didn´t have time to check it too hard.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 23, 2020, 11:48:19 PM
Nice. Just added that change to my mlv_lite.c, now it can easily be put back in to your branch whenever it is time.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 23, 2020, 11:51:10 PM
Great. I´ll check. I think I was in the eosm branch before so My last message was testing the wrong branch  :P
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 24, 2020, 12:01:21 AM
Ah ok. Undid the change for now.

Also updated the builds.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 24, 2020, 12:10:01 AM
ah, no, the change is ok, I meant another error so you can add it back.
Tested again and skipped messing with the sd_uhs module. 48/50/60fps working just fine and what was nice there were no compression errors at all. Could very well be related to sd_uhs.
Nice part with this is that practically all presets can be run in 14bit. Only missing the sd_uhs module for the UHD 1:1 before patching I think sd card will run around 20mb and after patching at least double so getting some usable sd_uhs patch working is something to look into.
Let´s keep your testing branch open for a while and keep on testing from it and when ready I can put it into my own branch.

Remember folks. BLEEDING EDGE! Be brave, and maybe rich too ;)

EDIT: Will test full 48fps 1920x1080p and see if spanning stuff makes this work...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 24, 2020, 12:18:37 AM
Redid the change :D

Yeah, let's leave testing open for a little while. @everyone please test SD/CF spanning! Download in this post (https://www.magiclantern.fm/forum/index.php?topic=23041.msg224571#msg224571)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 24, 2020, 02:34:48 PM
This is super exciting, i have some good cards that will try it out on this weekend.
UHD in 14bit 24fps with liveview working?? Sounds to good to be true ???
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 24, 2020, 05:34:14 PM
The only thing that has changed is write speed (if you enable card spanning), now instead of 100 it's more like 112 for me (I really want to hear other people's results, I feel like it should be 120). With sd_uhs we might even get a lot more ;)

Note: just remembered: in my build I removed core module auto loading array, so you'll have to load them yourself sorry :) @Danne feel free to make a slightly more official build, the mlv_lite.c/h on my github is the latest
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 24, 2020, 05:53:16 PM
I took your changes and also added sd_uhs patching into 5D3 into this branch:
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_presets_card_spanning

In time I´ll merge changes into the regular branch again. Feel free to grab code changes and compile/test new builds. Note that sd card I test with are sandisk extreme pro 95 or 170mb/s. Slower cards might behave fishy when patched.

When patched the first time it takes a few seconds for the changes to show. Once OFF turns to ON it´s patched.

Patch function enabled from with in Movie tab menu:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FV6tg3Jbs%2FVRAM0-PPM-scaled.png&hash=42ea362ae2acea7ebaf491c77201efb6)

Do remember:
BLEEDING EDGE! Briefly tested. I did not test to patch while only using CF-card so don´t know how it will behave if no sd-card is in the memory card slot...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 24, 2020, 09:45:07 PM
Holy fuck. My sandisk 45MB/s card just wrote at 48MB/s!

However the CF did slow down to ~75MB/s... whyy!!!! Is the camera's ram becoming a bottleneck?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2F441qtb8F%2FUHD.jpg&hash=007772d43734c3819fee3faad935005a)

^ That is UHD in 12 bit

Edit: yep, getting data corruption, need a really good card for this to work. At least 60MB/s
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: MAG on January 25, 2020, 01:32:47 PM
Would love to try this build to help the community !

I have 5DM3 with:
SDHS I Sandisk 95 MB/s
CF lexar 160 MB/s 1066x

But which build to use ?
And what is the settings to try ?
(I have read last 5 pages but I'm not enought in it to fully understand...)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 25, 2020, 01:55:42 PM
@ilia3101 Thank you for your hard work bringing this to 5D3! :)

I have tested both a build compiled from Danne's branch :
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_presets_card_spanning

and yours:
https://github.com/ilia3101/mlv_lite_spanning/releases/download/test-builds/magiclantern-Nightly.2020Jan23.5D3113.zip

Fastest card I have is Sandisk Extreme 90Mb/s U3.

On Danne's branch: I get almost instant stops in UHD 3850px with message: "Frame order error…Slot 10(?)…e13…expecting 19…" The message disappears very quickly so I can't read it all! A file has been saved to SD I notice: M25-1206.M00 – file is 50mbs but I can't open it in MLVApp.

**EDIT** I have just tried turning Spanning = On, but Overclocking = Off. It now records one file to CF and one to the SD, both with same timestamp but the SD one with the .00 suffix. Can't open .00 file in MLVApp or MLVFS.

On ilia's I get an error printed about: Missing crop-marks and also sd_uhs will not run on this camera. (I'm on 5D3 1.1.3)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 02:23:46 PM
Would love to try this build to help the community !

I have 5DM3 with:
SDHS I Sandisk 95 MB/s
CF lexar 160 MB/s 1066x

But which build to use ?
And what is the settings to try ?
(I have read last 5 pages but I'm not enought in it to fully understand...)
Wait for Ilia3101 to compile and share or learn how to compile. Seems you have the right card to use so should be ok.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 25, 2020, 02:47:19 PM
Updated:
https://github.com/ilia3101/mlv_lite_spanning/releases/download/test-builds/magiclantern-Nightly.2020Jan25.5D3113.zip
https://github.com/ilia3101/mlv_lite_spanning/releases/download/test-builds/magiclantern-Nightly.2020Jan25.5D3123.zip

@timbytheriver What should happen is that the main file (.MLV) will be recorded on the CF card, and .M00 will be on the SD, just move both of them to the same folder/card, then you will be able to open it with MLV App.

And there may also be .M01 .M02 etc from 4GB splitting.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 25, 2020, 02:56:56 PM
@ilia3101 Aha! Thank you.

Quote
just move both of them to the same folder/card, then you will be able to open it with MLV App.

I see this to be true now. :)

I will try your updated builds and report back.

Thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 03:13:44 PM
@ilia3101
Works good over here. Is frame order "issue" due to spanning just recording frames differently? Seems indexing fine though so maybe we should exclude the check when spanning is on?
Next I want to increase anamorphic resolutions when spanning is enabled vs defaults now without spanning on.

Also noticed a previewing issue when recorded longer takes, 3 or more mlv chunks. Will print exct message when back home.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 25, 2020, 03:27:14 PM
I am almost certain the frame order issue is just due to the nature of spanning. Makes each file look like it has loads of skipped frames.

So yeah I think we should disable this check when spanning is used.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 03:31:25 PM
Makes each file look like it has loads of skipped frames.
Ah, makes sense.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 25, 2020, 03:33:01 PM
@ilia3101 With your newly posted build I get:

Card spanning + SD overclocking = on, I get msg: File Create Error. Stops recording immediately.

SD overclocking = off, Card spanning = on, I get Frame order… issue (Think you have discussed this?) and stops after 8 secs or so.

Upon restart had msg twice: Camera not shutdown properly. Skipping module loading.

Cards: CF Sandisk Extreme Ultra Pro 160mb/s (Been using for 3K fine for a year) + SD Sandisk Extreme 90mb/s. (Also been fine for ML core files).

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 03:46:58 PM
speaking of cards, i want to join in the party but i don't have any decent sd cards.  the local retailer here only has this in stock:

SanDisk 64G Extreme SDXC UHS-1 Memory Card - 150MB/s, C10, U3, V30, 4K UHD, SD Card - SDSDXV6-064G-CWCIN

opinions?  will it overclock?

my other option is amazon, but then the wait for shipping begins ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 03:51:29 PM
Only tested realible sd_uhs patching with sandisk extreme pro 95mb and 170mb card. Most other cards either failed or even slowed down speed performance.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 03:55:41 PM
adding the "pro" to my stock availability search drops the results to zero :(
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 25, 2020, 04:02:42 PM
@timbytheriver

Hmm, strange. I didn't get to try out sd_uhs with a proper card so I can't tell what's going on. I will upload a build where the sd_uhs module does not auto load, maybe that will improve things for you.

And those "Camera not shutdown properly" happened only with sd_uhs for me.

However I did get much improved record times even without sd_uhs.

@70MM13 still valuable if you try it out without sd overclocking.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 04:13:41 PM
i'll try it with my ancient sandisk 30mb/s card while i wait for amazon shipping :)

any improvement is a good thing, right? :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 04:30:53 PM
I will upload a build where the sd_uhs module does not auto load, maybe"

However I did get much improved record times even without sd_uhs.
Patch itself is not autoenabled. Problem is due to card itself. Don't patch and problem goes away. Reluctant to answer some users who neglect to share info in other posts but I don't want Ilia3101 to waste his time.
I get increased recording times when patching. I'd say around 125mb/s.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 25, 2020, 04:41:29 PM
Oh yeah it doesn't automatically do the patch. And I forgot to post the build, not home now sorry. If you still want to try disabling sd_uhs tim you can just remove it from the card, though it shouldn't be the source of the problem.

Also if you get file creation error it could be because the card was inserted badly (I had that once), but I can't help any further with sd_uhs for now.

@Danne I also hit 124MB/s with sd_uhs and a 45MB card, still need to check if the file can be read, the camera couldn't play it (it was a 3 minute UHD)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 04:46:37 PM
Yeah, good for you the patch works on a 45mb card. I don't think you can reach higher speed with a faster card.
I also had preview issues but file itself works in mlv app.
The file creation error is explained in mlv_lite code. I can recreate it with older sd_uhs patch code. The issue isn't triggered with latest build.
@70mm13
Try patch on your 30mb card. Maybe it works.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 05:40:26 PM
i'm trying it on a few sd cards i have here, (all slow but a couple are brand new) and no matter what i do i don't get any files to show up on the sd card.  i tried toggling through all of the canon menu card recording options, but it makes no difference.  any suggestions?  obviously i must be missing some crucial and obvious (but not to me) step!

while i await any suggestions i will try another test without a CF card, especially just to try the patching!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 05:51:00 PM
Don´t know what builds you are testing but you need to enable card spanning in RAW video menu.
Patching will only work with my latest code.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 06:04:14 PM
i'm using the latest one ilia posted, and yes, i did miss the obvious "card spanning" in the raw video menu!  :P

meanwhile here's my sd-only overclock test results:

both new kingston cards (crappy cheap cards only intended to load ML and capture stills) said "card full" even though they were empty, and my ancient sandisk "ultra" 30mb/s worked, although i didn't see any real improvement, only a few extra frames recorded but that's within margin of error...

EDIT: PS: what formatting block size settings are you guys using on the sd cards?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 25, 2020, 06:06:07 PM
Yeah, sd_uhs will not work with those builds. Have to wait for new uploads.

Preview issue comes from mlv_play. Could reproduce with longer takes, three chunks:
From mlv_play.c
Code: [Select]
                    /* no, its another chunk */
                    if(main_header.fileGuid != file_hdr.fileGuid)
                    {
                        bmp_printf(FONT_MED, 30, 190, "Error: GUID within the file chunks mismatch!");
                        beep();
                        msleep(2000);
                        return;
                    }
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 25, 2020, 06:10:42 PM
no worries, i'll wait patiently :)

any suggestions for optimal sd card format block size?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 25, 2020, 07:34:05 PM
Ah I figured out why the fileguid is different, I will fix it this evening.

Update: fixed (https://github.com/ilia3101/mlv_lite_spanning/commit/3c88cb06c238c2f129a4d700705bbdac2e5aaf3b)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 26, 2020, 08:01:19 AM
Cool. Works nicely with mlv_play and previewing longer takes is not longer an issue. I included the fix and also excluded frame order text when card spanning is set to on also in this branch:
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_presets_card_spanning
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 26, 2020, 08:53:05 AM
Getting some errors around mlv_play. Locks camera:
[104]compress_task: stack overflow: free=0 used=4096

I record 14bit lossless anamorphic mode. Deleting and then previewing the next file got me the above text. card_spanning on but sd overclock is set to OFF.
Seems also happening with 10bit selected. Maybe my sd card is corrupted.

Formatted sd card in camera and all seems working again. I guess sd_uhs related. Hard to say. My sd card have been doing all kinds of tests lately  :P
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on January 26, 2020, 10:42:00 AM
compress_task does not touch mlv play, it is only for compressing frames while recording. No idea why it would have a problem, I did not touch it's code or do anything that should affect it.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 26, 2020, 11:57:28 AM
Probably sd_uhs patch related. Card chokes causing issues. After formatting all works again.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 26, 2020, 02:25:35 PM
Have new card now: Sandisk Extreme Pro SDXC UHS-I 64gb (170MB/s read, 90MB/s write)

Compiled latest updates. Card-spanning and SD overclocking working well now:

I can get 1min+ 3600 x 1532 / 24fps / 2.35:1, continuous at 3072p. 1080p 14bit on SD card alone – continuous! :)

Many thanks @ilia3101, @Danne.


Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 26, 2020, 02:31:20 PM
Have new card now: Sandisk Extreme Pro SDXC UHS-I 64gb (170MB/s read, 90MB/s write)

Compiled latest updates. Card-spanning and SD overclocking working well now:

I can get 1min+ 3600 x 1532 / 24fps / 2.35:1, continuous at 3072p. 1080p 14bit on SD card alone – continuous! :)

Many thanks @ilia3101, @Danne.

Wow, great work, need to try this when i get back home. Is the liveview working as normal in this cases?? :o
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 26, 2020, 03:16:19 PM
@Stousen Yes!

In 1080p = Real Time.
In Crop modes = Framing.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on January 30, 2020, 01:46:46 PM
my new sandisk extreme pro 170 card arrived the other day, and i have put it through its paces...

formatted with 4mb blocks for my first test.

like tim, the sd card alone does 1920x818 continuous!
3072x1308 also continuous!
3620<> x1536 5 minutes (x resolution at maximum for true 2.35:1 - is there a way to push y above 1536?)

all 14 bits lossless, with lots of brightness and motion.

i've been putting off my next music video until i could shoot 3k+ continuous (it's a performance) and now i can do it!  thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: timbytheriver on January 30, 2020, 02:51:13 PM
A postscript to @70MM13's post: For Mac users!!

I tried to format a custom 4Mb block size in exFAT using the terminal like this:

Code: [Select]
sudo newfs_exfat -b 4194304 -v NameThePartition /dev/disk3s3
It appeared to have done so, but I couldn't get it to mount under any circumstances. The card will work in the camera – but you will be unable to mount it to retrieve your files.

The closest I could get to a larger custom block size was 1Mb (1048576) (These numbers have to be powers of 2 apparently.) This will mount, but it caused problems in the camera and I started to get only about 15sec @ 3072p with or without card spanning/sd overclock on or off.

Not sure if it was related but I then kept getting card errors: 'Card1 cannot be accessed' after formatting custom block sizes from the Terminal. Reflashed the Firmware, finally erased formatted to exFAT from disk utility with the default [tiny] block size of 32768 (0.03Mb).

All appears to be ok again now. But bottom line may be that Mac really doesn't play well with exFAT/exFAT custom block sizes. I wish I'd left well alone!  :(

PS If you format the cards in-camera I noticed (both my SD and CF cards being 64Gb) that the SD card gets exFAT, while the CF gets FAT32. Just noting…
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 30, 2020, 07:06:36 PM
@Stousen Yes!

In 1080p = Real Time.
In Crop modes = Framing.

I managed to get it to work, i get avout 110-115 in w/speed!
Tho my live view doesnt work while recording in crop 3k? :(
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 30, 2020, 08:29:26 PM
I managed to get it to work, i get avout 110-115 in w/speed!
Tho my live view doesnt work while recording in crop 3k? :(
It's hard to see what you expect or even if there is a problem involved. To minimize communication mishaps you need to be specific with settings used, preferrably with screenshots or a screenrecording. Use contextual terminology instead of making up new words etc.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 30, 2020, 09:16:40 PM
It's hard to see what you expect or even if there is a problem involved. To minimize communication mishaps you need to be specific with settings used, preferrably with screenshots or a screenrecording. Use contextual terminology instead of making up new words etc.

LoL, i hear ya. Will try not to do a Hegel and be swift but clear.  :-*

Card spanning: on
1/1 3k crop
14 bit lossless
2.35:1
Required 110 write speed

Live view: framing
Kill global draw: no, also tried yes
Sd uhs hack : on


Live view before recording: framing
Live view after pushing rec: framing
Live view some seconds after pushing rec: pink screen but still recording

70 ish write speed CF - 40-50 ish write speed on SD.
Tho thought the liveview would function better if the cardspanning actually increased the bandwith? Or am i out biking on a road with no light?

Cheers
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on January 30, 2020, 09:41:10 PM
You need a better bike  8)
Previewing capabilities will not change with different cards. Framing...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Stousen on January 30, 2020, 09:46:20 PM
You need a better bike  8)
Previewing capabilities will not change with different cards. Framing...

Aye, thanks for the enlightenment :D :D ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on January 31, 2020, 09:24:03 PM
Fantastic build crop_rec_4k_mlv_snd_isogain_1x3_presets_card_spanning_2020Jan25.5D3113!!! I've got (1920X3)X2332- 2.39:1 continuous 24fps, 14bit lossless, Dual ISO at anamorphic Presets. Is it possible to add settings for 1920 -2,35:1?
I've tried Dmytro_ua's Fast video presets, updated for Danne's build 16th of Jan -  https://drive.google.com/open?id=18-Wo0yNVBCVwfjyTlB7O7UK5bMPUtsCd, but there is no this lua in Scripts menu. ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on January 31, 2020, 10:06:03 PM
I've tried Dmytro_ua's Fast video presets, updated for Danne's build 16th of Jan -  https://drive.google.com/open?id=18-Wo0yNVBCVwfjyTlB7O7UK5bMPUtsCd, but there is no this lua in Scripts menu. ?

Those presets are actually easy to update to your needs with a simple text editor on your computer. I've shared them like an example to everyone who needs smth special for themselves. I'm sure there is no universal set of presets suited for everyone. So you can edit any of them to your needs. And delete others which you don't need. Actually it's not hard at all.

Sorry, didn't understand at first what you are asking for. As I mentioned before, I'll try to update them as soon as I have time to test everything in a proper way.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 01, 2020, 09:16:20 AM
It seems to me that menus structures in builds of 16th Jan and 25th Jan are the same. My lua script works fine in 16th Jan build, but there is no this lua in Scripts menu in 25th Jan build. All builds are Danne's build.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 01, 2020, 09:37:25 AM
It seems to me that menus structures in builds of 16th Jan and 25th Jan are the same. My lua script works fine in 16th Jan build, but there is no this lua in Scripts menu in 25th Jan build. All builds are Danne's build.
Post screenshots or try describe more in detail what you arw missing. I use lua all the time and it´s still included as a module but who knows what you´re asking here. Maybe try and do a screenrecording?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 01, 2020, 10:56:52 AM
New versions:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Added card spanning implemented by ilia3101 and also sd_uhs overclocking

Faster sd card(sandisk seems to work better overclocking). Patch only works on sd card.

Only briefly tested so tests and reports are welcome especially now at early stages. Bleeding edge folks. I trust card spanning more than I trust the sd_uhs hack. When patching works it works really well, but otherwise it could give give surprises like corrupted files, no header etc, or maybe even affect the sd card permanently. Well, other than that. Happy testing :)

And thanks ilia3101 and a1ex for the card spanning feature(formerly implemented in mlv_rec by g3gg0).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 01, 2020, 11:32:12 AM
Post screenshots or try describe more in detail what you arw missing.
When I open "Scripts" menu in ML build 16 Jan I see my lua and can run it. But when I open "Scripts" menu in ML build 25 Jan, I can not see the same lua in menu.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 01, 2020, 12:26:27 PM
Post the scripts. More info needed if you compare. Try shorten the name of the script that is showing in menu.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on February 01, 2020, 01:04:27 PM
Wonderfull work Danne & ilia3101 and a1ex !

I'll try it asap !
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 01, 2020, 03:17:54 PM
Try shorten the name of the script that is showing in menu.
Yes! Thank you. If SD card FAT32 formated - no problem with long file name. If exFAT only 8 length works.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on February 04, 2020, 12:29:32 PM
No Problem with shooting so far. I'll try recording this evening.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 10, 2020, 08:36:10 PM
I can't make screenshot on build crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Feb01.5D3113. Debug\Screenshot-10s, SET, Shutter butt. - half-press. There is a display with ML top and bottom bars. Global Draw - LiveView. There is no new VRAMx.PPM file. Is it OK?
By the way in crop mode there is no "Focus distance info" in low bar, because there is no room for it. How to reduce crop made info in low bar or even delete it? Also WB info is useless for me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 10, 2020, 10:47:01 PM
Worked last time I tried. Could someone else test the screenshot function?
Code is out there. If you want to modify screen text you can check in lens.c for instance.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 11, 2020, 06:42:04 AM
Worked last time I tried.
It works for me only for ML menu.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 11, 2020, 07:20:51 AM
Turn off RAW video while doing screenshots. I did some automation to temporarily disable RAW video when using screenshot function but maybe it fails under certain conditions. If you could present clear cases reproducing the issue I could take a look. Screenrecording would do.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 11, 2020, 07:55:19 AM
Thank you. Will try this evening.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 11, 2020, 02:20:28 PM
I am trying pull request your branch with command :hg clone https://bitbucket.org/hudson/magic-lantern && cd magic-lantern && hg update crop_rec_4k_mlv_snd_isogain_1x3_presets && cd , but got an error:"abort: unknown revision 'crop_rec_4k_mlv_snd_isogain_1x3_presets'" I am on cygwin (Win10) What is the problem?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 11, 2020, 04:57:51 PM
Ask google.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on February 11, 2020, 05:55:33 PM
Turn off RAW video while doing screenshots. I did some automation to temporarily disable RAW video when using screenshot function but maybe it fails under certain conditions.
Yes, it works. Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 12, 2020, 02:36:28 PM
How does the bit depth option work in crop_rec? I am really concerned about the black level staying the same as it is at 14 bit. I switch to 12 bit, black level is still at 2047. Is it just cutting the top 3/4 of values off?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 12, 2020, 05:56:03 PM
Is it just cutting the top 3/4 of values off?
Values of what?
The workaround is very simple. There are analog gain registry that when lowered gives reduced bitdepth. Only white level needs adjusting. Maybe a bad thing but it works so I just kept working with that.
You could test and compare 12bit in crop rec vs raw video.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 12, 2020, 06:56:35 PM
Ah I see, so it is gain. You are putting a 12 bit range in a 14 bit container (still getting more efficient compession). Not cutting anything off then (GOOD!).

Analog - this explains why black level stays the same. I wonder what the effects on noise are, I seem to get stronger than usual stripes in the shadows, that don't go away with stripe fix.

ProTip: You could do this gain by only 0.1 stops and call it increased dynamic range ;) ;) ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 12, 2020, 07:00:12 PM
I really want to add real 12 bit to the UHD preset.

Wish I knew how😭 @Danne didn't you mention there's comments somewhere about reducing bitdepth??
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 12, 2020, 07:24:04 PM
I don't think it's less real. Quality wise probably the same. What's your issue by the way?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 12, 2020, 07:31:12 PM
I have no issue, but:

The black-white range with your gain adjusted 12 bit seems to be approximately 2047-5600 (max 16383)

With real 12 bit it will probably be 512-3800 (max 4095)

So it is effectively 12 bit.

But I suspect the compression algorithm can be slightly more efficient in true 12 bit mode.

I just got an excessive amount of stripes recently shooting in crop_rec 12 bit, which got me wondering about this.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 12, 2020, 07:45:29 PM
A1ex explained from time to time about bitdepth routines. I can't find the posts right now. I don't think those stripes are related to bitdepth in crop rec but who knows.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 12, 2020, 07:55:36 PM
Ok thank you. I wasn't saying I was certain that the stripes are caused by it. Probably not. The 5D3 is really quite stripy.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on February 16, 2020, 02:59:34 PM
Can i go a bit off topic here ?
I hvae bought a KB 128Gb from amazon
I have used it twice and yesterday its simply died.
I want to buy a new card, but KB feesls like out of the question with this type of quilty.
So, is there anything else to use on a 5d3 with more or less the same speeds but more reliability ?
 Used cases are danna builds 3.5k raw o  a 5d3

Thanks

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 16, 2020, 04:10:09 PM
How did it die?
I use transcend. Never failed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on February 16, 2020, 09:21:23 PM
I use Lexar. Maybe it's not a top speed but a solid proof for many years
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on February 18, 2020, 12:33:27 PM
Thanks

How did it die?
I use transcend. Never failed.

Pressing record and its gone, will not recognize by any system

Can you tell me which type and does it do 3.5k with danne build ?

I use Lexar. Maybe it's not a top speed but a solid proof for many years

Same .. you are saying that its not top speed, but does it work with danne build 3.5k raw on 5d3 ?

Sent from my SM-N975F using Tapatalk
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on February 18, 2020, 01:16:21 PM
If going Lexar 1066x: Take care, there are 2 versions: https://www.magiclantern.fm/forum/index.php?topic=24461.msg220607#msg220607

My KB card went dead some years ago and got replaced. No problems since. Same with my 2 Transcends.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Boobie on February 19, 2020, 10:05:13 AM
Dear Danne,

Is it possible to record 12/14 bit 2656x1484 (16/9)?
Or is 1308 height a hardware limitation for continuous recording 12/14 bit?

The 3072x1308 (2.35:1) mode is not useful to me as I rarely use 2.35:1 and make 99% of stuff in 16/9, so I will have to crop 3072 down to 2326 and lose 33% of the recorded pixels.

I don't have a 5D3, but I might buy one if 16/9 is working with >=4 megapixels Raw.

3072*1308=4,018,176
2688*1512=4,064,256
2656*1484=3,941,504 so it maybe possible

What is the highest resolution that 16/9 can be recorded continuously for 12/14 bit?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on February 19, 2020, 10:19:43 AM
Impatient to try this vey exciting card spanning feature, I borrowed the 5D3 and tested the latest February 01. build using the following two cards:

1) Transcend SDHC 32 GB 300x, (write speed: 40 MB/s, USB 3.0 card reader test)
2) Sandisk Extreme Pro 64 GB 160 MB/s, (write speed: 114 MB/s, USB 3.0 card reader test)

I.  With Card spanning ON, SD overclock OFF spanning works fine, in-camera preview too.  The 00-files get nicely recorded on the SD card and merging with the main files on the CF card goes flawlessly.  Just dump the contents of both cards in one directory and you are ready to go.  MLVApp processing works fine too.   I get continuous recording at 3072x1728 10-bit lossless resolution and 24 fps with about 1,5 stops underexposure at these settings.  With the same settings but without spanning, I get continuous recording only at 17 fps.  So, card spanning makes perfect sense and is extremely useful.

Important:
=======

To get maximum recording times, warming up cards is necessary.  With the above settings and both cards cold, I get a maximum of 200 frames recorded.  Immediately after that, I get 1000-2300 and even more frames recorded.  I guess, it's the SD card that needs warming up because, without spanning, CF card warming is not necessary.

II. With Card spanning ON and SD overclock ON, recording does not work.  Upon pressing the record button, I get three beeps along with the message "Recording stopped automatically", then recording stops and nothing gets recorded. 

------------------------------------------

Unfortunately, I had to pay a price for my impatience.  My beloved SD card died in these experiments.  Here is how this happened:

III.  I decided to check the SD-overclocking feature alone.  I removed the CF card and left only the SD card with ML on it in the camera. Then I activated SD-overclocking, waited until it is patched, (status ON) and pushed recording.  Recording did not work, I got the error message.  Then I decided to format the SD card in the camera without turning SD-overclocking off.  Formatting failed and I was prompted to replace the card.  That was it.  All further attempts to fix the card through formatting in the camera and PC via card reader failed.  The card is dead.  Not a big loss but still ...  After that, I did not try other SD cards.

----------------------------------

Excellent work Ilia3103, Danne and everyone else involved.  12-bit UHD RAW-video recording at 24 fps is a real break through for the good old 5D3 !
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 19, 2020, 10:44:28 AM
What is the highest resolution that 16/9 can be recorded continuously for 12/14 bit?

There is a 3K preset that does 3072x1920, so you can record 16:9 in 3072x1728 (it's continuous I think)

@IDA_ML thanks for the great confirmation that it's working! Getting quite certain it's reliable now.

Unfortunately, I had to pay a price for my impatience.  My beloved SD card died in these experiments.  Here is how this happened:

III.  I decided to check the SD-overclocking feature alone.  I removed the CF card and left only the SD card with ML on it in the camera. Then I activated SD-overclocking, waited until it is patched, (status ON) and pushed recording.  Recording did not work, I got the error message.  Then I decided to format the SD card in the camera without turning SD-overclocking off.  Formatting failed and I was prompted to replace the card.  That was it.  All further attempts to fix the card through formatting in the camera and PC via card reader failed.  The card is dead.  Not a big loss but still ...  After that, I did not try other SD cards.

Sad about your card. Sometimes it's hard to tell if a card is dead or the file system is really messed up. Sometimes mkfs.vfat can fix things like that.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 19, 2020, 11:21:03 AM
New builds
Usual links

- Removed sd_uhs module. Too fishy. Not worth it. If anyone wants to test it check commit to compile it again:
https://bitbucket.org/Dannephoto/magic-lantern/commits/a61ec50df0059d3ecd7e2356d4e0b8ad9157d37d

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Boobie on February 19, 2020, 11:57:12 AM
There is a 3K preset that does 3072x1920, so you can record 16:9 in 3072x1728 (it's continuous I think)

Can anyone please test this and confirm that it works continuously with 12/14 bit?

3072*1920 is considerably higher resolution at 5.9 megapixels, I'm surprised to hear the camera can support it with Raw.

If 3072x1920 is truly possible for 12/14 bit with 5.9 MP -- could 3264x1836 be supported?
That would be even better, pushing the max for 16/9.

3072*1920=5,898,240
3264*1836=5,992,704
3232*1818=5,875,776
3200*1800=5,760,000

Could it be possible to add 3264x1836 or 3232x1818 and/or 3200x1800 modes?
If 5.9 megapixels is the true limit, 3.2K would be the best possible 16/9 Raw output for this camera.
3200x1800 also has a nice upscale ratio as it's a perfect 6/5ths upscale to 4K.

I think it's important to add a preset supporting the maximum stable 16/9 resolution for Raw, as that's one of the most basic functionalities to get right before other unique aspect ratios.
A 3.2K 16/9 preset supporting 12/14 bit would be fabulous.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 19, 2020, 12:23:31 PM
@Boobie Just tested 12 bit 3072x1728 - it's continuous with card spanning, but just on the edge. If your shot suddenly becomes overexposed, recording indicator goes orange and it will be at risk of stopping.

Quote
If 3072x1920 is truly possible for 12/14 bit with 5.9 MP -- could 3264x1836 be supported?
That would be even better, pushing the max for 16/9.

3072*1920=5,898,240
3264*1836=5,992,704
3232*1818=5,875,776
3200*1800=5,760,000

I've thought about that before, but have no idea how to implement it. It may be possible, but it's just as likely not - control of the sensor isn't very exact and there's always unpredicatble black areas coming out, they may be bigger or smaller depending on how it's configured. (at least from what I've heard from reddeercity with the 5D2, maybe its not like this on the 5D3)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Boobie on February 19, 2020, 12:52:37 PM
@Boobie Just tested 12 bit 3072x1728 - it's continuous with card spanning, but just on the edge. If your shot suddenly becomes overexposed, recording indicator goes orange and it will be at risk of stopping.

Thank you very much for testing. Did you record at 24p or 30p?

I'm uncertain if MLRAW is RGB 36 bits or RGGB 48 bits pre-compression, would love to learn more.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on February 19, 2020, 12:58:45 PM
I'm uncertain if MLRAW is RGB 36 bits or RGGB 48 bits pre-compression, would love to learn more.
MLRAW is 10/12/14 bit. RAW is B/W (one channel). Color comes with debayering.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Boobie on February 19, 2020, 01:00:24 PM
MLRAW is 10/12/14 bit. RAW is B/W (one channel). Color comes with debayering.

I understand, I'm saying 12+12+12 versus 12+12+12+12.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 19, 2020, 01:05:16 PM
I shot 24p (23.976fps)

The raw without being compressed is not RGB, it's black and white (Bayer pattern), each pixel has only one channel, red/green/blue (nothing bad all raw cams are like that)

And it's tightly packed 12/14/10 bit, no 16 bits anywhere. Uncompressed bitrate in MB/s is (width*height*bitdepth*fps)/(8*1024*1024)

For example (3200*1736*12bit*23.976fps)/(8*1024*1024) = 190.5 MB/s

+ compression makes that smaller by ~40%
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on February 19, 2020, 03:09:41 PM
hey everyone,
i'm a fan of the sd overclock!  don't drop it, it's worth keeping!  i used it to shoot my new candlelight music video continuously at 3072*1308 (4 minutes continuous!) i've also used it on the sd card alone for 1920 continuous with no cf card in the camera - all 14 bit :)

here's a few observations from my experiences with it...

it only works for me on the new sandisk extreme pro card i purchased for using it.  none of my other cards work with it.

it only works reliably for me if the camera is started with overclock DISABLED.  enable it after startup, and then use it.  disable it again before shutdown.

i suggest for the time being to make it disabled at startup by default.  the loss of a few seconds to enable it is far better than potentially unreliable operation...

it's a real drag that formatting the card with it enabled could fry the card.  that's valuable information!

one other thing to mention:  the camera definitely heats up when pushing it this hard.  we should really be paying close attention to this.  i shut down and let it cool down after a few takes when the temperature gets scary!  these temps could have consequences, so everyone should be aware and careful!

thanks for the great work, everyone!

check out my candlelight video to see it in action :)  i'll eventually post a 4k version when av1 finally gets adopted.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 19, 2020, 03:34:24 PM
Sorry. It´s disabled. As mentioned. Follow my commit to compile the module locally. Might look into fixing it in the future.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on February 19, 2020, 04:04:46 PM
Removed sd_uhs module. Too fishy. Not worth it.

Not only is it worth it!  SD-overclocking is the key to the success of this entire card spanning project!  The enormous extended functionality of the EOS-M and the 100D would have been impossible without SD-overclocking.  These 10-13 MB/s on top of the 40 MB/s factory write speed were the key to the success of these two cameras.  Same for the 5D3 too.  Very little more write speed is needed to achieve continuous recording at key modes such as the anamorphic 3840x2160/12bit lossless/24 fps or the 3072x1728/12bit lossless/24 fps or 1920x1080/48 fps without the need to reduce frame rate or lower exposure.  I wish, I hadn't mentioned my damaged SD card at all. I just wanted to warn people not to repeat my mistake.  A damaged card should not be a reason to stop the development on this issue of crucial importance!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 19, 2020, 04:45:45 PM
So... good opportunity to bring back the module screen 😉
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 19, 2020, 04:48:49 PM
Opportunity for others to get to learn code/compiling basics...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on February 19, 2020, 05:30:55 PM
I woukd like to add
If you remember in the begging of the week
I told you my card die
It was a cf card
And after  a few tests o wanted to format the card to record my actuall takes
So i format it and %×@@#@ a big explotion happend
No just kidding, no explotion just a died card

Could it be a good tip to not format the card?

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on February 19, 2020, 06:26:32 PM
Getting quite certain it's reliable now.

Ilia3101,

Indeed it is very reliable.  I shot tons of footage with card spanning ON, (SD-overclocking OFF), over the weekend and never had a glitch.  Moreover, it is very user friendly too.  You activate card spanning just once and forget about it.  In the end of the shooting day, you just dump the content of both cards in the same directory and forget about merging too.  MLVApp just does the rest and never complains.  Safe and reliable SD-card overclocking, as in the 100D and EOS-M, is the only thing needed to make card spanning perfect.  If that is not worth it, I don't know what is.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on February 19, 2020, 08:41:14 PM
I would like to try and correct my bad english.

I lost (died) a card (CF KB128GB) this weekend due to a format (usnig canon manu)  when the card was full.
After format the card it became un accessable from any system.

Was testing a scene, recorded few sampales
And for unknown resone I got a massage saying card full
I didnt gave it much thinking and went strait to format it from canon manu.

Maybe formating the card right after recording is a bad move ?
And a shutting off the camer and let is rest before  would lead diffrent results

Sent from my SM-N975F using Tapatalk
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 20, 2020, 06:18:48 PM
Bug report: when recording uncompressed 12/10 bit, the white level metadata is always set to 16200 (that value is only suitable for 14 bit)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on February 20, 2020, 07:19:15 PM
Good news guys!  This morning I decided to test some spanned card footage with MLVFS to use it with DaVinci Resolve directly.  And it works absolutely fine.  I tested anamorphic 1920x2332 and 3k 1:1 3072x1728 at 24 fps and 10, 12 and 14 bits lossless and Resolve crunches it like cereal for breakfast.  Average export times of the processed video on an i7 laptop with a 4 GB of RAM GPU are 7,5 to 9 fps with Davinci Resolve Lite 16 using the MPEG4 export format at the original resolution.  This card spanning functionality is a real break through for the 5D3!    Thanks so much, everyone involved!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 20, 2020, 07:57:21 PM
Bug report: when recording uncompressed 12/10 bit, the white level metadata is always set to 16200 (that value is only suitable for 14 bit)
That is a problem also with official experimental builds?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 20, 2020, 08:35:42 PM
I don't know. But it's caused by line 3081 in mlv_lite.c - just comment it out and everything is fixed - it makes the wrong assumption that if crop_rec bitdepth is not set, that the image must be 14 bit:

Code: [Select]
    if (!bitdepth) raw_hdr.raw_info.white_level = 16200
https://github.com/ilia3101/mlv_lite_spanning/commit/033c0d4801043b0d2e31ae101854fabbd40616f9


@IDA_ML Great!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 20, 2020, 08:46:12 PM
So you record uncompressed 12 or 10 bit plus adding reduced bitdepth in crop rec?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 20, 2020, 09:03:46 PM
No, just uncompressed 12/10 bit set from mlv_lite.c - without setting bitdepth in crop_rec (set to OFF).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on February 20, 2020, 09:22:35 PM
I see. Will check it. Never used uncompressed since lossless came into the picture.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on February 20, 2020, 09:33:34 PM
I never use it either. I was just generating some files to test LibMLV.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on February 21, 2020, 11:04:35 AM
Is there any SD vs CF size proportion recommended? For example, if I have 128Gb Lexar CF what size SD card should I buy? I assume there is no any reason to buy 128 SD card?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on February 21, 2020, 02:06:13 PM
you should be fine with a 64gb sd card, but there's nothing wrong with having extra capacity!

the 170mb/s sandisk extreme pro is almost cheap on amazon...  it works beautifully for me!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: MAG on February 27, 2020, 06:32:33 PM
I have tried this version : crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Feb01.5D3113

The mlv files can't be open in any software (Photoshop, Ae, MLVFS, MLV to CDNG on the fly). Only MLVproducer were able to do but it gave me a glitch pink image almost like snow black and white tv...

To record I have tried almost every option in the presets...

Do somebody know this problem ? Do I do something wrong ?

Thanks (:
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on February 27, 2020, 06:42:25 PM
Do somebody know this problem ? Do I do something wrong ?

No problem at all!  Just try MLVApp.  It opens MLV files from your camera directly. 
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on February 27, 2020, 06:42:32 PM
I have tried this version : crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Feb01.5D3113

The mlv files can't be open in any software (Photoshop, Ae, MLVFS, MLV to CDNG on the fly). Only MLVproducer

Did you try MLVApp?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: MAG on February 28, 2020, 09:55:14 AM
Wonderful Thanks a lot MLVapp work so well !
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on March 05, 2020, 09:51:12 PM
Seems that there is no true 12/10 bit compressed recording? It's all gain based?

I recorded in "12 bit lossless" data format, and white level was at 6000 or something. Not below 4096 like I expected. And black was 2047 just like 14 bit (would be 512 in true 12 bit)

So there is no difference between using crop_rec bitdepth and mlv_lite data fromat lossless options?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on March 05, 2020, 09:59:29 PM
Seems that there is no true 12/10 bit compressed recording? It's all gain based?

I recorded in "12 bit lossless" data format, and white level was at 6000 or something. Not below 4096 like I expected. And black was 2047 just like 14 bit (would be 512 in true 12 bit)

So there is no difference between using crop_rec bitdepth and mlv_lite data fromat lossless options?
Told you already ;)
But what is true 10/12-bit according to you?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Larouso on April 10, 2020, 07:17:35 PM
came over from the EOS M and Dannes builds... love those - but now completely blown away by what the 5D3 is capable with this build! Just awesome.

One thing that I stumbled over today was the following behavior: when switching on the camera or going from still mode in movie mode, while having one of the presets "1920 1:1" or "mv1080p_mv720p" active then at first i just get a black screen. If i half push the shutter button to go in zoom mode, liveview appears and stays... behavior is from then on perfectly normal. Same if hit menu button (ore.g.  also trash button) and come back. It`s not happening if the cam goes in standby, and mirror flips back when waking it up again. I can`t remember having this behavior the days before... Is this a known thing?  Only difference I can think of, of doing today is changing frame-rates in canon menu for 60 fps recording. But of course I went back afterwards to 1920/25/All-I.

Already set back everything and did a completely new installation of ML. I am using "crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Feb19.5D3113"
Thanks for any reply if the fault is on my side - if not, maybe a hint for an open ML issue.

Best, Larouso
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on April 11, 2020, 11:28:32 AM
I didn't have time to look into quirks too much changing from movie to photo mode.
As you say. 60 fps could cause some issues as well as waking cam from sleep mode. Hopefully it will be useful with some workaround as I pretty much have no time to dig into the code atm.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on April 11, 2020, 01:16:00 PM
Told you already ;)
But what is true 10/12-bit according to you?

Sorry, was going to answer but forgot.

I meant "true 10/12 bit" as in: read from sensor the same way as usual (14 bit), but converted down to 12/10 bit in digital space (bits cut off)

Also "true" 12/10 bit would be within 0-4095 or 0-1023, currently it's 2048-~6000 for 12 bit ;)

It works fine though, compression is improved.

Only problem is how the MLV App stripe algorithm sees it as 14 bit, so it can't find any "highlights" to measure stripes.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Larouso on April 11, 2020, 08:22:54 PM
Hopefully it will be useful with some workaround as I pretty much have no time to dig into the code atm.

yes of course - like mentioned, the workaround is easy and fast - just wanted to mention it... since the build looks besides that pretty damn perfect :)
Happy easter days for all of you!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on April 14, 2020, 10:11:16 AM
Hello, I would like to know if you have to install the ML firmware on the 2 sd and cf cards at the same time, to record with both simultaneously, how the expansion sd works and what limitations this type of recording has on 5d3 in short.
Thank you very much.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on April 14, 2020, 06:16:30 PM
Hello, I would like to know if you have to install the ML firmware on the 2 sd and cf cards at the same time, to record with both simultaneously

No, you only need to install it on one of the cards.

how the expansion sd works and what limitations this type of recording has on 5d3 in short.

It works by writing files to both cards at the same time (.MLV on CF card, .M00 on SD card), you must put files from both cards in the same folder before you can process them as videos. No limitations anywhere, only increased speed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmitriy84759 on April 27, 2020, 08:06:17 PM
Sorry guys! I'v just read whole "crop_rec on steroids" topic from first message to last and now see that there is another topic about same theme. My mind already blowing so please could you tell me in short what advantages in this another crop module (with compare of last experimental one from july 22) at this moment? I use 5dm3 1.2.3
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jzzzyang on April 28, 2020, 01:47:34 PM
Great work,Danne!
Solved so many problems!
Keep going!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on May 02, 2020, 11:08:24 AM
Hello, thanks for the answer the other day but I can't find the menu to record the 1920 x 2332 anamorphic adding the two sd + cf cards and at the moment I can only get to 1808, how and where are the settings in the magic latern menu Simultaneous recording and sd speed unlocking.
Thanks again.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IBIRRU on May 02, 2020, 07:09:49 PM
I kindly ask if is possible to have an updated (last) zipped compiled file to load into 700D 1.1.5

Now I have  crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr02.700D115 from Danne repository

I'm able to compile from the unified main branch but I'm not able (I'm sorry) to compile from this branch  :'(

Thanks for your patience  :)

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 02, 2020, 07:41:26 PM
Nothing new for the 700D so no need for updating.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IBIRRU on May 02, 2020, 08:21:03 PM
Nothing new for the 700D so no need for updating.

Thanks a lot @Danne
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on May 03, 2020, 10:20:36 PM
Hello, please I can't find in the last update for 5d3 firmware 123 from February 19th where is the module sd_uhs card spanning nor the overclocking and the menu to record sd+ cf, someone can guide me.
Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 04, 2020, 03:57:38 AM
Read answer #363.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: jzzzyang on May 10, 2020, 03:06:04 PM
How to turn off 1.67 stretch in the raw video mode?
Is there a option? Or How to have the option?
Thanks a lot.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 17, 2020, 12:53:34 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Added Custom modes same as for eosm here:
https://www.magiclantern.fm/forum/index.php?topic=24993.msg226973#msg226973
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on May 19, 2020, 06:25:18 PM
Hello, I would like to see how the m00 files are reproduced and edited in the mlv app, the time recorded on the sd card with the spanning function is lost when trying to import the mlv file from the cf card, there is some operation to be done with the m00 file to be recognized by the mlv app ?, I have not found a solution for the 5d3 with the experimental version May 17.
Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on May 19, 2020, 09:07:00 PM
Just make sure the .M00 files are in the same folder as the .MLV files. Then just open the MLV file and MLV App will use the .M00 as needed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 28, 2020, 07:01:49 PM
Hello all, is it possible to get more than 5 Custom modes (CM1 to CM5)?
I think I have red somewhere we could create our own folder, but when I do that, CM6 for example, the new folder is replacing CM5.
It still appears in Prefs/Config options though but there some folders appear twice.

5DMKIII - 1.1.3 - crop_rec_4k_mlv_snd_isogain_1x3_presets_2020May17.5D3113

Thanks,

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 28, 2020, 07:07:20 PM
Yes, up to 13 custom modes is possible.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 28, 2020, 09:21:54 PM
Thanks. I have tried to create 13 folders CM01->CM13 (and deleted all others), but ML doesn't seem to like it. Crash log at the beginning.
Plus in the Movie/Custom Presets menu, only 6 choices appears: OFF - StartupKeys - CM01->CM05, others folders don't show and you can't make them to appear by using the wheel like in the Prefs one. Can we really change the folder names?

Second question, some people seem to get 1920x1080 48fps, but the max. here is 1920x1050 48fps, do I miss something?

By the way, the anamorphic preset is really cool, thanks a lot.

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 28, 2020, 09:35:46 PM
Renaming works fine:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FFsdCmK3N%2FVRAM0-PPM-500px.png&hash=c39c6fc6bcba326b928230940f260263)

Maybe you´re not following the max eight character rule but who knows. Not enough information provided.(sorry, you said CM01->CM13, no idea why it should cause a crash though)
If you want to expand your custom mode list from Movie tab you need go into source code config.c and find this place:
Code: [Select]
static struct menu_entry cfg_menusmovie[] =
{
    {
        .name = "Custom modes",
        .priv = &config_new_preset_index,
        .min = 0,
        .max = 6,
        .choices = (const char **) config_preset_choices,
        .select = config_preset_toggle,
        .update = config_preset_update,
        .help = "Choose a configuration preset and start customize(restart needed)."
    },
};

Change it to:
Code: [Select]
static struct menu_entry cfg_menusmovie[] =
{
    {
        .name = "Custom modes",
        .priv = &config_new_preset_index,
        .min = 0,
        .max = 14,
        .choices = (const char **) config_preset_choices,
        .select = config_preset_toggle,
        .update = config_preset_update,
        .help = "Choose a configuration preset and start customize(restart needed)."
    },
};
I think you get the picture.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 28, 2020, 11:34:06 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Removed Custom modes, not working as expected like on eosm. Crashes reproduced as described by @motionSOUL
I advice to download this new build and not use the Custom mode setting implemented before.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 29, 2020, 11:39:25 AM
Too pity to get the Custom modes out. It was such a time saver.
Is the problem coming from your crop-rec version and the fact that you have modified it for the EOS-M or the trouble is coming from a1ex Custom modes development?
I ask because I don't know if I have to report to him on his forum side.

Thanks,

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 29, 2020, 12:29:07 PM
If you could test one of the experimental builds by simply adding a few folders and use them from the config section and see what happens that would be nice. Grab a build from the crop_rec_4k branch. Check the downloads section.
Is it crashing every time in my build or after renaming?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 29, 2020, 02:32:32 PM
Not sure what you asked for, but here are some tests hope it will help. Tell me.
First of all if I stay with CM1 to CM5 folders all is working properly smoothly. Not a single problem when switching from any Custom modes.

5DMKIII - 1.1.3 - crop_rec_4k_mlv_snd_isogain_1x3_presets_2020May17.5D3113 (fresh install).

5DMKIII on.
Prefs / Config preset / OFF - Startup key - CM1 - CM2 - CM3 - CM4 - CM5
CM1 chosen.
5DMKIII off.
5DMKIII on.
Prefs / Config preset / OFF - Startup key - CM1 - CM2 - CM3 - CM4 - CM5 - CM1 - CM2 - CM3 - CM4 - CM5 (now the CM1 to CM5 access are doubled in the list).

Changed a folder name from my Mac: CM2 -> BANANA.
All is OK. Move from CM1 to BANANA and reverse also (from 5DMKIII). All is good.

Card on computer. The BANANA folder is still there, but ML has recreated the CM2 folder.
Changed all the folder names (from CM2 to CM5 because CM1 is used in CURRENT.SET).

5DMKIII on.
Crash detected error message.
Card on computer. All the folders are here, but ML recreated the CM1 to CM5 folders also.

Restart from a fresh copy of the crop_rec.
Make more tests.

My conclusion: The crash seems to occure when there are more than 5 folders in the SETTINGS.
As soon as I start the 5DMKIII, as the crop_rec recreate the missing CM1 to CM5 folders, there are more than 5 folders then, so at the next reboot a crash occures.
Not sure of the 5 folders limit, but it crash when ML recreate other folders.

Thanks,

S/.



Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 29, 2020, 03:10:32 PM
Just guessing: Maybe an issue with "_MACOSX" folders (aka: Resource forks)?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 29, 2020, 03:22:47 PM
Actually. a1ex mentioned the recreation issue before. I thought my lockfile would be detected but seems when changing config directory it searches for the lock file in that very folder. Mistake on my part. I do not know enough "c". Anyway, changing:
Code: [Select]
            char config_file[0x80];
            snprintf(config_file, sizeof(config_file), "%sfirst", get_config_dir());
            int first_run = config_flag_file_setting_load(config_file);
to this in module.c, seems to fix it:
Code: [Select]
            char config_file[0x80];
            snprintf(config_file, sizeof(config_file), "ML/SETTINGS/FIRST", get_config_dir());
            int first_run = config_flag_file_setting_load(config_file);
Need to test it some more.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 29, 2020, 03:41:54 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Custom folders are back(added CM1 to CM8. Crash issues should be fixed. Please test @motionSOUL and report back. Also added the fix to eosm and uploaded a new build there as well.

Bleeding edge folks! Always risks included.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 29, 2020, 06:22:49 PM
So far so good. I have changed the folder names without problem (respecting 8 characters).
The file names aren't doubled anymore and all seems OK for the moment. I will keep you inform if I find other things. Thank you so much for your work!

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 29, 2020, 06:39:29 PM
Up to 12 characters is fine. Canon's folder handling looks like 8-Dot-3 naming convention but "dot" can be replaced by other supported characters.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 29, 2020, 06:50:31 PM
Strange, I have tried to name one for example "1_1080_24fps" and it appears "1_1080~" in ML menus…

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 29, 2020, 07:09:54 PM
8 characters.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 29, 2020, 07:30:16 PM
Seems to depend on cam or build.

Just tested with different builds on 7D and now I have to do more testing to write another bug report. Looks like lua_fix build has problems. EDIT: False, for whatever reason I had an outdated version installed ...

But 650D seems to work fine with 12 characters.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: names_are_hard on May 29, 2020, 08:28:43 PM
FAT vs ExFAT on the card?  The 8.3 limit is specific to FAT, though I don't know how ExFAT naming limits interact with Canon FW.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 29, 2020, 08:48:44 PM
Yes, exactly @names_are_hard.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 29, 2020, 08:54:19 PM
I cannot test exfat with 7D because not supported there: Digic 4. Only ML enabled D5 cams with CF slot are 6D and 5D3.
On 650D it depends on file system as you supposed: ExFAT works with 12 characters but FAT32 only supports 8.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 29, 2020, 11:32:04 PM
I have reformated my SD card in ExFAT and now I have access to 11 characters in the Custom modes and Prefs / Config preset.  :)
Not sure why not 12, but only 11 of my 12 characters names are showing.

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 30, 2020, 09:42:40 AM
Totally off-topic sorry, don't know where to post:
What "battery.drain.rate.rev" is use for ?
It gives me different numbers with the same battery on different Custom modes.

Thanks,

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on May 30, 2020, 10:11:39 AM
Not sure why not 12, but only 11 of my 12 characters names are showing.

Sorry for messing up!
Actually only 11 characters are supported. If you create a folder with 12 or more you will only see first 11 in cam. And as soon as you select such a folder and use it as preset cam will create another folder. Using first 11 characters. Afterwards you will see 2 folders displayed with identical names.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 30, 2020, 07:15:01 PM
Hello, I encountered another trouble with the crop. Everytime I press the shutter halfway, the 10x zoom is activated.
On other ML versions, the preview kept the same, just the overlays went OFF.

My settings:
Display / Clear overlays: HalfShutter.
Prefs / LiveView zoom tweaks: Zoom on HalfShutter: OFF
Prefs / LiveView zoom tweaks: Zoom with Focus Ring: OFF
Prefs / LiveView zoom tweaks: Zoom with old button: OFF

Any idea? Thanks a lot.

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on May 30, 2020, 07:18:30 PM
Turn it off under the crop mode sub menu.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on May 30, 2020, 08:45:13 PM
Totally forgot that, thank you Danne!

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on June 01, 2020, 01:04:21 PM
Hello, I've noticed in all crop rec modes (1050p 48fps / 1920p 50fps / 1920p 60fps), the RAW Video / Preview / Framing is OK but all the Realtime ones aren't centered properly.
The framing is off towards up of the frame. Question: is it possible to correct this by a way or another to be able to aim when shooting or not?

Thanks,

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 01, 2020, 03:57:49 PM
I think it's time for you to fire up adtg_gui, read a couple of related posts, and get your hands dirty looking for deeper knowledge.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: motionSOUL on June 01, 2020, 09:28:57 PM
Just a note to confirm that you really have to only use 8 characters in the name of your Custom modes if you want all to work as expected.
If you use more it seems to work properly at first but in fact it shuts down the Custom modes (set automatically to OFF) and mess with the Config presets too.
If you change the Config and restart, the state isn't saved as expected.

@Danne do you know what order is used to list the Custom modes?

Thanks,

S/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 01, 2020, 09:34:32 PM
I think your answer will be found in this thread:
https://www.magiclantern.fm/forum/index.php?topic=8499

About order:
https://www.magiclantern.fm/forum/index.php?topic=8499
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: iaval on June 03, 2020, 08:33:07 AM
Hi Danne,
I'm using your crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr02.700D115 build on my 700d, it works fine, but I get ISOless PH err(15) every time I want to use dualISO. Any idea how to fix that one?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on June 03, 2020, 04:38:41 PM
It is solvable but it requires some work.

https://www.magiclantern.fm/forum/index.php?topic=7139.msg197146#msg197146
Follow one of the tutorials "Compiling Magic Lantern ..." https://www.magiclantern.fm/forum/index.php?board=25.0 to build your own development environment (quite easy, mostly pre-scripted). Then edit and compile your build using the values found by following first link.

And do it now. This repository will get erased quite soon and there will - most likely - no easy way to get it done after deletion!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on June 03, 2020, 07:21:37 PM
Hello, would there be any possibility of full anamorphic 6k with 23,903 even if it was 12 or 10 bits in 5d3 ?.
Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: iaval on June 03, 2020, 10:00:35 PM
Which repo will be deleted?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on June 04, 2020, 11:33:59 AM
Thank you Danne for your hard work and wonderful versions of ML. I have some Q:
 1. There is an issue:
I use mode "Movie", "Presets", "3K 1:1", the resolution is 2880x1620. If x5 and x10 are enabled in Canon menu and I press zoom button, the resolution is changed to 2880x1320. If only x5 is enabled there is no this issue. I am on Danne’s “crop_rec_4k_mlv_snd_isogain_1x3_presets_2020May29.5D3113” 
2. About custom modes. I do not understand how to use “Startup key”. I do not see the menu to choose CM.
3. What is an advantage of this CM compare to 
Fast video presets for 5dIII (based on Danne's cine.lua)
https://www.magiclantern.fm/forum/index.php?topic=24679.0
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 04, 2020, 01:40:09 PM
3K 1:1 is supposed to be used in x1 mode, not x5. Use the other presets for that.
Custom modes has been discussed recently. Check those threads to get a picture of best usage.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on June 04, 2020, 02:17:37 PM
Of course not x5. I use zoom button only for focusing.
I can not find info about Startup key.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 04, 2020, 04:42:39 PM
Yes in x5 mode resolution changes cause you are now in x5 crop mode. But when back in 3k 1:1 all is as expected again.

Select start up mode. Restart camera and hold a start up button i.e SET. You are now in SET "folder". Do your configurations and next time you start hold SET again. All changes will be stored. Skipping SET will start cam normally.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on June 04, 2020, 07:24:19 PM
Thank you for explanation about Startup key. I believed that it can be used for choosing Custom Mods at startup.
About x5:
Cam is in mode 3K 1:1 2880x1620. I press zoom button for better focusing. If x5 is enable in Prefs\LiveView zoom tweaks\Zoom x5 ON (my mistake about Canon menu in previous post), after I press zoom button, the resolution reduced to 2880x1320, but cam is still in 3K 1:1. If only x10 is enable in Prefs\LiveView zoom tweaks\Zoom x10 ON, there is no the resolution reducing.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 04, 2020, 08:06:17 PM
Well, 3k 1:1 and x5 zoom is pretty much the same. Only x10 will help for focusing in this case. Just use halfshutter zoomaid(x10) zoom and releasing back to normal.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 06, 2020, 07:49:56 PM
here's a message to let everyone know that sd overclocking is still alive and well for the 5d3!
i just filmed a new zen episode at 3.5k under extremely challenging outdoor full sun and windy conditions with no stops for over 15 minutes thanks to the new overclocking module that ilia and danne have continued quietly working on... and it works like a champ on my sandisk extreme pro 170 card!

anyone else brave enough to play with it should do so!  it's in danne's file repository...

keep up the great work, guys!

overclocking and card spanning have revitalised my workflow and my former 3*3 binning 1920 filming is now always 3.5k continuous!

the 5d3 still has a lot of life as a very serious filmmaking tool...

peace to everyone.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on June 06, 2020, 08:39:11 PM
It's all Danne ;) (and a1ex originally)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 06, 2020, 09:00:46 PM
oh my!

i can't believe a1ex has fallen off of my radar.  of course, all thanks go to him first!!!

i miss the days when a1ex was right at the front of everything.  we were so spoiled!

thank you a1ex!!!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: DeafEyeJedi on June 07, 2020, 12:19:51 AM
Nice. Looking forward to your Zen work @ 3.5K w no stops @70MM13!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 07, 2020, 11:07:31 AM
thanks!  unfortunately i am still stuck with cellphone internet here making it impractical to upload 4k, so the episodes are downsampled to 1080, but the extra detail and lack of aliasing is very apparent!

i'm working on a new industrial music video and it will be uploaded at 4k :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on June 15, 2020, 04:47:16 PM
here's a message to let everyone know that sd overclocking is still alive and well for the 5d3!
i just filmed a new zen episode at 3.5k under extremely challenging outdoor full sun and windy conditions with no stops for over 15 minutes

Good news! What resolution and fps at 3.5k do you use for continued recording?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 15, 2020, 06:51:12 PM
anywhere in the low 3000's on the x axis at 2.35:1, varying by the framing of the shot i am after/glass being used...
23.976 always for me!

also 14 bit lossless.  no luck at reduced bit depths for me.  never looks right...  it would be nice to see development of bit reduction within the mlv_lite crop_rec module (brain fart!).  i think it would look better :)

if we had true 10 bit data, with bit reduction occuring immediately after image acquisition i think 3840 true continuous recording would be attainable, but i know nothing...  just a hopeful guess!

but... 14 bits is very nice and i am very, very happy!  just need dual card support in mlvapp!!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: vstrglv on June 16, 2020, 08:51:12 AM
Thank you! Would you please upload 14bit and 12,10 bit  lossless frames?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 16, 2020, 09:56:44 AM
also 14 bit lossless.  no luck at reduced bit depths for me.  never looks right...  it would be nice to see development of bit reduction within the mlv_lite crop_rec module (brain fart!).  i think it would look better :)
It will never look 14bit, that´s for sure. please upload comparison examples and explain why what you see is not true reduced bitdepths.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on June 16, 2020, 06:46:11 PM
I think "true" reduced bitdepths would mean digitally reduced from 14 bit sensor output, and not done through analogue gain. I guess "true" is not the best word.

In UHD 1:1, 12 bit introduces unusual vertical stripes that don't go away: https://drive.google.com/file/d/1MwIFbHDki9Cmc6sv25xabeCZIaEEXC8g/view?usp=sharing

(that doesn't happen in 3K preset)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 16, 2020, 07:10:21 PM
Interesting. That might be fixable. I use some generic way to reduce bitdepth but it could be tweaked if not your sensor is having this problem. When I have some time over I´ll test to reproduce the issue.
The result is the same I think reducing analog gain vs digitally reduced or whatever we choose to call it. At least I´d like to see proof there´s any difference. So far I haven´t heard of anyone understanding fully how it´s done, except for a1ex of course.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ilia3101 on June 16, 2020, 07:21:26 PM
Interesting. That might be fixable.
Just realised I should try a dark frame. But I'm not too hopeful, doesn't really look like FPN (no purple/green tinting).

I use some generic way to reduce bitdepth but it could be tweaked if not your sensor is having this problem. When I have some time over I´ll test to reproduce the issue.
Would be very interesting to see if other cameras have this issue.

The result is the same I think reducing analog gain vs digitally reduced or whatever we choose to call it. At least I´d like to see proof there´s any difference.

Maybe there's not as much of difference as I thought. Yesterday was the first time I realised those stripes only appear in UHD mode.

Shouldn't be too hard to do a comparison. MLV App can export to 12 bit from 14 bit I assume.

So far I haven´t heard of anyone understanding fully how it´s done, except for a1ex of course.
Would love to know more :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Hydrazine on June 24, 2020, 04:03:52 PM
Hi all,

I'm trying to get my head around the builds with card spanning (was this removed along with sd_uhs?). There seems to be a branch before Danne removed sh_uhs (as per post #363) named crop_rec_4k_mlv_snd_isogain_1x3_presets_card_spanning, last updated Jan 26 2020. Is this the one I should be attempting to compile if I want card spanning and not necessarily SD overclocking? Do I lose the more recent changes and updates of the main crop_rec_4k_mlv_snd_isogain_1x3_presets branch? How do I actually compile this after using Mercurial to clone?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 24, 2020, 04:21:16 PM
I updated my download post added the sd_uhs module. Check bottom. Place it in modules folder and restart camera. Enable it from Movie tab and wait:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

If test please report if working or not. I leave absolutely now guarantees. If card gets corrupted or worse you´ve been warned.
With that said it works for me and for @70MM13 but who knows what random users comes up with here.
Good luck.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 24, 2020, 06:45:39 PM
overclocking is working perfectly here.  on a recent episode i was recording at 3072*1308 14 bit lossless continuously for 30 minutes!

the only caveat for me remains: i have to disable overclocking at startup.  if it remains enabled from the last power cycle, recording fails immediately.  it's just a matter of turning it off in the recording menu at shutdown, *not* disabling the module.

i've occasionally forgotten to turn it off before shutting down, and i got around it by starting up in photo mode, turning off card overclock, and then switching to video mode.  worked fine.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 24, 2020, 09:34:06 PM
That should not happen with latest version. Did you test latest? Please upload a screen recording as it will reveal any issues.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 24, 2020, 10:13:22 PM
afaik it's the latest... it's the one you uploaded on the day we discussed this a few weeks ago...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 24, 2020, 11:31:49 PM
I need screen recordings. If using a fast card it should be working. It's easy to see if patch is working or not when checking a screen recording. Impossible otherwise.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 743v04 on June 25, 2020, 12:16:58 AM
I have been using this build with sd_uhs and card spanning running without any issues for a few weeks also. None of this patching issue, works for me with custom presets too. It has been really solid so far but if that changes I will report back. Thanks a ton Danne  :D
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 25, 2020, 03:39:51 AM
here's a vid of what happens here:


there's a bit of a mess on the camera display when i do the first reboot with overclocking already on: two messages are displayed simultaneously, one being about patching success, and the other being failure to load some kind of cropmarks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 25, 2020, 08:07:21 AM
What card are you using? Are you using the very latest build as well? Both ml version and sd_uhs version?
File creation error can be related to card spanning feature.
Test also with an auto focus lens. Also test a crop rec preset, not passthrough. Maybe also turning crop rec off. I really need some narrowing down on this.
Also try and wait for patches to be done before pushing other buttons etc.
Before trying suggestions redownload all from the download post and do a clean reinstall.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on June 25, 2020, 11:29:13 AM
Quote
If test please report if working or not. I leave absolutely now guarantees. If card gets corrupted or worse you´ve been warned.
With that said it works for me and for @70MM13 but who knows what random users comes up with here.
Good luck.

It works for me too and very well, but with some small issues.
3.5K works continuous at 12bit

I can rec. in UHD 1:1 continuous at 3840 x 1440 (AR 1,67:1) with live view while recording and 3840 x 1536 without live view while recording, all in 10bit. writespeed ~125MB/s.
I tested on different conditions:
In 34 shots i have 3 bugs: 2 clips have no Audio and 1 is totally broken -> MLV App crashes when opened, export with MLVFS give me some crazy colored stars on white background.
I'm not sure, but i think this happens if i shut down the camera to fast after recording.

In 3K 1:1 i have more trouble. After 30sec record time (AR 16:9) comes an error message.
Crashfile:
Quote
ML ASSERT:
0
at mlv_lite.c:2724 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1ae938 [1ae9c8-1ad9c8]
0x0006A01C @ b8303c:1ae968
0x00069878 @ 6a084:1ae938

Magic Lantern version : Nightly.2020May29.5D3113
Mercurial changeset   : 6b5fa5a301dd (crop_rec_4k_mlv_snd_isogain_1x3_presets) tip
Built on 2020-05-29 13:38:20 UTC by danne@danands-MBP.
Free Memory  : 210K + 2384K

I don't have the issue from 70MM13.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 25, 2020, 11:42:04 AM
i used all the latest versions, and i had no CF card inserted for the test.  sandisk extreme pro 170. the card was freshly formatted and the camera was reset.  the only thing i did was switch to 1920 for a nicer looking preview ;)

i was impatient during the demo just to show the issue.  it happens the same if waiting before recording.

i will try the various conditions suggested...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on June 25, 2020, 11:46:10 AM
... and 1 is totally broken -> MLV App crashes when opened, export with MLVFS give me some crazy colored stars on white background.
is that clip large? Any possibility to upload it for analysis?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on June 25, 2020, 12:08:04 PM
https://drive.google.com/drive/folders/1HGOqDNpQvqxeLzXa0f5Zbfzh8bbzl-GH?usp=sharing

wait 10min for uploading.

I think the Problem is, there is no .M00 file. only a MRX file.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 25, 2020, 12:12:51 PM
danne, you were right about the autofocus lens!

problem disappeared immediately.

put cine lens back on... problem is back.

if there's no other solution, can you add the option to have overclock setting off by default for manual focus lenses?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 25, 2020, 02:30:41 PM
Ok, I see what I can do about the issue. Will test when I have my hands on my 5d3 again. Thanks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 25, 2020, 02:39:10 PM
fingers crossed!  :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on June 25, 2020, 10:56:34 PM
https://drive.google.com/drive/folders/1HGOqDNpQvqxeLzXa0f5Zbfzh8bbzl-GH?usp=sharing

wait 10min for uploading.

I think the Problem is, there is no .M00 file. only a MRX file.
Wait... you recorded with card spanning and got no .M00? That should mean some data is missing. Your file's metadata tells about existing audio channels but no audio data is existing. This was why MLVApp chrashes. I implemented another check which doesn't just trust the metadata... :D If you are able to compile, you can try the fix.
Grüße nach Dresden!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on June 26, 2020, 11:58:26 AM
Hi. I'm a long time user but it's my first post here.

I've tried Danne's last build with sd_uhs module and works perfectly on my lexar 256go  633x. A relatively cheap card.
I can reach more than 40 MBs write speed (with peaks at 50mbs).

With card spanning on, in UHD mode, write speed is around 120mbs (80 mbs CF +40 mbs SD)

I'm also able to record continue 1920x804 14bits lossless on Sd card only.

I also tried 5k anamorphic and it works perfectly. No crop factor (!) almost realtime liveview and very good quality. sd_uhs is not necessary but could be usefull on very contrasted scene.
I made a short video with this mode.



I will made a more complexe short film with this mode soon.


Thank You Danne (and others A1ex, Lila.. ) for your work.

Max
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 26, 2020, 02:13:33 PM
Nice footage. 5k anamorphic is undisputable the most efficient preset of them all if filming 24 or 25fps. What lens was used?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 26, 2020, 03:15:14 PM
New sd_uhs.mo version uploaded tested working with manual lenses in an automated way:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Bottom of the post. Reports if working or not welcome. @70MM13 please test with your lens giving you the error before.

EDIT: Also posted new ml builds adressing yet again custom folder function. I advice to reinstall both ml build and sd_uhs module from this post:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on June 26, 2020, 04:44:42 PM
Nice footage. 5k anamorphic is undisputable the most efficient preset of them all if filming 24 or 25fps. What lens was used?

Thanks. I used Canon EF 24-105 L.
Around F.16 a little too closed at my taste.
I had forgotten my neutral filter but the clouds saved me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on June 26, 2020, 05:01:53 PM
Danne. Is it possible to make Fps overdrive usable in 5k anamorphic mode juste like the EOS M does?
Thank You.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 26, 2020, 05:35:04 PM
Which is how exactly?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on June 27, 2020, 03:10:02 AM
the new build plus the new overclock module works perfectly now with manual focus lenses!

thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on June 28, 2020, 11:05:06 AM

428/5000
Hello, the sd_uhs module works perfectly with my manual samyang xp 50mm 1.2 lens and with the professional lexar cf 1066x 160 MB / s and sdxc sandisk extreme pro 170 MB / s cards I can record in full anamorphic 6k 1.1 1920 x 3760 in 14 bits with 15.003 fps, indoors and outdoors, maybe 5 more minutes, and I'm wondering if it would be possible to enable 23,976 fps in 12 or 10 bits in this format for smooth movement.
Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on June 28, 2020, 01:03:48 PM
Not possible with that high resolution.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 04, 2020, 08:05:30 AM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- sd_uhs speed increase https://www.magiclantern.fm/forum/index.php?topic=12862.msg228659#msg228659
- sd_uhs.mo added as a module to Modules tab
- bench.mo added to Modules tab

Works pretty much the same as for eosm here. But works with 240Mhz(tested on 170Mb/s card)

EDIT: Think I fixed the File create error completely that came with manual lenses sometimes conflicting with patching.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Larouso on July 05, 2020, 10:14:49 PM

With card spanning on, in UHD mode, write speed is around 120mbs (80 mbs CF +40 mbs SD)


Hopefully not a very dump question - but how did you get the write values per card?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on July 05, 2020, 10:22:59 PM
File size / recording duration?
As in "MByte/s"...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Larouso on July 05, 2020, 10:34:42 PM
File size / recording duration?
As in "MByte/s"...

Sure, thought there is maybe an option to show it live per card, like the mb/s stats that you get if you kill global draw... Thanks anyway for the hint.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: domasa on July 12, 2020, 07:29:58 PM
As long as these builds contain mislabeled ISO settings, I am not going to support them, sorry.
Is it planned to return this build back to Experiments (https://builds.magiclantern.fm/experiments.html) page?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 12, 2020, 08:22:43 PM
Not as is and probably not a priority from a1ex atm.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Hynek_Tuleja on July 18, 2020, 03:46:14 PM
Hi, I have just tested Danne's build and it's incredible.

I would like to ask, if it would be possible to shot in 60fps in higher resolution (in anamorphic preset for example)?

I use the Canon HD format to shot in 60fps (1920x628 resolution) and then I scale the video to Full HD in MLVApp for slow motion. So is there a way to shot slow motion in higher resolution then Full HD with this build?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ewinemiller on July 18, 2020, 06:22:24 PM
Hi all,

If anyone is interested I put together some intermediate presets for 2.20:1, 2:1, and 1.85.1. I was looking for something a little in the middle of the 16:9's crop and the 2.35 aspect ratio. All are continuous on a 1000x KombuterBay without spanning or anything.

I will try to put it up on bitbucket, but have to get my head back around that process again. I don't use it enough to be comfortable or even remember the basics, and might not have time to work through it this weekend.

All changes in crop_rec.c from Danne's crop_rec_4k_mlv_snd_isogain_1x3_presets branch. Thank's Danne for your work. It was super easy to build on.

Regards,
Eric

menu definition

Code: [Select]
    static struct menu_entry ratios_menu[] =
    {
        {
        .name   = "Ratio",
        .priv   = &ratios,
        .max    = 6,
        .choices = CHOICES("OFF", "2.39:1", "2.35:1", "2.2:1", "2:1","1.85:1","16:9"),
        .help       = "Access six global ratios",
        .help2   = "only anamorphic preset\n"
        },
    };

in crop_rec_needs_lv_refresh

Code: [Select]
    if (ratios == 1) menu_set_str_value_from_script("RAW video", "Aspect ratio", "2.39:1", 5);
    if (ratios == 2) menu_set_str_value_from_script("RAW video", "Aspect ratio", "2.35:1", 6);
    if (ratios == 3) menu_set_str_value_from_script("RAW video", "Aspect ratio", "2.2:1", 7);
    if (ratios == 4) menu_set_str_value_from_script("RAW video", "Aspect ratio", "2:1", 8);
    if (ratios == 5) menu_set_str_value_from_script("RAW video", "Aspect ratio", "1.85:1", 9);
    if (ratios == 6) menu_set_str_value_from_script("RAW video", "Aspect ratio", "16:9", 10);

In LVINFO_UPDATE_FUNC

Code: [Select]
    if (CROP_PRESET_MENU == CROP_PRESET_1x3)
    {
        if (ratios == 0x1)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2.39:1");
        }
        if (ratios == 0x2)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2.35:1");
        }
        if (ratios == 0x3)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2.2:1");
        }
        if (ratios == 0x4)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2:1");
        }
        if (ratios == 0x5)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 1.85:1");
        }
        if (ratios == 0x6)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 16:9");
        }
        if (ratios == 0x0)
        {
            snprintf(buffer, sizeof(buffer), "anamorphic");
        }
    }

in calc_skip_offsets

Code: [Select]
        case CROP_PRESET_1x3:
            if (ratios == 0x1)
            {
                skip_left       = 206;
                skip_right      = 62;
                skip_top        = 60;
                skip_bottom     = 30;
            }
            if (ratios == 0x1 && set_25fps == 0x1)
            {
                skip_left       = 248;
                skip_right      = 110;
                skip_top        = 60;
                skip_bottom     = 42;
            }
            if (ratios == 0x2)
            {
                skip_left       = 206;
                skip_right      = 62;
                skip_top        = 60;
            }
            if (ratios == 0x2 && set_25fps == 0x1)
            {
                skip_left       = 248;
                skip_right      = 110;
                skip_top        = 60;
            }
            if (ratios == 0x3)
            {
                skip_left       = 268;
                skip_right      = 124;
                skip_top        = 60;
            }
            if (ratios == 0x3 && set_25fps == 0x1)
            {
                skip_left       = 360;
                skip_right      = 118;
                skip_top        = 60;
            }
            if (ratios == 0x4) 
            {
                skip_left       = 340;
                skip_right      = 196;
                skip_top        = 60;
            }
            if (ratios == 0x4 && set_25fps == 0x1)
            {
                skip_left       = 432;
                skip_right      = 190;
                skip_top        = 60;
            }
            if (ratios == 0x5)
            {
                skip_left       = 402;
                skip_right      = 258;
                skip_top        = 60;
            }
            if (ratios == 0x5 && set_25fps == 0x1)
            {
                skip_left       = 488;
                skip_right      = 246;
                skip_top        = 60;
            }
            if (ratios == 0x6)
            {
                skip_left       = 426;
                skip_right      = 282;
                skip_top        = 60;
            }
            if (ratios == 0x6 && set_25fps == 0x1)
            {
                skip_left       = 512;
                skip_right      = 270;
                skip_top        = 60;
            }
            break;
           
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 18, 2020, 07:09:09 PM
Nice. Will check it out when I have the chance.
Ongoing code atm:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/src/master/

I piggy back on a git account but still include hg commits working with my compiler tool:
https://bitbucket.org/Dannephoto/ml_compiler-git/src/master/
After commits I push all hg and code changes to the git account. It's all temporary. Bitbucket are deleting all mercurial sources. Bad move on their part.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ewinemiller on July 19, 2020, 01:11:45 PM
Since the "where we're landing" question doesn't seem to be answered yet (or at least I couldn't pick it out of the end mercurial thread), I just forked your git and stuffed the changes here https://bitbucket.org/ewinemiller/magic-lantern_dannephoto_git/src/newpresets/.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on July 20, 2020, 08:46:05 AM
I got some problems while trying to make a raw video 3k + fps override @2.5:
ML ASSERT:
RAW_IS_IDLE
at mlv_lite.c:969 (measure_compression_ratio), task shoot_task
lv:1 mode:3

shoot_task stack: 1c2498 [1c2600-1c0600]
0x000B6A18 @ 956f0:1c2590
0xUNKNOWN  @ b6a6c:1c2578
0x00B3B854 @ b3d710:1c24d8
0x0006A01C @ b3b91c:1c24c8
0x00069878 @ 6a084:1c2498

Magic Lantern version : Nightly.2020Jul15.5D3113
Mercurial changeset   : 8f38ee536de0+ (crop_rec_4k_mlv_snd_isogain_1x3_presets) tip
Built on 2020-07-15 19:47:31 UTC by danne@danands-MBP.
Free Memory  : 213K + 2445K

Did not stumbled upon this before, so I don't know if it's related to your build only or not.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 20, 2020, 08:58:58 AM
Test another build and compare.
If you want more help more info will be needed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on July 20, 2020, 10:57:49 AM
Hi all,

If anyone is interested I put together some intermediate presets for 2.20:1, 2:1, and 1.85.1. I was looking for something a little in the middle of the 16:9's crop and the 2.35 aspect ratio. All are continuous on a 1000x KombuterBay without spanning or anything.

I will try to put it up on bitbucket, but have to get my head back around that process again. I don't use it enough to be comfortable or even remember the basics, and might not have time to work through it this weekend.

All changes in crop_rec.c from Danne's crop_rec_4k_mlv_snd_isogain_1x3_presets branch. Thank's Danne for your work. It was super easy to build on.

Regards,
Eric

Amazing ! how can we download it as a autoexec "classic ML file" ? (I know nothing about coding, I'm more into video..)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 20, 2020, 11:24:41 AM
Ask ewinemiller for a build. My laptop decided to die today so taking a real break here.
Looks like he uses ratios directly from RAW video section so meanwhile you should be able to change from there directly as well.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ewinemiller on July 20, 2020, 11:27:33 AM
Amazing ! how can we download it as a autoexec "classic ML file" ? (I know nothing about coding, I'm more into video..)

Only been tested lightly with 1.23. It's just the croprec module. Drop it into the ML\modules folder of your card. It should play nicely with the rest of Danne's latest build.

https://www.dropbox.com/s/sqj6ija5ttf2svc/crop_rec.mo?dl=0

Edit: Just saw Danne's post and I'll try to update this later today with full builds.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 20, 2020, 11:54:11 AM
Should be fine with a single crop_rec.mo too if you use the updated code.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on July 20, 2020, 11:55:45 AM
along with the 15 july version of yours ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 20, 2020, 12:40:06 PM
My latest builds.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on July 20, 2020, 12:41:48 PM
Thank you ! 👍🏻
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on July 21, 2020, 01:48:45 PM
(sorry, can an admin delete this post ?)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on July 22, 2020, 01:19:52 AM
@Danne
Is it possible to make a 2x2 Preset like 2880x1620 (16:9) or better a 1x2 Preset like 2880x1920 (2.5:1) = 5760x1920, or is this still impossible?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on July 22, 2020, 11:53:50 AM
Is it possible to make a 2x2 Preset like 2880x1620 (16:9) or better a 1x2 Preset like 2880x1920 (2.5:1) = 5760x1920, or is this still impossible?
Have a look on the bayer matrix. 2x2 is only possible theoretically for b/w, because you loose the color information.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on July 22, 2020, 12:24:21 PM
I am not a programmer and unfortunately I already thought that it would not work...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on July 22, 2020, 01:17:41 PM
I am not a programmer and unfortunately I already thought that it would not work...
This has nothing to do with programming, but with how a sensor is build. You have a RGGB layout on it. And if you just read 2x2 and start at R, you get only R pixels.
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fwww.researchgate.net%2Fprofile%2FEmanuel_Marom%2Fpublication%2F45709080%2Ffigure%2Ffig1%2FAS%3A307400574816256%401450301416028%2FTypical-Bayer-Matrix-with-3-main-colors-in-the-RGGB-configuration-In-this-paper-each_Q320.jpg&hash=35ff5637e2ad29b0df9730147fb8dfd0)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on July 28, 2020, 10:25:50 PM
Not sure if this has been addressed before, but the only module I see when I install the Jul15 build is the Bench.mo module.

I am using the 113 version and I re-installed ML, formated, low level, tried an other card, reset to ML defaults, even created the SETTINGS folder and made a SD_UHS.EN file. I can see and load all the modules with the nightly exp 2018Jul22 build, but for some reason, this build I can't load or see any other module than bench.mo.

A lens is installed, only the SD card is in and the camera is in movie mode.

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FJcJs7NT%2FVRAM0.png&hash=4e6bf3b029a748440bd9019bba8818e2)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 28, 2020, 10:48:00 PM
All modules are autoloaded except for bench.mo. I also plan on adding adtg_gui.mo as an optional module.
Do note that my builds comes from a fork from another experimental build. This is actually experimental on top of another experimental build.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on July 29, 2020, 12:08:35 AM
All modules are autoloaded except for bench.mo. I also plan on adding adtg_gui.mo as an optional module.
Do note that my builds comes from a fork from another experimental build. This is actually experimental on top of another experimental build.


That explains it ! Thanks, I do feel dumb now. From my understanding of the replies on this thread, the card spanning module is in the raw video section ? I cannot find it, even in the advanced menu. Could only find one post mentioning that it was in the Raw video tab, but I don't see it there.

EDIT : Found it. You need the CF card in as well for it to appear. Sorry for bothering.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 29, 2020, 12:15:19 AM
You need both SD and CF card inserted for it to show up. For the very same reason you won´t see the SD overclock option if not a sd card is inserted.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on July 30, 2020, 12:15:34 PM
Hi all,


l did a little comparative test of the sharpness between the 3k, 3.5k UHD, 4K 12.5FPs, 5.7k 7fps, 5k anamorphic, fullhd, fullhd h264 modes. I shot with an EF L 24-105 canon Lens at F.14 compensating the cropfactor. All were upscalled or downscalled in 4k (true 4096) which I take as a reference resolution. We can see that the sharpness is better in 1: 1 mode than in anamorphic mode, but the difference is minimal. The difference between UHD and 3.5k is not really obvious. The FullHD is very mushy and the h264 ... let's not even talk about it;) In conclusion, the most interesting modes are
 - the anamorphic mode because there is no crop and a real-time feedback, the loss of sharpness compared to 3.5k is not so bad. it looks very well in 4k.
- 3.5k mode, the crop factor is only 1.6 and there is still usable feedback (zoom x5). But the ratio is wider than the 2.39. If you want more vertical resolution you have to go to 3k.

 - full HD, it's ugly but it works so well!

Thank you Danne for your  incredible  build!

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: dtr on July 31, 2020, 06:45:21 PM
Just to be on the safe side what is the max safe temperature for 5D3 please? I had over 47C today in just a couple min so want to play it safe.

I'm just trying to figure out a reasonable higher res workflow. Full HD from nightly works fine and is a big improvement over H264, and in my case keeping 16mm as close to 16mm is very important. I know the answer is R5 but hopefully this will still keep on developing.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on July 31, 2020, 10:14:13 PM
Thanks for the test!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: DeafEyeJedi on August 02, 2020, 10:27:29 AM
Nice. Will check it out when I have the chance.
Ongoing code atm:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/src/master/

I piggy back on a git account but still include hg commits working with my compiler tool:
https://bitbucket.org/Dannephoto/ml_compiler-git/src/master/
After commits I push all hg and code changes to the git account. It's all temporary. Bitbucket are deleting all mercurial sources. Bad move on their part.

Thanks for the heads up, @Danne! I've went ahead and ran the latest Compiler on this Hackintosh running 10.15.5 and all seems well. I will try to spit out a build as soon as I can.

Actually could I get a reminder on which branch is the one that is usually found on the beloved bitbucket download page (Option 1 or 5 from the branch option menu)?

Appreciate the recent quick fix for Catalina's environmental friendly when it comes to compiling the latest. Always carrying the EOSM w me everywhere I go. Such a gem!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 02, 2020, 11:40:16 AM
Here´s recent magic lantern compiler:
https://bitbucket.org/Dannephoto/ml_compiler-git/downloads/

Mlv App compiler:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/

eosm branch:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/

5d3 branch:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/src/master/
Title: Cannot format SD and keep ML on it
Post by: GullRaDriel on August 04, 2020, 09:37:02 PM
Hello.
Since the last update with sd overclock module I can't seem to be able to format sd card AND keep ML on it. It's formatting everything. The usual menu and copy log before formatting is gone.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 04, 2020, 09:47:23 PM
Yes, it's intentional. Formatting camera with sd uhs enabled will potentially destroy your sd card. Havn't found a way to disable patching yet so for now I disabled the keep ml after format function.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on August 05, 2020, 08:42:34 PM
Can rack focus be used with raw video? I can set the endpoints and preview the focus change in liveview, but I'm not sure how to activate it after starting to record.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 05, 2020, 09:43:36 PM
Well, ok.
And when you say "Havn't found a way to disable patching yet" does it means that even with the moduel disabled the patching is still here ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 05, 2020, 09:54:02 PM
No, it´s only patching when enabled in the menu. The solution could be to disable the sd_uhs menu when performing the reformat thingy(if sd patch is on) and probably not so hard to do but I havn´t been able to yet. Need more time.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 07, 2020, 10:58:13 PM
Hi there! I wanted to say thank you for all the work on this build. It's been such a huge upgrade.

I found a weird quirk using the card spanning module. I'm using the July 15 3113 build. Not using sd overclocking as it's not working for me.

The 5x crop preset has an extra 5mbps without global draw using card spanning vs UHD or anamorphic. In those modes it tops out at 111mbps (91 cf - 20 sd) but in 5x 3.5k, the CF card climbs to 94-95, for a total of 115mbps! I think that mode is using fewer hardware resources or something and that translates into more recording bandwidth. I don't know if the way these modes behave is already well known, but it seemed worth mentioning. I am noticing differing (but consistent) speeds using different presets, with or without global draw.

I'm using a Pixelflash 1107x 64gb card and a Sandisk Extreme Pro 95mbps 32gb.

Kill Global Draw set to ON.

Edit: also it looks to me like the recording rate estimation is using 14bit raw recording in it's calculation, even though the files are in 12bit, giving a larger estimate than actual. Is this true? It seems like my recording times reflect what I would expect to get with 12bit.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 08:28:07 AM
Quote
I am noticing differing (but consistent) speeds using different presets...
https://www.magiclantern.fm/forum/index.php?topic=12862.msg228848#msg228848

Global draw needs extra resources, so it slow down the maximum writespeed.
maximum speed with Cardspanning and overclocking for now is BTW. 131MB/s (Nobody knows why). - > without global draw

Quote
Edit: also it looks to me like the recording rate estimation is using 14bit raw recording in it's calculation, even though the files are in 12bit, giving a larger estimate than actual. Is this true?
Yes, it shows 14bit lossless - > set in drop down menu. This is because the settings for 12,10bit... Is just a tweaking from 14bit lossless. You can check the white and blacklevel in MLVapp.

What happens if you using SD overclocking?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 08, 2020, 03:07:01 PM
When I use Global draw & RAW Zebras in combination with card spanning + SD overclocking, I get around 112-115 MB/s while recording.

I set my resolution to get me 110 MB/s and I'm usually covered for continuous recording in pretty much all scenarios.

Extreme Pro 64gb 170MB/s + Lexar 128gb 1066X CF card.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on August 08, 2020, 03:36:32 PM

Global draw needs extra resources, so it slow down the maximum writespeed.
maximum speed with Cardspanning and overclocking for now is BTW. 131MB/s (Nobody knows why).

True for UHD mode but you can reach higher writespeed in 4K half FPS or 5'7k full liveview (170 MB/S -100 CF +70 SD).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 05:42:36 PM
@Grognard

Not really , the showing writespeed is incorrect in other modes. See this test:

https://www.magiclantern.fm/forum/index.php?topic=12862.msg228848#msg228848
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 08, 2020, 06:23:15 PM
@Grognard

Not really , the showing writespeed is incorrect in other modes. See this test:

https://www.magiclantern.fm/forum/index.php?topic=12862.msg228848#msg228848

I see that there's a lot going on here with the writespeed calculations.

You also asked what happens when I try to use SD overclocking. I am using a 95mbps Sandisk Extreme Pro 32gb SDHC card. I have a 128gb 170 coming in the mail on Monday.

When I use the overclocking, I turn it on in the settings, turn off the camera, turn back on, wait for the prompt to say it's been patched. Then when I try to record, I have gotten both "card full," and "recorded has stopped" errors. No frames recorded. I have tested it spanned with my CF card (pixelflash 1107x 64gb) and on it's own. No luck. I have also tried both 3123 and 3113 builds to see if that made a difference. Nothing. I also tried formatting multiple different ways (exfat, fat32), but I don't actually know anything about formatting cards so that was just at random and it didn't do anything.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 06:40:36 PM
I was expecting the card 95mbps Sandisk Extreme Pro 32gb to work with latest sd uhs patch.
Could you tell me what ml version you are using? Full name or link to exact build?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 06:43:12 PM
@has_abandonment_issu

This is a knowing issue. Try low level format in Camera (SD card) and have fun ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 08, 2020, 06:57:57 PM
I was expecting the card 95mbps Sandisk Extreme Pro 32gb to work with latest sd uhs patch.
Could you tell me what ml version you are using? Full name or link to exact build?

Hi Danne! I have been having so much fun testing this build and exploring the new creative options. You and everyone should be really proud of how much you've put into it.

I have tested these two builds:

crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Jul15.5D3113
crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Jul15.5D3123

I did most of my testing on 3113, before briefly changing to 3123 and getting the same error. It looks to me like I'm having a similar issue as IDA_ML.

I just did it again to see exactly what was happening. Here's how it goes, I apologize if this is an annoying amount of detail, but I know you guys are troubleshooting so I'll try to describe everything:

- turn on camera, wait for it to load.
-turn on overclock module
-turn off camera
-receive patching notification
-patching done!
-go to live view, press record
-"recording has stopped automagically" "flushing buffers" "nothing recorded to card"
-turn off camera
-light stays on significantly longer than usual, about 6 seconds
-turn camera on
-"magic lantern was not shut off cleanly, skipping module loading"
-turn camera off
-light normal
-turn camera on
-receive patching notification
-patching done!
-go to ml menu and turn off patching
-turn off camera
-notification light stays on too long again
-turn on camera
-"magic lantern was not shut off cleanly"

and at that point I'm stuck in a loop and have to format the card.

This error has been consistent.

Edit:
@has_abandonment_issu

This is a knowing issue. Try low level format in Camera (SD card) and have fun ;)

I will try this right now.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 08, 2020, 07:20:10 PM
Same error after low level format. First I tried formatting the card with magic lantern still installed. Then reinstalled magic lantern and tested it. Same error. Then I formatted the card on the computer, then low level formatted it again in the camera. Same error.

This time I tried again but without the CF card.

The error read "card full," followed by "audio failed to stop recording: state 3"  or something like that. So I disabled sound recording. Returned "card full," with no other error.

Then I went into the magic lantern menu and navigated through the various tabs to see if Magic Lantern can show what it thinks the available memory on the card is, and while simply scrolling (no change to any settings) I got an error that said "please send coredump.dat to the devs" or something along those lines.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 07:41:41 PM
I am not sure what is going on here and don't have my camera here but if it's not working giving card full etc it's better to stay off the patch on this particular card. I expect this patch to either work fully or not at all, no in betweena.
Not sure what coredump is caused for in this case but just stay off patch on that card.
Please remember. It is bleeding edge. I tried to prevent serious errors but nothing is finished.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 08, 2020, 07:44:09 PM
This seems like it could be relevant.

https://i.imgur.com/nS2MvTZ.jpg

I can link pictures of the rest of the red ones if this is anything.

I am not sure what is going on here and don't have my camera here but if it's not working giving card full etc it's better to stay off the patch on this particular card. I expect this patch to either work fully or not at all, no in betweena.
Not sure what coredump is caused for in this case but just stay off patch on that card.
Please remember. It is bleeding edge. I tried to prevent serious errors but nothing is finished.

I purchased this card with free amazon 1-day shipping to keep me busy until my 128 170mbps sandisk arrives Monday. It was $13. So I don't mind destroying the card if it helps debugging. So long as there's no risk to the camera itself.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 07:55:09 PM
@has_abandonment_issu

Which Mode do you use, resolution, bit...

because I have some trouble with 3K mode:
Interestingly I found out, that this mode + Cardspanning + overclocking only works with 14bit lossless continuously. If I set the same settings (AR 16:9, 2848x1602 at 14bit lossless works continously on all condition, without global draw) and change it to 10 or 12 bit - > compression error bla bla bla, everytime.

@Danne
Any Idea?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 07:59:48 PM
10 or 12bit from what menu? Under raw video menu not recommended.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 08:08:10 PM
Not in dropbdown menu. I mean the 10  or 12bit lossless (14bit lossless tweaking). Do you need a small video with this error?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on August 08, 2020, 08:09:57 PM
hi everyone,
i'm having a lot of fun with the 5.7k mode, in fact i love it!
i'm wondering if there's a way to increase the vertical resolution to capture 2.35:1 without reducing the horizontal resolution?
with spanning and overclock there is plenty of headroom but i just can't find a way to get that little bit more vertical capture...
thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 08:16:53 PM
Not in dropbdown menu. I mean the 10  or 12bit lossless (14bit lossless tweaking). Do you need a small video with this error?
Not sure where you select from. The bitdepth options from Crop mode sub menu should work.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 08:23:55 PM
Movie, bitdepth, 8bit, 9bit, 10bit, 12bit- > only with 3K mode I have the errors.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 08:29:28 PM
Ah, yes, Movie tab. Tell me exact name of presets giving errors and I'll try to reproduce later.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 09:18:32 PM
Here is a short video and the error file from the 3K mode test:

https://drive.google.com/drive/folders/1ABS7sbXXXDIjMHNzeFNeAr9lBh2Lj_3z?usp=sharing

I get this error only if i use 10 or 12 bit lossless, not with 14bit lossless. The resolution is not important, i use this resolution for 14bit lossless (filezise analyse says 125 up to 130MB/s -> correct writespeed). So this is the limit for continuosly record at 14bit lossless and AR 16:9.

The error comes sometimes immediately and sometimes after 30sec.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 09:37:44 PM
I know about this error. It´s always triggered from the same place in mlv_lite.
Usually I don´t add any extras to global draw but stick to minimun per installation. I also don´t change ratios from under RAW video menu but stick to Movie tab ratios but that´s maybe the case already. Lastly I didn´t test 16:9 extensively. Is it working better with 2.39:1? Is it working without sd patch added? Without using shutter fine tuning?
Thanks for the vid.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 08, 2020, 10:01:54 PM
I set kill global draw and I tested as well with standard settings. I change ratio because of the error, so no difference. I tested 2.39:1 at 10bit - at the last resolution (2848) it works, but with 3072 not. The same without SD overclocking and the same without audio and the same without fine tuning. This all is only happens in 3K mode with Cardspanning.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 08, 2020, 10:15:23 PM
Ok, cool. I'll have a look. Maybe tomorrow.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 08, 2020, 11:42:15 PM
I see that there's a lot going on here with the writespeed calculations.

You also asked what happens when I try to use SD overclocking. I am using a 95mbps Sandisk Extreme Pro 32gb SDHC card. I have a 128gb 170 coming in the mail on Monday.


I have that same card (32Gb SDHC 95MB/s). It's around 6 years old and I have the same issue. My 64Gb SDXC 170MB/s gives me no problems.

So it would seem that the SanDisk Extreme Pro SDXC 170MB/s cards work great with the SD_UHS patch, but not the SDHC (32gb or less) counterparts.

I just came back from shootings some clips and I was using 3520x1320 14-Bit lossless and 1920x2340 (5.7k) 14-Bit lossless all continuous with green seconds counter. The preview was going from black & white to color depending on the complexity of the scene. I was using ETTR methods where when I saw raw (green) zebras, I backed out 1/3 of a stop and then recorded.

I'm on the Jul15 firmware 1.1.3.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 09, 2020, 12:14:10 AM
Seems like the 170Mb/s cards above 32gb are holding up best so far. If anyone is willing to test with a sandisk 300Mb/s card please let me know. I want to do a short test with 240Mhz setting enabled. All tests with 170Mb/s cards are indicating "almost' working but always fails after talking a photo or enabling raw video modes. Maybe the 300Mb/s card is what will work.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 09, 2020, 12:19:44 AM
Thanks Volumetrik I am pretty excited to get a 128gb and test it out. I'll update when it arrives.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on August 09, 2020, 01:41:40 PM
does anyone have any experience with the sony "tough" cards?

check out the specs and price on this one:

https://www.amazon.ca/Sony-Tough-M-UHS-II-SF-M64T-T1/dp/B07YNVHBRB/ref=pd_vtp_147_5/137-0597058-5496919?_encoding=UTF8&pd_rd_i=B07YNVHBRB&pd_rd_r=ad1e4f25-8b40-444f-b8cd-bfa782b38ec4&pd_rd_w=JOLuj&pd_rd_wg=efYlY&pf_rd_p=75befe49-ac36-4a58-aab5-12fc18b6d465&pf_rd_r=3FVGYCBKGFCQ401TNFQ6&psc=1&refRID=3FVGYCBKGFCQ401TNFQ6

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 09, 2020, 02:14:01 PM
Here is a version with all three registers included, 160/192/240 Mhz:
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/downloads/sd_uhs.mo

Above version will work with my latest builds from july 15th.

No reason to use this module more than for brief testing. With brief tests I mean enable bench.mo and run the 1 minute benchmark test. Test scenario.
 
With only the SD card in the camera. No CF card inserted in camera that is! Do following:

1 - Select for instance sd overclock 240Mhz, restart camera in photo mode.
2 - Run benchmark test and check the numbers. If working the first time numbers should be around 105Mb/s read speed and I think around 90 write speed.
3 - After running benchmark test take a photo then run the benchmark tests again. Usually write speed works like before but read speed will take off to around 5000Mb/s. Once that happens you might as well turn off the camera and consider the 240Mb/s patch not working.

If you for some reason don´t want to run benchmark routines above, a simple useful test would be to simply apply the patch, then enable a movie preset and start recording. Do multiple recordings to see If it works without early stops.

Do not format card in camera with sd patch applied. If formatting see to it that sd uhs patch is set to OFF.

What cards havn´t been tested? Well. 32gb sandisk 95mb/s seems not to work with 160Mhz. Will it work with 240Mhz?
We still havn´t tested the 300mb/s sandisk cards either 32gb or above. Mainly tests should be if you have any of these cards.
Don´t hesitate to ask questions and be careful. There are risks:
https://www.magiclantern.fm/forum/index.php?topic=25210.msg229534#msg229534
 
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on August 09, 2020, 02:17:32 PM
Would be a first here: UHS-II card in overclocked UHS-I compatibility mode.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 09, 2020, 02:21:18 PM
Would be a first here: UHS-II card in overclocked UHS-I compatibility mode.
You´,ve been successful? But not on a 5DIII right? What card exactly?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on August 09, 2020, 02:32:43 PM
No, just wanted to express it would be a first here = ML community. Don't know if SD overclocking with UHS-II in UHS-I mode was ever tested somewhere else.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 09, 2020, 02:42:36 PM
Yes, aware of this. Probably not gonna work but might be a slight possibility.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 09, 2020, 08:06:05 PM
I set kill global draw and I tested as well with standard settings. I change ratio because of the error, so no difference. I tested 2.39:1 at 10bit - at the last resolution (2848) it works, but with 3072 not. The same without SD overclocking and the same without audio and the same without fine tuning. This all is only happens in 3K mode with Cardspanning.
I can´t reproduce this issue. Recorded longer taes with sd overclock on 24 fps 3072 resolution 10bit. Works ok here.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 09, 2020, 09:23:44 PM
Interestingly.
How long you have recorded? Mostly it happenes in the first 45sec. Sometimes it is depending on what you film (how fast it happens).

I used a SanDisk Extreme Pro 170MB/s 128GB and a Komputerbay Prof. 128GB 1066x.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 09, 2020, 11:19:19 PM
I'm currently testing with a Lexar Professional SD3XCII 10 128GB x1000 with a theoric write speed of 150MB/s . When I'll test I'll also do it with the CF, it will be a Lexar Pro UDMA7 1066x with a theoric write speed of 160MB/s.

Wait and see.

Edited: fixed wrong assumption
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on August 09, 2020, 11:32:57 PM
Not sure which card you are using. Lexar lists a "Lexar Professional 1000x SDHC/SDCX UHS-II" card with 150 MByte/s labeled but for read speed only. Cameramemoryspeed tested the 128 GB variety and it had a maximum speed (without overclocking) below 96 MByte/s.
There are at least two varieties of Lexar 1066x. One with premium write speeds (quite close to theoretical write performance) and another one not that fast.
I strongly recommend testing them with a decent cardreader.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 09, 2020, 11:53:41 PM
Well. The numbers seem to give you a point: reading speed is increasing way more than writing.

Here are the results, as following: mode,1st Write/1st Read/2ndWrite/2ndSpeed

sd module off: 20.5 / 21.8   / 18.8 / 21.8
160 MHz:        50.3 / 70.1   / 65.6 / 70.1    ===> if only WRITE speed is what counts, that mode is the best as it's overcranked to the minimum and it gives the same average write speed results
192 MHz:        64.4 / 83.0   / 49.8 / 83.1
244 MHz:        63.5 / 101.7 / 50.7 / 101.8   ===> Best READ mode

CF+SD Write: SD / CF => total
OFF       : 14.7 / 113.5 => 128.2
160 MHz: 43.9 / 93.1   => 137
192 MHz: 42.3 / 94.3   => 136.6
240 MHz: 54.7 / 89.5   => 144.2



I'll try to make some shot / raw videos in different mode tomorrow. It's anyway a BIG difference of minimum x2 in terms of write speed, just using the 160MHz.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on August 09, 2020, 11:55:39 PM
Please run benchmarks with cardreader connected to your computer first. Both cards.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 12:05:01 AM
I don't think I have a decent card reader, as I can record quicker than reading / writing the CF on the computer. It may not be bad (the adapter) with the SDHC, will try tomorow.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 10, 2020, 03:48:09 AM
I'm currently testing with a Lexar Professional SD3XCII 10 128GB x1000 with a theoric write speed of 150MB/s . When I'll test I'll also do it with the CF, it will be a Lexar Pro UDMA7 1066x with a theoric write speed of 160MB/s.

Wait and see.

I think you may be referring to a discontinued model of that card. It just so happens that I have a 64GB version of said card.

Can you confirm that you're talking about this one ?
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FzfmqffK%2FIMG-5957.jpg&hash=f3fe19e105a9b70bd41a62fe59c1977a)

If so, I have tested it multiple times with card reader benchmarks and in camera with & without SD_UHS. My conclusion was that I found it very unstable performance wise. Sometimes I could get 118MB/s (SD_UHS 160Mhz + Spanning) writing for minutes at a time on the 5D3, other times my SD UHS-II card reader benchmarks were sub-standard, like 40MB/s and dropping.

Bad performance, to the point where I was seriously doubting the card's legitimacy. I bought it second hand with the 128GB 1066x 170MB/s Lexar card which runs flawlessly, so can't be sure.

For the reasons stated above, I don't use that card and I don't recommended for our use case.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 11:23:26 AM
My cards:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2Fz8KC7JW%2Fdav.jpg&hash=7bf49e45b8a56af7ad51e700497c184b)
Obviously I was tired last evening, but at least I did some benchmarks on the mkIII ^^

What can I use to benchmark the cards on a computer ? Tested them with SpeedOut :

The SD is reporting an average of 87 MB Read / 77 MB Write
The CF is reporting an average of 133 MB Read / 130 MB Write
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 01:06:35 PM
Okay, I did some test with the 166MHz Mode.

It's recording continuous 3072x1320,12-bits lossless (preview is cropped, but with framing it's usable to aim/focalise). I've ran a 1 minute long recording, kept green all the time. BTW I'm also recording sounds. I moved the camera a lot to make some sudden image change (and thus trigger some more activities), changed exposition during recording. Additional settings: card spanning on, preferred card CF, global draw off when recording. If it's counting, all my cards are formatted to exFat with default settings (did not played with cluster size).

ALL WORKED LIKE A CHARM. It was not the case before. It was working, but only for a couple dozen of seconds and with yellow indicators at best. What I can say is that the 166 MHz mode made my cards usable for raw recording.
I'm pretty aware that these are not the best fit cards for ML& MKIII, but the last versions of Danne's ML and modules made them pretty usable for the cases I'm aiming.

No problems while shooting. I'm going to play a bit with the patch on @ 166 and I'll try with the others after.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 10, 2020, 01:19:55 PM
160Mhz is the only patch working solid so far with at least 170mb/s and probably 64gb 95mb/s cards. Mostly heard about sandisk cards but your lexar card works too?

If testing other patches easiest to test with only sd in the slot.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 01:33:36 PM
I can confirm that the 166 MHz patch is working with my Lexar card. It's at least doubling the default speed. Tested continuous 3K rec one more time and it's working for more than a minute without a glitch. It's staying green except each couple of 15 secs, where it's flashing to orange for a second before coming back to green (maybe a buffer/cache issue, it's not affecting my record)

@Danne a few post ago I posted my values, tested with only SD in:
OFF        :        20.5 / 21.8  / 18.8 / 21.8
160 MHz:        50.3 / 70.1   / 65.6 / 70.1    ===> if only WRITE speed is what counts, that mode is the best as it's overclocked to the minimum and it gives the same average write speed results
192 MHz:        64.4 / 83.0   / 49.8 / 83.1
244 MHz:        63.5 / 101.7 / 50.7 / 101.8   ===> Best READ mode

With my cards I was not that far from the wanted bandwidth for continuous 3K. Doubling the SD write speed did it.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 10, 2020, 01:41:31 PM
Ok, could you test 240Mhz in photo mode. Run benchmark test, then take a photo, then run benchmark test once again. What readings are you getting from the second test? I want to know if your card will give consistent results or somehow breaks or not.
What´s your max write speed for your card? Seems around 70mb/s?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 02:01:34 PM
71.5 / 101.9 / 64.5/ 101.0  (no picture in background, card was cleaned)
Took 3 shots, RAW, and then ran again:
54.5 / 101.9 / 65.5 / 101.8 (one of the pictures I shot was in the background)

Edit: @240 MHz

Edit2: Ran a couple other shots, and a video, and one more benchmark (did not restart the camera since first test)  65.4 / 101.8 / 66.7 / 101.0

Edit3: the average write speed during the tests was 64.6
 
Edit4: The 240 MHz option seems to work on my setup.I'll try to stay on that mode for a while and report. ==> RAW recording not working in that mode for longer than a few seconds, (first try was just a start stop video) got raw error and camera in state where I need to pull of the battery.

Edit5: Going back to 160 Mhz immediately makes everything working back.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 10, 2020, 02:19:40 PM
Are you running the tests in photo mode? Yeah, this means your card is probably working stable only in 160mb/s mode.
Just for the fun of it. Here´s a patch which works faster but not stable on my card. Maybe you are luckier:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/sd_uhs.mo
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 10, 2020, 02:49:18 PM
Yes, photo mode.
Trying your module now.
Edit: reverted to previous. This one is unstable, gives me err02 and full card errors
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 10, 2020, 08:37:32 PM
Hi again everyone I just wanted to update that I did receive a Sandisk 128gb Extreme Pro 170mbps card, and the patch is working correctly and I can record at 125mbps without global draw or 115 with.

This is further confirmation that the 128gb cards seem to work consistently.

It's awesome! Thank you guys again it's like I have a brand new camera.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 11, 2020, 01:49:35 AM
I'm getting a lot of "file create error"s when using the sd overclocking, mostly in UHD mode. It seems to happen if I enable anything in global draw. It will also happen randomly, but it happens consistently if I enable something in global draw, then restart.

Edit: I purchased my card off of ebay, and while it benchmarks correctly and does function with ML, I have reasons to be suspicious that it's not authentic so I ordered another one from B&H and will update if this error persists with that card.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Hisplan247 on August 11, 2020, 07:33:31 PM
What are your exact settings for the 5d Mark iii? I have the 128gb A2 v30 170
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 12, 2020, 01:07:12 AM
What are your exact settings for the 5d Mark iii? I have the 128gb A2 v30 170

That model is a micro sd with adapter right? I'm using a SanDisk 128GB Extreme PRO UHS-I SDXC (but it might be a knock off). Firmware 3113. All global draw overlays set off, but global draw on. UHD mode with 12 bit set to on in the external menu. Card spanning on. SD overclock on. If I turn on any cropmarks or histogram or anything else in global draw it will return a "failure to create file" error when I try to shoot, and it will continue to shoot just using the cf card.

Sometimes it works, but if I turn the camera off and on it will usually return an error on the second start up.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: toto2012 on August 12, 2020, 01:29:23 AM
Hi Danne, thank very much for your build. It's amazing !
Today I installed your latest from today I guess. I have the 5D3 with 1.2.3.
I work with the 5.7K Anamorphic but I have some issues with the global draw I think. When I record with the global draw my "speed record" is always in the orange and after 30-40seconds the record stop automatically. If I disable the global draw everything works and my speed record is green and around 90Mb/s, and I can record without limits.
I record only on my CF Card Sandisk Extreme Pro 160Mb/s. Do you have an idea if it's possible to fix this ?

Thank you
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 12, 2020, 02:20:34 AM
Hi Danne, thank very much for your build. It's amazing !
Today I installed your latest from today I guess. I have the 5D3 with 1.2.3.
I work with the 5.7K Anamorphic but I have some issues with the global draw I think. When I record with the global draw my "speed record" is always in the orange and after 30-40seconds the record stop automatically. If I disable the global draw everything works and my speed record is green and around 90Mb/s, and I can record without limits.
I record only on my CF Card Sandisk Extreme Pro 160Mb/s. Do you have an idea if it's possible to fix this ?

Thank you

It sounds like you’re describing normal operation. Global draw will reduce recording speed, I believe because it uses up system resources. Also recording in higher frame rates reduces speed, as well as the firmware build you’re using. 3123 is slower than 3113 in my testing and seemingly in general.

Is it just that speed is reduced when using global draw? The speed reduction should be around 10%.

The great thing about dannes build is that you can turn on card spanning, which will let you record to both SD and CF cards. That should get you back to normal speeds, or even faster with global draw off.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 13, 2020, 08:42:10 PM
I have an update from my 3K mode trouble:
- Problem: Can't record 3K mode with cardspanning (+overclocking) + 10 or 12bit, only 14bit lossless.
- Here is what happens: https://drive.google.com/drive/folders/1ABS7sbXXXDIjMHNzeFNeAr9lBh2Lj_3z?usp=sharing

I tested so many tests the last days. many combination of settings and installation (only CF, only SD and both).
And now i found a way, that it's works:

Quote
default settings (fresh install, or fresh ML files/ without config) + cardspanning + without SD overclocking + 10/12 bit.
-> working and with 10bit continuous with live view or 12 bit without.

Trouble:
- if i set SD overclocking (160mhz) ->failed
- if i set in Overlay: Histogram, Waveform and Zebras (raw), with or without kill global draw ->failed
- but, if i set in Overlay: Histogram and Waveform (without zebras) and kill global draw -> working

in summary: -> only working without SD overclocking!
- If i want liveview i need to disable Zebras, Histogram and Waveform manually (not possible to simply disable global draw)
- If i want without liveview i need to disable Zebras manually (not possible to simply disable global draw or kill global draw)

-> The frustrating things is: this is only happens in 3K mode. In all other modes, i can use SD overclocking and Overlays.

------------------------------
I also tested Benchmark with your SD overclocking module:

i tested step by step from your discription! (only SD, photo mod, benchmark -> picture -> 2. benchmark)
I used a SanDisk Extreme Pro 170MB/s 128GB

without overclocking -> working (logical)

160mhz -> working (logical)

192mhz -> write ~80, read ~87 (both tests works surprisingly)
->
240mhz -> failed (5000mb...) at 1. and 2. test

so, back to 192mhz ->failed, and everytime...


The test is probably not that reliable...

@Danne
Maybe this helps a little bit
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 13, 2020, 09:08:11 PM
Thanks for the screen recording.
Tip. Only way for me to check for errors is to know if we can have a reliable reproducable issue. If anyone present an error one should always also go back to main intent when I buillt my presets. And that is very easy. After install select your preset and set to desired bitdepth. Then start to record. If this i working ok we at least know what works.
Next, if adding functions after this you need to find what function is causing the issue.
In general. If disabling zebras or histogram and such will make it work this is to me acceptable. I personally choose reliabilty recording over histogram and zebras. But that´s me.

So, what is actually working for you when having sd overclock enabled? Is there such a thing?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 13, 2020, 09:31:08 PM
Quote
-> The frustrating things is: this is only happens in 3K mode. In all other modes, i can use SD overclocking and Overlays.

But in 3K mode:
If overclocking enabled, I can record CF only, sd only (10/12/14bit - > less resolution, because of writespeed) and 14it with cardspanning (continuous at 2848, AR 16:9). But not 10/12 bit with Cardspanning.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 13, 2020, 09:34:34 PM
I am sorry. Not clear to me. You install my build, enable sd overclock and start to record? Nothing extra enabled, zebras, histogram etc?  Could be your cf card if so. I use a transcend cf card and from my tests I couldn´t get your issue.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 13, 2020, 09:53:17 PM
Not to spam your thread @Danne, but I could not reproduce the problems you're having Bender.

3K 1:1 Preset with 2:1 aspect ratio. 160Mhz SD_UHS + Card spanning + Raw Zebras + Digic Peaking

SanDisk Extreme Pro 64Gb 170Mb/s + 1066X Lexar 128Gb CF

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2F1vVDxnL%2FScreen-Shot-2020-08-13-at-3-45-51-PM.png&hash=f5b828db0587f44f5dfb908e64144806)(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FwJSjxbw%2FScreen-Shot-2020-08-13-at-3-46-01-PM.png&hash=5e226e067d9519201ac799d1417d8491)(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2F9grKZDD%2FScreen-Shot-2020-08-13-at-3-46-11-PM.png&hash=70cfb4bcdeac3a5c11bd62ec0f13d310)

I am actually having close no no issues. Thanks so much Danne, with the SD overclocking I can afford to have everything with 14-Bit lossless !
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 13, 2020, 10:07:57 PM
Thanks for reports. The more the better to nail down potential issues. Also what is actually working is important news.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 13, 2020, 10:08:47 PM
Quote
I am sorry. Not clear to me. You install my build, enable sd overclock and start to record? Nothing extra enabled, zebras, histogram etc?  Could be your cf card if so. I use a transcend cf card and from my tests I couldn´t get your issue.

I'm not sure what you mean. If I install, than enable overclocking and record in 3k mode - >SD card only (without CF card inside) or CF only (Cardspanning disabled) - > working in all bitdepth.
Default setting is 12bit and 2.35:1. If I enable Cardspanning - >failure
also with AR 16:9 and/ or 10bit.

Without extra settings.

I use a Komputerbay professional 128gb 1066x.

@Volumetrik
Sometimes it takes up to over 1min, especially with less resolution (2.35:1).
and most tests I set AR 16:9 (max. Resolution in this mode)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 13, 2020, 10:27:16 PM
We need more testers but seemingly it works ok for others. Do try another cf card. Komputerbay cards are known for inconsistency.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 13, 2020, 11:15:10 PM
@Danne
Yes we need more testers.

I tested other CF Cards:

- a old SanDisk Extreme 120MB/s 16GB CF card

- SanDisk Extreme Pro 160MB/s 64GB  CF card

Both fresh install/ default settings.

Settings changed:
Preset: 3K 1:1, overclocking enabled, AR 16:9, 10bit, cardspanning enabled ->restard -> waite for overclocking and nothing more.
 -> record with 3072x1728 at 10bit lossless

-> failure takes up to 30sec. on both cards.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 14, 2020, 12:19:47 AM
First test using your settings did a minute with no corruption issues. Had one frame (206) that had a compression error. Frame demonstrated in the screenshot below. Write speed was at only 89.35 MB/s.

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2Fk8xXYwB%2FScreen-Shot-2020-08-13-at-6-02-49-PM.png&hash=a28ff12cc83b027b9b9b722f35c80c14)

Second test with 16:9 10-bit stopped at 12 seconds because it was writing at 120.14 MB/s. I think this one also has one compression error, however I can't recall the frame and I can't see it by playing through the footage.

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FTwdB1vK%2FScreen-Shot-2020-08-13-at-6-07-59-PM.png&hash=6fb8e166c4766cb18f1570b199883276)

You can see the file sizes for the second test highlighted. You can also see the sizes for the 1 minute test at 2.35 AR just above.

From my hardware, camera and settings, I have to stay around the 110MB/s to get full continuous footage. That figure might be different for others reading this.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 14, 2020, 12:47:49 AM
@Volunters
Interestingly, there is no pop out console while recording?
which firmware do you use?
I use 113 and can rec. up to 125mb/s with liveview and 131mb/s without (UHD mode).

In my case it never stops recording, but I see multiple compression error on frame *

Easily you can close your lens cap for less writespeed, but if you don't see the console message it will not really work.
but maybe you can enable console in ML menu under scripts.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 14, 2020, 01:08:23 AM
Bender@arsch I get a similar error when recording higher framerates (either 1920 @ 60fps or 1050 @ 48fps) while using card spanning. I am currently using a 95mbp/s sandisk 32gb card. I haven't tested the error aggressively so I'm not sure if it conflicts with other settings.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 14, 2020, 02:29:09 AM
@Volunters
Interestingly, there is no pop out console while recording?
which firmware do you use?
I use 113 and can rec. up to 125mb/s with liveview and 131mb/s without (UHD mode).

In my case it never stops recording, but I see multiple compression error on frame *

Easily you can close your lens cap for less writespeed, but if you don't see the console message it will not really work.
but maybe you can enable console in ML menu under scripts.

1.1.3 Latest Danne build Jul15 with stock SD_UHS @160Mhz + Spanning +Raw Zebras + Global draw + Digic peaking

I did get the console message, but it kept on recording. (forgot to mention sorry) The compression error message was only for the frame 206 which was blank as shown. I agree that this is not ideal and it partially obscures the liveview, but the recording was okay and was fully available to view in MLVApp afterwards.

So in a sense, I did (kinda) reproduce your error for the compression, but I could not replicate the ''failed'' portion of it. The recording works, albeit for that singular blank frame.

Also, to think of it, I did a day-long shoot with the 5DIII in June and I did get that error (frame compression + console appearing on liveview, but still recording) recording 3K 1:1 present in 2:1 aspect ratio at 10-bit non spanning only on CF recording.

Bender@arsch I get a similar error when recording higher framerates (either 1920 @ 60fps or 1050 @ 48fps) while using card spanning. I am currently using a 95mbp/s sandisk 32gb card. I haven't tested the error aggressively so I'm not sure if it conflicts with other settings.

I also got errors using my 32GB SDHC 95MB/s SanDisk. I think the newer SDXC 170MB/s cards work better in our use-case.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 14, 2020, 05:18:26 AM
Ok, so getting compression errors will need some tinkering. There should be none. I will take a look and see if I can tweak some.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 14, 2020, 06:44:23 AM
@Bender@arsch, @Volumetrik. Could you test this version in 3k modes. I changed reg 713c and 7150 when in 24fps. So this test differs only when camera is set to 24fps and in the 3K 1:1 preset.
https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Aug14.5D3113.zip

https://bitbucket.org/Dannephoto/magic-lantern_dannephoto_git/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Aug14.5D3123.zip
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on August 14, 2020, 09:21:06 AM
@Danne
Thanks for your hard work!

I tested it out,... And it works lovely!

Same Settings:
fresh install/ default settings.

Settings changed:
Preset: 3K 1:1, overclocking enabled, AR 16:9, 10bit, cardspanning enabled ->restard -> waite for overclocking and nothing more.
 -> record with 3072x1728 at 10bit lossless

Recording over 90sec without failures!

I also tested 12 bit and kill global draw - > working

And again, but this time with Overlays (Histogram, waveform and zebras (raw, hide while rec.))
-> and it's working

Danne, you rocked it!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 14, 2020, 11:02:08 AM
Very nice :).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Volumetrik on August 14, 2020, 05:00:59 PM
@Danne @Bender@arsh

Confirmed on my end ! Everything is working well, no compression errors on 10-Bit or 12-Bit.

Over 5 minutes for both bit-depth !! Danne you're the man !
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2F7NGcLx4%2FScreen-Shot-2020-08-14-at-10-58-08-AM.png&hash=77a4d37a7550b92f4d05c9c46173cca3)(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FT1dSFM4%2FScreen-Shot-2020-08-14-at-10-58-14-AM.png&hash=4c72d394da5d9296634c491de411d774)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 15, 2020, 08:04:53 AM
@Danne

I was so excited about the amazing anamorphic mode and card spanning, I forgot to mention something I noticed a while ago.

In regular raw recording without using any crop modes, I get different exposures while using the same exposure settings if I change bit depth.

Switching between 14 bit lossless in mlvlite, 12 bit lossless, or 14 bit lossless in mlvlite with 12 bit in the bit depth menu all return different exposures. I haven't tested any other combinations.

You can't see it in liveview, but when you play back with mlvplay in camera or bring the files onto a computer, the differences are obvious.

 I remember this build originally started with you editing the ISO settings, maybe something left over? Or maybe it's a feature not a bug!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on August 15, 2020, 09:15:09 AM
If you turn off lff crop rec you can turn off bitdepth options too. Instead use bitdepth handling in RAW video menu.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on August 15, 2020, 04:30:21 PM
Thank you Danne.

For everyone’s reference I found that:

14 bit lossless with the bit depth menu off,

or 12 bit lossless from the raw video menu with 12 bit selected via the bit depth menu,

Both appeared to have the correct gain, so I would try those settings first if you’re trying to record without the crop modes.

12 bit lossless via the raw menu (nothing bit depth menu) appears to be underexposed, and 14 bit with 12 bit from the bit depth menu appears overexposed.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on August 20, 2020, 01:44:40 AM
with the beautiful anamorphic mode giving such great results, i'm curious...

would it be possible to do it vertically also?  can it be just as "aliasing-free" vertically as it is horizontally?

the reason i'm asking is because i would love to be able to do some slow-motion with this quality.

i think everyone would benefit from this if it is achievable...

thanks!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on August 21, 2020, 11:50:04 AM
I have to report that sometimes the liveview is stuck in x10 zoom (this seems to happen when I go in ML menu with the trash button) and I have to click on menu button 3-4 times to reset it and ML will load again the "normal" liveview.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: rinski on August 22, 2020, 10:27:49 AM
Hello, version 5d3 works very well for me, July 4 1.2.3, 88MB / s cf Lexar 128gb 1066x + 78 MB / s, extreme pro sandisk 170MB / s, 240 patching, more than 6 minutes voluntarily interrupted with parameters 1/166 iso 200 av 9.9, on the outside with the full anamorphic resolution 1.1, 1920x3760, the two cards in fat32 without restart problems when turning off and on and more or less maintained the speed, the 3x3 Binning pixels would be wonderful to obtain more than 15,003 fps no aliasing / moire.
Thank you.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 24, 2020, 09:34:49 PM
Are you using Sticky DOF and 10x crop aid maybe ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on August 24, 2020, 09:36:13 PM
I'm on the August 15 built from Danne's repo (see the commits for the little changes between 14 and15 build)
Never experienced such a thing as a sticky x10.
Crop rec can force it to x5.
What settings were you using ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Calussien on August 25, 2020, 03:34:32 PM
Hi 5d3 users. I just got a 5D3 AND usable cards for ML : SD Sandisk 128GB 170MB/s and CF Lexar Pro 128GB 160MB/s
I am discovering ML features one by one, doing many tests to understand the tools I could use in photo and video.

I have come with an issue using Danne's build. I can't record 12 bits lossless or 8-11 lossless in any crop preset.

Here are my settings for a UHD preset.

Build : Nightly.2020Aug14.5D3113

Presets : UHD 1:1

Raw video : On, 3664x1536, AR 16:9, Data format : 14-bit lossless (written in grey, can't change it in other lossless bit depths...), Preview : Framing, Crop   rec preview : auto mode, card spanning : on, kill GD : off

Bitdepth : 12

Ratio : off

FPS Override : off

SD overclock : on, 160MHz


Maybe there is something I am doing wrong. I saw older posts and some guys were using 3k preset in 12 bit lossless.

Many thanks for helping me :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ABBATT on August 25, 2020, 08:13:52 PM
Just try to use
MicroSDXC PRO+ Memory Card w/ Adapter 128GB
https://www.samsung.com/us/computing/memory-storage/memory-cards/micro-sd-pro-128gb-memory-card-w-adapter-mb-md128da-am/ (https://www.samsung.com/us/computing/memory-storage/memory-cards/micro-sd-pro-128gb-memory-card-w-adapter-mb-md128da-am/)

Benchmark result
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.imgur.com%2FZm3URxo.jpg&hash=8dc470205d76079193400f259e80c8cd)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ihaveacamera on August 27, 2020, 03:03:38 AM
Okay, perhaps I'm doing something wrong but I'm having an issue with getting video that isn't choppy. I'm basically using the default setting for the anamorphic preset except for the resolution being set to 1600 and I have global draw off. I'm should mention I'm using a Lexar Pro 1066x. I've tried playing around with a few other settings but I haven't had much luck and just end up crashing.

Anyone mind pointing me in the right direction? Thank you!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on September 02, 2020, 01:01:28 AM
I've been successfully using Danne's builds since earlier this summer (awesome work!), and I just started testing out dual iso raw video. I feel like I'm doing something wrong because I'm getting weird colors, lines, and regions of cyan. For the frame below, I used the 3K preset with the following settings:

Aug. 14 build (1.2.3)
2560x1440
16x9 AR
10-bit
Histogram and zebras enabled
Dual-iso enabled at 100/800
Slightly underexposed from ETTR
Dual-iso ON in MLV App

I also tried an earlier build and had the same issue. Any idea what I'm missing?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FFgW6YKD%2Fscreenshot.jpg&hash=e402b833d278448b7547899116f94eee)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 02, 2020, 04:29:00 PM
You can try "Switch". Uses a1ex updated cr2hdr code.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on September 03, 2020, 12:50:37 AM
You can try "Switch". Uses a1ex updated cr2hdr code.

Thanks Danne! Switch worked. I was able to salvage some good shots that I otherwise would have deleted.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 06, 2020, 03:54:21 PM
Everything is working so far for me.
I'm currently trying a timelapse with fps override @2.5 and raw 12bits video.
I've attached a photo for the stats, continuous.
And for the video itself, it is still recording atm.
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fwww.nilorea.net%2Fwp-content%2Fuploads%2F2020%2F09%2FIMG_20200906_154506-1024x576.jpg&hash=cec731e72a8272afe8063599a76de4b7)
Speed is a total of 179 MB/s
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 06, 2020, 03:58:02 PM
That is brutal  8).
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 06, 2020, 04:10:51 PM
@GullRaDriel

I think this is not the correct writespeed, see my test with different modes:

https://www.magiclantern.fm/forum/index.php?topic=12862.msg228848#msg228848

You can also test it at the same way.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 06, 2020, 04:47:31 PM
Yeah, I agree that fps overriding is somewhat helping, not doing that much encoding.

First I used MLVapp and 60fps setting and generated a 32GB avi.

Then I used Handbrake and vimeo/youtube 4k setting and got a 171 MB video X-D

Anyway, the video itself (please note that ATM youtube is still processing the highres version):

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 06, 2020, 05:10:08 PM
I'll also try a normal and long record with audio, at the highest possible continuous setting for my set up.
Pretty sure that if the processors are busy doing audio and video encoding the write speed will lessen. That, and or the various bus's that can be more used and thus limiting bandwidth somewhere.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: stef7 on September 12, 2020, 05:33:39 PM
Question about anamorphic fullres mode:
Currently it is fixed to 15fps.  Is is possible to increase frame rate ? Tried to use FPS override but camera locks and freezes. Have to pull the battery out in order to make it operational again.

With SD card overclock + card spanning in theory can get 1800 x 2700 12 bit or even 1920 x 2880 10 bit running at 24fps for at least 10-15 sec, which is enough for me. 2:1 is my favorite aspect ratio. :)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 12:16:20 AM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Expanded 3.5K 1:1 centered x5 preset height to 3584x1730(24fps)
Why this. Now we get cropped real time preview and framing instead of only framing preview when using 3K 1:1 preset for instance.
For 24fps you can use full 3584x1730 but for 25fps I had to reduce height to 3584x1660.
Needs some testing. Now we can get 16:9 3152x1730 with cropped realtime preview. Nice.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 13, 2020, 01:05:41 AM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Expanded 3.5K 1:1 centered x5 preset height to 3584x1730
Why this. Now we get cropped real time preview and framing instead of only framing preview when using 3K 1:1 preset for instance.
For 24fps you can use full 3584x1730 but for 25fps I had to reduce height to 3584x1660.
Needs some testing. Now we can get 16:9 3152x1730 with cropped realtime preview. Nice.

I am already finding the ability to see real time focus (albeit cropped) extremely useful, and I have also found the 3.5k x5 preset to be the most stable whenever I've tested anything before (even with a knock off SD card) in general. Very excited.

I just tested it using a variety of settings on 3.113 (card spanning on, off, overclocking on, etc). I have yet to run into any issues. Seems very stable.

The inclusion of a "preferred card" toggle in the raw video menu was a nice touch. I tried just SD card using that setting in 14 bit 1080 and it also worked well with no issues.

The new 2.07 - 1 max aspect ratio in 3.5k is really nice. I may start shooting this aspect ratio a lot. Gives me a clear foreground, middle ground, and background without the feeling of too much vertical space. Anything between 1.77 - 1 to 2.4 - 1 is really up to taste, but this feels like just right to me. I can't wait to start designing some shots and feeling it out more.

Also at 3584 x 1730 we are getting a whopping 6.2 megapixels, which is even higher than UHD 3840x1536 at 5.9 megapixels. And with the ability to see focus with global draw off I can actually shoot that resolution continuously in a lot of lighting conditions!

This is a very big update. Ability to check focus in real time with global draw off means I can shoot at high resolutions and still take full advantage of the overclocked write speeds without being totally blind. Awesome.

Thanks Danne. I'm going to be playing with this new build all week.

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 01:29:55 AM
Thanks for your testing and feedback. Appreciated.
I guess one could rework all the presets while in x5 zoom and it would be possible to find real time cropped preview for all presets like on eosm. Will take too long so this will be nice to have.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on September 13, 2020, 03:34:19 AM
this is truly excellent!

there seems to be something indeed about the 3.5k mode that is extra stable.  i was recording at full 14 bits with a green indicator when exposed with very little clipping, and it stayed in the orange for a good 30 seconds before finally quitting when it was severely overexposed!

with overclocking and spanning of course :)

this feels like a new camera.  spectacular!  i really could have used this realtime preview during shooting earlier today!

i agree the extra vertical height is perfect.  sometimes 2.35:1 was just too short.  this is great!

hats off to you and bilal
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 04:12:10 AM
Great to hear it's working!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 13, 2020, 08:58:41 AM
Hello Danne.

Thanks for the build. I'm on firmware 1.13 and with your latest build I have a flashing liveview, alternating from parts of what is in sight with strange colors to full colored pixel view (like a TV without a channel).

Whatever the mode set it's not working and generating corrupted messages and asserts logs if I try to record.

I've tried numerous settings (spanning on/off, various résolutions/bitdepth), no one working.

@70mm what firm are you using ? 1.13 ? Have you wiped the SD before putting the new build ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 13, 2020, 09:14:23 AM
Hello Danne.

Thanks for the build. I'm on firmware 1.13 and with your latest build I have a flashing liveview, alternating from parts of what is in sight with strange colors to full colored pixel view (like a TV without a channel).

Whatever the mode set it's not working and generating corrupted messages and asserts logs if I try to record.

I've tried numerous settings (spanning on/off, various résolutions/bitdepth), no one working.

@70mm what firm are you using ? 1.13 ? Have you wiped the SD before putting the new build ?

Weird, I ran it on 3.113 and didn’t run into any issues, are you seeing this in all presets, and not just the 3.5k 5x? I formatted my sd card in camera before installation.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on September 13, 2020, 11:33:14 AM
i'm also running 1.1.3 and i did wipe the sd card before installing.

maybe you could try downloading again.  could it be a file error that wasn't caught?  all it takes is 1 bit...

i don't have any other suggestions so my fingers are crossed for you!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 12:53:42 PM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

- Added a preset which handles up to 3296x1854(16:9) 24fps and with realtime cropped preview.
Reduced width keeping real time preview according to older findings from theBilalFakhouri.
Enjoy!

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FGhYq0zXG%2FVRAM4-PPM-500px.png&hash=65fe748347a7d05bb62187523799abe3)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on September 13, 2020, 02:24:50 PM
Thank you Danne! I look forward to test the new build.
With next uncropped realtime preview this old camera will become a brand new 4k camera! ;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 02:46:55 PM
More like a 3.3k cam but I get you ;).

Uploaded new builds. Reduced height and width slightly to the 3.3k preset due to reports of compression error.

Usual place:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on September 13, 2020, 02:47:55 PM
Eager to test but im away from my camera atm. Fantastic job btw👍👍
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 02:49:48 PM
Thanks. Put up some feedback after testing. Good and bad.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: stef7 on September 13, 2020, 03:11:45 PM
Thanks a lot for the latest build, Danne. It's oustanding ! 3.5K 2:1 aspect ratio at 24fps 1.6 crop. It's basicaly 4K Super35 (APS-C) format. Just perfect for me !
Don't need anamorphic modes anymore.  :)

Not sure if this is a problem or not but modules don't show on the menu.
See only two of them atg_gui and bench. But can see them in the respective folder.
Is this a bug or by design ?

When bench marking a SD card instead for some values for read performance get this message:

          malloc error buffer: 16777216

Two difference Sandisk Pro 128G cards, same message.

But the work and report write speeds of 50mb/s
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 03:21:22 PM
Nice.
Keep an eye on your recordings around malloc errors. Are they sandisk pro extreme cards? Otherwise might be tricky using sd_uhs module.
Modules are autoloaded in this build. Bench and adtg_gui additional only. Shouldn´t be enabled if not used. Especially adtg_gui will be tricky conflicting with crop rec.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 13, 2020, 03:39:39 PM
Latest tests on latest build:

I got some strange crashes when I tried to record without having x5 on (using 3k 1/1)

But on the other tests with presets 3K x5, it was working and I had a working colored x5 preview while recording.

Very good effort !

I may do some more tests with whatever you come with, but not until friday (busy IRL).

Good job and thanks for the time you're giving us.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 03:53:09 PM
I got some strange crashes when I tried to record without having x5 on (using 3k 1/1)
Please make a screen recording if you can´t nail down the issue or reproduce it exactly.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 13, 2020, 07:01:27 PM
@danne just tried the new build and in the 3.3k preset I got compression errors at roughly 1.5 minutes of recording a few times, but I can't seem to reliably reproduce the error.

I tried going down settings in order:

- card spanning on, nothing else
- bit depth on, nothing else
- overclock and card spanning, nothing else etc.

I had an error with card spanning, overclocking, and bit depth and global draw on, as well as global draw off. It's possible it returns errors with other settings. I tested roughly a minute and a half for each trial.

Unfortunately, when I found an error, restarting and trying again with the same settings did not reliably reproduce the error. I will try more later my camera is currently cooling off.

I will also test the 3.5k preset more vigorously, since I'm eager to use it for product demonstrations for work, so it will get a lot of testing over the next few days.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on September 13, 2020, 07:18:07 PM
Hi Danne,

Just tried 1.13 build for 3.3K realtime preview test. It works just like before for me. Laggy preview. Am I missing something?

Screen record :
https://drive.google.com/file/d/1B_ScednT0ms1jKB_DBjILxOEhfwAnyTG/view?usp=sharing
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on September 13, 2020, 07:20:11 PM
Hi Danne,

Just tried 1.13 build for 3.3K realtime preview test. It works just like before for me. Laggy preview. Am I missing something?

Screen record :
https://drive.google.com/file/d/1B_ScednT0ms1jKB_DBjILxOEhfwAnyTG/view?usp=sharing

Edit: also tried canon menu button magic, nothing changed.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 13, 2020, 07:23:14 PM
Just tried 1.13 build for 3.3K realtime preview test. It works just like before for me. Laggy preview. Am I missing something?

Have you tried global draw off?

@Danne
I have the same problem as has_abandonment_issu in 3.3K.

But 3.5 works very well.
nice work!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 07:26:19 PM
I see. I think I need to shave down a few more pixels then. Let me test some.
EDIT. What resolution are you using?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 13, 2020, 07:39:28 PM
I see. I think I need to shave down a few more pixels then. Let me test some.
EDIT. What resolution are you using?

I was reducing resolution to allow for continuous recording in each case. From 2.8k to max. I got one error at a lower resolution with global draw on, and also at max resolution with all settings checked and global draw off.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 07:52:17 PM
Ok, I shaved some height and width. Maybe it´ll fix it. If not I have to check timers. Later on that is. Downloads at usual location.

I also got my not yet released application "Switch mini" working with spanned files. Simply drag both cards at once onto Switch mini, then select (CS) setting and follow the instructions.

https://bitbucket.org/Dannephoto/switch_mini-git/src/master/
Download:
https://bitbucket.org/Dannephoto/switch_mini-git/get/db5140d40a12.zip

Thanks for feedback.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on September 13, 2020, 08:01:27 PM
Thanks. It worked. 5x-3.3K preset continuous recording ~2.8K with global draw off.  When recording, preview is realtime but broken colors. Also when change fps, camera freezes. When change global draw, camera freezes. Not much can be done due to the camera freezing.

Have you tried global draw off?

@Danne
I have the same problem as has_abandonment_issu in 3.3K.

But 3.5 works very well.
nice work!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 13, 2020, 08:06:12 PM
Whatever makes the camera freeze. Don't do it.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 13, 2020, 09:13:08 PM
Whatever makes the camera freeze. Don't do it.

Hahhahahahha. Good advice,

 We are currently at a rough limit of 6 megapixels at 24fps or 144 megapixels per second.

I’m not sure if it’s possible to squeeze any more out of the 5d mkiii, but for reference we are just 10% away (3840x1920) from this camera being viable for producing Netflix content! Well like 15% away if you count total resolution area but it’s amazing how much you guys have managed to push this camera
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ZEEK on September 14, 2020, 01:48:30 AM
I also got my not yet released application "Switch mini" working with spanned files.
Sounds like a really cool transcoding app, well done! Ive been busy recently, but with free time now I'll test out the new M Build out, see how it goes. I know it's a work in progress, but honestly, it's a miracle where the camera is right now. Cheers for all the work! 🔥🎥👍
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 14, 2020, 02:28:06 PM
Please feel free to test. Hadn´t had time to publish anything yet.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 14, 2020, 04:55:53 PM
Got word from has_abandonment_issues about 3.3k preset working with this version. Missed uploading yesterday:
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ozcancelik on September 14, 2020, 11:12:55 PM
Crash has become much less. Doesn't crashed when changing global draw. It "sometimes" crash when changing FPS. I was able to record 24 frames 3264x1366 continuously. (8 minutes). There is overlay pattern (https://ibb.co/FYw4JVH) when recording but it does not prevent shooting. Also image becomes greenish.

Also it would be nice if the size that is seen on the screen and the size taken is the same.

Got word from has_abandonment_issues about 3.3k preset working with this version. Missed uploading yesterday:
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 14, 2020, 11:39:06 PM
Try and find the answers to why fps makes your camera crash, also why changing global draw is affecting your recordings etc. With time and testing you´ll find your answers.

In general. All you are describing is already obvious to most users. If it was possible to change it it would have been changed already.

For real time preview check out theBilalFakhouri work.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 15, 2020, 12:16:45 PM
Got word from has_abandonment_issues about 3.3k preset working with this version. Missed uploading yesterday:
New builds:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899

Realy nice! All works!
I can continuous shoot at 3.3K (16:9) in 12bit and 3.5K (2.07:1) in 10bit
 - >real world test

Interestingly the writespeed indicator is up to 137,5 mb/s, but I don't double check it on my computer.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on September 15, 2020, 12:37:15 PM
What about noise amount? I've just made a few quick shots comparing to anamorphic mode and the noise in shadows looks more noticeable than in anamorphic. Though didn't have enough time to check it properly yet..
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 15, 2020, 12:40:23 PM
Ok, i double check it:

I search a good spot (bright and flat spot, without dark areas) and show in ML Menu under Raw -> 14Bit writespeed preview say 208,5mb/s or so

Here the Result:
3.5K 3584x1730 23,976fps 10bit
CF: 81,9
SD: 55,6
=137,5MB/s
-> 8424 (cf 5029, sd 3394), 1469 frames =~61sec
8424/61 =138mb/s !!!

This is a new record!!!

p.s. the indicator was orange and i stoped manuel;)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Grognard on September 15, 2020, 01:37:12 PM
UHD 2.39 is "only" 6.170 880 pixels (3840x1607) less than in this case : 6.200 320 pixels (3584x1730)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 15, 2020, 01:47:34 PM
UHD 2.39 is "only" 6.170 880 pixels (3840x1607) less than in this case : 6.200 320 pixels (3584x1730)

I don't know what you're trying to say, but the important thing is the increased writespeed. And the latest build can only 3840x1536 (continuous recording too).

-> we got never more than 131mb/s
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 15, 2020, 02:01:01 PM
I don't know what you're trying to say, but the important thing is the increased writespeed. And the latest build can only 3840x1536 (continuous recording too).

-> we got never more than 131mb/s

I didn’t want to overstate anything but it seemed to me also that the write speeds were faster than I expected them to be in 3.5k. Thanks for actually checking!

I think there is something about the 3.5k preset that the 5d just handles extremely well. Less system load or something.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 15, 2020, 02:52:34 PM
Ok, i double check it:

I search a good spot (bright and flat spot, without dark areas) and show in ML Menu under Raw -> 14Bit writespeed preview say 208,5mb/s or so

Here the Result:
3.5K 3584x1730 23,976fps 10bit
CF: 81,9
SD: 55,6
=137,5MB/s
-> 8424 (cf 5029, sd 3394), 1469 frames =~61sec
8424/61 =138mb/s !!!

This is a new record!!!

p.s. the indicator was orange and i stoped manuel;)
Those are nice numbers. I am pretty sure it´s because of being in x5 zoom.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on September 15, 2020, 06:42:10 PM
I can also confirm that the 3,5k and 3,3k modes work really well on the 5D3.  I get similar results as Bender@arsch, just 2-3 MB/s less since I only have the old 95 MB/s SD-card.  And I did not have to overclock it. I also get continuous recording at 3200x1800/10bitLL/24fps (16:9) and more than 400 frames recorded at 12bitLL and 0.0 exposure without a single corrupt frame.  Thank you so much, Bilal and Danne for this amazing work and for bringing the 5D3 that far.  I still cannot believe that the 5D3 can do this.

The only thing that I am missing in this latest build is the slow choppy preview of the flv anamophic mode which is a full-sensor readout mode.  I use it a lot at 15 fps and it really works very well for wide angle landscape videography since it allows slow camera panning and provides very smooth results at 1/30-th of a sec. shutter speed.  Unfortunately, flv preview becomes skewed when recording is started and I don't how to fix it.   So, I was wondering if the marvelous 5x real time preview could be combined with the slow flv preview during recording so that both could be toggled with the INFO button.  Also, I was wondering if the frame rate could be raised by another 2-3 fps in that flv anamorphic mode.  Right now, write speed is about 75 MB/s (green indicator) at 15 fps, so there seems to be a lot of overhead for higher fps available.  The EOS-M does conveniently 16.688 fps in its flv anamorphic mode and is very stable at that frame rate, no corrupt frames either.  In my experience, 17-18 fps frame rate seems to be a sweet spot for optical flow interpolation to 24 fps in Resolve.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: 70MM13 on September 15, 2020, 07:05:27 PM
resolve does 18fps timelines so that would be a great choice!  i use it sometimes instead of 23.976 and it is really nice.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: has_abandonment_issu on September 15, 2020, 09:11:52 PM
When recording you can press the magic lantern menu button (trashcan) and see a current recording speed as well as a max recording speed. How accurate is that using the 3.5k preset?

Edit: Tested it myself, what I'm talking about is if you move your selector over the RAW module, and then exit the ML menu and start recording, you can press the ML button during recording, and it overlays the ML menu, with the selector still over the raw module, showing the current record speed. It doesn't seem to be as accurate as the recording indicator that pops up when recording though.

For reference with an estimate of around 163mbps from the ML menu, I can record continuously at 12bit. In case anyone else records 12 bit regularly. Actual speed is around 135mbps. I haven't experimented with the quality 10bit produces, but I am going to test that next since 10bit seems to be continuous in almost all exposure scenarios.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: garypayton on September 16, 2020, 02:37:10 AM
Maybe this is the silliest question here, but when i try to install this build it tells me that i cannot install it because my firmware is not 1.2.3 ... I thought the right version of the firmware was the 1.1.3 (the one i have installed)...

What's wrong?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on September 16, 2020, 06:16:12 AM
I haven't experimented with the quality 10bit produces, but I am going to test that next since 10bit seems to be continuous in almost all exposure scenarios.

In my experience, the only downside of 10 bits becomes obvious when you try to push severely underexposed shadows.  This results in ugly red-brownish noise in those areas, more obvious in the EOS-M.  Exposing to the right greatly reduces this phenomenon which is less pronounced at 12 bits.  Other than that, with normally lit scenes, 10 bits provide great results.

But please test yourself and share your findings here.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on September 16, 2020, 06:19:47 AM
resolve does 18fps timelines so that would be a great choice!  i use it sometimes instead of 23.976 and it is really nice.

Glad to hear you like 18 fps too.  I love the smooth motion blur it provides.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: IDA_ML on September 16, 2020, 12:17:36 PM
I think, I have another good news:  The September 14-th build works quite nicely with cheap slow SD-cards without overclocking but with Card spanning active.  I tested with a 32 GB no name card that provides 39 MB/s write speed, tested with a card reader.  And I found that the 5D3 works with that card just as well as with the 95 MB/s Sandisk Extreme Pro.  I am getting:

1) 3264x1824/10bitLL/24fps, 0.0 exposure - continuous (orange indicator)

2) 3264x1824/12bitLL/24fps - about 10 sec. recording

3) 1920x3240/12bitLL/15fps/full res. anamorphic - continuous (green indicator)

Since the write speed on the SD-card indicator was well below 39 MB/s with both cards in the above modes, I think, we could safely use cheap slow cards with no or negligible write speed reduction.  In addition, we have another bonus - 10 to 20% more recording due to the spanned writing on both cards.  Not bad at all!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on September 23, 2020, 05:21:16 PM
I use 5d mk3 1.1.3.
I installed the last build 14 Sept 2020.

Somehow I get overexposed yellowish recordings.
I use MLVApp to develop the MLVs.
I drop the Gamma to 2 and select the best profile that satisfies me.
Before that build, I never had such distorted recordings.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 23, 2020, 05:30:51 PM
How do you think we could help you out? Impossible mission. At least throw in a sample mlv.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on September 23, 2020, 05:41:16 PM
How do you think we could help you out? Impossible mission. At least throw in a sample mlv.

Οκ, I will
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on September 24, 2020, 06:00:21 AM
How do you think we could help you out? Impossible mission. At least throw in a sample mlv.

https://drive.google.com/file/d/1Z2hTLI5ETIbpyMDaOL3iWy8F9Eeeph9_/view?usp=sharing
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on September 24, 2020, 07:26:05 AM
https://drive.google.com/file/d/1Z2hTLI5ETIbpyMDaOL3iWy8F9Eeeph9_/view?usp=sharing

Seems like an issue on your end. It looks pretty good to me. The fluorescent lights are clipped, but everything else looks great. If it's yellow, maybe you have Night Shift on your display? ;)

MLV App:
Exposure -1.5
Temp/Tint 3740/41 (selected white area of wall that wasn't blown out)

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FzVBFpfJ%2FM23-1636-frame-1.jpg&hash=7ca0622dbe9f88fbad4c2f32a706fbd3) (https://ibb.co/qYcCK15)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 24, 2020, 07:44:49 AM
Looks perfectly fine to me.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on September 24, 2020, 07:50:43 AM
Seems like an issue on your end. It looks pretty good to me. The fluorescent lights are clipped, but everything else looks great. If it's yellow, maybe you have Night Shift on your display? ;)

MLV App:
Exposure -1.5
Temp/Tint 3740/41 (selected white area of wall that wasn't blown out)

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FzVBFpfJ%2FM23-1636-frame-1.jpg&hash=7ca0622dbe9f88fbad4c2f32a706fbd3) (https://ibb.co/qYcCK15)

What I was seeing on the monitor was normal, otherwise I wouldnt record it.
What was recorded was far away.
Sorry, but I will return to a previous build to prevent any risks.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 24, 2020, 08:03:07 AM
If there's nothing wrong it's always better to use the latest build. Usually bugs and other refinements have been worked on but do as you want.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on September 24, 2020, 10:40:46 AM
exported as DNG from MLV app without any settings, and In Davinci a lut is applied and of course in the raw setting you can minimize the highlights and then you're done. the shot is perfect.


Here are the settings I modified in davinci.

project setting / camera raw tab :
raw profile cinema DNG
decode using project
color space blackmagic design
gamma blackmagicdesign
highlights recovery checked

I applied a lut. I used one that I created but you can use EOSHD LUT 5D3 RAW

in the color tab, in the camera raw menu :
color temp 3740
expo -1,5
sharpness 0
highlights -100
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on September 24, 2020, 11:47:13 AM
Looks good to me. @Quentin I think it's more a question of settings and shooting conditions than Danne's ML version.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Quentin on September 24, 2020, 08:14:22 PM
Thanks all for your time.
When seeing something that is "suspicious", my intention is to mention it cause I like the tools I use.
I will do some dummy tests to conclude.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: SAMK on September 26, 2020, 07:39:33 AM
Hi Guys
idont know if im at the right place to talk about that but i saw your record using danne build and i have a question
i use Magic lantern since many years and wanted to share some test i did few days ago with my 5D3 before i sent it for maintenance using danne build with overclok SD
i did make some test and this what i got i did filming at 3K1 using spanning card 14 bit and it was recording continu at 24 FPS i did use MLV APP for convert to DNG and got file that is 7 Mo
i did calculation im not sure itswork like that but thus what i got
so 24 FPS X 7 Mo = 168 Mo/S is it possible and can we do this kind of calculation ?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on September 26, 2020, 10:18:07 AM
What is the goal of your calculation?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 26, 2020, 02:27:53 PM

Update: I found most of my issues.

1.  I see you guys talking about 3k 1:1 (NO x5) - When i do that i have a pink screen and now record, only when X5 i can shoot 3K1:1, is this normal ?
2.  I remember danne earlier builds of which I could lower 3.5k bit rate to 12 losless, but now ML menu claim it shouldn't be done on large pixel ?

1.1.3
5d3
2020Sep14

I am getting great results from what does work using card spanning is wonderful
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: SAMK on September 26, 2020, 04:20:17 PM
i read many people said 5DM3 can not record more than 135 Mo continu at 10 bit about something like that
my calculation i got 168 Mo continu at 14 bit
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on September 26, 2020, 06:42:54 PM
The bit depth does not change the overall limit. Check your MLV size, and check its length in seconds and calculate with that. Converted data is different and not what the camera recorded.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: SAMK on September 26, 2020, 06:59:51 PM
Ok I see I will do it in this way
Thank you for your help
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 27, 2020, 10:10:30 AM
sd CARD will not go over 20M/s
Just bought a new one
none of them will go over 20mb/s

how do you guys do that ?

pepole talking about 60MB/s and saying bad one would reach 35mb
but I have 7 san disk ranging from 95/mg to 170/m
some from amazon
and a brand new one from 10 min ago from local store
20MB/s

please some one tell me what is wrong
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on September 27, 2020, 10:34:55 AM
sd CARD will not go over 20M/s
Just bought a new one
none of them will go over 20mb/s

how do you guys do that ?

pepole talking about 60MB/s and saying bad one would reach 35mb
but I have 7 san disk ranging from 95/mg to 170/m
some from amazon
and a brand new one from 10 min ago from local store
20MB/s

please some one tell me what is wrong

How do you test it? And have you try SD overclocking on - > restart - > wait until patching overclocking completed and tested again?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 27, 2020, 11:12:31 AM
benchmark frim ML menu (1min)
results for any of my 10 cards will not go over 20.8MB/s
 
I did try oc
BUT NOT REBOOT  :o

trying again...

but still did I understand wrong ? are guys working with your SD at rates higher then 20 ?
my SD does write 80 MG on my pc, I know its not 1 to 1 thing, but I see couple of posts up
claims for cheap SD to do 35Mb
and before a guy saying 55MB

so I need to know if I need to buy 50 more cards to maybe get fast one


Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 27, 2020, 11:16:45 AM
Sd patch needs to be enabled. Unclear if so. I suggest a screen recording to exclude more quesswork.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 27, 2020, 11:39:17 AM
I will be happy to share my screen capture,
but where is the sd patch thing ? are referring to SD OC option it self ?

when ever I enable OC the camera will not take 1 frame.
I press rec and its sat automatic  stop

steps:
1.  shot a video on 3.3k 16:9 I can do it for few sec - 7-10
2.  goto menu, enable SD OC
3. reboot camera
4. wait for patch done msg
5. hit rec
6. no frame is taking


then I need to reinstall ML because it would keep tell me that camera did not shut down properly
even if I disable SD OC

ok making a video to show you

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 27, 2020, 12:12:42 PM
Please note the first rec was stopped by me, my fingers is out of frame.

But this is whats happening when i enable sd oc

The last sd card i bought  from this morrning(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20200927%2Fb42564f801632e9bd9f2a031797b5e54.jpg&hash=366232ee5510f723ba5c362c861734eb)

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ewinemiller on September 27, 2020, 12:47:39 PM
I had zero luck from a couple of the 95mb/s cards that I had laying around. It wouldn't write anything if OC was set.

A new SanDisk Extreme Pro 170mb/s worked fine.
 
https://photos.app.goo.gl/8bdwe99AwLLNW6vV6

Left good, right bad.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 27, 2020, 12:52:46 PM
Yes, unfortunately the 170Mb/s card seems the only stable one for these regs.
I am sorry I don't have more time to spend here. Maybe there could be another patch working better here, probably is, but I am not the one that could help here atm.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 27, 2020, 01:11:34 PM
170 card working !!!!!!!!!!!!!!!!!!! wow

cooooooooool
Quote
Yes, unfortunately the 170Mb/s card seems the only stable one for these regs.
I am sorry I don't have more time to spend here. Maybe there could be another patch working better here, probably is, but I am not the one that could help here atm.

dont you ever be sorry to any one here !!!! you are the king

I was running this morning to get a true sdxc type 1 - the 95mb/s one
I thought this would be the key lol.

so I still didn't get answer for to the none OverClock method

should I expect more then 20mb/s ? - Is this really a set of faulty cards that I have ?
* again on pc it has 80+ mb/s
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on September 27, 2020, 01:54:07 PM
Yes. Around that unclocked. Not sure exactly.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on September 28, 2020, 12:35:02 PM
I will just place that here :)(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fuploads.tapatalk-cdn.com%2F20200928%2Fb25372abff312342a31df487c7d5a436.jpg&hash=73f255df102babd68068240dbdc64a7d)

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: AlexTran on September 29, 2020, 09:13:13 PM
Hey Danne!

I'm a big fan of your work and currently using your latest build.

I don't have a mac so I couldn't use your "switch mini" app to stich my spanned file.

Could you please make a window version so all of us window user can also try out this feature?

Thank you so much!
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on October 01, 2020, 12:56:32 AM
Hey Danne!

I'm a big fan of your work and currently using your latest build.

I don't have a mac so I couldn't use your "switch mini" app to stich my spanned file.

Could you please make a window version so all of us window user can also try out this feature?

Thank you so much!
Download mlvapp for windows
Just import the files and extract

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: AlexTran on October 01, 2020, 10:13:35 PM
Hey Koopg!

Thank you for your input but I tried it and it doesn’t really work for spanned files.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Abaco on October 02, 2020, 12:50:48 PM
Hello all, I am interested in this build primarily for the real time live view, but upon installing it I am still getting the choppy low res view even when using the 3.3k 5x preset. I saw on the thread about maybe disabling global draw and that hasnt made a difference. If anyone can help me get that working I would appreciate it
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 02, 2020, 01:27:48 PM
What's not working? Where did you get info about real time preview?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Abaco on October 02, 2020, 01:56:59 PM
Maybe Im not understanding what is being described, for 1x 1080p recording the live view runs full resolution and real time/smooth, on other builds ive primarily recorded 2880x1440 in 5x mode but the live view for that is low resolution and slow/choppy. I took this as making the 5x liveview for higher resolutions run real time and show framing
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on October 03, 2020, 03:12:27 PM
 :D


 :D

5d3 1.1.3 magic lantern
Helius 44-2 F2 1/48
Build: Denna's crop_rec_4k_mlv_snd_isogain_1x3_presets_2020Sep14.5D3113
3520X1730 16:9
14bit lossless
 :D Dual ISO
card spanning on
SD card overclock 166hz
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: mkayhko on October 03, 2020, 06:48:55 PM
Can it ever be possible get accurate framing preview of anamorphic or crop modes when using an external monitor?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Walter Schulz on October 03, 2020, 06:54:34 PM
Danne, is it to much asked to redo first post according to other threads? I find it convenient to have a first post  frequently updated with progress, caveats, recent build info, management abstract, etc.
Just asking ...
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: SAMK on October 03, 2020, 06:55:40 PM
hello guys im using danne build september with firmware 123 on 5D3 and my setting is 3K 1:1 12 Bit  24FPS 
i can not get real time clean screen on my camera
this my all setting and what i get on my camera screen and same on external monitor HDMI connected
 
https://ibb.co/NNbZJ3b
https://ibb.co/8skHZXG
https://ibb.co/ZSbyYwL
https://ibb.co/tB8v45K
https://ibb.co/gDnQkhH
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on October 03, 2020, 09:01:46 PM
Have you tried pressing the Menu button to cycle into and out of the Menu? It can sometimes refresh things to get the preview to work.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 03, 2020, 10:10:48 PM
hello guys im using danne build september with firmware 123 on 5D3 and my setting is 3K 1:1 12 Bit  24FPS 
i can not get real time clean screen on my camera
this my all setting and what i get on my camera screen and same on external monitor HDMI connected
 
https://ibb.co/NNbZJ3b
https://ibb.co/8skHZXG
https://ibb.co/ZSbyYwL
https://ibb.co/tB8v45K
https://ibb.co/gDnQkhH

If you stand on the preset you want to use it will present info on what preview mode that works with selected preset. Please read carefully and try hard to work with and not against the limitations of each preset.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: beba on October 05, 2020, 06:20:00 PM
Who knows how to remove these lines? (https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FVBY6bQB%2Fimage.jpg&hash=c09ac2c68f54679b19b149948c0985f1)

Resolved
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.postimg.cc%2FXvMMXLGz%2F5-A732-E9-A-96-F7-4-B18-B0-DD-F63-E15418098.jpg&hash=56deda75222c5f1311c56ed81dc4ab6b)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 05, 2020, 08:27:03 PM
There are no such lines in a regular Danne's build.
If you really need help, provide more information + source file
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: masc on October 05, 2020, 08:47:23 PM
Upload the clip as short MLV file, and try to tell something about your settings. Maybe it is DualIso, no idea without information. Nobody knows what you did.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on October 06, 2020, 10:51:31 PM
I have managed to get this with danne. under exposed
Low light above 400iso
Its getting worse every iso bump
On iso800 looks like in the pic
At 1600 ita all lines
3.5k 16:9 and 2:20
In all bitdepth

Its also happening if you dual iso and not on 16:9


So i am gessing  iso issue
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 06, 2020, 10:54:36 PM
Upload a sample mlv file. I have no issues.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on October 09, 2020, 04:18:07 PM
I will later on this weekend.
Say, I can't remember user name but i was reading the liview refactoring project thread
And gave a try yesterday to enable UHD 1:1 liveview
Was playing with regs and could see things changing, for instance i have started seeing thing but lost it.
Then something happened and I had to power cycle the cam.
When it came back i could not remember which one was it, spend 3 hours trying with no luck.

Couldn't understand the routine logic behind when to tweak what.
Do you have any clue which regs could be the needed regs to make this happen.

I don't mind to invest time in it, just need a lead.

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 09, 2020, 04:57:53 PM
Sorry, can´t understand what you are trying to say. Maybe someone else.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: beba on October 12, 2020, 08:22:15 PM


Shooting at 3.5 K , waves waves
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 12, 2020, 09:08:27 PM
Do you mean rolling shutter?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: GullRaDriel on October 12, 2020, 09:28:20 PM
I think he is talking about the vertical black stripes
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Dmytro_ua on October 12, 2020, 09:41:14 PM
I think he is talking about the vertical black stripes

It looks more like monitor's pixels on this video. But who knows..
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: beba on October 13, 2020, 08:50:02 PM

floating image on 3.5k
Do I need to experiment with the settings?
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: sm105 on October 13, 2020, 09:56:14 PM
beba, this looks like rolling shutter. Try using (1) a tripod, (2) a wider lens, or (3) a gimbal. You will have a hard time getting stable footage when shooting handheld while walking.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: wib on October 13, 2020, 09:58:05 PM
wider lens and ninja steps will help  8)
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Abaco on October 15, 2020, 12:29:45 AM
I never got an answer to my question on the real time preview for this build, so i took a quick video to make sure what im talking about is clear, for the 1080p raw that is what i would call real time, its full color and full speed, when switching into the 3.3k preset the preview is desaturated and extremely choppy. It sounded like people had the 3.3k preset running like the 1080p preview with proper framing, am I missing something or is this how its supposed to look?

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: ewinemiller on October 15, 2020, 12:55:23 AM
I don't think anything outside of the 1080p stuff is expected to give a real time view.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on October 15, 2020, 02:17:13 AM
I never got an answer to my question on the real time preview for this build, so i took a quick video to make sure what im talking about is clear, for the 1080p raw that is what i would call real time, its full color and full speed, when switching into the 3.3k preset the preview is desaturated and extremely choppy. It sounded like people had the 3.3k preset running like the 1080p preview with proper framing, am I missing something or is this how its supposed to look?


There is a new 5x preview mode for the 3.3K and 3.5K presets. But this is currently a 5x zoom preview (only a small area). How to use:
- for 5x preview while recording + before = set global draw to off
- for 5x preview only while recording = set "kill global draw"

Benefit is: faster writespeed.

BTW. If you want to use this Preset you need cardspanning, sd overclocking and maybe less bitdepth (depending on scene) .
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 15, 2020, 07:32:58 AM
Pay attention to description at the bottom while selecting a preset. When it says cropped realtime preview it actually means "cropped" realtime preview.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: kaco on October 17, 2020, 06:00:22 PM
@Danne: what is the current best mode available to shoot in 1080p with 5Dm3? Does the unsqueezed 48p with compression still have a gray or choppy preview? Thank you
PS: I no longer have 5D to test myself, but working 1080p more than 37fps mode with working preview would be awesome enough to buy one again.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 17, 2020, 07:15:53 PM
Sorry, someone else could answer. I rarely touch my 5d3 nowadays.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: andy kh on October 17, 2020, 08:32:29 PM
working 1080p more than 37fps mode with working preview would be awesome enough to buy one again.

Any ML build wil do your job. Set to 1080p mode n increase the fps overide. I think it can go upto atleast 40fps
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 17, 2020, 08:53:54 PM
Actually, tested fps override and above 36fps seems to cause corruption. Therefore I added a 38fps preset just now. Think a1ex had around 40fps working at some point or close to it.

BUilds here:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Bender@arsch on October 17, 2020, 09:20:55 PM
@Danne: what is the current best mode available to shoot in 1080p with 5Dm3? Does the unsqueezed 48p with compression still have a gray or choppy preview? Thank you
PS: I no longer have 5D to test myself, but working 1080p more than 37fps mode with working preview would be awesome enough to buy one again.

5D III currently by Danne's Build:

1920x1080 45fps
1920x1050 48fps
1920x960 50fps
1920x804 60fps

Full working preview ;)

Edit: all is 3x3 binning and it's streched.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: kaco on October 17, 2020, 09:30:12 PM
1050p 48fps
Full working preview ;)

Wow, this sounds amazing and should be given more attention. The last time I was shooting with 5D, there's been only build by a1ex with 48p (3x3 binning), but the preview was gray/choppy or squeezed/incorrect framing. Any leads on how to get this mode working? Last time I checked, I couldn't get anything with full-sensor working from these experiments, so I thought Danny's work is related to crop modes.
Thank you,
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 17, 2020, 09:38:09 PM
Nothing changed. It´s still stretched preview. We need to be realistic here. It still works very well and is totally usable for me and most users. If you can´t work with the shortcomings please do not rebuy the 5D3.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: kaco on October 17, 2020, 10:19:13 PM
Nothing changed. It´s still stretched preview. We need to be realistic here. It still works very well and is totally usable for me and most users. If you can´t work with the shortcomings please do not rebuy the 5D3.

Thank you. I've never said I want to rebuy, just asked what the updates are, as it is not that easy to keep up with the forum.
The stretched preview wouldn't be that big of an issue, but the framing is not accurate for 16:9 as far as I remember. So not that easy to use in the real world.
Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: koopg on October 17, 2020, 11:49:45 PM
Is there anything new besides 38fps preset that you need us to test over yesterday build ?

Changelog?

Sent from my SM-N975F using Tapatalk

Title: Re: Danne's crop_rec_4k & ISO experiments
Post by: Danne on October 18, 2020, 07:10:08 AM
You can follow all changes in code and commits.