Magic Lantern Forum

Experimental builds (WIP) => crop_rec and derived builds => Topic started by: Levas on December 01, 2019, 03:52:51 PM

Title: Levas' crop_rec_4k experiments for 6D
Post by: Levas on December 01, 2019, 03:52:51 PM
To give a more simpler option to new people, I've uploaded the build I'm using myself.
It has all the modules needed and activated for raw recording.
It also has the settings I'm using (this is the actual build I'm using on my SD card, I removed the rom.bin files in the data section, which will be rewritten with your own camera roms at first startup)

This is just a ML build, including all the needed modules and set up in the way I'm using it, so for use, you camera must have firmware 1.1.6 and already be able to run ML (bootflag enabled).
If you haven't already enabled the bootflag, download the nightly build for the 6D on the downloads page and do a firmware update with the 'ML-SETUP.FIR' file which is in the nightly build.

Now here is this all in one, already set up lazy build:
https://drive.google.com/file/d/1_mZQUQrossmi8KgjOFg-HkcuLU7_qz8n/view?usp=sharing (https://drive.google.com/file/d/1_mZQUQrossmi8KgjOFg-HkcuLU7_qz8n/view?usp=sharing)

When using the above build, you will see at that the following modules are enabled:
(https://live.staticflickr.com/65535/49152094747_23b7675f3c_o.png)

Out of the box, raw video recording in 1824x1026 - 16:9 aspect ratio in 14 bit lossless MLV format with audio is set.
Now in order to make use of the higher resolutions in crop mode, select a crop mode in the movie tab:
(https://live.staticflickr.com/65535/49152094787_4c637bcd3b_o.png)

After selecting a crop mode preset, be sure to check the resolution displayed behind RAW VIDEO in the movie tab menu screen.
You can change/set this resolution by entering RAW VIDEO menu (highlight RAW VIDEO on the movie tab screen and press Q button on camera) now you see this menu:
(https://live.staticflickr.com/65535/49151890726_31f22b1632_o.png)
Although instead of N/A there are resolution and aspect ratio displayed.
You can change the resolution by highlighting the option and use the scroll wheel on top of the camera to adjust it by increments of 16 pixels wide.
Now be sure to be in 5x zoom when recording and setting up the resolution.

Once crop_mode and higher resolution is set, you can record in 5x zoom these higher resolutions.
When in 5x zoom, you will get Canon 5x zoom preview, but this is not the actual framing of your recording.
To see the actual framing, you can do half-shutter press on the shutter button (lightly press the shutter button), this enables a preview(although frame rate is rather slow) of your actual recording/framing.
You can use the half shutter button before recording and during recording. Since the actual preview/framing is rather slow in frame rate, I choose to have Canon preview by default and occasionally check framing with half shutter press.

Now with these high resolutions, you will see that you won't get long recording times, since the camera can't write fast enough.
To get some longer recording times, you can enable 12 or 10 bit options in crop_mode submenu.
Go to the ML menu and MOVIE tab, highlight your crop_mode and press Q button:
(https://live.staticflickr.com/65535/49152094812_d128b09dff_o.png)

There is a variety of options here, but most don't work (these options are used on EOS-M), but the most important option is working here, bitdepth.
You can select 8, 9, 10 or 12 bit here. If OFF is selected, you're using plain 14 bit raw option.

10 and 12 bit are really useful, 8 and 9 bit gives posterised shadows, but you can check for yourself  :P .

For viewing, extracting, post process and convert the MLV files I recommend to use MLV app:
https://www.magiclantern.fm/forum/index.php?topic=20025.0 (https://www.magiclantern.fm/forum/index.php?topic=20025.0)

ENJOY  :D

EDIT, this build has the SD_UHS speed hack enabled by default. This works good for SD cards that can handle this speed hack, for example the sanddisk extreme pro 95MB/s series or the newer Sandisk Extreme pro 170MB/s series.
Some cards, which can't handle this hack, can become slower with this hack enabled. Or maybe even won't write at all when the hack is enabled.
When experiencing problems, disable the SD_UHS module in the modules tab (Or buy a better SD card  ;D):

(https://live.staticflickr.com/65535/49152094747_23b7675f3c_o.png)

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on December 01, 2019, 06:25:49 PM
Quote from: retardx on November 28, 2019, 04:57:40 PM
Hello, I'm planning to buy 6d, but maybe I'd like to use it as a webcam on streams so I need unlimited runtime and clean hdmi.
I know by design I cant have them, but with can I bypass it with magic lantern firmware (I saw multiple videos as in ML you can complitely disable overlays = clean hdmi, not sure about runtime)

Unlimited HDMI recording duration is implemented in lua_fix experimental builds.

Quote from: retardx on November 28, 2019, 04:57:40 PM
Also, how sturdy shutter is? How long usally it lasts (i.e. 5d mark II lasts for 500k approx.)

6D shutter spec is 100000 (one hundred thousands) actuations.
5D Mark II spec is 150000. But this is statistics and doesn't tell a specific cam's sufferings. Just as an example how bad a camera's life can be: I take my cams on motorbike rides ...
http://www.olegkikin.com/shutterlife/canon_eos5dmkii.htm
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: dazer on December 02, 2019, 02:39:26 PM
Quote from: Levas on December 01, 2019, 03:52:51 PM
I've uploaded the build I'm using myself.
Thank you for your help! :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: David_Hugh on January 06, 2020, 02:01:07 PM
Hey! A while back I reported that I am having issues with the crop_rec module as well. I noticed something very interesting. When my lens (the APSC Sigma 30mm 1.4 Art - works great on a 6D by the way) was switched to AF when I powered the camera, half shutter press would not show me a framing preview, it would start focusing. However, once I switch it to manual and then BACK to AF, it shows a preview as it should with a half shutter press - even in AF mode. Incidentally, once I did this, 1x3 binning modes became available to me, when they would show a "raw detect error" or similar before. Strange stuff, especially the second part. Nevertheless, now everything works. Is there a way to include 24fps modes in this whole build or do I just need to switch to NTSC for that anyway? Great build, shame that the pixel binning modes (anti - aliasing modes really  ;D )  that bilal got working for the 700D havent made it to the 6D. We have slow mo and we have extended resolutions, but 1080p without aliasing and without crop would be killer. Hopefully this is helpful to one person or another. Thanks again Levas and all the other fine devs ;).
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Danne on January 06, 2020, 03:26:41 PM
1x3 binning modes have been working on 6D for a year or so already.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: David_Hugh on January 06, 2020, 09:55:03 PM
Yes - No binning modes was probably the wrong wording. No resolutions bigger than 1824pixels in 1x1 liveview mode to be precise (at least I think this hasn't been achieved yet...^^). It doesn't matter anyway, the advancements have been great this year, plenty of options to go out and make something beautiful, I wasn't trying to sound dismissive.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on January 08, 2020, 10:22:35 AM
Quote from: David_Hugh on January 06, 2020, 02:01:07 PM
Hey! A while back I reported that I am having issues with the crop_rec module as well. I noticed something very interesting. When my lens (the APSC Sigma 30mm 1.4 Art - works great on a 6D by the way) was switched to AF when I powered the camera, half shutter press would not show me a framing preview, it would start focusing. However, once I switch it to manual and then BACK to AF, it shows a preview as it should with a half shutter press - even in AF mode. Incidentally, once I did this, 1x3 binning modes became available to me, when they would show a "raw detect error" or similar before. Strange stuff, especially the second part.
That is strange indeed, but good to hear it works.
Quote from: David_Hugh on January 06, 2020, 02:01:07 PM
Is there a way to include 24fps modes in this whole build or do I just need to switch to NTSC for that anyway?
Switching to NTSC won't work. FPS is fixed in the crop modes.
I could make a 24fps build, if I keep the same resolution settings as in 25 fps, it's only a matter of adjusting the B-timer.
Haven't changed the code for months :P so it could take some time to dive into it.

Quote from: David_Hugh on January 06, 2020, 02:01:07 PM
Great build, shame that the pixel binning modes (anti - aliasing
modes really  ;D )  that bilal got working for the 700D havent made it to the 6D. We have slow mo and we have extended resolutions, but 1080p without aliasing and without crop would be killer. Hopefully this is helpful to one person or another. Thanks again Levas and all the other fine devs ;).
Not sure what you mean here, the latest build has two 1x3 modes, 24fps and 25fps. max resolution (24fps) is 1640x2144.
Which can be unstretched in post to either -> 1640 x 714 resolution (perfect sharp image without aliasing) or 4920 x 2144 (which is rather soft due to the 3x horizontal strecth, but far from bad)
If you mean that it is too bad the 6d can't go higher then 1640 x 2144, so for example 1824 x 3078 mode (which would become 1824 x 1026 without aliasing)
Unfortunately 1824x3078 at 24 fps will not work on 6d, CMOS readout is too slow.
Most Canon crop cameras, including the 700d, can read the CMOS quicker then the 6d.
If I remember correct, the 700d has a clockspeed of 32MHz and 6d only has 25.6Mhz.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: David_Hugh on January 09, 2020, 03:41:18 PM
Right - as stated above, no binning mode was a bit of a missleading statement. I specifically meant bilals further advancements on the 700d like getting it to work with 10 bit lossless compression and having liveview (albeit stretched). In a similar vein, I was asking about 24p modes because hey, a frame less is a frame less on the cards buffer. Also, there's no way to switch it if you are on a 24p timeline. By the way, are the crop_rec modes on all camera models with greyscale framing/preview only still? I havent quite kept up with the developements in the last half year or so and there are so many topics and threads to read through by now that I don't no what the state of crop_rec is, so to speak. What's awesome by the way is the 50p mode - easily the most useable "new" preset for everyday filmmaking.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mfenske on March 13, 2020, 01:18:55 AM
NVM fixed it. Apologies.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: metuck2 on March 21, 2020, 01:29:04 AM
Is there a way of changing the HDMI output of the canon 6D to 1080p instead of 1080i?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on April 07, 2020, 10:46:33 PM
Quote from: Levas on December 24, 2018, 06:37:57 PM
Found a few minutes to alter the crop_rec file to NTSC.
For the first 3 presets, camera must be set in NTSC 720p60fps mode.
(https://farm8.staticflickr.com/7892/31508681187_986f1465d8_o.jpg)

Tested it really quick, so far it looks good  ;D

Here's the link to the crop_rec module file:
https://drive.google.com/file/d/1tCe9ryqKpnGx_AKW4CaquCy32WwUmTU2/view?usp=sharing (https://drive.google.com/file/d/1tCe9ryqKpnGx_AKW4CaquCy32WwUmTU2/view?usp=sharing)

Hello Levas,
I would like to ask you if you would have time to add in the Lazy build the the 3840x2160 @10fps crop preset? It could still be smooth with mecanical stabilizer and good post production interpolation (twixtor or adobe optical flow).
And also to know if the Digital Dolly is active with crop_rec. I'am able to use it without crop_rec but not with. By reading the code it looks like the Digital Dolly is mainly handled by mlv_lite.c in the "update_cropping_offsets" function. So it look like to be active in your code but there is surely some subtlety.

Anyway, hope you are ok in this period and thanks for what you have already done.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 09, 2020, 09:52:25 PM
All ok over here.
Only a little bit busy with homeschooling the kids besides my real job  :P

I'm still planning to put some more presets in crop preset, so I can put back in the 3840x2160 at 10 FPS.
Although it can take a while, will try and see if I can do it before the end of this month.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on April 10, 2020, 06:09:54 PM
Quote from: Levas on April 09, 2020, 09:52:25 PM
All ok over here.
Only a little bit busy with homeschooling the kids besides my real job  :P

I'm still planning to put some more presets in crop preset, so I can put back in the 3840x2160 at 10 FPS.
Although it can take a while, will try and see if I can do it before the end of this month.

Thanks for your reply, no problem it's not hurry, I'am locked at home with the Covid-19 so it would only be to test and play with it.
So take your time and take care about your family it's much more important.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: ulldepeix360 on April 11, 2020, 12:17:32 AM
Hello, I have bought a 6D and I wanted to use Magic Lantern but when updating the firmware I have put the most moderno 1.1.9.
Y would like to know if I can install version 1.1.6 without problems?
Gracias. thank you
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on April 11, 2020, 01:24:01 PM
You have to downgrade your firmware.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: ulldepeix360 on April 11, 2020, 10:07:50 PM
Quote from: Walter Schulz on April 11, 2020, 01:24:01 PM
You have to downgrade your firmware.
Downgrade, of course,
But, Can I do it Safely?
I am afraid of damaging my camera
Thank You
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on April 12, 2020, 02:32:50 PM
If you are afraid damaging your camera you should not use ML at all. See FAQ.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: For N.S. on April 25, 2020, 01:41:25 PM
I adjusted the resolution to the maximum, 14bitless, 2: 1, and then clicked crop in x5 mode to select 1640 * 2144. When I returned to liveview, the screen was all red stripes, but the video was available. Please tell me what went wrong, thank you.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 25, 2020, 05:36:00 PM
Quote from: alexboum on April 07, 2020, 10:46:33 PM
Hello Levas,
I would like to ask you if you would have time to add in the Lazy build the the 3840x2160 @10fps crop preset? It could still be smooth with mecanical stabilizer and good post production interpolation (twixtor or adobe optical flow).
And also to know if the Digital Dolly is active with crop_rec. I'am able to use it without crop_rec but not with. By reading the code it looks like the Digital Dolly is mainly handled by mlv_lite.c in the "update_cropping_offsets" function. So it look like to be active in your code but there is surely some subtlety.

Anyway, hope you are ok in this period and thanks for what you have already done.

@Alexboum
I put the 3840x2160x10fps back in the crop_rec module.
You can download the module file from my google drive:
https://drive.google.com/open?id=1xlmsTMnIpLi5_Rr0JaW-pDi0nB9Mr03Q (https://drive.google.com/open?id=1xlmsTMnIpLi5_Rr0JaW-pDi0nB9Mr03Q)

Replace this module file with the module file in the lazy build on your SD card( ML/MODULES directory ) and it should work.
The 3840x2160 mode is for use in 5x zoom mode, if you use it in 1x zoom you probably get corrupted frames.

Curious to hear if you can get good results with Adobe optical flow or twixtor with this 3840x2160x10fps preset.
I only know Blackmagic Davinci Resolve optical flow, it's a bit of a hit or mis. On some footage it works great, on some it doesn't.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: carlfino on April 25, 2020, 06:36:08 PM
Hi guys - it's been a while for me.  I shoot lots of night shots / astro, and I can't find the Display Gain feature.  Is it unavailable on the 6D?  It's not in the ISO submenu.  Thanks!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on April 25, 2020, 06:41:38 PM
Display tab/screen -> LV Display Gain
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on April 25, 2020, 08:14:04 PM
Quote from: Levas on April 25, 2020, 05:36:00 PM
@Alexboum
I put the 3840x2160x10fps back in the crop_rec module.
You can download the module file from my google drive:
https://drive.google.com/open?id=1xlmsTMnIpLi5_Rr0JaW-pDi0nB9Mr03Q (https://drive.google.com/open?id=1xlmsTMnIpLi5_Rr0JaW-pDi0nB9Mr03Q)

Replace this module file with the module file in the lazy build on your SD card( ML/MODULES directory ) and it should work.
The 3840x2160 mode is for use in 5x zoom mode, if you use it in 1x zoom you probably get corrupted frames.

Curious to hear if you can get good results with Adobe optical flow or twixtor with this 3840x2160x10fps preset.
I only know Blackmagic Davinci Resolve optical flow, it's a bit of a hit or mis. On some footage it works great, on some it doesn't.

Thanks a lot Levas, preset works fine (No LV), my SFCard is too slow for 4K14Bit LL so I test it with 3K 16:9 10FPS (~45MB/s) (No aliasing). Camera is hand helded. It's not really natural but smooth enough.
OpticalFlow can be really good if the mouvement are slow and smooth, so stabiliser or tripod are needed to have good result. But I think it could be good for interview or Landscape footage.
On Youtube there is some good 50% slowmo at 24 fps so I assume it is possible to achieve good "normalmo" at 12fps.

PS: Resolution can be override on the preset.

https://youtu.be/Ffgc6Y8y09o (https://youtu.be/Ffgc6Y8y09o)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 25, 2020, 10:01:58 PM
Couldn't get normal liveview working, not sure why. ML preview works fine though.
The 10 fps to 24 fps youtube link, not bad, but you can see the motion of the cat is a little unnatural.
10 fps to 24 fps is probably too much for most situations.
Think I'm gonna add some more crop_rec presets this week to it.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on April 25, 2020, 10:41:28 PM
Quote from: Levas on April 25, 2020, 10:01:58 PM
The 10 fps to 24 fps youtube link, not bad, but you can see the motion of the cat is a little unnatural. 10 fps to 24 fps is probably too much for most situations.

I agree with you 10fps is an extreme case.

Quote from: Levas on April 25, 2020, 10:01:58 PM
Think I'm gonna add some more crop_rec presets this week to it.
It would be great! But 10Fps can still be useful in some situation as 5K 2.5FPS ;).
Thanks again. Take care.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 26, 2020, 07:45:25 PM
Updated Crop_rec again.

I managed to get 2560x1440 at 24 (23.994) fps working  :D
Edit: oh crap  ??? I see there is a 12 pixel wide black border on the rights side of the frame...A timer set to tight, not sure if there is room to fix this  :(
Edit: Fixed it at the cost of fps speed, now it's 2560x1440 at 24 (23.952) fps, still counts as 24fps right  :P

Did try that before but just couldn't reach the needed resolution without corrupted frames.
But after a little fiddling and finetuning registers 713c and 7150 I managed to get it to work, even got working canon liveview 5x zoom.
There is absolutely no room for more resolution in this preset, not even 2562x1440 would work  :P

And I added a 3072x1728 x 16fps mode (maybe 16 fps can become 24 fps with optical flow)
Unfortunately I couldn't get it to work with canon 5x liveview, so you need ML preview for this preset.

The new crop_rec file, which can be replaced with the crop_rec file in the lazy build:
(For everyone who wants to try, this file doesn't work with the standard nightly build on the download page, you need one of the latest 6d builds, links can be found earlier in this topic)
https://drive.google.com/open?id=1sT1ylUscb1OfTUM96laDAx5hVlW5PII_ (https://drive.google.com/open?id=1sT1ylUscb1OfTUM96laDAx5hVlW5PII_)

At the moment I'm only adding some presets for 6d, nothing ground breaking, didn't touch any other code.
Source of the crop_rec can be found here:
https://drive.google.com/open?id=1A0SPSp4fmmJV22vz_EDs2YHkEn3058jQ (https://drive.google.com/open?id=1A0SPSp4fmmJV22vz_EDs2YHkEn3058jQ)

To give you people an idea of what is possible and what is not possible with the 6d:

Canon specs for 6d fastest burst speed is 4.5 fps, 5472 x 3648 x 4.5 = 89.8 megapixel per second.
So this probably gives the maximum speed the sensor can be read, 89.8 megapixel per second.

Now some presets I made:

2880 x 1200 x 25fps = 86.4 megapixel per second
2480 x 1396 x 25fps = 86.6 megapixel per second
2560 x 1440 x 24fps = 88.5 megapixel per second
3072 x 1728 x 16fps = 84.9 megapixel per second

So, as you can see, the above presets are about the max the 6d can do.
If you can think of any other resolution x fps combination you might like and it is within 88 megapixel per second, I can probably make a preset for it.
So any requests ?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 26, 2020, 08:00:31 PM
Quote from: alexboum on April 25, 2020, 08:14:04 PM
my SFCard is too slow for 4K14Bit LL so I test it with 3K 16:9 10FPS (~45MB/s) (No aliasing). Camera is hand helded. It's not

Not sure, but did you know, you can enter submenu of crop_rec with the 'Q' button when you highlight crop_mode in ML menu ?
You can change the bit depth in there, from 14 bit(Off setting) to 12, 10, 9 or 8 bit.
Should give you longer recording times.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Quetzalcoalt on April 27, 2020, 09:51:41 PM
Hey Levas, i've downloaded your build from the last page (6D 1.1.6), and i wanted to test a sandisk 95mb/s card. Everything works, i get around 60mb/s but i wanted to bench it.
I took the bench module from the latest nightly build but i get some errors when i try to load it.
I also tried the other way around, installing the nightly and getting the sd module from your build. Still doesn't work, but i get a different error.
The error appears only when the sd module is on, if it's off there are no problems.
I've already did a clean install on your module and i forgot to write down the error i got. But if you need it i can provide it.
I guess both modules are not compatible. Do you have the modules that will work together ?
Also is there a guide on building custom crop recording presets ? I wanted to see what is the max res i can do at 30fps.
50fps at 1824x818 is super!
Thanks!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on April 28, 2020, 10:54:21 AM
Quote from: Levas on April 26, 2020, 07:45:25 PM
Updated Crop_rec again.

And I added a 3072x1728 x 16fps mode (maybe 16 fps can become 24 fps with optical flow)
Unfortunately I couldn't get it to work with canon 5x liveview, so you need ML preview for this preset.


Great I will check it today, I already love the 16fps :) . No other request for the moment :P

Quote from: Levas on April 26, 2020, 08:00:31 PM
Not sure, but did you know, you can enter submenu of crop_rec with the 'Q' button when you highlight crop_mode in ML menu ?
You can change the bit depth in there, from 14 bit(Off setting) to 12, 10, 9 or 8 bit.
Should give you longer recording times.

8) Thanks, no I didn't think to go in this submenu, only try the mlv_raw bitrate setting but only 14 bit were available.
Thanks a lot for the new preset.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 03, 2020, 12:50:01 PM
Found a problem while using dual-iso in combination with crop_rec presets, see this post for more information:
https://www.magiclantern.fm/forum/index.php?topic=7139.msg226389#msg226389 (https://www.magiclantern.fm/forum/index.php?topic=7139.msg226389#msg226389)

The problem is not very apparent in developed dual-iso files, but it is there, slightly color difference between frames, once you see it, you can't unsee it  :P
Found a way to fix this, so here's an updated crop_rec module file, to replace your old ones with, only works with the newer builds posted recently in this topic, doesn't work with the nightly builds.
New crop_rec module file:
https://drive.google.com/open?id=10o2StQq83_9H2bk1azkcbHEqcTAzefaD (https://drive.google.com/open?id=10o2StQq83_9H2bk1azkcbHEqcTAzefaD)
Source crop_rec.c file, for those interested:
https://drive.google.com/open?id=1Xgv5NfesimMHPBprhEcHv8vFYQ23Nj90 (https://drive.google.com/open?id=1Xgv5NfesimMHPBprhEcHv8vFYQ23Nj90)

Also updated the 1x3 modes, 1616x2048x25fps and 1640x2156x24fps.
They now show you stretched ML preview and if opened in MLVapp, they're automatically stretched to normal view.

Link to MLVapp:
https://www.magiclantern.fm/forum/index.php?topic=20025.0 (https://www.magiclantern.fm/forum/index.php?topic=20025.0)
So never been easier to record 4848x2048 resolution or 4920x2156 resolution on the 6d  :D

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Danne on May 03, 2020, 12:55:05 PM
You know you can fix the 1x3 stretched preview in cam too? I mean in mlv_play while watching a recorded file. Fixed on eosm.

Did you go through all your presets to fix the dual iso issue?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 03, 2020, 01:05:31 PM
Yup, did go through all my presets, it's not that much of work, you put something behind the B-timer in your presets that you can change from the advanced menu in crop_rec.

        case 0xC0F06014: return 0x88b + delta_debugging;

Enable dual-iso and ML-preview and see if lines/bars are static or not, if not go to advanced menu and make delta_debugging one unit higher (or lower) and check ML-preview.
Repeat until problem is solved.
The problem should be fixed within 4 units of the B-timer.

I've got ML preview working for 1x3 modes, playback in mlv_play is not unstretched, how did you fix that ?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Danne on May 03, 2020, 01:16:21 PM
Not by my computer. Could you drop mlv_play code from my branch into yours and you'll see the buffer fix in source tree.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 03, 2020, 01:20:40 PM
Ah so the fix is done in MLV_play module.Thanks will check the source.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on May 03, 2020, 10:17:40 PM
Levas
Thanks for the development! The new 1440 crop mode works very well. I can record raw video for 10-15 seconds 12-14 bit losless. But the preview does not work (Half Press). The frame width is much larger than x5. it's great. sorry for my english
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 03, 2020, 11:45:44 PM
The 5x zoom liveview is indeed not correct framing, much smaller.
If you don't see ML-preview on half-shutter press, you probably need to push the 'info' button on your camera a few times.
With the 'info' button you normally get different overlays on liveview from Canon, like horizontal level meter or histogram and stuff, but it blocks ML-preview.
So try pressing the 'info' button until half-shutter press gives you ML-preview with correct framing.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on May 04, 2020, 11:10:42 AM
Quote from: Levas on May 03, 2020, 11:45:44 PM
The 5x zoom liveview is indeed not correct framing, much smaller.
If you don't see ML-preview on half-shutter press, you probably need to push the 'info' button on your camera a few times.
With the 'info' button you normally get different overlays on liveview from Canon, like horizontal level meter or histogram and stuff, but it blocks ML-preview.
So try pressing the 'info' button until half-shutter press gives you ML-preview with correct framing.
thank. I noticed today that the preview (half-press) in cropping mode does not work with the connected external monitor.  maybe fix it somehow? 
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on May 04, 2020, 09:14:24 PM
Quote from: mineralof on May 03, 2020, 10:17:40 PM
But the preview does not work (Half Press). The frame width is much larger than x5. it's great. sorry for my english
Preview works great, did you set in RawVideo menu : Preview<=Framing? Or aren't you talking about Liveview (view while recording)

1X3 is really sharp compare to 3x3, but  I can olny record few seconds (because of my SD) with 10bit 2:1 ratio (bitrate ~ 59MB/s):
https://youtu.be/4nl6N2bHGwE  (https://youtu.be/4nl6N2bHGwE)
Dual ISO is smooth too:
https://youtu.be/jNgNw0Sn78s (https://youtu.be/jNgNw0Sn78s)

It also open with the right ratio in MLVApp 8)
Thanks again for the new functionality.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on May 05, 2020, 10:08:32 PM
Quote from: alexboum on May 04, 2020, 09:14:24 PM
Preview works great, did you set in RawVideo menu : Preview<=Framing? Or aren't you talking about Liveview (view while recording)
I'm talking about liveview in crop x5.  in this mode, the screen displays a much smaller frame field than it actually is.  To see the actual size of the recorded video, you must press the shutter button halfway.  but this doesn't work with an external monitor connected :( By the way, here is my video where half the frames were shot in crop rec mode 2560x1440 24fps x5 crop. I really like the new features of my camera.
https://youtu.be/Sjxn-Ha7XaU
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Quetzalcoalt on May 06, 2020, 03:27:11 PM
Quote from: Levas on December 01, 2019, 03:52:51 PM
To give a more simpler option to new people, I've uploaded the build I'm using myself.
It has all the modules needed and activated for raw recording.
...

Hey Levas, i've downloaded your build from the last page (6D 1.1.6), and i wanted to test a sandisk 95mb/s card. Everything works, i get around 60mb/s but i wanted to bench it.
I took the bench module from the latest nightly build but i get some errors when i try to load it.
I also tried the other way around, installing the nightly and getting the sd module from your build. Still doesn't work, but i get a different error.
The error appears only when the sd module is on, if it's off there are no problems.
I've already did a clean install on your module and i forgot to write down the error i got. But if you need it i can provide it.
I guess both modules are not compatible. Do you have the modules that will work together ?

Also is there a guide on building custom crop recording presets ? I really couldn't find on how to do it. I wanted to see what is the max res i can do at 30fps and at 50fps.
50fps at 1824x818 is super and i wanna see if i can try and record continues or for 1-2 minutes!
Thanks!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 06, 2020, 10:22:36 PM
You probably need a benchmark module that's from the same Magic Lantern branch as the sd_uhs module.
Try this bench module:
https://drive.google.com/open?id=1UM5v5fnLt0fMMw07cQWFJlBLJ6s0WTqp (https://drive.google.com/open?id=1UM5v5fnLt0fMMw07cQWFJlBLJ6s0WTqp)

Never used it, only tested it once today, seems to work.
But in case you see something strange or your camera acts weird, pull out the battery and restart the camera  :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 06, 2020, 10:28:31 PM
Quote from: Quetzalcoalt on May 06, 2020, 03:27:11 PM
Also is there a guide on building custom crop recording presets ? I really couldn't find on how to do it. I wanted to see what is the max res i can do at 30fps and at 50fps.
50fps at 1824x818 is super and i wanna see if i can try and record continues or for 1-2 minutes!
Thanks!

As far as I know, there is no guide for that.
But you need to be able to compile your own magic lantern files for that.
So download source code to your computer, alter the code, compile for use in camera.

But I'm working on a preset where you can alter the settings yourself in camera (if I can figure out all parts, some are more or less trial and error for me :P ).
So keep an eye on this forum for a new crop_rec module.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Quetzalcoalt on May 07, 2020, 12:04:40 PM
Quote from: Levas on May 06, 2020, 10:22:36 PM
You probably need a benchmark module that's from the same Magic Lantern branch as the sd_uhs module.
Try this bench module:
https://drive.google.com/open?id=1UM5v5fnLt0fMMw07cQWFJlBLJ6s0WTqp (https://drive.google.com/open?id=1UM5v5fnLt0fMMw07cQWFJlBLJ6s0WTqp)

Never used it, only tested it once today, seems to work.
But in case you see something strange or your camera acts weird, pull out the battery and restart the camera  :P

:O it worked, I'm getting 38.4mb/s without the sd mod when camera is in movie mode at 720p @60. and 54.6 mb/s with the sd mod. I tried running the benchmark in photo mode and i got 68.6mb/s.
It's really interesting, why are we getting lower speeds in video mode ?
I guess there is no way to squeeze another 5mb/s in video mode, just so i can do the 50fps at 1824x818 continues.

will definitely be waiting for the custom presets crop module you are working on. !
Thanks!

EDIT: i saw some memory patches (not exactly sure what these are):
0xFF325A20: 0x92D47F0 -> 0xEA46A3A6 SD_UHS
0xFF325AA8: 0x59F7114 -> 0xEA46A394 SD_UHD
0xFF78F308: 0x92D40F8-> 0xEA34FD8C SDR104.

I guess these are that the sd hack module checks what is the max it can do and patches the values so that it uses slower OC on the controller or slower memory card mode.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 07, 2020, 09:40:17 PM
 :D  :D  :D
Got something to play with.

New crop_rec build for 6d, with Custom Resolution preset, now you can dial in any resolution you like (The preset configures the corresponding max fps for that resolution).
The preset is made for use in 5x zoom and is 1:1 pixel readout.
(https://live.staticflickr.com/65535/49867922087_2ce64071f2_o.png)

Select the "Custom Resolution Experimental" crop preset from crop-rec menu.
After you selected the preset, you can enter crop_rec submenu with the [Q] button on your camera:
(https://live.staticflickr.com/65535/49867612436_1e08de96d2_o.png)

In here you can select Horizontal resolution (Goes from 1656 to 5472) and vertical resolution (goes from 640 to 3648)
Dial in any resolution you like and it probably works  ;D
Could be that there is a slightly difference between the resolution dialed in and the one selectable in RAW video menu (horizontal resolution can be 8 pixels difference  sometimes, and depending on the aspect ratio chosen, you may not see the full vertical video resolution, in that case choose another aspect ratio, like 1:2 or 1:1)

As you can see in the screenshot above, there is also a safetymargin setting, this is the overhead on the B-timer(coupled to vertical resolution).
A safety margin value of 64, seemed really robust to me. But in case you get some corrupted frames, you might want to try to increase this value.
The safety margin is directly coupled to B-timer, so it can be used to finetune fps. But if it is set to low, you might end up with corrupted frames.
Trial and error.
If your settings are too critical and you get corrupted frames (could just be only one corrupted frame at the beginning on your video file), you may start to see scrolling text on your display.
You can get rid of this text box on your display by going to debug menu and highlight 'show console' and press the 'set' button on your camera twice (turning camera off and on also helps, but the other action is slightly less annoying):
(https://live.staticflickr.com/65535/49867684741_0a708d01b1_o.png)

Now finally, here is the link to the module file:
https://drive.google.com/open?id=1mJkTJlPMmckeyM84f06jCLQ2IPM1yU6Y (https://drive.google.com/open?id=1mJkTJlPMmckeyM84f06jCLQ2IPM1yU6Y)
Updated version, with Canon liveview (Canon liveview works between Horizontal Resolutions range (1840 - 2880) and vertical resolutions range (908 - 3648)

For anyone interested, the source file:
https://drive.google.com/open?id=1aBmQWSX6fDQRdtZwK-mApYjDPlEJyNBh (https://drive.google.com/open?id=1aBmQWSX6fDQRdtZwK-mApYjDPlEJyNBh)
Updated version, with Canon liveview (Canon liveview works between Horizontal Resolutions range (1840 - 2880) and vertical resolutions range (908 - 3648)

Good to know, this preset is experimental, tested it myself, did get some camera lockups when accidentally recording in 1x zoom mode (error 70).
But haven't seen anything more worse then camera lockup (mirror suddenly goes down, and camera doesn't respond), which is fixed by pulling out the battery.
Re inserting the battery and turn on the camera again.

But With the safety margin of 64 (default setting) I think it is rather stable.
Now you might question and think about doing what all idiots would do with this tool...'How fast is the fps when the resolution is set to lowest possible settings'.
Well I can tell you that when 1656x640 is chosen as resolution, you get about 67fps.
Seems stable to me in 5xzoom (got lockup when accidentally recording in 1xzoom :P)


High resolution settings with slow fps, might give slow response in giving you ML preview. Could also be the case with low resolution settings with high fps.
In that case, just wait a few seconds, if that doesn't help, you might want to press the 'menu' button on your camera twice (this makes sure all registers are set to chosen value)

Real use for this preset could be finding a desired resolution for 30fps. In that case, you have to choose a resolution and see in ML preview how much fps that resolution is.
If you need more fps, you need to lower vertical or horizontal resolution.
When you have the desired fps, for instance 30 fps with a certain resolution, you can finetune your recording resolurtion in the Raw video menu. (by choosing proper aspect ratio and choosing the desired resolution(use top scroll wheel on your camera for small increment steps (8 pixel horizontal resolution).

EDIT: Canon liveview doesn't work in this extreme preset, you can make use of the ML-preview (see Raw video menu)
Furthermore, Whatever resolution is selected, horizontally, it always should be in the middle of the sensor, couldn't get vertical resolution in the middle, I believe it starts at the bottom of the sensor and goes up when resolution is increased.

EDIT 2: playing with it right now, think it works really well with framerates up to 30 fps. If you go higher then 30fps, it's sort of hit or miss. Trying to find decent 50fps, but small lower part of the frames are corrupten. Seen this before with 75 and 100 fps experiments. Will see if I can fix this.
1656x640 at 67 fps works like a breeze though  :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on May 07, 2020, 10:53:20 PM
It's so cool, now we can choose resolution and framerate (by using safetymargin setting) :D.
Thanks a lot!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 08, 2020, 11:08:28 AM
Some more about the new custom resolution experimental crop_rec preset:

I tested it some more now, and it seems really stable to me at resolutions which don't give more then 30fps.
Tried to find some nice 50fps setting yesterday, but couldn't get it to work, small lower part of the frames were corrupted...nothing new, high fps has always been a little tricky, will see if I can fix the same way I got 75 and 100fps to work.

If anyone experience any troubles with some settings, let me know and see if it is fixable...

At the moment, this preset is more like a proof of concept, I have some things in mind to implement.
-Try getting Canon liveview to work with this preset.
-Try getting the frame vertical centered on the sensor.
-Try getting high fps (>30fps) to work better, it's now a bit of a hit or miss, some settings work fine, others not.
-Try keeping the settings saved when camera is shutdown(should be possible, many ML settings are saved...no idea how I could do the same for this preset settings)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 08, 2020, 12:22:40 PM
Quote from: Levas on May 08, 2020, 11:08:28 AM
-Try getting Canon liveview to work with this preset.

Quick fix for Canon liveview.
Has resolution restriction, Canon liveview works between Horizontal resolution range (1840-2880) and vertical resolution range (908-3648).

When preset is loaded, and ML-preview or Liveview doesn't look good, you might want to press the 'info' button 2 times.
Pressing the info button 2 times makes sure the preset is configured for all registers.

New build available in the post a few posts above this one, replaced the files and updated the links.

EDIT:
High fps seems more stable in this build.
1840x908 resolution gives about 46fps.
Works fine over here, first frame might be corrupt, but the rest is all good.
To prevent the first frame for being corrupt, you might want to increase the safety margin value to 80.
I didn't get a corrupted first frame with that setting.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 16, 2020, 09:05:38 PM
Updated the Custom_resolution_experimental preset.

Last settings are saved in the preset. So if camera is turned off and on later again, the preset starts with the last resolution settings set in the preset.
And the preset now uses mostly the center part(horizontal and vertical) of the sensor for any set resolution.

I think most resolutions will work  ???
And as stated before, 5x live view is working for horizontal resolution range 1840 - 2880 and vertical resolution range 908-3648.

Not all settings with high fps work, some settings give corrupted bottom part of frames. Not sure how to fix it at the time.
So be sure to test your own custom settings. And check if ml preview works, if not try hitting menu button twice.

But here are some settings that work over here, so you might want to try dial in these settings yourself in the submenu of the "Custom_resolution_experimental" preset.

1840 x 908 at 48 fps (actual recording resolution can be altered in raw video menu, for example 1840x782 (for 2.35:1 aspect ratio)
(https://live.staticflickr.com/65535/49902607262_cf3c91057b_o.png)

2880 x 1200 at 24 fps
(https://live.staticflickr.com/65535/49902607287_9c18b88d76_o.png)

2240 x 1260 at 30 fps
(https://live.staticflickr.com/65535/49902300346_890ef0c429_o.jpg)

1656 x 640 at 60 fps (actual recording resolution can be altered in raw video menu for more common aspect ratio)
(https://live.staticflickr.com/65535/49902607242_7e14e73636_o.png)

Here's the new module file:
http://drive.google.com/open?id=1jZ6Z_PKshd-xOT8-YZDwuyzU-6aL7H8Z (http://drive.google.com/open?id=1jZ6Z_PKshd-xOT8-YZDwuyzU-6aL7H8Z)

And here's the source:
http://drive.google.com/open?id=1_flOViBGoF0qsCGXO0g2S8yxVU9ucS8A (http://drive.google.com/open?id=1_flOViBGoF0qsCGXO0g2S8yxVU9ucS8A)




Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: jrose99x on May 28, 2020, 07:41:50 PM
Hey guys, I'm new to the forum so sorry if I'm not posting in the right place.

I have a canon 6d and I successfully installed the raw video 10 bit 12 bit build,

I have 3 questions

1. At the moment I try to set the recording resolution to 1920/24fps (on 14bit), but it says "1920 is not posible in current video mode(max 1824) and so it's currently on 1824x1026 obviously. (it says at 14bit it's at 74.8mb/s , which I know the 6d has max 40mb/s write speed to card natively)
The thing is that even if I lower the bit rate to 10 bits, the resolution still maxes out at 1824x1026, but says 53.4mb/s. (which should be ok for a few seconds as the buffer takes the other 13 mb's, right?)

So my question is why does lowering the bit rate (and therefore mb/s being outputted) NOT give more headroom for higher resolution? all it did was extend the amount of time I can record without skipping frames. what is the value I have to change to get higher resolution, what video "mode" is it talking about?

2. I'm thinking the best solution is the UHS/SD card overclock module I've read about in the forums, but can't find the actual module/download link/build ANYWHERE, on site or off. (I know there's risk involved but thats the whole thing with ML we're already risking it) so if anybody could link me to it, I would GREATLY appreciate it. I imagine having the 60mb's write speed could be what the camera needs to bump up the resolution? at least to 2240 and I'd be a happy camper.

3. So I'm currently recording in 1824x1026 10bit, and I switched the aspect ratio to 1: 2.39 (I did this because in the menu as I did this it said it estimates 39.8mb/s, which as I understand is under the 40 mb's cap, therefore allowing continuous shooting if I'm correct, and it also said "Expect 0 frames at 27 mb/s, which I have no idea what that's supposed to mean) So anyway it says 39.8 mb/s estimated (and the camera should also have the 250mb on the buffer too to compensate any overage over 40 if I'm not mistaken?) Ok so the thing is I also have the buffer graph/monitor on in live view and it says it's usually using about 27-30mb/s when I'm actually recording video and it stays like that through the recording, UNDER what it estimated... YET it still starts to skip frames at approximately 18 seconds, my question is again, WHY? 39.8 and 27-30 are both under the 40mb/s cap, it shouldn't even be going onto the buffer,  so what am I missing here exactly?

I tried the 5 different buffer methods (which I don't understand either) and still, skipped frames at approximately 18 seconds

Thanks so much for any help and excuse the long post I'm new to this, cheers! Thanks to the ML team for what you've accomplished thus far, just a noob trying to understand.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 02, 2020, 11:22:00 AM
There are great things possible with Magic Lantern, especcially with raw video, but it's a big mess with different builds... :P

So to anwser the first question.
Resolution and write speed have no connection to each other besides how long you can record (unlimited recording time or less).
So higher writing speeds doesn't unlock higher resolutions, it does mean however that you can record longer in higher resolutions.
For higher resolutions in the build you're using, you need to press the magnifying button on your camera to go into 5x zoom mode.
Once you're in 5x zoom mode, press the trashcan button to go into ML menu, and in raw video menu, you'll see that you can now record in bigger resolution (probably ~2688x958).
Now you can record 2688x958 while in 5x zoom mode.
Once you press the magnifying button and go back to normal mode, the resolution changes back to 1824x1026.
You will probably also see that in 5x zoom mode, you're not using the whole sensor width, it's only using about half of the sensor width (2688 pixels of the 5472 total horizontal pixels). This is called cropping, you're cropping the recording area of the sensor, that's why this is also sometimes referred to as crop mode.

Now standard 5xzoom has max resolution of 2688x958 pixels, now with a some special ML build, which contains a crop_rec module, you can select bigger resolutions then 2688x958.
I'm working on a crop_rec module, only the menu system is a bit messy :P
I'll see if I can upload it this week in this 6d forum. Complete build, which also contains the module to speed up write speed.

Which brings us to question 2, will upload a complete build this week, with the SD/UHS module.
But there is a caveat, it doesn't work with all SD cards out there, sandisk extreme pro with the 170mb/s label works for me and also the older sandisk extreme pro with the 95mb/s label.

Question 3
Not sure, but I think the 27mb/s you mention is the data rate your SD card can handle. Makes the most sense to me, otherwise I can't explain why you're not getting ~40mb/s.
Also I see you're using the 10/12 bit build for 6d.
But there is also something as lossless raw recording. Same raw quality with lossless compression, so lower data rates needed for recording.
For that you need the "4K raw video recording; lossless compression" for 6d build from the experiments downloadpage, where you probably also downloaded your 10/12 bit build.
With this "lossless" build you can select lossless recording option in raw video menu, and you can even record in 12 bit lossless. Lossless bitrates use ~30% less data.
So this will give you longer recording times.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Oleg_K on June 06, 2020, 01:28:17 PM
Sorry, maybe off topic, I have Canon 6d, the latest build from Levas - MagicLantern - 6D, when shooting Silent Pictures, time lapse in simple mode is fine, but in full mode the picture is very bright, everything is bad. Maybe you need some settings? Sorry for the english.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 06, 2020, 01:50:00 PM
Full res silent pictures can't do fast shuttertime.
Not sure, but I believe fastest shuttertime it can do is about 0.3 seconds.

So not ideal for everyday shooting, works perfect for timelapses with long exposure times like 0.5 seconds to 15 seconds.
So bring iso to 100, aperture to 11 or 16 and maybe use Neutral density filter ?

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Oleg_K on June 06, 2020, 02:02:20 PM
Thanks, I will experiment.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Milk and Coffee on June 12, 2020, 05:48:58 AM
On the 6D, Is full width 1824x1026 recording continuous with uhs module and 12bit recording? Is full width continuous with 10bit and uhs module?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 12, 2020, 09:20:00 AM
Plain 12 bit recording is not continuous it's about ~70Mb/s for 25 fps
Plain 10 bit recording is probably continuous, it's about ~58.5Mb/s for 25 fps (This is about the same as the max write speed possible with SD-UHS hack module)

BUT, you're better of with lossless raw recording options, depending on the brightness of the scene you get about 30% compression.
Now with lossless raw recording in 14 bit, the datarate is about ~57Mb/s (Slightly less then plain 10 bit recording)
Since the lossless compression is variable and depends on the brightness of the scene, it's not 100% sure you have continous recording.
I can imagine that if you want to record people snowboarding and you expose perfectly good to the right, you're not gonna have continous.
But in my experience, 14 bit lossless raw recording is continous (in combination with the SD-UHS hack module)

So if you really want to be sure you get continous recording, select 12 bit lossless recording. (~50Mb/s for 25fps)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Milk and Coffee on June 13, 2020, 02:10:47 AM
Thanks so much Levas! I think 12bit lossless will do it for me! I will be relying pretty heavily on that UHS module to get continuous recording (24.00fps) for interviews. Is there any risks when using the UHS module? Is there any risks with damage to the card/camera? Corrupted frames?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 13, 2020, 07:53:03 PM
I'm using the SD-UHS module for more then a year, never had any issues with it.
The same module is alos used on the more experimental eos-m builds from Danne, never seen issues about the SD-UHS module in that topic.

You're going to use it for interviews, does that mean that you or nobody is behind the camera and it's on a tripod ?
If that's the case, your biggest risk is that the camera suddenly stops recording during the interview.
So you need to be sure your camera keeps recording.
During recording the sd card slot led is blinking, so as long as you have sight on that led, you're good...
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Milk and Coffee on June 13, 2020, 08:25:45 PM
Yes, probably on a tripod, and no one behind the camera. I can set the camera to auto restart recording again though right? That works for MLV?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 13, 2020, 08:29:13 PM
Yep the auto restart function should work.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Milk and Coffee on June 14, 2020, 12:53:53 AM
Thanks Levas!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 14, 2020, 08:59:06 PM
Ok, took some more time then I first thought, and it isn't finished/polished yet.
But it is very usable, so I'll upload it, complete build with new and improved crop_rec module.
Contains all you need, SD-UHS hack module, crop_rec module etc.
Even contains the "ML-SETUP.FIR" file for enabling bootflag on your 6d for first time users of Magic lantern.

Link to complete build
http://drive.google.com/file/d/1u7KA_UahTabHP2VridmjXtOAgaB1oMJt/view?usp=sharing (http://drive.google.com/file/d/1u7KA_UahTabHP2VridmjXtOAgaB1oMJt/view?usp=sharing)

For users already experienced with running magic-lantern:
Copy the files to your SD card and put camera on:
Enable at least the following modules on the module tab:
(https://live.staticflickr.com/65535/50006038686_3ba4d1691f_o.png)

After that, restart camera so the modules are loaded.
Crop_rec menu now contains the following presets:
(https://live.staticflickr.com/65535/50006296132_93d5ee61ea_o.png)

I culled it down to a few presets. The 1:3 readout presets (this means, horizontal 3x binned resolution and vertical every line is read.)
These 1:3 presets are for stretching 3x in post to get normal image. If loaded in MLVApp, this is done automatically.

Now you might think, where are all the lovely presets ?
They are now in submenu of crop_rec. (Q button on camera)

Select your desired recording mode 1:3 (horizontal binning, vertical every line read)
Or 1:1 pixel readout (a selected crop of the sensor, where the resolution is readout on 1:1 pixel level)
Here's the new submenu (a little messy, will try to clean it up later, but it works for now  :P )
(https://live.staticflickr.com/65535/50006038671_06bc446484_o.png)

At the top you can select your desired preset, the one used, depends on what you selected in the normal crop menu (so 1:1 or 1:3)
The 1:1 now contains all these presets and even some more, also 30fps, if you scroll down:
(https://live.staticflickr.com/65535/50005511533_239c1e834d_o.png)

EDIT: forgot to mention, the 1:1 presets must be used in 5xzoom mode

The 1:3 contains these 4 presets:
(https://live.staticflickr.com/65535/50006038626_342e25961e_o.png)

for example, 5496/3 x 1960  means, 5496 horizontal pixels are binned by 3 to 1832 pixels horizontal resolution and 1960 is the vertical resolution.
So you're actually recording 1832x1960 resolution, but in post, it must be stretched back to 1832x3=5496 resolution. MLVApp does this automatically.
It's sort of 3x anamorphic mode, although without an anamorphic lens, this time the sensor does the squeezing for you  :P

EDIT: forgot to mention, the 1:3 presets must be used in normal view mode (not 5xzoom)
And the 5496/3 presets have working Canon live view (although squeezed :P)

The above build is made from the following source:
http://bitbucket.org/Dannephoto/magic-lantern/commits/?search=6c6f37e9adfc (http://bitbucket.org/Dannephoto/magic-lantern/commits/?search=6c6f37e9adfc)

And exchanged the crop_rec.c file for this one:
http://drive.google.com/file/d/1DXL5ExJHjRhXqicMNXEcZ2GAv4ejrcEq/view?usp=sharing (http://drive.google.com/file/d/1DXL5ExJHjRhXqicMNXEcZ2GAv4ejrcEq/view?usp=sharing)

And the dual-iso.c for this one (only address fix for 6d, without it isoless error message)
https://drive.google.com/file/d/1hWdfBQ9k4B_AU2KCagXPZMD_fyz90DSc/view?usp=sharing (https://drive.google.com/file/d/1hWdfBQ9k4B_AU2KCagXPZMD_fyz90DSc/view?usp=sharing)

Sorry for the messy source references, I'll try better my life, once new ML source setup is clear  ;)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: David_Hugh on June 24, 2020, 12:50:33 PM
Hey! First of all, thank you Levas for keeping the 6D alive and kicking - good stuff still happening here!

I just wanted to post something here that perhaps others have asked themselves and I couldn't quite find a definite answer on the forum so I just tested it:

With the current Version of ML for the 6D you can use the HDMI out (while recording raw) and connect to a monitor and have perfect liveview on a bigger monitor. It works with overlays for both the "normal" 1080p lossless mode and also for the 50fps setting. Didn't test the crop_rec settings yet, but I figured that probably not too many people know that this works absolutely fine for "normal" recording situations. To me, that makes a world of a difference in terms of real world usability. So there you go. ML is awesome.

Cheers,
David
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 02, 2020, 02:13:54 PM
Some new improvements on the sd_uhs module.
Thanks to user theBilalFakhouri we are getting higher write speeds now with sd_uhs module.

Not sure what you people get with the current sd_uhs module, but I got around 60Mb/s write speed with it.

Now with the new settings I get around 80Mb/s write speed  ;D

Compiled build of the improved sd_uhs module in this post:
https://www.magiclantern.fm/forum/index.php?topic=12862.msg228576#msg228576 (https://www.magiclantern.fm/forum/index.php?topic=12862.msg228576#msg228576)

Let me know if it works or not.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 04, 2020, 04:54:26 PM
Hi, Levas!
Is crop mode 1824x818 50fps for 720p mode works well in last build? I used ML earlier and it works fine, but I cannot enable this mode in last build. It is said, that video needs stretch by 1.67 to get right resolution. Video mode in camera 1280x720 60fps. I tried to power camera off/on, pressed ML button, video mode off/on and so on. There is no difference if I enable crop mode or not. Other modes works fine.  Previously I used "ML_6d_116_Lazy_all_in_one" (sorry, forget exact name, can check later) build and 1824x818 50fps there works fine.

BTW new sd_uhs module didnt work with my microSD Sony SR-32MX2 32 GB. Next few days I'll got original Sandisk ultra 64 Gb, so check with it later.

update

Actually it records without stretching, but if you chose 2.20:1, it records in 1824x498 instead of 1824x818. MLVapp automatically stretch video to 1824x830 in post, but proportions in this video is not normal :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 05, 2020, 06:57:55 PM
Quote from: Contra8bit on July 04, 2020, 04:54:26 PM
Actually it records without stretching, but if you chose 2.20:1, it records in 1824x498 instead of 1824x818. MLVapp automatically stretch video to 1824x830 in post, but proportions in this video is not normal :)

You're right, I didn't fix aspect ratio for this preset (so raw video menu is confused and MLVapp too).
Shouldn't be too hard to fix, will see if I can fix it tonight.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 05, 2020, 07:46:26 PM
New Magic Lantern build for 6d:

https://drive.google.com/file/d/1ofhKNUteHywg5Jc0aGLPgJSF6nMVOdpU/view?usp=sharing (https://drive.google.com/file/d/1ofhKNUteHywg5Jc0aGLPgJSF6nMVOdpU/view?usp=sharing)

-Fixed aspect ratio for 50fps preset (reported by Contra8bit)
-Added new sd_uhs module with menu system (in raw video tab), you can choose different speed settings: Off/160Mhz/192Mhz/240Mhz.
-Some fixes on crop_rec to prevent recording in wrong video mode (1x zoom or 5x zoom)
-Disabled compression error message in MLV_lite module.
         This because, some presets are on the edge of what 6d can do (2560x1440@24fps and 2496x1404@25fps)
         Sometimes, it starts with one or two corrupted frames, giving the compression error and showing console on screen
         In these cases, only one or two frames at the beginning of the video file are corrupt, the rest of the video file is good without corrupted frames.
         So to stop console window to show up, I disabled this error message in MLV_lite.
-In debug menu, you will find an option to select LV raw type, which is 0x10 by default, better leave it this way. Always starts at 0x10 at camera startup.
Reason I enabled this option is for use with low_light, high iso recording, LV raw type value 0x12 is far cleaner for this.
But LV raw type value 0x12 value can't be used in combination with crop_rec module recording. So only works for plain vanilla raw recording options.
(LV raw type 0x12 is cleaner, looks like Canon does darkframe substraction in this stream, no vertical lines with high iso, but at the cost of about 0.5 stop dynamic range.)

And that's about it, happy testing  :D

And please report if it works, what works and if things need to be fixed.


Edit:
Not sure if this was in earlier builds, but there is now a crop_rec presets that let's you record in 1832x1030 resolution instead of 1824x1026.
Seems that there were a few more pixels to be used on the 6d  ;D
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 06, 2020, 11:12:58 AM
None of settings (160Mhz/192Mhz/240Mhz) in new crop_rec  still didnt work with my microSD Sony SR-32MX2 32 GB. It even worse than without crop_rec. I use old crop_rec from "Lazy_all_in_one" build. It gives about 58 mb/s (25-30sec in 1792x814 50fps, stable in 48fps and slightly lower resolution). Without crop_rec about 8 sec. Still waiting sandisk ultra to check with it.

update:
with sandisk extreme pro (170/90)  64Gb new crop_rec works fine.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on July 06, 2020, 04:01:20 PM
Interesting observation. My camera was shooting at 50fps 1824x634. There are no such settings in the module. Perhaps this is a module failure. MLVApp automatically stretched this video to 1824x1056. almost perfect 16: 9. How to add this preset?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 06, 2020, 04:37:51 PM
Sometimes the selected crop_rec settings is not fully loaded at camera startup(or switching presets), in that case, pressing the menu button twice, will load the full preset.

So now the fun thing comes, what you did is entirely possible whithout crop_rec module.
To repeat, turn off crop_rec module and you'll see that in 720p mode, you can select 1824x616 (which stretches to 1824x1026 in 16:9) if you want to select 634 as vertical resolution, you must set a taller aspect ratio in raw video menu, like for example 3:2.

As you know this standard 720p raw recording needs to be stretched, as Canon is skipping extra lines in this mode.
The 50fps preset in crop_rec works without stretching, as it doesn't skip the extra lines. But unfortunately is not 16:9 aspect ratio.
I could make it 16:9 ratio, without stretching in post needed, but framerate ends up at 40fps or something.
Still, could be a good preset, no stretching in post, 16:9 aspect ratio, but 'just' 40fps.




Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 06, 2020, 09:14:35 PM
Quote from: Contra8bit on July 06, 2020, 11:12:58 AM
None of settings (160Mhz/192Mhz/240Mhz) in new crop_rec  still didnt work with my microSD Sony SR-32MX2 32 GB. It even worse than without crop_rec. I use old crop_rec from "Lazy_all_in_one" build. It gives about 58 mb/s
Strange, lazy all in one build should give the same results as 160Mhz in the new build. Are you sure you did a camera restart after you changed settings, for example from 240Mhz to 192Mhz?
If you change settings in new sd_uhs menu, you have to restart camera.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 06, 2020, 10:43:20 PM
Quote from: Levas on July 06, 2020, 09:14:35 PM
Strange, lazy all in one build should give the same results as 160Mhz in the new build. Are you sure you did a camera restart after you changed settings, for example from 240Mhz to 192Mhz?
If you change settings in new sd_uhs menu, you have to restart camera.
Yes, I restarted camera after all changes. Checked again and there are same results. When flushing buffer (after recording stops) it clearly visible - frames recording slower than without sd_uhs. But again, it happens only  with my old good Sony microSD. With new Sandisk extreme pro works fine.

BTW is there chance to change exposure in crop_rec mode 50fps? In Image fine-tuning > Shutter fine-tuning. I cannot set 1/96 for 48 fps or 1/100 for 50fps.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 06, 2020, 11:50:09 PM
I'm not very familiar with that function, never use it. But I expect that it alters the sensor read out timing registers (A and B timers)  And if that's the case, it doesn't work in combination with crop_rec module, because those registers are fixed in the presets.
Will take a look at it.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on July 07, 2020, 11:20:10 PM
Quote from: Levas on July 06, 2020, 04:37:51 PM
Still, could be a good preset, no stretching in post, 16:9 aspect ratio, but 'just' 40fps.
if possible without skipping lines, this will be an interesting and very high-quality video :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 08, 2020, 12:32:47 PM
Quote from: Contra8bit on July 06, 2020, 10:43:20 PM
BTW is there chance to change exposure in crop_rec mode 50fps? In Image fine-tuning > Shutter fine-tuning. I cannot set 1/96 for 48 fps or 1/100 for 50fps.

Image fine-tuning > Shutter fine-tuning won't work when crop_rec module preset is used.
Both make use of overriding A and B timer registers, where crop_rec module preset seems to be the one overruling the other.

But tested with the latest uploaded build, I can get the following shutter times in 50fps preset.
With shutter value set to 'original' (option in crop_rec submenu, q button when you're in crop_rec menu) I can get these values:
1/64 - 1/84 - 1/100
With shutter value set to 'full range' I can get these shutter values.
1/50 - 1/65 - 1/78 - 1/100

Are you sure, you can't get 1/100th ?

Oh wait, to my amazemend, I see the FPS override option does really override FPS, even when crop_rec module preset is used.
There I couldn't get 1/48 or 1/96 shutter speed when overriding to 48fps.
But it's not a good idea to use FPS override in combination with crop_rec module, probably works for slowing down (from 50 to lower fps).
I expect no problems when lowering fps, but I'm not 100% sure though  ???
I expect overriding it to faster fps, will result in corrupted frames, because most presets have very little headroom for highering fps/resolution.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 08, 2020, 12:38:34 PM
Quote from: mineralof on July 07, 2020, 11:20:10 PM
if possible without skipping lines, this will be an interesting and very high-quality video :)

There will still be skipping lines, but the mode is the same as normal 1824x1026 raw recording. (3x3 (horizontal binning, vertical lineskipping, no stretching needed)
For absolutely no lineskipping and pixelbinning, you should try the 48fps preset that is in the 1:1 pixel readout crop preset.
There is a preset in there 1840x908 @ 48 fps (no need to switch camera to 720p mode) only caveat, crop factor is about 3x.
So your 35 mm lens will become about 100 mm  :P

I'm working at a new structure for high fps modes.
The same like I did for 1:1 and 3:1 readout presets.
I want to have all fast fps under one preset, with resolution and fps options in a submenu.
This way I could easily add more fast fps presets, like 48/50/60 fps options and also max resolution in 40fps etc.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 08, 2020, 05:46:26 PM
Ok, cleaned up the menu system.
Now there's a preset for use in Canon 720p video mode.
Be sure to use these new 720P presets with the camera in 720p video mode (tested in PAL mode, might work in NTSC).
If tried to use in 1080p mode, your camera might lockup, mirror goes down and camera doesn't respond to buttons, in that case, pull out the battery and retry again in the correct video mode  :P
In the submenu, there can be selected these presets:
(https://live.staticflickr.com/65535/50090918217_513407c811_o.png)

Some presets have some sort of working Canon liveview, others have scrambled live view and the 72 and 75 fps have frozen Canon liveview.
So you might want to use these with the option in raw video menu, 'preview' set to 'framing' instead of 'real-time'.
So you have ML framing preview visible.
Sometimes the presets don't load on the first time(you gets scrambled or not working ML framing preview), in that case, pressing the 'menu' button on camera twice, might help.
Be sure you have a working ML preview before hitting the record button, to be sure you're getting good raw recording.

Here's the complete build, if already using one of my previous versions, you might swap only the crop_rec module file.
https://drive.google.com/file/d/1B2W3RW1xoDVXj5fPehp-FcTlmya6Rd6H/view?usp=sharing (https://drive.google.com/file/d/1B2W3RW1xoDVXj5fPehp-FcTlmya6Rd6H/view?usp=sharing)

Enjoy testing  :D
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on July 09, 2020, 01:26:05 PM
good work Levas! Thank. Presets work. Overclocking the card showed the best results at 240MHz. I noticed a flickering screen when playing a video with a high frame rate on the camera screen. there are no artifacts in postprocessing. Special thanks for the 1024x634 mode at 50fps. Tell me. Where to look for the crop mode 1824x818 50 frames per second? there is a feeling that he is one of the best.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 09, 2020, 08:37:48 PM
Tried new 720p presets.
1704x958
1672x940
and 3 bottom in the list not displayed in live view (there artifacts), but record works fine.
And If you turn off the camera, applied 1824x904 48fps by default.
Also with shutter value set to 'full range' shutter speed works fine. Thank you!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: sparvier on July 11, 2020, 10:57:31 AM
Hi everybody!

I own a Canon EOS 6D and a couple of months ago installed Magic Lantern.

I discovered a Whole New World!!! Thank you to all guys at Magic Lantern and to @Levas for your incredible work!

There are a lot of things I still don't understand very well but...

this morning I managed to get stable 1920x1038 pixel in 1:1 crop with Nightly.2020Jul05.6D116 (in the meanwhile another nightly build was out...) and without using sd hack.

Thank you again: I'll report errors if I find them!


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 11, 2020, 11:17:55 AM
There are a few high speed presets in 1:1 pixel readout presets, all presets in here don't use pixelbinning or lineskipping.
Although there is no 50fps one in there at the moment, there are 48 and 60fps presets in there, if you want to see how the quality is.

Quote
And If you turn off the camera, applied 1824x904 48fps by default.

Oh wait, this preset choice isn't saved when camera is switched off, easy fix for the next build.

Important, I also found out that the 2596x1404@25fps preset has corrupted frames through the whole recording  ??? never noticed it in previously build, so have to look at that.
So be sure to check your favorite presets, before using it for important recordings  :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 16, 2020, 06:34:43 PM
New build, small fixes
https://drive.google.com/file/d/128mnuStzJcuCa71pmnPl6XOuwVB_LNKr/view?usp=sharing (https://drive.google.com/file/d/128mnuStzJcuCa71pmnPl6XOuwVB_LNKr/view?usp=sharing)

Found what was wrong with the 1:1 2496x1404@25fps preset (head 4 timer wasn't set, so stayed at last used preset setting or at startup at Canon setting).
So fixed, and lowered resolution to 2480x1396@25fps to have some more headroom.
And 720p preset choice is saved when camera is switched off, just like the other settings.



Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 17, 2020, 05:01:15 PM
Is there possibility for 1 (0.5, 0.25, etc) fps preset for timelapse? Can't find one or working with FPS override function. EOS M has that thing  :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: yourboylloyd on July 17, 2020, 07:05:47 PM
Do you have the fps optimized for low light?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on July 17, 2020, 10:34:37 PM
Quote from: yourboylloyd on July 17, 2020, 07:05:47 PM
Do you have the fps optimized for low light?
No, I set Exact FPS. Seems it works in optimized for low light mode. Thanks!
Still  I can't figure how to change exposure in low fps. There are lot of hot pixels with long exposure.

later
And now tried high resolution crop modes (3840 x 1920), preview isn't work (even without FPS override). Don't figure what I did wrong.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: shhd on August 01, 2020, 04:43:21 PM
Hello all
Please help me choose
I decided to buy 5Diii or 6D
I am interested in the video more than the pictures
6D has a continuous focus while 5D iii does not have a continuous focus
Does the continuous focus work on ML
I ask those with knowledge and experience to help me make a decision because I do not know how these cameras handle ML
I apologize if the place is wrong
I just wanted the owners of the camera to help me so I wrote here
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: xpose on August 03, 2020, 01:38:39 PM
Neither the 6d nor the 5d mk III have AF in video mode, if that's what you mean by continuous focus.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Contra8bit on August 04, 2020, 04:13:27 PM
6D haven't continuous focus for video at all. Its not dual pixel model
As I know, 5dm3 better cause it has build in aliasing filter and other stuff. Look here: https://docs.google.com/spreadsheets/d/16cgnRivbUv7nA9PUlCLmLdir3gXdIN3pqzCNAAybepc/edit#gid=5
btw comparison not 100% actual. Info about write speed, max resolution continuous etc. 6d can record 60+mb/s, 24fps non stop in max resolution or 60fps 2.39:1 CONTINUOUS not problem at all.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: David_Hugh on August 06, 2020, 10:55:31 PM
Quote from: Levas on July 08, 2020, 12:38:34 PM
There will still be skipping lines, but the mode is the same as normal 1824x1026 raw recording. (3x3 (horizontal binning, vertical lineskipping, no stretching needed)
For absolutely no lineskipping and pixelbinning, you should try the 48fps preset that is in the 1:1 pixel readout crop preset.
There is a preset in there 1840x908 @ 48 fps (no need to switch camera to 720p mode) only caveat, crop factor is about 3x.
So your 35 mm lens will become about 100 mm  :P

I'm working at a new structure for high fps modes.
The same like I did for 1:1 and 3:1 readout presets.
I want to have all fast fps under one preset, with resolution and fps options in a submenu.
This way I could easily add more fast fps presets, like 48/50/60 fps options and also max resolution in 40fps etc.

But isn't the 720p mode much nicer to begin with in terms of moire and aliasing? Could this preset be tuned to 24/25 fps in theory, or is that too low to be stable?

Awesome work on the new presets by the way!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: WeakestLinkForNow on August 08, 2020, 08:34:37 AM
Time to ask.

5d mk iii vs 6d in terms of sharpness using the same lens...which one is better?

In 5dm3 is there 14bit in 3.5k mode and do I need a monitor to not see purple lines on the camera screen?
In 6d is there 14 above 2.5k mode?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on August 10, 2020, 07:27:36 PM
Quote from: David_Hugh on August 06, 2020, 10:55:31 PM
But isn't the 720p mode much nicer to begin with in terms of moire and aliasing? Could this preset be tuned to 24/25 fps in theory, or is that too low to be stable?

Standard 720p mode could be tuned to 24/25 fps (you could use fps override option to achieve that I guess, never tried it myself though  ???)
Standard 720p mode, as Canon implemented it, has more aliasing and moire as 1080p mode.
In 720p mode it only reads every 5th horizontal line of the sensor.
So it reads a full horizontal line of pixels, and then skips 4 horizontal lines and repeat.
In 1080p mode it reads every 3th horizontal line of the sensor.
So it reads a full horizontal line of pixels, and then skips 2 horizontal lines and repeat.

The skipping of horizontal lines, so not reading them, causes the moire and aliasing. Since 720p mode from Canon skips more horizontal lines (4 instead of 2) it has more moise/aliasing as normal 1080p mode.
The 720p modes in the crop_rec module for 6D are skipping only 2 horizontal lines, so moire/aliasing is the same as 1080p mode.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on August 10, 2020, 07:45:42 PM
Quote from: WeakestLinkForNow on August 08, 2020, 08:34:37 AM
5d mk iii vs 6d in terms of sharpness using the same lens...which one is better?
In 5dm3 is there 14bit in 3.5k mode and do I need a monitor to not see purple lines on the camera screen?
In 6d is there 14 above 2.5k mode?

Not sure, but I guess there is no notable difference in sharpness between the 5d3 and the 6d.
But since the 5d3 can record at 24/25fps in higher resolutions compared to the 6d, you could achieve a more detailed image with the 5d3
Max resolution for 25fps on 6d is 2880x1200 (1:2.4 aspect ratio) or 3072x1152 (1:2.67 aspect ratio) so not as high as the 3.5K the 5d3 can do.

You can't do continuous recording on the 6d in these 2880x1200 or 3072x1152 modes in 14 bit.
You need to go down to 10/12bit for that and then you still need a fast SD card and make use of the sd_uhs module implemented in the 6d build to achieve this.

There is no normal working liveview with the correct framing in these high resolution options (both 5d3 and 6d).
You can enable a correct framing preview in Magic-lantern, but it has less fps and is lower resolution compared to the liveview you normally would have.

Not sure why your asking this, do you have on of these cameras or are you looking for one ?
Because in that case, if you want to use Magic Lantern for all the nice video options, the 5d3 is the best camera you can get, 5d3 has the most options, higher resolution in crop mode, better out of the box write speed on the CF card and more.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: sparvier on August 14, 2020, 01:12:27 PM
Hi, everybody.

I had many problems with magiclantern-Nightly.2020Jul05.6D116.

I decided to format my card and re-install the latest version (Nightly.2020Jul16.6D116) from scratch and most of the problems disappeared!

With this version, with SD Overclok set to 160 Mhz,  I get incredibly fast results in benchmarks (Write Speed: 85 MB/s  Read Speed: 90 MB/s) in Photo Mode: though in Liveview speed is lower (about 70 MB/s for Write), in Photo Mode I get almost continous shooting in RAW! Magic Lantern gave a first class burst mode to my old 6D!!

Now I have some questions:

1) Horizontal max Res

The 2688 horizontal res limit in crop mode is hardware-related or is speed-related? Otherwise: is it possible - in liveview - to shoot continous RAW frames as in photo mode to get a full res video (even with low fps)?

2) Framing in Crop Mode

In crop mode the "problem" is framing

If RAW Video -> Preview is set to Real-time, framing is not accurate (Why?)

If RAW Video -> Preview is set to Framing, Framing is OK but not real time (and seems CPU intensive: if there's fast panning during recording, often recording stops...)

Wouldn't be possible to have a Crop Rec Mode with Real Time Liveview where the Exact Framing is showed in Overlay?
I mean: the liveview shows the whole scene (not cropped, not zoomed) and the crop is showed by a rectangle.
Wouldn't it be possible? Or the crop-mode is strictly related to zoom mode in the Liveview?

Thanks for all your work!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: andrule on August 18, 2020, 02:49:36 AM
Hey everyone, been boning up on 6d ML via this thread for a couple weeks now. Tinkering with raw I've been getting 10-20 seconds of full sensor slightly sub 1080p at 12-bit raw lossless and will be grabbing my sandisk pro cards from studio to see if I can get continuous recording that way with the sd overclock.

My main question is why is there less latitude in Davinci resolve working with dng lossless then there is with working with ACR with the dngs coming out of MLV app (the dngs coming from MLV app go into resolve too, for clarity)? I feel like I'm working on a raw photo when I work on a single frame in ACR but in Davinci it starts to fall apart or go haywire way faster. I almost want to figure out the old method of converting the footage via lightroom or ACR rather than using davinci or mlv app for grading. One thing that sticks out the most is the pink over exposed highlight issue is way less pronounced when working with ACR (even when comparing to working with the source MLV files in MLV app). I really feel like I can process the dngs into something clean in ACR but it doesn't seem possible in Davinci... Any insights on this?

I'm sure this belongs elsewhere but the forum is confusing at the moment for me so I'm sticking to this thread. You guys are great by the way! Levas and Danne amazing that you guys are as dedicated as you are. It's super cool.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: kromi on August 19, 2020, 09:04:27 AM
Hi,
I've a Canon 6D with firmware 1.1.7. Can I install Magic Lantern? or I've to downgrade to fw:1.1.6?
Wich version of ML?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: HanZ on August 26, 2020, 11:54:49 AM
Hi Levas. I'm new here and just recently experimenting with ML. Currently using your latest build and i'm loving it. Thank you for your work man.

So far everything works as what you have mentioned. Just would like to ask, is the current build supporting h264 proxy recording? I'm experimenting the h264 proxy setting with 12bit lossless (SD overclock to 160mhz), and it crash with error 70. Just wanna know whether this is supposedly a usable setting, or just 6D limitation that can't handle this setting?

Really appreciate your feedback and thanks again for your great work!

P/s: Just a wish request if you wouldn't mind, if possible to have 4k/5k timelapse video mode as currently have in EOS-M? That would be amazing!
https://www.youtube.com/watch?v=_fRoGGxmW0A
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: boogzie on September 09, 2020, 03:12:55 PM
Quote from: kromi on August 19, 2020, 09:04:27 AM
Hi,
I've a Canon 6D with firmware 1.1.7. Can I install Magic Lantern? or I've to downgrade to fw:1.1.6?
Wich version of ML?
Mine had 1.1.8. I've downgraded it to 1.1.6 no problem. Happy with the result so far.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on September 13, 2020, 10:05:46 AM
Hi guys,

What is the fastest your 6D can do with SD overclock? I have the Sandisk 170mb and it can only do around 60mb/s . I saw someone posted in facebook a 650D making around 90mb
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 09:07:54 AM
I see I have missed some post in this topic since august  ???
I still will try to answer them  :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 09:57:47 AM
Quote from: sparvier on August 14, 2020, 01:12:27 PM
Now I have some questions:

1) Horizontal max Res

The 2688 horizontal res limit in crop mode is hardware-related or is speed-related? Otherwise: is it possible - in liveview - to shoot continous RAW frames as in photo mode to get a full res video (even with low fps)?

2) Framing in Crop Mode

In crop mode the "problem" is framing

If RAW Video -> Preview is set to Real-time, framing is not accurate (Why?)

If RAW Video -> Preview is set to Framing, Framing is OK but not real time (and seems CPU intensive: if there's fast panning during recording, often recording stops...)

Wouldn't be possible to have a Crop Rec Mode with Real Time Liveview where the Exact Framing is showed in Overlay?
I mean: the liveview shows the whole scene (not cropped, not zoomed) and the crop is showed by a rectangle.
Wouldn't it be possible? Or the crop-mode is strictly related to zoom mode in the Liveview?

Thanks for all your work!

Question 1:
The 2688 pixelwide horizontal resolution is a default setting by Canon in 5x zoom on the 6d.
Alex found out how to adjust these default resolutions in 5x zoom a few years ago. Since then we have the crop_rec modules.
It is possible to adjust this 5x zoom resolution to full photo resolution at the cost of low fps (full resolution is about 4.5 fps).
Full resolution setting is very heavy in bitrate. A full resolution frame is about 25MB (lossless compressed 14 bit). So lossless 14 bit data stream is over 100MB/s.
It would probably work about right in 2fps.
For more practical use I made 2 high resolution low fps presets in the crop_rec module in the build you're using:
5120x2880 at 5 fps and 5120x2880 at 6 fps.
This way you get about 15 megapixel frames and the 5 fps setting gives you, with the current sd_uhs hack, almost about continuous recording.

Question 2:
Realtime framing is something which isn't figured out how it works, until a few weeks ago.
User theBilalFakhouri made some pretty good process on this recently.
Some camera's now have (almost) pixelperfect framing with real-time preview.
I have too read into this to see if it works the same for the 6d, it does seem to work different for 5d3 though.
So with the latest findings of theBilalFakhouri there might be a change to get better liveview on the 6d, but it will probably take some time  :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 10:11:38 AM
Quote from: andrule on August 18, 2020, 02:49:36 AM
My main question is why is there less latitude in Davinci resolve working with dng lossless then there is with working with ACR with the dngs coming out of MLV app (the dngs coming from MLV app go into resolve too, for clarity)? I feel like I'm working on a raw photo when I work on a single frame in ACR but in Davinci it starts to fall apart or go haywire way faster.

Different raw editors gives different results. Resolve is about video so you get some different approaches to things. For video there always where Lift, gamma and gain.
Which is slightly different to photo where you have shadow, exposure and highlight.
So might take some practice to get used too and get good results.
Another thing is that resolve is made by blackmagic and probably fit best to their cameras and might not get most out of other camera brands.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 10:17:33 AM
Quote from: HanZ on August 26, 2020, 11:54:49 AM
So far everything works as what you have mentioned. Just would like to ask, is the current build supporting h264 proxy recording? I'm experimenting the h264 proxy setting with 12bit lossless (SD overclock to 160mhz), and it crash with error 70. Just wanna know whether this is supposedly a usable setting, or just 6D limitation that can't handle this setting?

P/s: Just a wish request if you wouldn't mind, if possible to have 4k/5k timelapse video mode as currently have in EOS-M? That would be amazing!

Not sure about proxy recording, never used it. But I think it's made for dual card slot cameras like the 5d3. So raw recording on one card and proxy recording on the second card. So the error makes sense I guess (although it would be better if this option wasn't even available in the first place) :P

I didn't do anything with timelapse mode on the 6d yet, I use full resolution silent picture mode for that in combination with the intervaltimer.
At the moment if I have some time I rather see if I can get real-time preview and correct framing to work. Maybe in the future I'll look into timelapse options.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 10:22:23 AM
Quote from: swordsmasterxii on September 13, 2020, 10:05:46 AM
What is the fastest your 6D can do with SD overclock? I have the Sandisk 170mb and it can only do around 60mb/s . I saw someone posted in facebook a 650D making around 90mb

With that card I would expect higher speeds possible. I have a 128GB Sandisk 170mb card and it does around ~80Mb/s with the 240Mhz option setting.

But at what resolution setting are you recording, you might be in a video mode that is not data heavy. Normal 1824x1026 video mode doesn't need more speed then ~60Mb/s. So could be that your card can handle more, but your resolution setting doesn't require more speed.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 16, 2020, 10:32:11 AM
IMPORTANT INFO:

Find out about a problem with the 2880x1200 at 25 fps preset.
If the foxus box is moved with the cursor arrows, you might get corrupted frames.
When the focus box is dead center, all works well. But if it is slightly moved around, it might cause corrupted frames.
You can see it in the behaviour of the real-time Canon live view. If your focus box is in a wrong place, liveview gets sluggish/jittery.
If you move the focus box around to a place where liveview is normal again, things are probably fine agian. (works for me).

Haven't noticed this behaviour at other presets.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: yourboylloyd on September 16, 2020, 11:33:12 AM
Quote from: Levas on September 16, 2020, 10:32:11 AM
IMPORTANT INFO:

Find out about a problem with the 2880x1200 at 25 fps preset.
If the foxus box is moved with the cursor arrows, you might get corrupted frames.
When the focus box is dead center, all works well. But if it is slightly moved around, it might cause corrupted frames.
You can see it in the behaviour of the real-time Canon live view. If your focus box is in a wrong place, liveview gets sluggish/jittery.
If you move the focus box around to a place where liveview is normal again, things are probably fine agian. (works for me).

Haven't noticed this behaviour at other presets.

This also happens on the 5D2 3.5K preset!!!!!! I noticed this a few weeks ago.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on September 16, 2020, 02:24:40 PM
Quote from: Levas on September 16, 2020, 10:22:23 AM
With that card I would expect higher speeds possible. I have a 128GB Sandisk 170mb card and it does around ~80Mb/s with the 240Mhz option setting.

But at what resolution setting are you recording, you might be in a video mode that is not data heavy. Normal 1824x1026 video mode doesn't need more speed then ~60Mb/s. So could be that your card can handle more, but your resolution setting doesn't require more speed.

Thanks. I don't know that there is an option to change Mhz. I'll check it out. Thanks again.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: For N.S. on September 26, 2020, 05:02:45 AM
hey ,i sometimes get corrupted frames on 6D when i shot by 2480x1396 dual iso,or other high resolution,what is going wrong? when i get corruption frames,it said "data corruption at slot "number", frame "number" "
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alexboum on September 27, 2020, 09:16:04 PM
Hello Levas,

I just try the last build magiclantern-Nightly.2020Jul08.6D116 and when I click SET button in the crop-rec menu on the advanced option nothing happen(but I don't really need it, it's just to report you the issue).
I also try sd overclock 240MHz and now my SanDisk extreme pro170/MBs card is able to handle the crop_rep preset continus (test only for 3min but it's enought for my use) 8).
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 28, 2020, 05:14:29 PM
Quote from: alexboum on September 27, 2020, 09:16:04 PM
when I click SET button in the crop-rec menu

You need to press the "Q" button for the sub menu.
Edit: oh wait I didn't get it right:

You're right, the advanced menu is empty, I moved the interesting options to normal menu and removed the others.
Most of the others were used for eos-m, so not working or implemented for 6d.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 28, 2020, 05:18:46 PM
Quote from: For N.S. on September 26, 2020, 05:02:45 AM
hey ,i sometimes get corrupted frames on 6D when i shot by 2480x1396 dual iso,or other high resolution,what is going wrong? when i get corruption frames,it said "data corruption at slot "number", frame "number" "

Yeah happens sometimes, 2480x1396 is at the edge of what is possible. Most of the times it work, sometimes you get 2 corrupted frames at the beginning.
The mlv clips are fine if I have that message, but if it stops recording earlier it's annoying.

I probably can make a preset that has some more headroom for the camera and will always work perfect, like 2400x1350 or something.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: For N.S. on October 07, 2020, 06:04:50 PM
Sorry to say,i almost got corruption frames in high resolution,not just got these at the beginning but all the time.I try to setup different version ML,and the problem doesn't disappear
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on October 07, 2020, 06:19:42 PM
Card in use and benchmark numbers (PC and cam)? Tried different ones?
Build used?
Settings used?
Which is the lowest resolution/bit depth/frame rate without corrupted frames?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on October 08, 2020, 09:05:50 AM
Quote from: For N.S. on October 07, 2020, 06:04:50 PM
Sorry to say,i almost got corruption frames in high resolution,not just got these at the beginning but all the time.I try to setup different version ML,and the problem doesn't disappear

Can you upload/share an example mlv file or frame, just a short clip with corrupted frames ?
That way we can see what's going on and how your corrupted frames look like.

Could have multiple causes, to name a few.
-The software you are using to view/edit the mlv's (is it up to date to handle lossless compression?)
-The focus box (white rectangle on your camera screen during liveview in 1x zoom mode) is not in the center. This causes corrupted frames where a large portion of the frame is stuck/frozen and not updated.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: For N.S. on October 13, 2020, 08:31:21 AM
Quote from: Walter Schulz on October 07, 2020, 06:19:42 PM
Card in use and benchmark numbers (PC and cam)? Tried different ones?
Build used?
Settings used?
Which is the lowest resolution/bit depth/frame rate without corrupted frames?
Quote from: Levas on October 08, 2020, 09:05:50 AM
Can you upload/share an example mlv file or frame, just a short clip with corrupted frames ?
That way we can see what's going on and how your corrupted frames look like.

Could have multiple causes, to name a few.
-The software you are using to view/edit the mlv's (is it up to date to handle lossless compression?)
-The focus box (white rectangle on your camera screen during liveview in 1x zoom mode) is not in the center. This causes corrupted frames where a large portion of the frame is stuck/frozen and not updated.


Please forgive me,i don't know how upload pictures so i upload to google drive.

I use the lastest mlvapp and reset the focus box ,but problems still can not be fixed.Here are some pictures,i hope they can give you some information available for reference.
https://drive.google.com/drive/folders/1zgGmLc3r9LtzTNBZAgAo8DvLMuH5kGEt?usp=sharing

01:this is the result of quick R/W benchmark (1 min) of card benchmarks.
02:this is the result of buffer R/W benchmark (5 min) of card benchmarks.
03:this is the result of memory benchmark(1 min) of memory benchmark.
04:I can get perfect files if the resolution is 1840*1036,but when i go to high resolution,i almost get these frames even no fault remind on the display when i am recording.In other words,it looks good on the display when i am recording some high resolution but the playback is bad.
05:This also happened when I recorded high resolution but it was different from 04.

The strange thing is that I used this version without any major problems. The latest version has the problem. Now I have downgraded the version, but the problem has been following me.Is there a problem with the machine? That's really uncomfortable. Hope to help me, thanks
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on October 13, 2020, 08:51:56 PM
In the last picture you uploaded, I notice the fps  = 24.833
That's not good, it should be 24.992 fps.

So my first guess is, you have some other magic lantern option enabled that messes with fps.

Do you have 'fps override' in use ?
Or maybe 'image fine-tuning' option ( shuttertime fine-tuning ) ?

The fps value in 2880x1200 should normally be 24.992 fps.

Also, try pressing the info button on the camera until you see ML overlays/information on screen. And use option 'ML Preview' option in raw video submenu. This way you can see a preview of your framing. Is this preview normal or also corrupt ?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: For N.S. on October 17, 2020, 05:41:37 PM
Ok,i I did what you said and fixed my problem greatly.First,I turned off 'fps override' but  there were some corrupt frames in some resolution options,second,i changed option from real time to frame in 'ML Preview' option in raw video submenu,then,all Resolution options could be used with much less corrupt frames.Thanks for teaching!!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alt1 on October 18, 2020, 12:40:24 PM
Is there any difference for ML builds in cameras version-  6d (N) or 6d (WG) ? Any of these cameras can use ML builds?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alt1 on October 18, 2020, 03:19:19 PM
Can I return to firmware 1.1.6 from the newest one 1.1.9 ?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on October 19, 2020, 09:58:44 AM
Quote from: alt1 on October 18, 2020, 12:40:24 PM
Is there any difference for ML builds in cameras version-  6d (N) or 6d (WG) ? Any of these cameras can use ML builds?

Not sure, but as far as I know they run normal firmware.
So if they run on canon 6d firmware 1.1.6 you can use ML build for 6d.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on October 19, 2020, 10:11:11 AM
Quote from: alt1 on October 18, 2020, 03:19:19 PM
Can I return to firmware 1.1.6 from the newest one 1.1.9 ?

Never tried it myself but it should be possible, check out this topic for instructions
https://www.magiclantern.fm/forum/index.php?topic=18941.0 (https://www.magiclantern.fm/forum/index.php?topic=18941.0)

You must have the official canon firmware 1.1.6 upgrade file to be able to go back to 1.1.6.
As far as I know, it's not available anymore on Canon's website.
If you need it, it's on the nightly builds downloadpage for 6d.
https://web.archive.org/web/pel.hu/down/eos6d-v116-win.zip (https://web.archive.org/web/pel.hu/down/eos6d-v116-win.zip)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on October 19, 2020, 10:39:49 PM
for canon 6d there is a croprec new module like in 700d?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: alt1 on October 20, 2020, 12:31:16 PM
Can I control video with smartphone through WIFI while recording raw video on 6D? There is manual focusing in programm named "Camera Connect". It is so called " focus pulling". It is interesting when camera is on the gimbal
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on October 20, 2020, 02:38:30 PM
Quote from: mineralof on October 19, 2020, 10:39:49 PM
for canon 6d there is a croprec new module like in 700d?

Nope, it's only ported for 700D and recently for 650D (very identical cameras), it's not that hard I think to make it work on 6D too, but it needs some more code adjustments.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on October 20, 2020, 08:40:35 PM
Quote from: theBilalFakhouri on October 20, 2020, 02:38:30 PM
Nope, it's only ported for 700D and recently for 650D (very identical cameras), it's not that hard I think to make it work on 6D too, but it needs some more code adjustments.
it would be great.  especially shooting without aliasing.  and correct viewing x5 mode
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on October 20, 2020, 11:28:24 PM
Quote from: mineralof on October 20, 2020, 08:40:35 PM
it would be great.  especially shooting without aliasing.  and correct viewing x5 mode

If you mean the real-time correct previews, well, this maybe would be hard to port it on 6D, it took me nearly 3 weeks to figure it out on 700D, on 6D it *might* be easy (similar to 700D) or even harder, no one have tried so I am not quite sure.

But shooting in 1x3 Binning mode without aliasing on 6D is already there in Levas builds, but with stretched preview.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on October 21, 2020, 08:18:33 AM
Thank you Bilal, Levas and ML developers.  You are geniuses!  Always looking forward to your discoveries.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: pteichner on November 04, 2020, 10:49:14 PM
Is the sd_uhs available for 6d?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on November 05, 2020, 10:35:12 AM
Yes it is.
In this post is a download link for a build for 6d with sd_uhs in it.

https://www.magiclantern.fm/forum/index.php?topic=15088.msg228879#msg228879 (https://www.magiclantern.fm/forum/index.php?topic=15088.msg228879#msg228879)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: pteichner on November 05, 2020, 12:21:33 PM
Thanks for the reply, I've got it down and with the UHS override at 240MHz I get around 71MB/s instead 39MB/s. Also thank you for all you hard work.

I've got a few questions:
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on November 07, 2020, 06:22:34 PM
About question 1:
You need crop mode for that.
Enable the crop_rec module in the module tab.
When it is enabled there should be a crop_mode option in  the Raw video tab.
In the crop_mode menu, you can set your desired resolution (for example 2880 x 1200)
After that, you should be able to get the higher resolution in raw video menu (where you set resolution and aspect ratio etc.).
Note: the standard compressed 12 bit is not available with crop_rec module, you must select 14 bit compressed raw option in raw video menu.
BUT there is a way to get 12 bit compressed, but you have to select this option in the submenu (Q button) of Crop_rec menu.
:P It's all a bit fidly and not very intuitive, but once you know how it works all is fine  8)
Note 2:
FPS override and other options that mess with fps aren't available/working with crop_rec options. Crop_rec options have fixed fps.


Question 2:
For normal 720/60 you need to switch to NTSC in Canon video menu. (PAL setting gives you 720/50fps and NTSC setting gives you 720/60fps).
So not a magic lantern setting, but a setting in the normal Canon menu system (you must be in video mode to see video options in Canon menu).

Question 3:
No idea, I don't use LUT's :P
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: pteichner on November 09, 2020, 09:06:46 AM
Thanks

It is a bit fiddly to say the least, but it does things that would have never been possible before. The crop modes are not easy because you do lose a fair amount of the view, but it does things that it wouldn't have otherwise.

Any idea of crop_mode2?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on November 09, 2020, 04:00:10 PM
Not sure what you mean with your last question ?

Quote
Any idea of crop_mode2?

What works for me for crop_mode is to go to raw video menu tab and then inside raw video options I choose preview option -> real-time.
This gives me 5x zoom Canon liveview in the high resolution modes.
Now the only problem is framing, to check framing, use half-press on the shutter button. When doing half shutter press, you'll see the actual framing (although a bit slow fps).
You can even do half shutter once in a while, while recording, to check framing.


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on November 26, 2020, 06:07:48 AM
Hi Guys. I just want to share the music video I made shot entirely with Canon 6D Magic Lantern Raw.

https://www.youtube.com/watch?v=lKJ_Zb8dIRM

I want to thank all of you guys responsible for developing this build and making our old camera still awesome. I have this camera for 7 years and with what it can do, I'm not planning to replace it anytime soon. :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mineralof on November 27, 2020, 06:48:17 AM
Quote from: swordsmasterxii on November 26, 2020, 06:07:48 AM
Hi Guys. I just want to share the music video I made shot entirely with Canon 6D Magic Lantern Raw.

https://www.youtube.com/watch?v=lKJ_Zb8dIRM

I want to thank all of you guys responsible for developing this build and making our old camera still awesome. I have this camera for 7 years and with what it can do, I'm not planning to replace it anytime soon. :)
к

Wow.
excellent!  how about moore and alias?  Where are they?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on November 27, 2020, 03:12:18 PM
Thanks. There isn't much aliasing when shooting in large apertures. Though I still have to figure out how to minimize black clipping in YT. It was ok in the OG file but YT compresses it too much.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: c_joerg on January 02, 2021, 02:53:05 PM
This is the first time I've had a crash with ML on my 6D while using the Advanced Bracket.
I haven't used the function before.
My version is a bit older. Should I update something first?


ML ASSERT:
0
at ../../src/raw.c:611 (raw_lv_realloc_buffer), task livev_hiprio_task
lv:0 mode:3

livev_hiprio_task stack: 2086c0 [208838-204838]
0x0048F7E0 @ 487934:208720
0x0048F750 @ 48f840:208718
0x0048D1DC @ 48f780:208710
0x0044C9F4 @ 48d37c:2086f0
0x0044C478 @ 44ca50:2086c0

Magic Lantern version : lua_fix.2018Sep17.6D116
Mercurial changeset   : 0040e6ccea8d (lua_fix) tip
Built on 2018-09-17 16:45:37 UTC by jenkins@nightly.
Free Memory  : 384K + 1895K
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: a1ex on January 02, 2021, 03:37:16 PM
No improvements expected in newer builds regarding this issue. Can you find a way to reproduce it?

Seems to be a race condition between LiveView and still photo mode.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: c_joerg on January 02, 2021, 04:33:43 PM
Quote from: a1ex on January 02, 2021, 03:37:16 PM
Can you find a way to reproduce it?
Not always...
I used LV in M Mode and continuous shooting s.
I look like, it is only happening with Frame Autodetect. If I change to 7 Frames, I haven't seen it until now.

The memory differs at last crash
Free Memory  :  381K + 1889K

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: GregSmack on February 12, 2021, 01:12:57 PM
Hey there,

I updated to the latest build from here and when I start my 6D a message appears in the bottom screen saying:
"tcc: error: undefined symbol 'raw_force_aspect_ratio_1to1'
[E] failed to link modules
updating Movie Tweaks -> Movie Logging


I Can not load any modules, what is happening?

EDIT: when I turn off mlv_rec it does not show an error but this way I can not use RAW mode. What is the sollution to this?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: GregSmack on March 01, 2021, 06:19:09 PM
Hey! I am using a Canon 6D withe the latest build for it and I have a few questions:
1)  I tried to use the 1x3 preset "5496x1960". When reviewing it at home the video looks not sharp and kinda blurry. Any ideas why this happens?
2) When I shoot in 1x1 with 5x crop i can get a resolution of 2560x1440. I need to upscale this but which is the best way to do this?
3) When I am trying to shoot in 1x3 I can choose the preset "4896x2160" but then there are only magenta, pink lines across the Live View. Any ideas why?

Thanks for your help!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on March 04, 2021, 04:39:43 PM
Sorry for the late reply  :D

QuoteEDIT: when I turn off mlv_rec it does not show an error but this way I can not use RAW mode. What is the sollution to this?
For raw recording you either use mlv_rec or mlv_lite, you can't use them both.
mlv_lite supports lossless compression, so use of mlv_lite is advised. So best to not enable mlv_rec module.

Quote1)  I tried to use the 1x3 preset "5496x1960". When reviewing it at home the video looks not sharp and kinda blurry. Any ideas why this happens?
The 1x3 presets are not supersharp, the reason, the data is not saved as 5496x1960 but as 1832x1960 resolution. The sensor does horizontal pixelbinning, 3 pixels become one.
So the sensor does really readout 5496x1960 in pixels, but passes this data on as (5496/3 pixelbinning)= 1832 horizontal pixels x 1960 vertical pixels.
In post, for example in MLV_App, these 1832 horizontal pixels are stretched to the original 5496 pixels for normal aspect ratio.
So 1x3 is not as sharp as you would expect from the resulting resolution, because some trickery is used that is available at hardware level of the Canon camera.

Quote2) When I shoot in 1x1 with 5x crop i can get a resolution of 2560x1440. I need to upscale this but which is the best way to do this?
In my experience the free software, DaVinci Resolve from Blackmagic does a really good job for upscaling video. (for free, download the normal version, the studio version is the paid one)
It's not that intuitive to use, but there are a lot of tutorials availabe on youtube.
https://www.blackmagicdesign.com/products/davinciresolve/ (https://www.blackmagicdesign.com/products/davinciresolve/)

Quote3) When I am trying to shoot in 1x3 I can choose the preset "4896x2160" but then there are only magenta, pink lines across the Live View. Any ideas why? 
Unfortunately, this is normal  :P 
I couldn't get normal liveview to work in this mode, you could however use ML preview to see what the recording will be like.
You can choose different preview options in the 'RAW video' submenu. It's on the MOVIE tab of Magic lantern menu, highlight the 'RAW video' option and press Q button on camera.
Now the 4th option from above should show Preview, here you can set the option from 'real-time' to 'framing', whith the option framing selected, you should see a low resolution preview of your liveview (it's a little slow in FPS).
Another option, you could switch to 'framing' by doing a half press on the shutter button, while doing half press, you should see a preview.
I like this option, I use the half press to check the framing, and press record button, you can even do half press of the shutter button while filming, to check the framing.


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: GregSmack on March 19, 2021, 01:37:32 PM
Quote from: Levas on March 04, 2021, 04:39:43 PM
Sorry for the late reply  :D
For raw recording you either use mlv_rec or mlv_lite, you can't use them both.
mlv_lite supports lossless compression, so use of mlv_lite is advised. So best to not enable mlv_rec module.
The 1x3 presets are not supersharp, the reason, the data is not saved as 5496x1960 but as 1832x1960 resolution. The sensor does horizontal pixelbinning, 3 pixels become one.
So the sensor does really readout 5496x1960 in pixels, but passes this data on as (5496/3 pixelbinning)= 1832 horizontal pixels x 1960 vertical pixels.
In post, for example in MLV_App, these 1832 horizontal pixels are stretched to the original 5496 pixels for normal aspect ratio.
So 1x3 is not as sharp as you would expect from the resulting resolution, because some trickery is used that is available at hardware level of the Canon camera.
In my experience the free software, DaVinci Resolve from Blackmagic does a really good job for upscaling video. (for free, download the normal version, the studio version is the paid one)
It's not that intuitive to use, but there are a lot of tutorials availabe on youtube.
https://www.blackmagicdesign.com/products/davinciresolve/ (https://www.blackmagicdesign.com/products/davinciresolve/)
Unfortunately, this is normal  :P 
I couldn't get normal liveview to work in this mode, you could however use ML preview to see what the recording will be like.
You can choose different preview options in the 'RAW video' submenu. It's on the MOVIE tab of Magic lantern menu, highlight the 'RAW video' option and press Q button on camera.
Now the 4th option from above should show Preview, here you can set the option from 'real-time' to 'framing', whith the option framing selected, you should see a low resolution preview of your liveview (it's a little slow in FPS).
Another option, you could switch to 'framing' by doing a half press on the shutter button, while doing half press, you should see a preview.
I like this option, I use the half press to check the framing, and press record button, you can even do half press of the shutter button while filming, to check the framing.

Thank you for the great informations! :)
I will stick to 2K resolution then :D
I will also give DavinciResolve a try!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: camiloac on May 05, 2021, 04:16:28 PM
Hello, I am new to ML so please show mercy if my questions are dumb. I've read as much as I can but I'm still confused.

1. I have a 6D and I am interested in filming in continous RAW. Is there some way to have my Live View while recording be exactly what is being recorded in order to see the exact composition ? Possible to do in 4K, 2K or 1080p? Is 1080p possible? or is buying a wide angle lens the only option?

2. Does the video resolution affect the dynamic range or graphic quality of the image (not the resolution) of the image or can I just shoot in 1080p instead of 4K and later upscale ? I'm referring to the dynamic range, color, contrast, etc.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on May 07, 2021, 12:24:09 PM
Hello and welcome to the forum,

Point 1, yes that is possible, but not for higher resolution options in crop_recording.
           -So if you want normal liveview with exact composition, max resolution is 1824x1026 (the same resolution Canon uses for normal 1080p mov recording)
BUT
There is one thing though, for continuous raw recording you need more.
You need the SD_UHS module activated (available in the latest build for 6d in this forum) and a SD card that can handle the write speed needed.
Your card must be able to have a write speed of about 90Mb/s. Not all cards have the ability to write at ~90Mb/s.
The Sandisk extreme pro UHS-I U3 V30 170MB/S series give good results. (you don't need to buy the Sandisk extreme pro UHS II SDXC 300MB/S series, the 6d can't make use of the extra speed UHS II gives)
Also the older, but maybe still available, sandisk extreme pro UHS-I U3 95MB/S are also good.
You can search the forum for SD_UHS module and which cards work and which not, but the Sandisk extreme pro with either 95Mb/s or 170Mb/s on the label should certainly work.

If you have the above you should be able to have continuous raw recording:
1824x1026x 14 bit lossless compressed raw, for 24 and 25 frames per second, 30 fps might work, but the write speed needed might just be too much, but you could always step back to 12 bit lossless raw recording if you need 30 fps to be continuous.

Point 2:

Dynamic range/noise/color is best in normal 1824x1026 resolution mode (not crop or 5x zoom mode).
This because horizontal pixelbinning is done in this mode (the 1824 horizontal pixels are actually 5472 pixels read and pixelbinned to 1824, so each pixel is actually combined info from 3 pixels)
The crop and high resolution modes have less little less quality (dynamic range/noise/color) since there is no pixelbinning happening, but this is mostly noticable when high iso is used, I doubt if you experience any difference up to iso 800.
Title: Re: Levas' magic lantern builds
Post by: calintwf on May 28, 2021, 05:58:01 PM
Hi Levas,

I've used ML before, now it's time to install it on 6D. There are so many builds.... it is confusing!
- Which one is the most stabile?
- Is there a table with versions and pluses/minuses for each build?

We need some order here ;-)

Thanks, man!
Title: Re: Levas' magic lantern builds
Post by: Walter Schulz on June 29, 2021, 03:49:13 PM
Quote from: calintwf on May 28, 2021, 05:58:01 PM
- Is there a table with versions and pluses/minuses for each build?

In the making: https://wiki.magiclantern.fm/reddit:progress_bar
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 01, 2021, 08:58:03 PM
@calintwf, sorry for the late reply  :P

About builds for ML, there are roughly three build options:

normal nightly build on the ML downloadpage https://builds.magiclantern.fm (https://builds.magiclantern.fm)
Experimental builds, best for 6d is the croprec4K build https://builds.magiclantern.fm/experiments.html (https://builds.magiclantern.fm/experiments.html)
And there is the custom build for 6d, which is basically the croprec4K build from the experimental builds page, but with added resolutions options for the crop rec module and the SD_UHS speed hack module.

-Nightly build from downloadpage
probably most stable build, but lacks many for raw video options like 10/12 bit raw video (only 14 bits) and lacks lossless raw recording for raw video.

-experimental croprec4k build from ML downloadpage:
In this build the lossless raw recording is added, as well as lower bit recording options in lossless.

-custom build.
Link to latest build for 6d(https://drive.google.com/file/d/128mnuStzJcuCa71pmnPl6XOuwVB_LNKr/view?usp=sharing (https://drive.google.com/file/d/128mnuStzJcuCa71pmnPl6XOuwVB_LNKr/view?usp=sharing)) as seen on this site Walter posted https://wiki.magiclantern.fm/reddit:progress_bar (https://wiki.magiclantern.fm/reddit:progress_bar)

Most interesting build available for 6d, if you're going for raw video, the custom builds are the only ones with SD_UHS speed hack module in it.
This improves the write speed, so raw video in normal modes becomes continuous, even in 14 bit lossless.
Probably even continuous in 14 bit lossless in full 1824x1216 (3:2 whole sensor view).
You need SD card that can handle those speeds and is compatible with the camera (Sandisk extreme pro with 95mb/s or 170mb/s on the labels)

Also, there is a whole lot of more options in crop_rec module menu. for example 2880x1200@25 fps or 2560x1440@24fps.

Furthermore, the dual iso module works in this custom build for photo and video, not sure if dual-iso works in the two other builds.





Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: tohenoeno on July 03, 2021, 12:00:31 PM
I'm trying to using the Canon 6D with
magiclantern-Nightly.2020Jul16.6D116 version.

And using my Atem mini pro connects with 6D.

Is there any solution to get a clean HDMI out? at the moment no matter what I do, the frame stays cropped at 18xx not 1920*1080.
I only need the live view of 1920*1080 in order to make this 6D camera stand by and becomes a livestream camera. Not need to press the record. The liveview is fine.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on August 15, 2021, 06:24:12 PM
https://www.youtube.com/watch?v=tWdU7ZIIVuE

Color grading samples with MLV Raw. I've made a few short films fully shot with 6D Magic Lantern Raw. Will share it as soon as it's posted in YT. Thanks to the people behind developing the ML for 6D.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: wagamama on August 22, 2021, 01:12:49 PM
Hi guys, can anyone let me know if it's possible to shoot at 1824x776 (2.35:1) but at 48fps?

I like the cinematic look of 2.35:1 when shooting at 24fps but want some slow motion sections too and can't seem to match the frame size even if I do 16:9 with 48fps override (I have the sd overclock on too). the closest I can get is 1824x616 (at 16:9).

Is there any resolutions > 720p that are the same at both 24 and 48fps with some combination of resolution and aspect ratio? And is there any way to save presets like this too so I am not having to constantly try and unlock and switch fps/resolution?

Thanks for any help!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: swordsmasterxii on August 23, 2021, 01:03:55 PM
https://www.youtube.com/watch?v=XGlFfTCRxaU

A short film we made. Shot entirely with ML Raw Eos M and 6D
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on August 23, 2021, 08:29:00 PM
Yes, there is a preset in crop module for 1824x904 at 48 fps (which can be used to record 1824x776 resolution, which can be set in raw video menu)

It's under the 720p presets and must be used with the camera set in 720p video mode in Canon menu. These high fps modes won't work in normal 1080p mode, camera freezes and you need to do a battery pull ;)

Edit:
Not sure if this works, but to prevent switching between canon 720/1080 p modes, you could try to use 1824x904@48fps preset in 720p mode (with aspect ratio set to desired 2:35 in raw video menu to get 1824x776)
Once you want 24fps, try using fps override to see if you can get 24 fps instead of 48 fps.
Fps override is easy to switch on an off to get 24 or 48 fps.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: wagamama on August 23, 2021, 10:32:13 PM
Hi Levas, thank you so much I will try that out and let you know, that would indeed make switching really quick if it works! Thanks  :) :) :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: wagamama on August 23, 2021, 11:03:59 PM
Hi again, OK I couldn't wait to test this so just have but I'm now struggling to get even 24fps... it seems to set itself to 17.521fps.. it also seems to limit the resolution some times to 1824*466 then other times its 1832*780 (0.99x)..seems to almost change every time I turn the camera on! It also pops up right at the start saying FPS override 48fps (great) but then after a second it goes to 17fps in the top info bar in live view and the live view freezes ... menus/ML menu still work fine though.

What I did was:

Put 6D in movie mode set to 1280*720
In ML press Q on "crop mode," went to "720p Preset" and set it to 1824*904@48fps
Turned "crop mode" on and chose "High fps only use in 720p mode"
In RAW video chose 2:35 (also tried 16:9 but FPS is still 17fps) and the highest it'll set resolution to by choose 1920.

Not tried actual filming or anything yet just wondered if you had any thoughts, or if you could try it your end and see if its the same, I am using the most up to date version of your build (jul2020)

Thanks!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: atjeremy on October 14, 2021, 02:38:04 PM
Hi guys!

Been a long time Eos M user, and have moved to the 6d. Loving it, but just a little question.

I read that I could shoot continuous raw at 1876 3:2 with 90mb/s sandisk extreme pro, which I have. However, wether SDS module is on or off, I can only get about 7-8 seconds. Is this normal?

Would love some help with this. Thank you for all your work.

AJ
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: tigs on October 18, 2021, 07:08:08 PM
Is there a way to add "image effects" ? I want to preview negative films while digitizing them. thanks. Or is there a tone-inverting picture style available?

thanks
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: #Silverback542021 on October 23, 2021, 01:05:29 AM
Hello.  I have been trying to find 6D update version 1.1.6.  The below link is not working;

https://web.archive.org/web/pel.hu/down/eos6d-v116-win.zip

Anyone know of a source?

Thanks
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Walter Schulz on October 26, 2021, 12:03:49 AM
Link is ok. Problem must be on your side.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on October 26, 2021, 04:26:01 PM
The original Canon firmware updater file for Canon 6D to version 1.1.6
Uploaded it to my google drive(long time ago). Contains the original .FIR file and some instructions PDF files in different languages:
http://drive.google.com/drive/folders/1_WpYbRMOm_XrjWJxnns1FMiEN0tzZBWV?usp=sharing (http://drive.google.com/drive/folders/1_WpYbRMOm_XrjWJxnns1FMiEN0tzZBWV?usp=sharing)

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: ShittyWebsite on November 02, 2021, 02:47:55 PM
Hello
I have a small question:

I'm looking for either 6D or 5D3
The problem is that i can get two 6Ds for the price of a single 5D3

I have a 700D (bilal's crop rec) and i'm looking for a full frame camera

How well does it compare? i would use mostly for photos (at least 5000x3200 and some video using 1x3 modes)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on November 03, 2021, 02:19:19 PM
For video you're way better of with the 5d3
5d3 has faster write speed to storage card and sensor read out is faster (which gives you higher resolutions at the same frame rate compared to 6d).

For photo's probably not much of a difference.

Concerning Magic lantern, 5d3 has bigger userbase / more developers and is therefore more updated compared to 6d.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: gonzzalo_b on November 13, 2021, 12:58:52 AM
Quote from: Levas on September 16, 2020, 10:22:23 AM
With that card I would expect higher speeds possible. I have a 128GB Sandisk 170mb card and it does around ~80Mb/s with the 240Mhz option setting.

But at what resolution setting are you recording, you might be in a video mode that is not data heavy. Normal 1824x1026 video mode doesn't need more speed then ~60Mb/s. So could be that your card can handle more, but your resolution setting doesn't require more speed.

Hello, I'm new in this forum and I like to share my test using the last build magiclantern-Nightly.2020Jul16.6D116 with the SanDisk SDXC Extreme Pro 64 GB 95Mb/s recommended. I hope this can be helpful.
I named the settings for practical purposes

Settings A (240Mhz)
SD: Sandisk Extreme pro 64gb 95mb/s
RES: 1824x1024
AR: 16:9
Frame rate:24 fps ALL-I
Data format: 14 bit (uncompressed)
SD OVERCLOCK: 240 Mhz
CONTINUOUS RECORDING
With this overclock when is selected RAW VIDEO shows me this before playback
74.8Mb/s 73x3.1MB, 23.970/982p Expect 2417-10000 frames at 78.8Mb/s

Using this configuration I can continuously record with no problem at any light situation but after I playback the videos something weird happen. If I try to record again suddenly stops recording after a few seconds, then I go back and see the settings and show me this:
74.8Mb/s 73x3.1MB, 23.970/982p Expect 322-505 frames at 62.9Mb/s
until I restart the camera it solves the problem. But when I use the SD OVERLOCK at 192 Mhz this happen...

Settings B (192Mhz)
SD: Sandisk Extreme pro 64gb 95mb/s
RES: 1824x1024
AR: 16:9
Frame rate:24 fps ALL-I
Data format: 14 bit (uncompressed)
SD OVERCLOCK: 192 Mhz

I can playback and record without any problem but it is no longer continuously record. It's about 1 min 10 sec of recording.

Other test results with different bit rate and Overclock
SD: Sandisk Extreme pro 64gb 95mb/s
RES: 1824x1024
AR: 16:9
Frame rate:24 fps ALL-I
Data format: 12 bit | 10 bit (uncompressed)
SD overclock: 192 Mhz | 240 Mhz

Even if I restar the camera after changing every setting, I can't playback the videos with 12 bit uncompressed and 10 bit uncompressed, only black frames are played, but when I transfer to the computer I can see it and edit. I will not use it because for me it is important to preview the video and be sure it is ok. With the 14 bit, 14 bit lossess, 12 bit lossess and 11-8 bit lossess there is no problem with the playback.

In conclusion

SETTINGS A (240Mhz)
-I can record continuously at any Bit rate, but when I playback the videos I can't no longer record and I have to restart the camera to solved it.
-This configuration gives me more image quality.
-12 bit and 10 bit (UNCOMPRESSED CAN'T PLAYBACK)

SETTINGS B (192Mhz)
-Playback and record with no problems but less recording time depending of the bit rate used.
-This configuration gives me less image quality, a little of aliasing.
-12 bit and 10 bit (UNCOMPRESSED CAN'T PLAYBACK)

Notes:
-In the SETTING A (240Mhz) after playback, when I record and automatically stops recording the flushing buffer remains a longer time. (Maybe the problem is after the playback can't reset the memory and for that reason can only record a few frames.)
-In playback mode, when I select the videos with compression (14 ,12, 11-8) appear the same info. It shows "14 bpp LJ92" in each video with different bit rate.
-When I change the SD OVERCLOCK and restart the camera, do not update the frames that it can capture until start the first recording, after that it showns the real frames can be recorded. (Maybe this module have problems updating)
-I also use another SD card Lexar Professional SD 633x 128GB SDXC UHS-I 95Mb/s but the performance is inferior compare to the sandisk.

I will use the SETTINGS A (240Mhz) for a while and let you know for the results. And hope could be a fix whit recording after the playback in the future.

Thank you Levas for helping us with your hard work.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: fred_76 on December 16, 2021, 04:17:20 PM
Quote from: Levas on November 03, 2021, 02:19:19 PM
Concerning Magic lantern, 5d3 has bigger userbase / more developers and is therefore more updated compared to 6d.

Yes, but the 5d3 is not as good as the 6D in low light...

By the way, is it a big work to modify the ML intervalometer so that it could allow shooting at 1/10s step, instead of 1s step ?

All the best

Fred
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: GolemisOptics on January 28, 2022, 06:08:48 PM
New 6D user here! You guys rock!Using levas all in one I just managed to record 1824x1026p24 14bit continious on an old Remax 64gb card (it can do 65Mb/sec writes max)! That is pretty remarkable if you ask me!! Matching BRAW from my bmpcc4k and this footage seems to be very easy! I am planning to get a 256gb kingston canvas go (170mb/s read-90mb/s writes) for dedicated ML  usage. I really did not expect the footage to be this good! https://www.youtube.com/watch?v=1g9PhEccBfU
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on January 29, 2022, 02:28:15 PM
Quote from: fred_76 on December 16, 2021, 04:17:20 PM
By the way, is it a big work to modify the ML intervalometer so that it could allow shooting at 1/10s step, instead of 1s step ?

Not possible, hardware limitation, sensor readout and write speed not fast enough.
1/10s means 10 photos per second.
Canon 6d has a burst rate of 4.5 fps. One second divided by the burst rate ( 1s / 4.5fps ) is 1/22th second.
But even that is limited to the buffer, since the write speed (without UHS-speed hack module) is about 40MB/s.
Full resolution CR2 raw file from 6d are about ~25Mb, which means you can't write them quick enough to your SD card. It's limited to slightly less than 2 photos per second.

Other options to consider for 1/10s intervalmeter is raw video.
With magic lantern raw video and crop_rec module you can choose some high resolution crop options.
In the latest 6d build posted in this topic, there is a 4096x2304 at 10fps preset (so you're recording the 4096x2304 pixels in the middle(could be little of, not sure) of you're 5472x3648 sensor, so you have an crop factor of 1.33x)
Within the crop_rec submenu you can even choose to set shutter range from original to full range, which gives you the option to record in 10fps with a shutter time of 1/10th of a second.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on January 29, 2022, 02:50:50 PM
Quote from: gonzzalo_b on November 13, 2021, 12:58:52 AM
I can't playback the videos with 12 bit uncompressed and 10 bit uncompressed, only black frames are played, but when I transfer to the computer I can see it and edit. I will not use it because for me it is important to preview the video and be sure it is ok.

This has probably to do with mlv_play module.
The 12 and 10 uncompressed are seen as obsolete, because 14 bit lossless compressed is about the same size as 10 bit uncompressed.
So... if you can choose to record 14 bit lossless compressed at the same data rate as 10 bit uncompressed, why bother using 10 bit uncompressed.
Needless to say 12 and 11-8 bit lossless compressed are even smaller in file size then 10 bit uncompressed.
If you really want playback to work with 12/10 bit uncompressed, you can try swapping the MLV_play module file on your card with some MLV_play modules from other builds, like the one on the download page of magiclantern site. This will probably work, but big chance you can't play back lossless compressed video files.

Quote from: gonzzalo_b on November 13, 2021, 12:58:52 AM
Notes:
-In the SETTING A (240Mhz) after playback, when I record and automatically stops recording the flushing buffer remains a longer time. (Maybe the problem is after the playback can't reset the memory and for that reason can only record a few frames.)

Did notice that recording times are different sometimes, not sure what it triggers, but as you point out, it probably has to do with playback.
I can imagine that the UHS-hack settings won't work after you did some reading on the sd card (which happens in playback).
absolutely no idea how to fix this, but luckiliy you know what not do, not use playback function, or restart camera after playback  :P

Quote from: gonzzalo_b on November 13, 2021, 12:58:52 AM
-In playback mode, when I select the videos with compression (14 ,12, 11-8) appear the same info. It shows "14 bpp LJ92" in each video with different bit rate.
-When I change the SD OVERCLOCK and restart the camera, do not update the frames that it can capture until start the first recording, after that it showns the real frames can be recorded. (Maybe this module have problems updating)

Yeah this is normal behaviour and makes sense, only if you know how it works.
The compression you choose, only alters the image to be recorded, it sort of cuts out some stops of highlight data (which can be seen in raw histogram).
When 12 bit is selected, it cuts of 2 stops of highlight data (one bit of info is one stop if image info), but the resulting data is still recorded in 14bpp LJ92 data format.
But since this format uses LJ92 lossless compression, it can compress the image a lot more because of the 2 stops of highlight data missing.
So your raw data stream is about 12 bit, but you camera file format records it in 14 bits, lossless compression sees that it's only 12 bit data, so lossless  compression factor is much higher/ more efficient).

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Sténo on February 12, 2022, 11:41:19 AM
i tried this buid
  and he is just fantastic. it's really on point

I did a test in Raw fullhd mode (usable for filming) https://www.youtube.com/watch?v=-Daot87dn6A


is there a 5.4K preset in 2.39 or 2.35?

the only 5k no crop preset being at 3X1 ratio (cinemarama) and unfortunately it is the only mode with corrupted images in the middle of the video
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Frayfray on February 12, 2022, 12:18:13 PM
man i love the colors in that video did you grade it ?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Skinny on February 13, 2022, 08:37:24 PM
I agree, the colors a really nice! especially combined with full-frame look and 50mm
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: ML700D on February 14, 2022, 08:53:40 AM
I think it using LUT
try this IWLTBAP LUT.zip (https://drive.google.com/file/d/1L-OvxbOPIlMKWvlUEa8D58V9f-ZtSRik/view?usp=sharing)

I got from this link (https://generator.iwltbap.com//) LUT Generator for free or download here (https://luts.iwltbap.com/free/LUTs_Color_Grading_Pack_(Free)_by_IWLTBAP.zip)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Sténo on February 16, 2022, 03:17:29 PM
Quote from: Frayfray on February 12, 2022, 12:18:13 PM
man i love the colors in that video did you grade it ?

yes I have Graded the video using 2 luts

1 read to convert Le log to rec 709 and another that emulates kodak vision 3 film

I exported the Raw in prores 4444 with the arri profile alexa log C
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Sténo on February 16, 2022, 03:19:21 PM
Quote from: Skinny on February 13, 2022, 08:37:24 PM
I agree, the colors a really nice! especially combined with full-frame look and 50mm

Thanks

exactly

I love the full frame look with a 50mm lens and a 16/9 or 1.85 ratio
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Sténo on February 16, 2022, 03:25:53 PM
I find that 6d is one of the best options to use magic lantern

it is not as powerful as the 5d3 but it has the best sensor and the best image quality of the cameras with magic lantern (better than the 5D3) only the aliasing is lacking

i am using 3x3 1832x1030 mode
I do a slight upscale in full HD or 2K
I add between 45 and 55 sharpness
and i am using arri alexa log-c profile with mlv app



and i graded and cut with davinci resolve

the quality is amazing it looks like an arri mini LF but in full HD

here is another small test carried out in low light with the same lut (kodak vision 3)

https://www.youtube.com/watch?v=cc76bcP17Ko
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: ML700D on February 16, 2022, 04:24:34 PM
nice and clean.. 👍
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: zezic on March 11, 2022, 10:47:59 AM
Hi! Your ML build is amazing. I'm very happy with the 3x1 1632x2160 (upscaled to 4896x2160) crop mode!
Here are some night tests:
https://www.youtube.com/watch?v=ug8co4A8qEU (https://www.youtube.com/watch?v=ug8co4A8qEU) (85mm)
https://www.youtube.com/watch?v=sv0tsVG8oLU (https://www.youtube.com/watch?v=sv0tsVG8oLU) (50mm)

I want to know if it's possible to speed up the live view in this mode? It works absolutely OK for the static scenes, I'm even able to guess the focus distance from the preview. But, because of the extremely low and unstable framerate (about 2 FPS) it makes things hard to control when working with steadicam, display becomes to laggy for controlling the composition in realtime. Maybe it's possible to reduce the preview resolution even more to keep up with the framerate?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on March 13, 2022, 07:35:52 PM
The preview is indeed very slow, unfortunately I don't have the knowledge to fiddle with the preview options in source code.
I made the custom resolutions for crop recording on the 6d, so learned a lot about the crop_rec module, but the rest of magic lantern source is like magic to me  :P

Canon liveview is broken in 4896x2160 crop rec option.
You could however use the 5496/3x1960 at 24 fps option in crop_rec menu.
5496/3x1960 has canon liveview working (although a bit squeezed and zoomed in)
Depending on your 'preview' setting in the submenu of raw recording, you could switch from Canon liveview to slow correct preview with half shutter (works while recording)

The way I would use it:
Use 5496/3x1960 at 24 fps in crop_rec menu.
Go to RAW video submenu (use Q button on RAW video in the MOVIE tab in ML menu.
Set resolution lower to get desired resolution/aspect ratio, you can use scroll wheel on top of your DSLR to set it (for example) from 1824x1960 to 1568x1960 to get 4704x1960 at 24 fps (2.4:1 aspect ratio).
Now go to preview option and set it to 'real-time'.
Now exit menu and you will see some distorted canon liveview which is as fast as Canon liveview, although not correctly framed, but if you do half press the shutter button, the correct framing preview shows up  :D
So use half shutter to get framing right, release half shutter to set focus right and keep track of your subject. While recording, you can check framing by using half shutter press.
So that's the most usable way I found, using real-time preview and occasionally using half shutter press to check framing.



Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: zezic on April 04, 2022, 07:39:10 PM
Quote from: Levas on March 13, 2022, 07:35:52 PM
You could however use the 5496/3x1960 at 24 fps option in crop_rec menu.
Oh, it works! This squashed view is totally fine for me. But, I got data corruption to often. It's almost impossible to get even a few seconds of clean recording without data corruption at 1960px vertical resolution. The 1872px vertical resolution is more stable, but data corruption is also happens sometimes, you can notice few flickers: https://youtu.be/pKkrqyrQykA (https://youtu.be/pKkrqyrQykA) (sorry, handheld shaky video).
Can you suggest something to lower the chance of the data corruptions? The benchmark shows that my card is able to do ~90MB/s (with 240MHz overclock, of course).
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 05, 2022, 06:46:38 PM
Corrupted frames is not good   ???
Made a new crop_rec module where the max vertical resolution is lowered by 16 pixels. (So 16 lines less to read out by the sensor)

5496/3x1944 @ 24 fps
5496/3x1856 @ 25 fps

I expect this should prevent corrupted frames. Could be that it's still a little too much.
If you still experience corrupted frames, let me know, then I make a crop_rec build with the vertical resolution slightly more lower till no more frames are corrupted.

The crop_rec.mo file can be downloaded here from my google drive. you can replace this crop_rec.mo file with the crop_rec.mo file on you sd card (location on SD card:  ML/MODULES/ )
https://drive.google.com/file/d/14Rff7xmEOOVF9nxSFRYYVyKutGqhYS-D/view?usp=sharing (https://drive.google.com/file/d/14Rff7xmEOOVF9nxSFRYYVyKutGqhYS-D/view?usp=sharing)

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: zezic on April 13, 2022, 11:21:43 AM
Quote from: Levas on April 05, 2022, 06:46:38 PM
Corrupted frames is not good   ???
Made a new crop_rec module where the max vertical resolution is lowered by 16 pixels. (So 16 lines less to read out by the sensor)

5496/3x1944 @ 24 fps
5496/3x1856 @ 25 fps

I expect this should prevent corrupted frames.
Looks like it fixed the issue. I was able to record this ~1 minute example at 5496/3x1944 @ 24 FPS : https://www.youtube.com/watch?v=ePmpH5QNuGU (https://www.youtube.com/watch?v=ePmpH5QNuGU)
Thank you! I'm very happy, going to post more tests with steadicam soon.
By the way, do you have a repository at GitHub or other Git hosting where it's possible to see the edits you made to the source code?

UPD: Another quick test, now with steadicam: https://youtu.be/Lrc_npKrWaQ (https://youtu.be/Lrc_npKrWaQ)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 13, 2022, 09:21:02 PM
Good to hear it's working without corrupted frames  :)
I don't have the source online.
But I could upload it to my google drive.
It's mostly the crop_rec module where changes are made.

The steadycam footage looks good on youtube in 4k  8)

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: lightwriter on April 14, 2022, 05:51:31 PM
Quote from: zezic on April 13, 2022, 11:21:43 AM
Looks like it fixed the issue. I was able to record this ~1 minute example at 5496/3x1944 @ 24 FPS : https://www.youtube.com/watch?v=ePmpH5QNuGU (https://www.youtube.com/watch?v=ePmpH5QNuGU)
Thank you! I'm very happy, going to post more tests with steadicam soon.
By the way, do you have a repository at GitHub or other Git hosting where it's possible to see the edits you made to the source code?

UPD: Another quick test, now with steadicam: https://youtu.be/Lrc_npKrWaQ (https://youtu.be/Lrc_npKrWaQ)

Is the steadycam a real steadycam or a stabilized lens? Looks amazing, by the way!

P.S.: I can buy a 6D with 190.000 actuations for €180 euros. I know the MTBF is 150.000. What do you think about this? Should I go for it? Right now I have the EF 35mm f/2 (the non stabilized version).
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: zezic on April 17, 2022, 03:54:09 PM
Quote from: lightwriter on April 14, 2022, 05:51:31 PM
Is the steadycam a real steadycam or a stabilized lens? Looks amazing, by the way!
Thanks! It's a real steadycam, the model is Glidecam HD-2000, I'm not very good at it yet, just started practicing. The lens is Helios 40-2-C 85mm (dumb metal+glass, no electronics). The lens combined with 6D and this steadycam make the whole setup a heavy thing, but I like it! :)

Quote from: lightwriter on April 14, 2022, 05:51:31 PM
P.S.: I can buy a 6D with 190.000 actuations for €180 euros. I know the MTBF is 150.000. What do you think about this? Should I go for it? Right now I have the EF 35mm f/2 (the non stabilized version).
Probably, it can be a good setup for recording some static shots and maybe even some scenes with slow careful panning without stabilization (the shake is less noticeable on 35mm than on 85mm, but you have to try it yourself to check if you can hold it steady in your hands). What's about shutter live span – honestly, I don't even know how to estimate it, I bought mine 6D with ~23k shutter count so I'm not worrying about it at all. The 190k shutter count can turn out to be a lottery and maybe it's not that important for video, however, I'm not sure that 6D is the best option for RAW videos at its own.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: anto on April 21, 2022, 04:29:34 PM
Quote from: Levas on April 05, 2022, 06:46:38 PM
Corrupted frames is not good   ???
Made a new crop_rec module where the max vertical resolution is lowered by 16 pixels. (So 16 lines less to read out by the sensor)

5496/3x1944 @ 24 fps
5496/3x1856 @ 25 fps



like 5k anamorphic on the eos M? there is a real time preview?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 21, 2022, 06:26:22 PM
No realtime correct framing liveview.
There is realtime liveview, but it is squeezed and zoomed in.
So to check framing, you need ML preview (the preview with slow refresh rate)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on June 10, 2022, 08:37:38 PM
For those interested:
Posted some comparison shots 6D to R5 and posted them in the R5 topic.

https://www.magiclantern.fm/forum/index.php?topic=24827.msg239189#msg239189 (https://www.magiclantern.fm/forum/index.php?topic=24827.msg239189#msg239189)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: mkh50 on June 25, 2022, 11:52:55 PM
Hi,

is there a chance to make full frame RAW more than 1824x1026? Anything around 2.5 or 3K?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Sténo on July 17, 2022, 10:52:25 AM
I was wondering where is the ettr module in this version

where can we find it on the site to install it?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: orcslayer on July 21, 2022, 05:26:37 PM
Any idea what is causing flickering effect in some of my videos? Same effect during camera preview - 1X1 pixel binning 3072x1152@25fps[magiclantern-Nightly.2020Jul16.6D116] 7 out of 37 videos have this flickering effect going on.

https://www.youtube.com/watch?v=zM5plJ9ZQGM

https://www.youtube.com/watch?v=c32OHEonoMY

https://www.youtube.com/watch?v=vsMBUHrZW5c
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: lyrata on July 22, 2022, 09:40:15 AM
Hey mates, what speed sd card do i need to utilize the latest crop rec and 4k?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on July 30, 2022, 08:03:10 PM
The build is based on the same branch as the ML build on the download page on magiclantern.fm -> experiments -> 4K raw video recording; lossless compression

https://builds.magiclantern.fm/jenkins/job/crop_rec_4k/80/artifact/platform/6D.116/magiclantern-crop_rec_4k.2018Jul22.6D116.zip  (https://builds.magiclantern.fm/jenkins/job/crop_rec_4k/80/artifact/platform/6D.116/magiclantern-crop_rec_4k.2018Jul22.6D116.zip)

That build contains a ettr module, see folder 'ML/modules/ettr.mo', you can copy the ettr.mo file to the build on your card in the same folder as the other modules, should work.

Haven't used the ettr module myself, so not sure how good it works, I'm using raw histogram and adjust exposure to that.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: orcslayer on August 14, 2022, 12:33:32 AM
Any idea why the flickering keeps happening during video in 1:1 5x zoom crop mode?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on September 30, 2022, 06:53:29 PM
Quote from: mkh50 on June 25, 2022, 11:52:55 PM
is there a chance to make full frame RAW more than 1824x1026? Anything around 2.5 or 3K?

Nope. Hardware limit.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on September 30, 2022, 07:00:12 PM
Quote from: lyrata on July 22, 2022, 09:40:15 AM
Hey mates, what speed sd card do i need to utilize the latest crop rec and 4k?

Hi, this might be an off-topic question?
You can ask in General Help Q&A (https://www.magiclantern.fm/forum/index.php?board=4.0) section.

Anyway, UHS-I SD card with W90 (capable of 90 MB/s write speed) should work with 240 MHz OC. Feel free to start a topic and ask about a certain SD card before buying it.

We should create a list of verified SD cards too.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on September 30, 2022, 07:02:30 PM
Quote from: orcslayer on August 14, 2022, 12:33:32 AM
Any idea why the flickering keeps happening during video in 1:1 5x zoom crop mode?

How do you process MLV clips, what is your workflow?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on September 30, 2022, 11:06:52 PM
Quote from: Walter Schulz on September 30, 2022, 07:34:15 PM
I think you are mixing up W90 and V90.

Ah, yes, sorry. It's W90.
Will edit the posts with W90 instead of V90.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: gherebean on May 12, 2023, 12:45:05 AM
Levas et al, thank you so much for the work you've done. I used to us ML back in the day when I first started filmmaking on my 550D. I've switched to RED over the years but I've had an old 6D lying around for years that I used to use for BTS until the card slot stopped working. Turns out, using a dud SD card and spraying WD40 on the leads and inserting/ejecting like 10-15x cleans those leads enough to work.

All that to say, I've loaded your version of ML. I've dug through and read this entire thread. I've enabled SD overclocking which doesn't work for me at the highest setting even though I have the same Sandisk Extreme Pro 170 MB/s card you're using. I'll be testing it for fun with my Contax Zeiss Cinemod primes over the next few days/weeks.

I'm wondering four main things:

1) Is there a way to shoot 4K in something like 10-bit h264 without the 3x1 pixel binning? (I have a feeling I know the answer is no)

2) Related to #1, How does the 3x1 pixel binning work and how do I configure it? Moreover, if I'm understanding how it works correctly, it's taking 3 adjacent pixels and somehow averaging the color. When brought into MLV App for post production, does this do very well on parts of the frame where simple color gradations occur and perform horribly in the high contrast areas? Maybe this is better explained in one of the other ML forums. If so could you point me there so you don't have to waste your time regurgitating something that I have to imagine has been asked many times before.

3) I'm having a little trouble understanding exactly how to use the crop modes and how to correctly configure my settings to work well. Is there also some diagram that shows the crop factor in the respective modes?

4) Perhaps this is just my lack of experience with MLV App, but I'm noticing that I'm not able to get the sort of highlight retention through it as I would through taking a canon raw file into Lightroom. Maybe I'm doing something wrong or just actually totally clipping? Admittedly it's been some time since I've used my Canon so I could just be misjudging things slightly. Moreover, is there some best practices for the 6D in MLV App for various modes?

Thank you so much in advance.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: gherebean on May 12, 2023, 10:11:14 PM
btw, wanted to upload a couple minutes of test footage I shot yesterday throughout the day.
https://www.dropbox.com/s/n03v5mj8p4mceok/MLTEST1.mp4?dl=0

Focused primarily on getting exposure right to look at the colors/skintones/etc. My post processing for all of these shots was as follows: loaded in MLV app and disabled "Enable RAW correction" because I initially tried a few of those things and got some weird results so I figured I should start with the basics. I went through and maybe just increased/decreased exposure a tiny bit, made slight white balance adjustments, converted each shot into ARRI LogC, and for some shots I checked the highlight reconstruction box although I'm not seeing a whole lot of difference one way or the other. On the last shot of the Old Fashioned, I played with the Chromatic Aberration dials to reduce it a bit. Worked pretty well. I notice a lot of CA on the second close up of my dog at 1:03. I didn't adjust it at on that shot. I think I also started those two close ups on the zoom feature. Didn't realize it would shoot like that. Happy accident?

After exporting in ProRes 4444, I brought everything into Premiere, I simply added the built in ARRI LogC to REC 709 LUT. Earlier on a played with a couple shots which were exported on standard from MLV and found that I preferred the ARRI conversion especially on skintones and highlight retention. I added some warp stabilization to a few shots where it didn't look crazy. I shot this all on a 50mm Contax Zeiss f/1.4 at various apertures. The CA is pretty bad up until f/2.8 so I generally didn't drop below that but if I'm honest there probably are a few shots where I did.

Overall, I'm very happy with the color rendition. I tried to use the histogram, despite it being slow, and ETTR when applicable. It's much better color than I remember shooting in h264 on it back in the day. Being able to adjust white balance in post like I do with RED footage is really nice.

Now my gripes. The first shot, I'm seeing a lot of weird color noise in my dog's coat in the highlights. It also appears on the sunny parts of the fence boards around 1:36. I'm surprised at how well it handled the rug pattern around 0:12. The highlight retention is pretty good. Look at the sky around 1:22. Do you guys think the CA at 1:03 is from my lens or from the crop mode I was in?

Any input would be appreciated.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: names_are_hard on May 13, 2023, 12:23:00 AM
I can't answer all of these but I can give you a start.

Quote
1) Is there a way to shoot 4K in something like 10-bit h264 without the 3x1 pixel binning? (I have a feeling I know the answer is no)

I don't think anyone knows if 10-bit h264 is even possible, or anything above 1080.  I suspect not, very sure it's not possible currently.

Quote
2) Related to #1, How does the 3x1 pixel binning work and how do I configure it?
Binning is done at hardware level by Canon.  It collects light from multiple sensels but sends back one measurement, allowing collecting light from a larger portion of the sensor for a lower bandwidth, at the cost of spatial resolution.  I don't know how the sensel data is combined, some kind of average I assume but I don't know which one would make the most sense.  Geometric mean possibly? 

Quote
4) Perhaps this is just my lack of experience with MLV App, but I'm noticing that I'm not able to get the sort of highlight retention through it as I would through taking a canon raw file into Lightroom. Maybe I'm doing something wrong or just actually totally clipping? Admittedly it's been some time since I've used my Canon so I could just be misjudging things slightly. Moreover, is there some best practices for the 6D in MLV App for various modes?
If it's clipped, it's clipped.  Different programs will use different algorithms to try and make the clipping look nicer, but the information is just as lost.  You can losslessly convert mlv to dng and compare recovery in two tools.  I haven't used MLV App, this question is probably better asked in an MLV App thread, maybe here: https://www.magiclantern.fm/forum/index.php?topic=20025.msg243653;topicseen#msg243653

You might get better feedback about the video if you ask here (and explain you want review / feedback): https://www.magiclantern.fm/forum/index.php?board=19.0
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: gherebean on May 13, 2023, 12:54:15 AM
Quote from: names_are_hard on May 13, 2023, 12:23:00 AM
I can't answer all of these but I can give you a start.

I don't think anyone knows if 10-bit h264 is even possible, or anything above 1080.  I suspect not, very sure it's not possible currently.
Binning is done at hardware level by Canon.  It collects light from multiple sensels but sends back one measurement, allowing collecting light from a larger portion of the sensor for a lower bandwidth, at the cost of spatial resolution.  I don't know how the sensel data is combined, some kind of average I assume but I don't know which one would make the most sense.  Geometric mean possibly? 
If it's clipped, it's clipped.  Different programs will use different algorithms to try and make the clipping look nicer, but the information is just as lost.  You can losslessly convert mlv to dng and compare recovery in two tools.  I haven't used MLV App, this question is probably better asked in an MLV App thread, maybe here: https://www.magiclantern.fm/forum/index.php?topic=20025.msg243653;topicseen#msg243653

You might get better feedback about the video if you ask here (and explain you want review / feedback): https://www.magiclantern.fm/forum/index.php?board=19.0

Thanks! I will be checking out those forums to see what more I can find. I appreciate you taking the time.

In the meantime, I did a little messing around with various settings outside in the parking lot of my studio. I shot the same shots in various formats including the 6D's own h264 format for comparison. Everything is shot on my Contax Zeiss 28mm at about f/6.3 with a VND filter at 1/50 shutter. All 24fps. All 100 ISO. Nothing was changed (not even focus) and everything was shot in the span of 10 minutes. RAW shots were processed to ProRes 4444 in MLV App with ARRI LogC and then the LogC to 709 LUT was added in Premiere.

4K 1:3 Crop video: https://www.dropbox.com/s/is50a52h4r13nk7/6D%2028mm%204k%201x3.mp4?dl=0
1080 various formats compared video: https://www.dropbox.com/s/idiht9wwwk6ur44/6D%2028mm%201080%20various.mp4?dl=0

Initial findings (I would love anyone's feedback to see if I'm missing something):

1. Raw mode without crop mode enabled is far superior to the Canon h264 (not surprising). Rolling shutter is about equal in both modes and very usable and maybe a little less noticeable in h264. Moire and aliasing is horrendous in both but worse in h264. The power lines and card edges render poorly. The patterns from the shop roll up doors is all over the place. Again, all worse in h264. I wish I would've used a flatter profile in h264
2. 1:1 crop mode is the cleanest but the crop factor makes even my 28mm telephoto. that said, there's practically no moire or aliasing. very clean lines even on power lines. At 100 ISO, the noise in the image is negligible but I would be curious to see how the noise patterns did in the dark at higher ISOs as compared to a mode where more of the sensor is utilized. Rolling shutter is insanely prevalent.
3. 1:3 crop is surprisingly good image wise. If you look at my reference videos, the power lines render really well even when magnified to 100% in the 1080 video I exported. You can see some softness in how the power pole is rendered as compared to the 1:1 cropbut this is surprising good!! The results are astonishing. That said, rolling shutter is increased intensely. Is this due to slower sensor readout or because we're actually recording less horizontal pixels?

I have the Sandisk Extreme Pro 170MB/s card and my SD overclocked at 192 but I can only get about 23 seconds of recording time on 1x3 crop mode. Does anyone have a solution to this?
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: HugoMouteira on August 21, 2023, 01:52:14 PM
Hello!
Frist of all, I would like to thank you guys involved for your contribution on ML on 6D.  I was looking to buy a 6D because I feel its a bargain for photography, one of the best cameras that exists for that job actually. But I would also love to record RAW video. Nonetheless, one think I noticed is that 6D lacks a 5k mode, unlike eos M or even 5dIII. Could you explain me why? It has even more 2MP than eos M, why it lacks that? And btw, Bilal posted hes working on a crop mood version for 5DIII, why didnt he mention 6D also, since these 2 cameras share the same processor, like eos M shares the same with 100D, 650D and 700D?
Im sorry for the annoyance, Im a noob.

Best regards from Portugal!
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: names_are_hard on August 21, 2023, 03:50:29 PM
Every camera needs unique work to get features working.  There are very few devs.  If no dev owns a 6D, it's not going to get worked on.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: HugoMouteira on August 21, 2023, 07:06:04 PM
Its a shame. This camera is even better for video compared to 5dIII when it comes to ISO performance. This camera should get more atrention. Even for photography is better than 5DIII in image quality and autofocus, even though having less focusing points and competes vs 5DII when it comes to image quality. It has the legendary canon color science.  I hope some dev one day could be able to replicate the eos M crop mood modes with this camera, it deserves it.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: names_are_hard on August 21, 2023, 08:11:11 PM
There are lots of good cameras.  Porting to any cam takes a lot of work.  I'd like to see ML on the 6D too, but I don't own one.

Since you want the 6D to get more attention, you could consider learning to code, you'd want to learn C and some Arm assembly.  After that, get some experience with common reverse engineering tools, definitely including Ghidra.  We can help you at any stage.

If that sounds difficult or time consuming to you, now you should understand why not every camera has a port, and why not all cameras have the same features.


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: HugoMouteira on August 21, 2023, 08:14:51 PM
It seems interesting. I can try learning that.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: theBilalFakhouri on August 21, 2023, 08:51:58 PM
Quote from: HugoMouteira on August 21, 2023, 01:52:14 PM
I noticed is that 6D lacks a 5k mode, unlike eos M or even 5dIII. Could you explain me why?

5.2K 1x3 2.35:1 on EOS M / 700D has 1736x2214 RAW resolution (1736 is Binned from 5208), then in post it must be stretched by e.g. up-scaling it to 5208x2214 to get corret aspect ratio, so the camera doesn't record the full native 5208 width resolution in 1x3 modes, it records Binned 5208 width resolution which become 5208 / 3 = 1736 (we are capturing the light from all 5208 horizontal pixels).

6D has one 1x3 mode (https://www.magiclantern.fm/forum/index.php?topic=25782.msg226690#msg226690) which is 1640x2156 @ 24 FPS, it become 4920x2156 after stretching, if we follow the same naming for 1x3 presets from 5D3 and 700D, this 1x3 mode on 6D will be 4.9K.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: falcon on August 31, 2023, 08:16:52 PM
ML works really well on 6D. For 3x3 it does 1832x1222 with liveview and hdmi out. I don't use 1x3 but there are several high res alternatives, it's not correctly streched however. And for 1x1 it has 2560x1440 and my favourite 2,4:1 in 2880x1200. Everything with unlimited recording. The only thing I'd want is a maxed 4:3 preset. One issue with the 6D is the bad moire, but that's on the camera.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on September 03, 2023, 01:19:30 PM
Quote from: HugoMouteira on August 21, 2023, 01:52:14 PM
one think I noticed is that 6D lacks a 5k mode, unlike eos M or even 5dIII. Could you explain me why? It has even more 2MP than eos M, why it lacks that?

The reason for this is, the sensor readout speeds is too slow on the 6d.
The APS-C camera's have faster readout speed (smaller physical size gives them probably faster readout speed with the same design)

The 6D is the cheap full-frame from Canon, readout speed is rather slow compared to the APS-C Canon's.
Sensor of the 5dIII is a different design, readout speed is almost 2x as fast compared to the 6D. 
That's why the 5DIII has all the cool high resolution options like 3.5K crop mode and such.
The 2880x1200 crop mode is the highest resolution possible in 24/25 FPS in 1x1 mode, resolutions beyond this gives corrupted frames or camera lockups, because the sensor can't keep up.
Same goes for the 1x3 mode 1640x2156@24fps, giving 4920x2156 after stretching.
Readout speed is about 85 megapixel per second on the 6d.
2880x1200x25fps = 86400000 pixels per second (86MP).
1640x2156x24fps = 84860160 pixels per second.(85MP).

So it's a limitation of the hardware.


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on December 10, 2023, 12:35:26 PM
Quote from: swordsmasterxii on August 23, 2021, 01:03:55 PM
A short film we made. Shot entirely with ML Raw Eos M and 6D

Love it! I was having a hard time, so happy that it was just a dream  :D
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on December 14, 2023, 07:00:36 PM
Quote from: Levas on March 13, 2022, 07:35:52 PM
The preview is indeed very slow, unfortunately I don't have the knowledge to fiddle with the preview options in source code.
I made the custom resolutions for crop recording on the 6d, so learned a lot about the crop_rec module, but the rest of magic lantern source is like magic to me  :P

Canon liveview is broken in 4896x2160 crop rec option.
You could however use the 5496/3x1960 at 24 fps option in crop_rec menu.
5496/3x1960 has canon liveview working (although a bit squeezed and zoomed in)
Depending on your 'preview' setting in the submenu of raw recording, you could switch from Canon liveview to slow correct preview with half shutter (works while recording)

The way I would use it:
Use 5496/3x1960 at 24 fps in crop_rec menu.
Go to RAW video submenu (use Q button on RAW video in the MOVIE tab in ML menu.
Set resolution lower to get desired resolution/aspect ratio, you can use scroll wheel on top of your DSLR to set it (for example) from 1824x1960 to 1568x1960 to get 4704x1960 at 24 fps (2.4:1 aspect ratio).
Now go to preview option and set it to 'real-time'.
Now exit menu and you will see some distorted canon liveview which is as fast as Canon liveview, although not correctly framed, but if you do half press the shutter button, the correct framing preview shows up  :D
So use half shutter to get framing right, release half shutter to set focus right and keep track of your subject. While recording, you can check framing by using half shutter press.
So that's the most usable way I found, using real-time preview and occasionally using half shutter press to check framing.

Probably someone mentioned that already, but adding to that, by enabling the "Anamorphic 2:1" display option the view is much less distorted (we would need a 3:1 to get it right). The chunk from the bottom is still missing and might be better having a distorted but bigger view for focusing, but I prefer it.



The quality of the videos from the 6D is truly amazing, but every time I use it I value more the jump that "crop mood" made in actual usability :o
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 04, 2024, 10:44:08 AM
Hi, do anyone know what is the "3x3 1832x1030-fix for max width" meaning by "fix"? Is it something broken when crop mode is OFF?
I tend to leave it OFF when using external monitor, because the zoomed view is broken
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 12, 2024, 05:30:23 PM
Nothing is broken when crop mode is off, the naming is confusing.
I made this to so 1832 width was working again (was available in some older builds, without crop mode it goes to 1824 as maximum width).
Another thing I liked is that in the crop mode menu, you can set the shutter range option to 'full range'.
So when shooting 25 fps, you could use 1/25th shutter time in lowlight.
So I used the 3x3 1832x1030 crop mode for low light situations giving me 1/25th shutter time option.

For low light situations:
Not sure if you have the build with 'LV raw type' option in the debug menu ?B
By default it is set to 0x10, giving maximum dynamic range, but also gives vertical line noise in low light situations. 0x10 also makes it possible to use the high resolutions crop modes.
If you set LV raw type to 0x12 you get much more cleaner (noise wise) video.
But you can't use the high resolutions crop modes (giving corrupted frames with 0x12), but you can use the 3x3 1832x1030 crop mode.
So for ultimate low light situation use:
Crop mode 3x3 1832x1030 with shutter range option set to 'full range'. (And use 1/25th as shutter time)
In debug menu set LV raw type to 0x12.


Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 14, 2024, 07:03:47 PM
Quote from: Levas on April 12, 2024, 05:30:23 PMNothing is broken when crop mode is off, the naming is confusing.
I made this to so 1832 width was working again (was available in some older builds, without crop mode it goes to 1824 as maximum width).
Another thing I liked is that in the crop mode menu, you can set the shutter range option to 'full range'.
So when shooting 25 fps, you could use 1/25th shutter time in lowlight.
So I used the 3x3 1832x1030 crop mode for low light situations giving me 1/25th shutter time option.

For low light situations:
Not sure if you have the build with 'LV raw type' option in the debug menu ?B
By default it is set to 0x10, giving maximum dynamic range, but also gives vertical line noise in low light situations. 0x10 also makes it possible to use the high resolutions crop modes.
If you set LV raw type to 0x12 you get much more cleaner (noise wise) video.
But you can't use the high resolutions crop modes (giving corrupted frames with 0x12), but you can use the 3x3 1832x1030 crop mode.
So for ultimate low light situation use:
Crop mode 3x3 1832x1030 with shutter range option set to 'full range'. (And use 1/25th as shutter time)
In debug menu set LV raw type to 0x12.


Thanks a lot for the tips!! I didn't even notice that there was a difference in width... :o

I was testing a lot of thing for low light, I will test now this 0x12 value, maybe it also helps with other issues I'm having. Didn't notice the vertical lines noise but I have multicolor sparkles when using 6400 ISO and also thin vertical lines when recovering the highlights.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 14, 2024, 10:05:36 PM
I did a quick test of the 6400 ISO "sparkles" and they are almost gone with 0x12  :D
What is the magic of this parameter? Are there any other useful values? It's a pity that the value cannot be saved, it seems to be back to 0x10 after turning off the camera

Example below, 0x10 top, 0x12 bottom:
(https://i.ibb.co/THNLRPd/6-D-iso6400.jpg) (https://ibb.co/p3kyZ45)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 17, 2024, 05:11:09 PM
I tested it further and the vertical pink lines that I was getting when recovering highlights seem to be also gone when this value is set to 0x12.
I cannot see a decreased dynamic range either, quite the oposite, given that shadows are cleaner and I can more easily recover highlights, so at least on my tests, the only reason to have 0x10 are the crop modes.
I don't use crop modes because they don't look good with the antialiasing filter installed, so is there a way to set this value permanently to 0x12? It's not part of the settings that can be saved u_u
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: Levas on April 17, 2024, 06:00:05 PM
The LV raw type parameter is which live view stream is recorded.
There are mutliple raw streams.
0x10 seems to be the only one we're able to change to the resolutions necessary for most of the crop modes.
0x12 gives the cleanest result (on 6D at least, not sure how it is on other cameras).
I assume with 0x12 the camera does some internal darkframe subtraction, or extracts an internal hot pixel map or something. It's definitely cleaner.

There are many other values possible for LV raw type, but 0x10 and 0x12 are the ones you want to use. Other values include stuck pink pixels and stuck white pixels and other weird shit.

I will see if I can make a custom build where the value is saved.
Didn't add it because most people are wanting the high resolutions crop modes, if you have 0x12 selected, you can still use high resolutions crop modes without warning, but you'll get corrupted frames. So I made it reset to 0x10 at every startup of the camera.

Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: SpasatelMalibu on April 17, 2024, 09:37:15 PM
Glad too see 6D topic is still alive, i'm also interested in highest possible SNR for raw video in VERY low light situations.

Not tried 0x12 mode yet.

Also it will be perfect to go even further with fps_override with low_light option, to make like 12fps with 1/12sec shutter, or 6fps or 4fps and so on, but im struggling with this situation:
https://www.magiclantern.fm/forum/index.php?topic=26131.0
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: names_are_hard on April 17, 2024, 10:25:16 PM
Did you try Levas's advice in the linked thread?  You should do that and report results.  In that thread, not this one :)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 18, 2024, 07:00:50 AM
Thanks a lot for the info, Levas  :)
It would be great to have a build where this value is saved!  :D
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: SpasatelMalibu on April 18, 2024, 04:26:19 PM
Quote from: Levas on April 12, 2024, 05:30:23 PMCrop mode 3x3 1832x1030 with shutter range option set to 'full range'. (And use 1/25th as shutter time)
found this. will use.

Quote from: Levas on April 12, 2024, 05:30:23 PMIn debug menu set LV raw type to 0x12.
can't find this one. What build should i use? currently on crop_rec_4k.2018Jul22.6D116 + overwritten crop-rec module.

Quote from: names_are_hard on April 17, 2024, 10:25:16 PMDid you try Levas's advice in the linked thread?  You should do that and report results.  In that thread, not this one
Completely understand you, but someone closed that topic. I think i tried almost everything, on/off crop_rec, reset all settings, manually playing with timers, standart nightly build. Pink pattern is always there.
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: iaburn on April 18, 2024, 05:54:41 PM
Quote from: SpasatelMalibu on April 18, 2024, 04:26:19 PMcan't find this one. What build should i use? currently on crop_rec_4k.2018Jul22.6D116 + overwritten crop-rec module.

It looks old, you can try the on on this post:
magiclantern-Nightly.2020Jul16.6D116.zip (https://www.magiclantern.fm/forum/index.php?topic=25782.msg235934#msg235934)
Title: Re: Levas' crop_rec_4k experiments for 6D
Post by: SpasatelMalibu on April 18, 2024, 11:56:41 PM
Quote from: iaburn on April 18, 2024, 05:54:41 PMIt looks old, you can try the on on this post:
magiclantern-Nightly.2020Jul16.6D116.zip (https://www.magiclantern.fm/forum/index.php?topic=25782.msg235934#msg235934)


thank you, got it, LV raw type field is there, i will test it.