Magic Lantern Forum

Experimental builds (WIP) => crop_rec and derived builds => Topic started by: Danne on December 03, 2018, 06:10:17 PM

Title: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 03, 2018, 06:10:17 PM
Latest:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/

Source code here atm(temp git solution):
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/

Todo:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg229863#msg229863


branch:
https://bitbucket.org/Dannephoto/magic-lantern_jip-hop/branch/crop_rec_4k_mlv_snd_raw_only

Been working hard with Jip-Hop to refine presets and all around movie handling approaching the eosm more like a movie cam. Some of the things done recently:

- reworked Movie tab menu(Jip-Hop)
- fast preset access by simply tapping display
- corruption free 4k anamorphic modes(slightly reduced height in raw.c)
- shutter coherency. Same shutter across all presets(fixed a bug introduced by myself)
- Movie Restart for raw recordings(Jip-Hop)
- autoenabling modules(refined by Jip-Hop)
- gain buttons up for higher iso. push down for lower iso, also working while recording
- aperture + ISO(up/down buttons will open or close aperture when max/min iso is reached)(Jip-Hop)
- h264 mov preset, working with x3 digital gain(SET button) and gain buttons(up/down)
- toggling between photo and movie mode working better

Upon install buttons will be reassigned as follows:
SET x3 crop and back to x1.6 mode
Up/Down gain increasing/decreasing(iso)
Tap display startoff preset list
Halfshutter press x10 zoom aid(release for normal view)

For newcomers and for people who just wants to get down to recording do following:
1 - Install above build onto your eosm and start film. Camera will be set to mv1080p 2.39:1 24 fps
Or...
2 - Set your camera into manual focus mode and tap your display to get into the fast access preset list:

Select a preset after tapping your display. Done!:
(https://i.postimg.cc/L5FQVqF8/VRAM0-PPM-500px.png)

Reworked Movie tab menu(thanks Jip-Hop):
(https://i.postimg.cc/X7CYSJHj/VRAM0-PPM-scaled.png)

Movie Restart feature(thanks Jip-Hop)
(https://i.postimg.cc/kgNMGHPL/VRAM2-PPM-scaled.png)

customize buttons:
(https://i.postimg.cc/cJXsM8Hm/VRAM7-PPM-scaled.png)

h264 mov. Select it from tap display options:
(https://i.postimg.cc/YjKkq6np/VRAM6-PPM-scaled.png)

Missing 3K, 4K? Still there. Reach them by tapping "presets" from Movie tab section:
(https://i.postimg.cc/FK9rLx9z/VRAM4-PPM-scaled.png)

cine 2.39:1 script still there(refined by Jip-Hop)
(https://i.postimg.cc/4yhsgL1L/VRAM9-PPM-scaled.png)















OLDER STUFF BELOW. NOT SUPPORTED ANY LONGER


branch:
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_presets

I focused on getting rid of corrupted images in 5K anamorphic mode. And also to complete a set up that will record all the presets continuously when a certain set up is performed. To enable continuous recordings do following:
sd_uhs hack on
bitrate to 10bit
ratios set to 2.35:1
(will scale down or reduce bitrate depending on preset chosen)

For instance. 5K anamorphic 1736x2150 will be set to 1504x1920 when ratios 2.35:1 is set. Still a stellar file since upsampled in Mlv App you will export a file that´s 4512x1920 in size.
3k will run with reduced fps and so will 5k setting. Most other presets will still keep original frame rate. All presets will record with 2.35:1.
If you want full manual control just skip the 2.35:1 ratios setting and do whatever tweaks in other menus instead.

Enjoy and don´t forget to post what´s working or not...

(https://i.postimg.cc/5NhvwVGV/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/Hs1Jnxbb/VRAM1-PPM-scaled.png)

(https://i.postimg.cc/T2DLTm5R/VRAM2-PPM-scaled.png)




From here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg211572#msg211572

- Cleaned out scripts, kept two. One is new. "eosm cinema 2:35.1". The script will through lua add all necessary parameters to get into anamorphic 4.5K preset. Once the script has finished you can use any of the crop rec presets and they will all run in 2:35.1 and continuous. A fast sd card will be needed. The script also enables the sd_uhs script "sd overclock engine" and sets it to auto. The script is good as starting point instead of fiddling around for 10 minutes before getting into filming.
Why 2:35.1? Easy. Eosm has it´s limitations and restriction and this ratio seems like sweet spot for most presets on this cam.

(https://i.postimg.cc/cChG6s3Y/VRAM0-PPM-scaled.png)

- The other feature(also added though "eosm cinema 2:35.1" script) is "Crop rec preview" in mlv_lite menu. Once this is set to auto mode The crop rec presets will work either with framing or real time preview depending on what works better. Reason for this is that it takes a little too long to switch both preset and preview mode for every preset changed. Watch out. This auto mode setting overrides any Preview mode setting aready set from before. Disable auto mode when not in use.
All modes and settings can of course be set manually without the scripts.

(https://i.postimg.cc/wMgd6t1g/VRAM1-PPM-scaled.png)

Additional stuff:
3xcrop toggle
(https://i.postimg.cc/tRh0Z3mw/VRAM1-PPM-scaled.png)



All of this is of course experimental, bleeding edge and out here for tests and feedback. As always thanks to a1ex, g3gg0, dmilligan for code and lua api.

A lot of tutorials from this guy and eos m enthusiast:
https://www.youtube.com/channel/UCCn0RQHYheA41EudwmLnYKA

Also check this thread:
https://www.eoshd.com/comments/topic/28526-5k-raw-24p-video-for-150-magic-lantern-making-great-strides-on-canon-eos-m/#comments


Also check in my work on the 5DIII here:
https://www.magiclantern.fm/forum/index.php?topic=23041.msg216899#msg216899
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alpicat on December 06, 2018, 03:20:53 AM
@Danne, this build works nicely shooting 2520x1308 in 9 or 10 bit lossless. I can't seem to get rid of the focus pixels using mlvapp, but other than that the image quality is perfect. Liveview looks a bit funny colourwise but it's not particularly distracting and still very usable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2018, 07:48:59 AM
That is dfort area. Could you share a file in the focus pixel thread or in Mlv app thread so it could be fixed?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on December 06, 2018, 12:08:05 PM
Hey , is there any working ML for eos m with correct mv1080 without crop ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2018, 12:35:26 PM
There's no crop with the mv1080p preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on December 06, 2018, 04:10:19 PM
Quote from: Danne on December 06, 2018, 12:35:26 PM
There's no crop with the mv1080p preset.

And what about live view when recording in this mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2018, 04:29:57 PM
It is what it is. THanks to A1ex we at least have full preview but a bit slow...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on December 07, 2018, 02:42:12 AM
alex is the coolest
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alpicat on December 08, 2018, 01:13:44 AM
Quote from: Danne on December 06, 2018, 07:48:59 AM
That is dfort area. Could you share a file in the focus pixel thread or in Mlv app thread so it could be fixed?

Will do, I've been trying to get a screengrab that shows all the focus pixels clearly but no success so far, hard to tell the focus pixels apart from the background. I guess if I shoot against a clear sky that might work best.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on December 08, 2018, 04:57:37 PM
Try shooting simple silent stills with the movie settings at the resolution you want to test. This will save a DNG of the full raw buffer. Shoot light subjects, dark subjects, flat walls, scenes with lots of contrasty details--sometimes focus pixels pop right out and other times they are hard to find. Then again if you can't find them that's the best news of all!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on December 09, 2018, 04:42:02 PM
Just popping by to say Thanks!
I'd tested raw on the eos m ages ago and at first got crazy excited by the image quality. But I ended up sticking to h.264 for filming because of the very limiting crop factor, the headache of setting everything right in ML and I wasn't getting very good results in low lights. All that, added to the extra workflow in post, didn't make it seem worth the effort.
Now, trying out Danne's latest build, I'm crazy excited again! Once I'd cleared my saved ML settings it worked perfectly, just switch on, run sd hack and apply a 2.5k preset and it's all good to go! 2.5k is a lot more workable than 1.4k and with the 800iso preset low light shots aren't as noisy as what I was getting before.

So thanks a million to everybody working on this!

I haven't read all 71 pages of this thread, so the following bug probably isn't specific to this build, but just in case:
After going through the steps I described, filming a shot in raw then reviewing it in-camera, when I switch the camera off it gets stuck at the sensor cleaning stage and never switches off. Pressing any button brings the liveview back but taking the battery out is only way to switch off.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 09, 2018, 05:22:23 PM
I get the same issue from time to time but hard to reproduce. If you can narrow down the exact steps to reproduce the issue I will try and see wht´s going on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on December 09, 2018, 05:42:09 PM
I just got the same results when starting the camera and shutting it down before 2.5k script had finished running. Camera stuck at sensor cleaning, and had to pull battery. But cant reproduce it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 09, 2018, 05:55:04 PM
Ok, so maybe lua script could be related. Let's keep an eye for more occasions.
Also welcome with examples of what's working and what's useful and such.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alpicat on December 09, 2018, 07:34:53 PM
Quote from: dfort on December 08, 2018, 04:57:37 PM
Try shooting simple silent stills with the movie settings at the resolution you want to test. This will save a DNG of the full raw buffer. Shoot light subjects, dark subjects, flat walls, scenes with lots of contrasty details--sometimes focus pixels pop right out and other times they are hard to find. Then again if you can't find them that's the best news of all!

Thanks - finally got round to doing this and posted the focus pixel photos in the "Dealing with Focus Pixels in raw video" thread. Silent stills mode didn't work in 2.5k crop mode unfortunately - liveview goes black for a while, and all I get is a blank jpg. I just shot some short MLV clips and then extracted PNG files from them in MLVapp, enhanced in post so you can see all the focus pixels.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on December 10, 2018, 11:24:33 AM
I've been trying to reproduce the cleaning sensor bug but it's pretty random. Here the few variations i came across:
- with only mlv_lite and mlv_play loaded, switch on and press play to start watching the last raw video then switch off whilst the file is playing. Every time it stays stuck to Cleaning sensor. Pressing the power button brings the camera back on and pressing it again switches it off immediatelly, skipping the cleaning sensor part.
- with snd,  crop_rec and lua also loaded, switch on, run the 2.5k 100iso script, shoot for 3 seconds then after waiting a bit, press the play button. If a bug shows up it can go two ways:
  1) you get a black screen. The orange led blinks as if mlvplay was playing the shot but the screen stays black. Pressing half shutter brings back shooting mode. Pressing play again plays the video without problem and it will not get stuck during Cleaning sensor even if switching off during playback
  2) the raw clip plays fine but when switching off whilst playing it gets stuck. The power button switches between shooting mode and cleaning, but the battery has to be removed.

I managed to get the last type 4 times in a row but then it didn't do it the fifth time. It looked like it happpened more often with the 2.5k100 than the 800 one but that might have been by chance. Also it did happen whilst mlvplay was stopped, and once whilst i was in a ML menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 10, 2018, 01:13:20 PM
Ok, thanks. I gather one has to go easy on this little cam and wait for processes to finish.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on December 11, 2018, 12:32:54 AM
@Danne

When using your crop_rec_4k_mlv_snd_isogain_1x3_presets_2018Dec08.EOSM202.zip, the recording sometimes shuts down due to to slow memory write speed. I'm using a Sandisk Extreme Pro 128GB.

- Installed and played around a bit with Magic Lantern.
- Set canon camera to manual film mode. Set the camera to 1080p 24 fps and Pal in canon menu.
- Did a low level format of the memory card in camera.
- Removed the old ML folder from the memory card and extracted the ML folder and the .DS Store, autoexec.bin and ML-SETUP.FIR to the root of the memory card from the crop_rec_4k_mlv_snd_isogain_1x3_presets_2018Dec08.EOSM202.zip (ignoring the MACOSX folder). Safe eject card from memory reader.
- Went into manual fotomode and updated the firmware. When prompted restarted the camera. Set the camera to film mode (manual).
- Opened magic lantern and loaded the crop_rec, lua, mlv_lite, mlv_snd and sd_uhs modules. Restart.
- Set  sd_uhs to autorun. Restart
- Go to movie tab and enable Crop Mode 2.5k 2520x1304 and set to 12 bit in Crop Mode submenu. Set FPS override to 23.976 and optimized for exact fps. Restart
- Go to movie tab and enable RAW, set bit depth to 12 and resolution to 2560 (which sets it to 2520x1308).

If I then try to record, the recording shuts down immediately.

If I put the RAW to 12 bit lossless it can record to up to a minute before stopping. Also, if I set it to 12 bit lossless the display becomes much darker. Gets brighter when I half-press shutter button.

So maybe the sd_uhs is not enough to record in 12 bit or 12 bit lossless at this resolution? If I set the Crop Mode to 10 bit and RAW to 10 bit it also shuts down after a few frames.
Setting the Crop Mode to 10 bit and the RAW to 11...8 bit lossless it seems to record continuously, but then the image is scrambled and of course  I'm still stuck with the dark display.

I'm sure I am doing something wrong, or maybe the dark display thing is a know issue, but I did not find anything when searching this tread so maybe you or others have some tips?

Cheers and thanks for all the amazing work.

EDIT: Seems none of the clips I took work when checking in mlvapp :(. So Im probably in much more trouble than I thought about just the dark image and 10 bit. How did you go about it alpicat?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 11, 2018, 06:08:44 AM
In RAW video keep it on 14bit lossless if you work with crop_rec  module and its settings enabled. You set bitrate from another submenu by tapping the screen while on Crop mode menu(seems that is what you already do):
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Also leave fps override alone when using the crop rec presets. might be issues otherwise. Maybe it works with fps override when recording with mv1080p mode set in crop_rec. I will have to check.

EDIT:
Updated a few things and uploaded a new version in this post:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 11, 2018, 10:44:15 AM
Thanks Danne for the builds. I tried the one from December the 8th and 1x3 preset works very well (even with changed bit rate, 8 bit have shifted white/black level, but others work out of the box), preview is stretched(not a big deal) but is very fluent and also i'm able to shoot very quickly.
Also this is first build with which i successfuly recorded 3072x1304 clip and man, that's beautiful. In this preset though i've no working preview at all (all just rgb patterns) so i can't focus or check composition, is it "standard" or it's just me?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 11, 2018, 11:26:12 AM
Thanks for feedback. 8bit is not really useful but still there for experimenting. About preview in higher resolution you should get ''framing" preview working. It´s slower but shows the correct framing. Real time cropped preview isn´t working with higher resolutions on the eosm. Might work somehow if someone finds a way to implement mode more like the 5D mark III.
Preview in general could be anything in real time but when i 'framing' mode it should show what you will get as a final result.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 11, 2018, 12:09:05 PM
Well, it is in our best interest to provide you with as much information as possible :).
Yeah,  that 8-bit info was pretty much only FYI. I don't intend to use it, 10-bit seem optimal, 9-bit out of desperation :).
I have framing preview now, thanks. I helps to know it can be done, after that it's only trying of possible combinations :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on December 11, 2018, 11:02:17 PM
Quote from: optical-work on November 29, 2018, 07:33:57 PM
is there any way to get the "framing" liveview work on an external display? whatever i choose for preview, it's showing "realtime" for hdmi external. by the way, i searched but i couldn't really get 1x3 crop mode, it shows at liveview and records very wide. i can provide footage does it need to be dng or are compressed formats okay? (i'm using mlv app on windows and i'm really grateful to both firmware and software developers.)

I'm also very interested in this. Anyone knows? Would be great to be able to use the monitor and get proper framing. Another option if it works would be to output full frame (without 5x) and have a frammarking on. Even though a lot of the display would not be in use its not as big of an issue on a 7" or 9" monitor.

Any ideas?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 17, 2018, 06:43:40 PM
New upload in this post:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Eosm is equally good as 100D so we can make a 3k 24fps preset just as well for this little cam. New preset contains:
3K 3032x1436 24(fps)

Didn´t test it too much so feedback welcome...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on December 18, 2018, 04:07:09 PM
Should raw_twk be on? When it is turned on I run sd overlock script as usual but it does nothing. memory patches stays the same (1 rom 2 ram). Without raw_twk it loads normally and able to record.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 18, 2018, 04:10:40 PM
Probably not from what you are reporting. I have not tested raw_twk with sd_uhs module so if it interferes just turn it off.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Neilaxe on December 18, 2018, 09:11:12 PM
Hello!

New here. I need a bit of advice. I installed one of the experimental ones for the Firmware 2.0.3. After having a bit of play around with the software, I realized that I don't know how to use it is so I formatted the card again on the camera to remove ML in it and use the camera as it was. It did sure remove the ML software however left some issue that  I couldn't fix.

The issue is that the shutter button won't let me take still pictures anymore or let me start recording. (Good thing the dedicated record button is still working.)

I already tried to reinstall the firmware 2.0.3 straight from canon's website but it still did not fix the issue. So at the moment my EOS M can only take videos and not still pictures.

Anybody here who can help and knows how I can get back the shutter function? If not possible, maybe where I can get the firmware version 2.0.2 as download? I'm keen to give ML another try but I want to downgrade the firmware first.

Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on December 18, 2018, 09:30:19 PM
absolute mad lad! i tried it with tweak on last night seemed to work fine. need to test more though it was absolutely pitch black in my room when i tested so i only saw noise. did seem like there was more pixels in there though. thanks danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 19, 2018, 10:53:32 AM
More mad stuff  8)

Updated with another crop_rec preset:
mv1080p 1736x976 45fps
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Please test it out. tweaked until it seemed corruption free. It should also work to reduce to let´s say 42 fps or lower with fps override.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on December 19, 2018, 11:58:33 PM
ok i tried the 3k in daylight and it only recorded for a few seconds before crashing. i put on sd card overclock as well. also i changed white balance and iso.  how to get continuous recording? lots of detail my god. basically looks like film now. holy crap.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on December 20, 2018, 12:14:42 AM
somehow managed to record 27 seconds but without preview by turning on and off then on again sd card overclocking. preview goes wonky but continues to record.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 21, 2018, 03:51:14 PM
For usabilty sake I added a 2.35:1 preset from within the crop_rec submenu. It will apply to the first four presets in crop_rec menu. Mainly I do this roundtrip because setting the 2.35:1 from regular RAW video menu will crop differently with mv1080p mode.

(https://i.postimg.cc/50QJwwQk/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/6Qmw2Hqv/VRAM1-PPM-scaled.png)

(https://i.postimg.cc/QMthML8D/VRAM2-PPM-scaled.png)

Download here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 21, 2018, 04:19:49 PM
Quote from: Danne on December 21, 2018, 03:51:14 PM
For usabilty sake I added a 2.35:1 preset from within the crop_rec submenu. It will apply to the first four presets in crop_rec menu. Mainly I do this roundtrip because setting the 2.35:1 from regular RAW video menu will crop differently with mv1080p mode.

Download here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

You are like daily Santa Claus :)

3K with 2.35 aspect works. I'm getting  ~2 seconds with liveview, ~4 seconds without it (card write speed is 58 MB/s with SD overclock).
This mode is my new favourite :).

mv1080@45 fps works too, longer shots than I am willing to wait, I almost hear DualISO in mv1080  knocking.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 21, 2018, 04:31:44 PM
Great. A few more sec if you set it to 10bit?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 21, 2018, 04:38:30 PM
Quick test
(frames)
LV on/LV Off
12-bit 43/64
10-bit  59/85
9-bit  67/100
All usable.

But card used to be a bit faster, maybe i'll try low level format.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LinX on December 21, 2018, 05:09:16 PM
Hi guys.
I got some trouble. Once i use lossless dataformat no matter in 12bit or 14bit, my clips will corrupt. But in umcompress is fine...
Pictures how it goes downbellow.
And i'm with magiclantern-Nightly.2018Jul03.EOSM202..
(https://i.ibb.co/n1Y01Qn/QQ-20181222000742.png) (https://ibb.co/n1Y01Qn)

(https://i.ibb.co/0yz02DZ/QQ-20181222000113.png) (https://ibb.co/0yz02DZ)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on December 21, 2018, 10:03:09 PM
Hey, is it any chance to get smooth liveview in mv1080 mode at 24p ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 21, 2018, 10:55:44 PM
Yes, run real-time preview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on December 22, 2018, 12:35:38 PM
Quote from: Danne on December 21, 2018, 10:55:44 PM
Yes, run real-time preview.

And what about framing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 22, 2018, 01:08:19 PM
What about reading?
https://www.magiclantern.fm/forum/index.php?topic=9741.msg209067#msg209067

Please use search field or read through the eosm thread regarding mv1080p.


Uploaded a new build which will reduce fps to 19 and set 3K preset to 3008x1280 when 2.35:1 preset is used from crop_rec sub menu. Reason: to be able to record continous in this 3k mode and have fast acces to it. If wanting full blown 24 fps simply unset the 2.35:1 preset in sub menu...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on December 24, 2018, 03:37:07 PM
Hi,Danne,is the 1920x1080 45fps 1x1 crop mode possible?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: burtie on December 25, 2018, 04:20:37 PM
Hi!
Is it possible to use ML on a Canon EOS M10?
BeEn searching for some time. Thanks for any help.

Burtie
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Blop_da_pop on December 26, 2018, 02:47:34 AM
Hi, I'm new here, but been using my eos m for a few years, but only just updated the firmware, but couldn't find 2.0.2 anywhere, so I updated to 2.0.3. My question is: is it pos. to get a version of Magic Lantern in this firmware, and/or is there a version of 2.0.2 out there I can download? I haven't found either as yet. Cheers folks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: koenkooi on December 26, 2018, 08:49:47 AM
Quote from: burtie on December 25, 2018, 04:20:37 PM
Hi!
Is it possible to use ML on a Canon EOS M10?
BeEn searching for some time. Thanks for any help.

Burtie

Short answer: No, you can not. The M10 runs powershot firmware, not EOS firmware. The M1, M2 and M50 run an EOS firmware, the M3, M10, M5, M6 and M100 are all powershot based.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on December 26, 2018, 08:57:03 AM
Quote from: burtie on December 25, 2018, 04:20:37 PM
Is it possible to use ML on a Canon EOS M10?

@koenkooi answered but I'll just add that the M10 is supported on the CHDK (http://chdk.wikia.com/wiki/CHDK) project.

Quote from: Blop_da_pop on December 26, 2018, 02:47:34 AM
...I updated to 2.0.3. My question is: is it pos. to get a version of Magic Lantern in this firmware, and/or is there a version of 2.0.2 out there I can download?

Yes for both.

I ported ML to the EOSM.203 firmware and test builds are available on my downloads page (https://bitbucket.org/daniel_fort/magic-lantern/downloads/). Also there you can find a package called EOSM Canon Firmware for Testers.zip that contains both Canon 2.0.2 and 2.0.3 firmware updaters.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Padwoof on December 26, 2018, 10:18:51 PM
Quote from: dfort on December 26, 2018, 08:57:03 AM
@koenkooi answered but I'll just add that the M10 is supported on the CHDK (http://chdk.wikia.com/wiki/CHDK) project.

Yes for both.

I ported ML to the EOSM.203 firmware and test builds are available on my downloads page (https://bitbucket.org/daniel_fort/magic-lantern/downloads/). Also there you can find a package called EOSM Canon Firmware for Testers.zip that contains both Canon 2.0.2 and 2.0.3 firmware updaters.

I wonder if you can help me, I'm getting a little lost trying to find an solution to my issue, My father has tasked me with installing Magic Lantern on his older EOS M (he has an M10 and is not concerned if I brick the M in the attempt) and I'm coming across the same issue repeatedly, the M is on Firmware 2.0.3, if I try to rollback the firmware to 2.0.2 the camera won't let me, I can get as far as launching the firmware update program on the camera itself, but after selecting the version that I wish to install (2.0.2) it asks me to confirm the firmware update however the 'ok' option is greyed out and cannot be selected for some reason it seems the ability to rollback the firmware has been locked out.

After getting nowhere trying to find a solution to this I decided to go the alternative route of trying to find a ML version thats compatible with 2.0.3 and came across this forum thread, I've downloaded your experiemental build dfort and loaded it onto the sd card, placed the card back in the camera, and gone through the same process to launch the firmware update program, when it immidately states that it cannot find any firmware update files.


Am I being incredibly dense/blind and missing something, has anyone else come across this issue and found a resolution? any help would be appreciated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Blop_da_pop on December 27, 2018, 03:24:32 AM
Has anyone had a problem with messages of code appearing while filming: 'Corruption at slot 42, frames...etc?
Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on December 27, 2018, 04:07:05 AM
Those are error messages. It would help if you could give some more information. Which build (experimental or Nightly?), what card are you using, settings, do it save a log file, etc. Photos of the LiveView screen also help us understand what is going on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on December 27, 2018, 08:23:35 AM
Thanks @Danne for your builds. Will def get my hands dirty with these new presets and report back!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 27, 2018, 07:36:47 PM
Test away @deafeyejedi :).
Updated with Movie crop mode able to run 42 fps from fps override. I also reduced resolution some to stay coherent with 1736x976(16x9).
On a sidenote I actually had my first soft brick ever on a cam. it happened as I was foolishly forcing registry to be set while in mv720p 50fps when enabling Movie crop mode. To be able to do this I had to surpass a few places in code so not really safe. Anyway. Thanks to a1ex both logs and fix was produced and within the hour all was working nicely again. The procedure to fix it was nothing but amazing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 27, 2018, 11:37:42 PM
So i took crop_rec_4k_mlv_snd_isogain_1x3_presets_2018Dec21 build for a spin.

Quality is wonderful.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 28, 2018, 03:24:18 AM
Cool loknar. I have been filming with 3K 19fps and 9bit for continuous action on my latest eosm builds. Feel free to test that out as well. Maybe one can get away with 19fps  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on December 28, 2018, 09:55:16 AM
This is what absolutely amazes me with Magic Lantern - Alexa quality with a 200$ camera.  This is a triumph of the engineering genius of our developers!

I wouldn't use 9-bit lossless in critical high-contrast shots though. Underexposed shadows really look ugly at that bit rate.  On the 100D, I was able to get continuous recording at 3K, 18 fps and 10-bit lossless, with a slight underexposure by about 0,5 stops.  Same with 2544x1432 (16:9) resolution where I can even go up to 20 fps at 10-bit lossless.  Quality is stunning and underexposed shadows look normal.  Excellent job, Danne !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 28, 2018, 10:06:18 PM
Quote from: Danne on December 28, 2018, 03:24:18 AM
Cool loknar. I have been filming with 3K 19fps and 9bit for continuous action on my latest eosm builds. Feel free to test that out as well. Maybe one can get away with 19fps  :P

Thanks, but given it's thanks to you and other lanterners :)...

Make it 20fps and we'll have a deal  8) ...just kidding

I'll try it, but weather will suck for the time being, so no outdoor shots.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 28, 2018, 10:13:32 PM
I am planning a 3:1 preset option for 24 fps 3k continuous action. Will be a good alternative to 2:35.1. I know, reinventing presets already available but for real life use it seems smooth to have these two presets available and set on the four first presets within the reach of one button.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: JaspaJami on December 30, 2018, 11:38:28 PM
Tried to search for a long time without any answer.

Is there anyway possible to get live video from EOS M to computer? I would like to use EOS M for live streaming. If it is, how?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 31, 2018, 05:16:39 PM
Inspired of what´s going on here by reindeercity https://www.magiclantern.fm/forum/index.php?topic=19336.msg209877#msg209877 I created a preset with 4000x568 24 fps. In post it will become 4k 2.35:1 4000x1704. Since we are squeezing the recording it will affect quality but in return we get continuous 4K. No build yet in next year I put it in  :P. Will probably work to build the same in 100D, 5D3 etc...

New focus pixels to fight with, eh, dfort, looking in your direction.

MLV file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M31-1722.MLV
dng file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/M31-1722_frame_64.dng

(https://i.postimg.cc/fRYxXygh/Screenshot-2018-12-31-at-17-11-42-png-scaled.png)


Code that I used in crop_rec.c:
        cmos_new[5] = 0x280; 

        case 0xC0F06804: return 0x2d7040a;
        case 0xC0F06824: return 0x4ca;
        case 0xC0F06828: return 0x4ca;
        case 0xC0F0682C: return 0x4ca;
        case 0xC0F06830: return 0x4ca;     
        case 0xC0F06010: return 0x45f;
        case 0xC0F06008: return 0x45f050f;
        case 0xC0F0600C: return 0x45f045f;
        case 0xC0F06014: return 0x405;
        case 0xC0F0713c: return 0x320;
case 0xC0F07150: return 0x300;


Import the MLV file into Mlv App and set height stretch to 3.0x


EDIT:

Might need to stretch footage even more with the eosm. Maybe even 5.0x? Needs further investigating....
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on December 31, 2018, 05:27:57 PM
Wicked :) and kinda unbelievable what can be done...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on December 31, 2018, 07:55:29 PM
well, i think i can wait untill next year.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on January 01, 2019, 01:52:04 AM
and the hits just keep on coming...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 01, 2019, 11:32:48 AM
Let´s start 2019 with some eosm love. The setting is called:
4K squeeze 24fps 
It´s working continuously with 10 bit and build files when set to 2.35:1 through crop_rec submenu that gives files sized to 4000x1704. The files are actually recorded into a squeezed mode(4000x696 or 4000x 568 when 2.35:1 is selected). Thanks to mlv metadata the upscaling is done with the default scale tag so it´s merely a question of opening up the file in Mlv App or acr and the unsqueezing will be done automatically.

To use it enable 'framing' to get a preview in liveview. It is working in regular video mode(NOT x3 zoom mode). Set bitrate to 10bit and ratio to 2.35:1 for continuous recording.
Please report back how it works and feel free to share content recorded.
By the way. Do not miss out on this progress!
https://www.magiclantern.fm/forum/index.php?topic=17695.msg209985#msg209985

Build for download in following post:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959


MLV test file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/short_M01-0722.MLV
(https://i.postimg.cc/zXmykBqk/Screenshot-2019-01-01-at-11-27-10-png-800px.png)

TODO:
Focus pixel map(dfort is looking into it).
This mode actually also works in mv720p which yield 5x1 squeeze. Will check if it´s actually useful in real life or not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Levas on January 02, 2019, 05:56:21 PM
Quote from: theBilalFakhouri on January 02, 2019, 02:20:49 PM
Sorry for off topic, but you are talking here :P

You're right, we hijacked the EOS-M topic, let's discuss further about binning in this topic:

https://www.magiclantern.fm/forum/index.php?topic=16516.msg210028#msg210028 (https://www.magiclantern.fm/forum/index.php?topic=16516.msg210028#msg210028)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on January 03, 2019, 03:57:02 PM
I imagine it's that I'm doing something wrong, but I'm not getting much joy out of the latest 4k 3x1 squeeze.

I *think* I have the settings all correct, but mine are below:

Any pointers as to what I have set wrong? All I'm getting is pink screen/static in LV, even when set to framing.

cheers

(https://i.ibb.co/dBYmwTw/LiveView.jpg) (https://ibb.co/dBYmwTw)

(https://i.ibb.co/B6mznbM/Move-Mode-Menu.jpg) (https://ibb.co/B6mznbM)

(https://i.ibb.co/PYgdLcj/RAW-Video-Menu.jpg) (https://ibb.co/PYgdLcj)

(https://i.ibb.co/nLHTPDd/Crop-Mode-Menu.jpg) (https://ibb.co/nLHTPDd)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 03, 2019, 04:02:52 PM
Quote from: Pacerx999 on January 03, 2019, 03:57:02 PM
I imagine it's that I'm doing something wrong, but I'm not getting much joy out of the latest 4k 3x1 squeeze.

I *think* I have the settings all correct, but mine are below:

Any pointers as to what I have set wrong? All I'm getting is pink screen/static in LV, even when set to framing.


disable fps override.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 03, 2019, 04:04:35 PM
Did you maximize resolution?
I'm about to put up another version soon but in short. If you want to film without jagged edges set your cam into mv720p mode (50fps) and in x5 mode when filming. (x5 might not work on this version, didn't check)
Will have an optimized build up soon that will work out all the quirks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on January 03, 2019, 04:25:09 PM
Disabling FPS override, definitely got me more usable liveview, but still lots of pink flashing.

I'll wait for Danne to upload the new build he mentioned, then give that a go!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 03, 2019, 06:04:16 PM
4k 3x1 working as expected for me.  i tried to reproduce your problem and when i change the video mode in canon menu from 1920x1080 24p to 1280x720 50/60p, vertical purple lines scanning the frame from bottom to top occurs on framing liveview. i guess this is the result of a shutter speed problem that also occurs. shutter speed was "N/A" in magic lantern menu and global draw.

Changing video mode back to 1920x1080 didn't solve the issue by itself even if i reboot the camera. After setting the video mode 1920x1080 24/30p in canon menu, i press the info button and change the shutter speed there and that fixed this issue.

If your problem anything like that you can try this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on January 03, 2019, 06:42:45 PM
Ah ha!

Adjusting the shutterspeed back to 1/50 means that it now appears to be working as intended.

Will have a play and report anything else that I find back.

cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on January 04, 2019, 01:36:20 AM
two simple questions:
1 wich EOS M model is better with ML?
2 wich is better for ML video 100d, 700d or EOS M?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 04, 2019, 09:07:27 AM
New 4k version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Should be no jaggy edges in this one. Select the 4K 3x1 24fps preset. It should set you in x5 zoom mode but still keep the 4k settings. If not in x5 zoom just hit magnifying button to get there.

Please report how it goes...

EDIT:
Pixel peep
Old version:
(https://i.postimg.cc/L8YyWjMX/Screenshot-2019-01-04-at-10-47-25-png-800px.png)
New version:
(https://i.postimg.cc/tCmSD2ww/Screenshot-2019-01-04-at-10-47-36-png-800px.png)


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 04, 2019, 10:28:16 AM
Danne,

Can you make the same build for the 100D too?  Then I'll let you know how it goes.  Good stuff, by the way! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 04, 2019, 12:27:24 PM
4K build works.
Is there some special way how to process it? When I use MLVAPP with default settings (3x vertical clearly works) i'm getting a lot of color artifacts (crop 100 %):

(https://i.ibb.co/d7FvrFb/artif.jpg) (https://ibb.co/d7FvrFb)

Also there seems to be an issue with exposure time, when i go to ~1/100 and faster, 5x zoom view starts flashing and framing view splits into several black and part of screen bands.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 04, 2019, 12:47:25 PM
Thanks loknar. Reproduced. Not sure why faster shutter speeds causes this. Maybe some overhead issue.
Anyway. Expanded height to 750 so it starts in 16:9 as default. Use crop_rec submenu for 2:35.1.

Upload here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Color artifacts and focus pixels. We´ll need dfort checking this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2019, 12:12:34 PM
New preset added:
mv1080p 1736x738 50fps

Means 50 fps in 2.35:1 with 3x3 binning mode. Works in both mv1080p or mv720p selected in canon menu.

Download here per usual:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Really need people to test this preset for corruption. Did my best to tune in timers but might be borderline anyway. I run it with audio off and global draw to off in 10bit. Sd_uhs hack might interfere negatively on this preset. Also needs testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 07, 2019, 01:38:56 PM
I captured about 1500 frames and 2 of them are corrupt - lower half pink and shifted sideways.
Also, longest shot was slightly above 11 seconds, it stopped after on screen message saying something about  "incorrect frame order".
I'll test some more.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2019, 01:41:51 PM
I see. Disabled audio and global draw too?
Thanks for testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 07, 2019, 01:56:32 PM
I did some more tests
i'm getting ~250 frames without SD overclock (~35MB/s), ~ 550 with SD overclock (~44MB/s)
in second set corruption appeared only in shots with SD overclock (3 ouf of 550). Frame out of order didn't appear again.
As for global draw it's on, but i'm using canon liveview, does it count?
Disabled sound, like not loaded mlv_sound module?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 07, 2019, 02:03:17 PM
Aaaand some more tests.
When not overclocked no corrupted frames.
Sound doesn't seem to cause problems.

Also i noticed it doesn't want to show dowm when button pressed (it stucks on "Sensor cleaning" and orange led on), needs two additional presses (one to start again asnd switch off)

With SD overclock and no sound it seems to prolong recording to some ~800 frames and no corruption
Sorry about first report, i  enabled sound module on autopilot.

Also, all these are low light situation no Sun here today.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2019, 02:48:34 PM
Thanks for tests. New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Ran five 11 sec recordings with the 50 fps preset and couldn´t create a corrupted frame. Maybe fixed?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 07, 2019, 03:33:13 PM
It now switches off okay.

For some reason i'm getting longer times 650-800 frames but unfortunately each clip contains 3-5 corrupted frames, not consequent in different parts of clips.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2019, 05:29:33 PM
Ok, final attempt for corruption free files in 50fps:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 07, 2019, 05:54:15 PM
No corruption and length ~17 seconds shots, I only activated SD overclock, cropmode and set 10 bits in it.

Doesn't like overexposure and sudden changes in brightness, when light conditions don't change too much, it looks like it can be continuous (I have 21 second shot that I had to direct at light bulb in the end to make it stop [after several seconds]).

Btw does ML control over Image Stabilization in lens? I have IS activated in Canon menu, but in replay it says "no IS" (i use manual focus, but that shouldn't be a problem or is it?)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2019, 07:08:45 PM
Cool.
No idea about image stabilisation in this case.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2019, 11:46:32 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Optimized 2520x1308 setting to 2520x1438(16:9). Works with real-time preview 24fps.

Also added a mv720p 50fps setting. Will record 1736x696 so unstretches in post to 16:9.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on January 09, 2019, 02:18:33 PM
So utilising crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan07.EOSM202

I manage to get both 50fps with mv1080 and the 4k-24fps.

With the 4k-24fps, I was getting a similar colour artefacts to Loknar. I.e. blue/yellow oddness. Seems to be concentrated around horizontal lines

Also overexposure or anywhere close gets pink highlights when exposure is brought down. Highlight reconstruction in MLVApp doesn't help, but Resolve highlight reconstruction does help, but only using MLVFS, which currently doesn't remove focus pixels.

Obviously preview is slow, but finding and maintaining focus is v. difficult.

With all that said, when you get the exposure right (ETTR) and grab focus the quality of the shot is excellent, but the horizontal artefacts are affecting things. Just want to be clear, I think it's Amazing to get 4k RAW out of a 6year old camera, but would like to get this to a great user experience so it could be used for actual project.s

50Fps seems to be working fine, with SD Overclock, I'm getting approx 10sec, but it was a bright scene, so I think that's what limits it due to data rate. But it looks good when slowed down to maybe 80/90fps in Premiere using optical flow.

I see that there is a Jan9 build, so will go on to try that and report back any findings. If MLVs would be helpful for the colour artefacting, just let me know

TA!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2019, 02:22:00 PM
4k is hard. Compromise is it runs 3x1 binning(mv720p) which is, well, not 3x3 binning. Useful or not I tend to keep prioritized presets first and then the longer down the list the crazier it can get  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 09, 2019, 04:28:17 PM
Quote from: Pacerx999 on January 09, 2019, 02:18:33 PM
Also overexposure or anywhere close gets pink highlights when exposure is brought down. Highlight reconstruction in MLVApp doesn't help, but Resolve highlight reconstruction does help, but only using MLVFS, which currently doesn't remove focus pixels.
You should be able to correct pink highlights in MLVApp too: correct first RAW White Level. -> activate Highlight Reconstruction and then lower RAW White Level until pink highlights go away.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2019, 06:22:22 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Added a 5K 24 fps (squeezed 2.35:1) preset into the game...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 09, 2019, 07:30:17 PM
as far as i can see 4k 3x1 mode has better quality than mv1080 mode and raw therapee's defringe tool gets rid of the color artifacts. but there is too much moire compared to mv1080.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 10, 2019, 12:11:12 PM
New upload. Again  8).
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Finally got around to fix the cool 1x3 binning mode which until now was restricted to height stop around 1120. The preset now goes all the way to 1712x2184. Files opens up just fine in Mlv App. More info from this thread(@theBilalFakhouri) about 1x3 binning:
https://www.magiclantern.fm/forum/index.php?topic=22818.msg206134#msg206134

Comparison files:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/1_x3_M10-1218.MLV
https://bitbucket.org/Dannephoto/magic-lantern/downloads/3x3_M10-1219.MLV

What eventually worked was bypassing any height restriction for eosm in raw.c and then start expanding registers. Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/0b5f6fe465afe77de97d57255151f8644b067395

Also added some rearrangements and took the liberty to rewrite a few info parts.
(https://i.postimg.cc/1ttDQKGT/VRAM0-PPM-500px.png)

Next up, 100D...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 10, 2019, 11:07:18 PM
Hi,

I am a bit confused about crop factors from all these new presets.
Are 5K, 4K & 1712x2184 still close to 3.33x crop ?

Is there still any hope about 1.6x crop or it always will be 1736x696 stretched to 1736x1160 ?

Thanks in advance.

By the way, since Canon M flange distance is 18mm the same than Sony E, I found how to build and adapt a Sony E mount part to the EOS M in order to use the Fotodiox ND Throttle Canon EF to Sony E (among others).
It works very well. I only use full sensor 1.6x RAW video and to avoid moire and aliasing, I have bought a 6D VAF Mosaic Engineering AA filter and achived to tinker with to adapt it to the camera. Working very good as well.
If anybody wants more information.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 12georgiadis on January 10, 2019, 11:23:25 PM
Quote from: jacquaviva on January 10, 2019, 11:07:18 PM
to avoid moire and aliasing, I have bought a 6D VAF Mosaic Engineering AA filter and achived to tinker with to adapt it to the camera. Working very good as well.
If anybody wants more information.
Do you have some instructions and pictures to show us how to adapt VAF filters ? Sounds interesting =)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 11, 2019, 02:19:07 AM
Here's someone else who shoehorned a VAF filter into the EOSM. No instructions or photos. Hint -- Scotch tape.

Quote from: regularfellow on November 22, 2018, 07:12:33 PM
Yes but it's on a cheap one. So you have more space to do it.
It's a bad work with scotch, I am not as proud of it to share pictures of it. Sorry.
You just have to put any kind of filter between the lens and the sensor and it's effactive...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2019, 09:55:16 AM
Quote from: jacquaviva on January 10, 2019, 11:07:18 PM
Is there still any hope about 1.6x crop or it always will be 1736x696 stretched to 1736x1160 ?
?
If you mean to record mv1080p 3x3 binning it´s already working.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 11, 2019, 12:16:11 PM
Is it just me, or build crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan10.EOSM202 is creating corrupted frames in 1x3 binning mode?

And this is probably stupid question, but instead of 3x3,1x3,3x1, would it be possible to use binning or line skipping 2x2...? Probably using some array operations, like readout whole sensor and then decrease it in size...not quite sure if limit is on processing side, or write speed size (or if it even possible to edit raw frame before saving it...but given how many "impossible" things have been already done...).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2019, 12:23:35 PM
Corruption is not unlikely. What were your exact settings? Will check for it.

Anyway, here´s an attempt in Mlv App using dualiso. Looks pretty nice:

Here´s a dualiso attempt coming from eosm and it´s 1x3 mode setting. Recorded in:
10bit,
sd_uhs,
24 fps,
dualiso 100/1600,
1600x2040(2.35:1)


mlv sample:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/1x3_dualiso_eosm_M11-1209.MLV

(https://i.postimg.cc/28RwbFXb/Screenshot-2019-01-11-at-12-12-16-png-scaled.png)

(https://i.postimg.cc/MK7YyMhs/Screenshot-2019-01-11-at-12-11-53-png-scaled.png)



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2019, 12:52:35 PM
Here is a likely a fixed version for the corruption in 1x3 binning mode:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan11.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 11, 2019, 02:44:32 PM
I mean what will be the max resolution for RAW video using full sensor read out (1.6x crop) ?
I know it's working with 1736x696, but not more for 24fps.

And what are the crop factors for new preset 4k & 5k ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2019, 02:56:53 PM
Just try it yourself and draw conclusions. Don´t really get what you´re asking.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 11, 2019, 02:57:44 PM
@jacquaviva:
Crop factor calculation into 35 mm terms:

(Sensor horizontal pixel count / ML horizontal resolution in ML crop mode) x 1.61

It's not exactly rocket science, you know?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 11, 2019, 03:10:00 PM
Thanks for the crop factor calculation.

I just would like to know if we can get more resolution for full sensor RAW video at 24fps.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2019, 03:44:55 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Seems we can get 1736x1160 in mv1080p mode rather than 1736x1120.
This seems to be the friendly match:
        case 0xC0F06804: return 0x4a601d4;
        case 0xC0F0713c: return 0x4a7;
case 0xC0F07150: return 0x499;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 11, 2019, 05:48:04 PM
Just wondering.. is there a big quality difference between the 10-bit and 12-bit option? I did some tests today in the 2.5k setting at lower resolution (1712x964) in order to shoot continuous in 12 bit. Here is a short clip.

https://youtu.be/_6ckNT4LAV4 (https://youtu.be/_6ckNT4LAV4)

I accidentally found out that when I activate movie crop mode in this setting the field of view gets a bit wider.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 11, 2019, 06:26:45 PM
Looks like you'll need one of these to go along with those massive sized files:

(https://farm8.staticflickr.com/7865/32828542758_531fdf4573_n.jpg) (https://flic.kr/p/S1WS2U)

MSRP of $499.99, Yikes!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 11, 2019, 09:42:33 PM
Hey guys! happy new year and such.
Been playing around with today's build and 2.5K preset script (and sd card overclock). The max filming time seemed really dependent on the exposure. Underexposed goes on and on, but ETTR and it stops after less than 10s. (more data i take it)
I accidentally managed to get a good shot with 1x3 mode and the result was super awesome!
Tried to get 5K going but without an automated script I tend to mostly mess up the settings and lose the live view (garbled pink stripes) and have to delete the settings folder to get anything working again.

I'm wondering, does the 2.5k-10bit-XXXiso lua script actually change the raw bitrate to 10? mlv_play shows 14 bpp.
Also, is "framing" view available in 2.5k or is it just for 1080mv?
Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Upstep on January 12, 2019, 08:00:08 PM
I'm getting corrupted frames using 1x3 preset and sd_uhs with the latest build. (They happen here and there. "Purple glitch")
Any information I can give to help you try to solve it?
What exact settings did you @Danne use to get uncorrupted footage?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 12, 2019, 08:51:29 PM
hey, is anybody have a problem with shutterspeed in latest build. when activated crop modes can go lower than 1\60 (
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 12, 2019, 09:06:55 PM
Okay, sorry for the stupid questions, answers were in the thread..
Experimented some more with the 1x3 preset and it's so cool. Only getting a couple of seconds before it crashes but boy, they're good looking seconds!
@ctfire yeah, the shutter speed was a bit weird for me too, it seems to randomly set itself to 1/35 or 1/80 when changing presets. How many fps are you shooting at?


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 13, 2019, 09:48:46 AM
Quote from: ctfire on January 12, 2019, 08:51:29 PM
hey, is anybody have a problem with shutterspeed in latest build. when activated crop modes can go lower than 1\60 (

Yes, the normal mv1080p cropmode changes the shutter speed to 1/390 (!)
The rest of the modes work normal.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 13, 2019, 11:00:03 AM
Thanks for feedback guys.
@bergamote
The lua scripts were originally created when I wanted to ge tinto fast action using the sd_uhs module. But I never used them with crop_rec presets enabled.
@ Upstep
For now, try lowering resolution a bit. Trying to find sweet spot not getting corruption. Seems 24fps is on the borderline on highest resolution
@henricusmaria
Will try and reproduce. Shutter speeds reported with global draw on is probably wrong as well, especially on x5zoom. Think it´s related to shutter blanking.
12bit is better and very close to 14bit in quality. 10bit will work most of the time imo.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 13, 2019, 01:32:42 PM
@12georgiadis

Here is my setup, E mount ring screwed (lucky that two holes fit), plastic ring with electronic contact for lenses removed to make some space for the filter. Just used two small plastic pieces, glued them and screw the filter on them.


(https://i.ibb.co/Hq0nWsH/1.jpg) (https://ibb.co/Hq0nWsH)


Just to mention, when removing plastic and lens contact ring, you can't take pictures anymore (Err 20) you just can use movie mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 13, 2019, 02:52:32 PM
Quote from: Danne on January 13, 2019, 11:00:03 AM
Thanks for feedback guys.

@henricusmaria
12bit is better and very close to 14bit in quality. 10bit will work most of the time imo.

Thanks Danne.
I will do some tests in 12 bit and 14 bit. Is there a difference in image quality between the movie crop mode and the x5 zoom mode? The crop in the movie crop mode is workable, the 5x zoom is a bit much for me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 13, 2019, 03:00:05 PM
For more accurate shutter speed, set shutter range under crop mode sub menu to "full range" and use "high jello" or "low light" under fps override sub menu for mv1080 (exact fps looks okay with 2.5k). I thought change of shutter speed, when you change preset, is related to the sensor area that is scanned. Isn't it true?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 12georgiadis on January 13, 2019, 06:22:18 PM
Quote from: jacquaviva on January 13, 2019, 01:32:42 PM
@12georgiadis

Here is my setup, E mount ring screwed (lucky that two holes fit), plastic ring with electronic contact for lenses removed to make some space for the filter. Just used two small plastic pieces, glued them and screw the filter on them.


(https://i.ibb.co/Hq0nWsH/1.jpg) (https://ibb.co/Hq0nWsH)


Just to mention, when removing plastic and lens contact ring, you can't take pictures anymore (Err 20) you just can use movie mode.

Thank you ! I think I prefer to adapt my 7D-vaf to 100D than to damage/restrict Eos-m usage but in the same time, I'm happy that with some Diy adjustment it works well !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 14, 2019, 03:25:08 PM
@danne So i took 1x3 mode for a spin, but now i face kinda problem with processing, i used dual iso and would like to get 1704x72X output, but when i export it from MLVApp i get 5120x2184 files, i wasn't able to find any place where there is this setting, in MLVApp there's normaltransofrmation: Width 1.0x, Height 0.33x, in file metadata there's 1704x2184, so where the 3x1704X2184 comes from?
Other than that it works excellent and i think i'll have some nice shots once i solve export (right now, only think i can do, is to force resolution back down during export, but that seems as bad solution)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 14, 2019, 03:32:42 PM
Quote from: loknar on January 14, 2019, 03:25:08 PM
@danne So i took 1x3 mode for a spin, but now i face kinda problem with processing, i used dual iso and would like to get 1704x72X output, but when i export it from MLVApp i get 5120x2184 files, i wasn't able to find any place where there is this setting, in MLVApp there's normaltransofrmation: Width 1.0x, Height 0.33x, in file metadata there's 1704x2184, so where the 3x1704X2184 comes from?
Other than that it works excellent and i think i'll have some nice shots once i solve export (right now, only think i can do, is to force resolution back down during export, but that seems as bad solution)
0.33x height stretch is now updated (v1.4+) : it will do what you describe: width = width * 3; height = height. We did that to have maximum resolution. If you want to have it smaller, you could use resize function from export settings dialog (ffmpeg export only).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 14, 2019, 03:52:34 PM
Thank you for reply, but wouldn't be better to include multiplication in drop-down dialogue? This is a bit counterintuitive and also in my case slower, first upscale, then downscale, and i also kinda fear of introducing some artifacts created from interpolation (and there's lot of them in upscaled frame).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 14, 2019, 04:02:17 PM
Quote from: loknar on January 14, 2019, 03:52:34 PM
Thank you for reply, but wouldn't be better to include multiplication in drop-down dialogue? This is a bit counterintuitive and also in my case slower, first upscale, then downscale, and i also kinda fear of introducing some artifacts created from interpolation (and there's lot of them in upscaled frame).
It is not really counterintuitive: no matter which factor is selected, it is always stretched to a bigger size. Only 0.33 became smaller before and behaves the same now. Rescaling speed is identical, if you override it with the smaller resolution, because resizing is done just once. It also won't introduce any artefacts. You just loose 66.6% of quality when downsampling.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 14, 2019, 04:02:21 PM
There´s no interpolation when upsampling @loknar.
Could be an option to manually set the sampling downward instead but I think default should be upsampled like it is now. However, with more options comes more confusion  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 14, 2019, 04:05:09 PM
OK, thank you both, i'm going to do the exports.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 14, 2019, 04:07:59 PM
Also, I don't know what beasts of a computer you have, but mine isn't built for processing 24 of 11Mpx frames per second  :o.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 14, 2019, 04:15:36 PM
Quote from: loknar on January 14, 2019, 04:07:59 PM
Also, I don't know what beasts of a computer you have, but mine isn't built for processing 24 of 11Mpx frames per second  :o.
...9 years old Core2Duo... LOL. When we introduced we thought: downscaling is never an issue, but upscaling (after quality is lost) is. So, if the resolution is to big, feel free to reduce it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 14, 2019, 04:40:40 PM
You are clearly very patient :).
I agree with you in general, but in this case X axis is interpolated, so no information lost if no interpolation is done, Y axis is reduced, but given that i'm using dual iso, which (if i remember correctly) decreases vertical resolution by half. So yes, i'm losing some information (33 % on one axis?), but not that much and i'm not quite sure what to do with it anyway.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 14, 2019, 05:03:40 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

I focused on getting rid of corrupted images in 1x3 binning mode. And also to complete a set up that will record all the presets continuously when a certain set up is performed. To enable continuous recordings do following:
sd_uhs hack on
bitrate to 10bit
ratios set to 2.35:1
(will scale down or reduce bitrate depending on preset chosen)

For instance. 1x3 1736x2150 will be set to 1504x1920 when ratios 2.35:1 is set. Still a stellar file since upsampled in Mlv App you will export a file that´s 4512x1920 in size.
3k will run with reduced fps and so will 5k setting. Most other presets will still keep original frame rate. All presets will record with 2.35:1.
If you want full manual control just skip the 2.35:1 ratios setting and do whatever tweaks in other menus instead.

Enjoy and don´t forget to post what´s working or not...


(https://i.postimg.cc/x8cJFSy6/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/rmhRJpWd/VRAM1-PPM-scaled.png)

(https://i.postimg.cc/50QJwwQk/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 14, 2019, 06:39:40 PM
Oh boy this is exciting! This afternoon I managed to get a bit more than 200 frames in the 1x3 mode at 10bit/20fps and came to the conclusion this is the best image quality (without mad crop). Now a new build with a way to do continuous 1x3!!! Man, you rock! Trying this stray away.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 14, 2019, 06:47:36 PM
Go nuts  :P
Yes, it´s madness getting this out of the 1st gen eosm cam. 4.5k 24 fps...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 14, 2019, 10:46:35 PM
Hello, do you think something can be done for non squeezed real time preview shooting at 1736x1120px ? Thanks a lot
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on January 14, 2019, 11:30:35 PM
im not getting continuous recording with 10 bit 2:35 1504 sd hack setting only like 2 seconds and crash. does it work for anyone else? also not complaining. thanks so much danne when are you turning blue? :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 15, 2019, 12:44:36 AM
Quote from: Teamsleepkid on January 14, 2019, 11:30:35 PM
im not getting continuous recording with 10 bit 2:35 1504 sd hack setting only like 2 seconds and crash.

You mean in 1x3 right? Cos here it seems to work, I shot for a minute (but got 4 bad frames).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 15, 2019, 04:26:02 AM
Quote from: Teamsleepkid on January 14, 2019, 11:30:35 PM
im not getting continuous recording with 10 bit 2:35 1504 sd hack setting only like 2 seconds and crash. does it work for anyone else?

Same here, it crashes within 2 sec. It works with the bitrate in 'Cropmode' at 12 bit and the data format in 'Raw Video' set to 14-bit lossless. Then I end up with a 10-bit lossless file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 15, 2019, 08:09:01 AM
How does the upsampling work in mlvapp? I now adjust the height stretch to 1.0x and then multiply the width by 3 in the export settings. Is this the correct way? And is it right that we end up with a 10-bit lossless file in mlv app? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 15, 2019, 12:27:52 PM
Last night I could get continuous (at 1x3 1504x1920 10bit 24fps, with a handful of corrupted frames) but I was a bit underexposed the whole time.
Trying again in the sunshine, it crashes after just over 15s when I'm exposing to the right or slightly overexposed.
To test this, I started a shot underexposed and it rolled without problems for over a minute. Then pointed at the sky (to be massively overexposed) and it crashed within 200 frames.
Maybe I'm jumping to conclusions here, might just be a coincidence.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 12:35:50 PM
That's how lossless works. More highlights, more overhead...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 15, 2019, 01:46:27 PM
Bergamote,

The reason for the early stop phenomenon that you observe is that bright portions of the scene do not losslessly compress so well as darker ones.  Therefore, the brighter your scene is, the less is the compression and buffer fills much faster causing the camera to stop early.  When you move the camera during filming, watch for the color of the time indicator.  It should be green but when the sky or a brightly lit object enters the screen, it turns yellow, orange and red.  If it turns red, recording will stop any moment.

To avoid this, do the following:

1) AETTR your scene and once you are sure you have proper exposure, dial it one stop back

2) Focus precisely on the main object that you need to place the accent on

3) Activate Dual ISO and select the higher value to be two stops higher than the lower one as selected in 1), e.g. 100/400.  This will compensate for the lower signal-to-noise ratio in the shadows as a result of the reduced exposure in 1)

4) Start filming.  Now the scene will not contain too bright areas and compression will work just fine.  You will get continuous recording.  As a bonus, you will also get a brighter striped preview which will help you frame better.  But watch for the icon color.  If a large and very bright object enters the scene, it still may turn red and you may not have enough time to avoid camera early stop.

5) Process your files with MLVApp and enjoy stunning video quality !!!

6) And don't forget to thank the developers for this miracle! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 15, 2019, 03:38:37 PM
Right right right, that figures, cheers for the explanations guys!
Gonna follow those instructions and try dual iso now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 15, 2019, 04:11:29 PM

(https://i.ibb.co/TM3K82c/2019-01-15-17-15-11.png) (https://ibb.co/TM3K82c)
 Hey guys, have a problem with latest  build ,try to search some info about focus pixel dots , and find nothing how to fix it . Its in 1080mv 24p. Have anybody fix for it?


And  focus peaking see it even in live view
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 04:18:11 PM
Set chroma smooth to 3x3 in mlv app.
Dfort, the pixeldestroyel, needs to take a look.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 15, 2019, 04:34:51 PM
Quote from: Danne on January 15, 2019, 04:18:11 PM
Set chroma smooth to 3x3 in mlv app.
Dfort, the pixeldestroyel, needs to take a look.

I'll try, thanks !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 15, 2019, 06:17:17 PM
Quote from: Danne on January 15, 2019, 04:18:11 PM
Dfort, the pixeldestroyel, needs to take a look.

Ha ha -- need some sample MLV and simple silent stills from the various cameras and settings in order to work on this. Seems like things are changing daily. Lets narrow down just the ones that aren't working in MLV App for now because that seems to be the preferred app.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 06:54:17 PM
Yea, let them pixel presets settle first  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 07:06:49 PM
Updated yet again:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

In an attempt to reduce overhead getting a slight more headroom for the 1x3 binning mode setting I started looking at the framing preview in mlv_lite. This mode seems most stable with 5D3 and a working with eosm and the 100D quite often framing options ends up with stuck into real time preview needing to restart the camera. Did a few changes, one which will make framing preview run in grayscale when recording but color while not recording for framing. Also seems more stable going in and out of framing and real-time preview.
If testing please report about corrupted frames or other anomalies.
Would be cool if we could at least get a reliable framing/real-time usage for both eosm and 100D. Should be possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 15, 2019, 07:09:16 PM
Ok, so i tried some real world shooting in 1x3 dual ISO mode and here is the result
build crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan11.EOSM202

Unfortunately I forgot,  that there are probably some extra steps in Dual ISO processing to avoid flickering...so there's flickering. Also conditions weren't pleasant (freezing, wind gusts over 70 kph) and it was first time i saw that CPU temperature was 0 degrees Celsius :o).
As far as corruption goes, i guess 50 % no problem, 25 % one or two corrupted frames at the begining or at the end and last 25 % unusable due tu mulltiple corrupted frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 07:12:30 PM
Thanks for sharing. uploaded a new build to test.
Flickering shouldn´t be an issue. How did you process your files? Mlv App or camera raw?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 15, 2019, 07:18:19 PM
@loknar: you should disable "bad pixel fix", because on detailed dual iso clips it failes sometimes... it brings some pink dots (0:28). Does that help?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on January 15, 2019, 07:27:41 PM
it seams that link of the new version doesn't work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 15, 2019, 07:33:04 PM
https://bitbucket.org/Dannephoto/magic-lantern/downloads/
Updated about 13 minutes ago ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2019, 07:34:10 PM
Thanks Walter/anto. Updated the link as well.
100D also updated. MIght work more reliable as well regarding preview/framing modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 15, 2019, 07:37:42 PM
I used MLVApp, also my clips didn't have correct exposure, so some problems might come from it. I need to get ND filter, I've been getting overexposure at f/22!.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 16, 2019, 03:56:56 AM
How does the upsampling of the 1x3 footage work in mlvapp? When I export the footage is downsampled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on January 16, 2019, 04:46:34 AM
henri you should probably ask in the mlvapp discussion this thread is for eos m. file, export, settings, then under codec look for ffmpeg click the lock change to whatever output size you want. at least thats what I'm guessing they're doing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 16, 2019, 09:54:05 AM
Quote from: henricusmaria on January 16, 2019, 03:56:56 AM
How does the upsampling of the 1x3 footage work in mlvapp? When I export the footage is downsampled.
MLVApp <= v1.4 downsamples by default (you can upsample by using resize option in export settings). MLVApp >1.4 (latest commits) upsample by default (but you can downsample overriding resolution in export settings).

Quote from: Teamsleepkid on January 16, 2019, 04:46:34 AM
henri you should probably ask in the mlvapp discussion this thread is for eos m. ...
Agree.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 16, 2019, 12:14:53 PM
Quote from: masc on January 16, 2019, 09:54:05 AM
MLVApp <= v1.4 downsamples by default (you can upsample by using resize option in export settings). MLVApp >1.4 (latest commits) upsample by default (but you can downsample overriding resolution in export settings).
Agree.

Thanks. This was a response to Danne's post about the upsampling in the mlv app of the eos-m 1x3 footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 16, 2019, 02:00:44 PM
Report on crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan15.EOSM202
Unfortunately it introduces corrupted frames in all clips in both modes i used (1x3, 3K crop ).
On the plus side, there's magnified live view in 1x3 (stretched and somehow it show area of top right part from the frame) so you can alternate between framing and real time live view focusing (as it works in 2.5K mode).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 16, 2019, 02:14:28 PM
What settings did you use?
I also uploaded a new 16 january build. Might work better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 16, 2019, 02:51:09 PM
Hi.Is it possible to make Liveview in 1080mv (1736x1158) real time preview more accurate in height, to the detriment of cropping on the sides, since when shooting people, it is easier to observe cropping when a person's face is centered, not really worrying about the left and right  edges than when the bottom of the frame is not visible. I really hope that there is such an opportunity. And thank you for what you are doing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: darthivm on January 16, 2019, 05:49:53 PM
hmm was trying out the modes and 10bit, 2.35:1 and 2.5k with sh_card_hack_script from this build didn't really work stopped after some seconds. it used to work for me. the buffer indication sign was always red. normally it went from red to green after some seconds. my sd card is the extreme pro from sandisk with 95mb/s which used to work with this mode. did somebody experience the same problem?

somehow i feel like the sd card hack does not work anymore with the latest build?

EDIT: After deactivating the raw_twk.mo Module i get again faster writing speeds. So 2.5k works again!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kimbray on January 16, 2019, 10:20:34 PM
Is there any differnece on this code on eos M vs M3. I have original M running older ML code. Wondering if any benefit to going to M3. Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 16, 2019, 10:37:41 PM
darthivm. Thanks for telling about raw_twk conflict.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 17, 2019, 02:18:43 AM
Quote from: loknar on January 16, 2019, 02:00:44 PM
Report on crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jan15.EOSM202
Unfortunately it introduces corrupted frames in all clips in both modes i used (1x3, 3K crop ).
On the plus side, there's magnified live view in 1x3 (stretched and somehow it show area of top right part from the frame) so you can alternate between framing and real time live view focusing (as it works in 2.5K mode).

I also got corrupted frames in all clips in the 1x3 mode with the jan15 build. 2.5k mode works fine. 1080mv(1736x1158) still has the high shutter speed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 17, 2019, 04:59:50 AM
Quote from: Danne on January 16, 2019, 02:14:28 PM
What settings did you use?
I also uploaded a new 16 january build. Might work better.

Jan16 build seems to work fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 17, 2019, 07:46:13 AM
How are you guys getting the 1x3 to work in MLV app? Keeps coming in at 1.0x for width stretch and .33x for height stretch (yes, 1.4).
Where are you guys getting this newer version of MLV app? Surely most people here aren't building and compiling it themselves?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 17, 2019, 07:53:31 AM
Quote from: briwil on January 17, 2019, 07:46:13 AM
How are you guys getting the 1x3 to work in MLV app? Keeps coming in at 1.0x for width stretch and .33x for height stretch (yes, 1.4).
Where are you guys getting this newer version of MLV app? Surely most people here aren't building and compiling it themselves?
Get source code and compile. It is so easy!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 17, 2019, 08:40:22 AM
Quote from: masc on January 17, 2019, 07:53:31 AM
Get source code and compile. It is so easy!
pshhh... Yeah right-what the hell is QTCreator? How do I use MinGW?? I hate windows as it, now I have to open up Visual studio? I'm exhausted already.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 17, 2019, 08:43:59 AM
Quote from: briwil on January 17, 2019, 08:40:22 AM
pshhh... Yeah right-what the hell is QTCreator? How do I use MinGW?? I hate windows as it, now I have to open up Visual studio? I'm exhausted already.
QtCreator is a Development Suite which installs more or less automatically, MinGW inclusive. No need for Visual Studio, that won't work. If you hate windows you can also do that on Linux or OSX. This process is 99.9% identical.

But if you don't like to use the latest revision, you also can force resize output resolution (export settings) and stretch your 1x3 file in this way. The result will be the same.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 17, 2019, 12:14:57 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Need testing for corrupted images, or lack from them. If you still get corrupted frames in 1x3 binning mode 2.35:1 setting try 'framing' preset in RAW video instead of Auto.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 17, 2019, 12:16:30 PM
Quote from: Danne on January 16, 2019, 02:14:28 PM
What settings did you use?
I also uploaded a new 16 january build. Might work better.

Hi , was previously using magiclantern-Nightly.2018Jul03.EOSM202_mv1080p,
used those settings - see my post #1595 in this thread.

testing Danne's Jan16 build, focusing on the 2,5k preset.
- what didn't change : after starting the cam, first have to go to ML Menu and out of it again to activate RAW video. (no need for this anymore if sd-uhs script set to autorun, this will do it automatically)
- what did change : halfshutter hold to temporaly switch from realtime to framing does not work anymore only the other way round. if activated sd_uhs  either way (run or autorun script) halfshutter (switch from realtime to framing) doesn't work
either. Also there is a haze of vertical greenisch lines in the croped display on the eos-m. this will not appear in the recording.

this jan16 build seems to be more stable, in terms of corrupted frames and videos.
with the 95MB Sandisk 128GB I can record continuously with sound @ 20Frames/sec.

Anyway, Thank You Danne, keep up the good work.







Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 17, 2019, 12:53:06 PM
Thanks.
The green haze comes of roundtrips when lowering bitrate. It's either that or a darkened liveview.
Yes, true when HalfShutter is set in clear overlays real-time setting will not work as before. Using Halfshutter set is to have a steady preview avoiding eosm to get stuck in real-time when going in and out of framing/real-time. Will have to think about it some more.
If this build is working without corruption with 1x3 binning it would be very nice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 17, 2019, 02:10:09 PM
Quote from: Danne on January 17, 2019, 12:53:06 PM
Yes, true when HalfShutter is set in clear overlays real-time setting will not work as before.

hi Thank Danne for this info !
--> ML Menu / Display / Clear overlays OFF
After power up the cam next time, it turns back to --> ML Menu / Display / Clear overlays HalfShutter.

Will Do more testing with the 1x3mode later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 17, 2019, 02:22:11 PM
Yes, HalfShutter is set via the enable sd_uhs hack lua script if you use that together with the 1x3 binning mode. Once set you will have to manually change settings upon restart.
Either this step is let out and we face real time liveview stuck bugs and we remember to set Halfshutter manually if we remmeber. Or trying to fix the bug so we don´t need to enable HalfShutter at all. Checking mlv_lite it´s very hard to nail down why this happens. Could be this(mlv_lite.c):
    /* fixme: any call to raw_update_params() from another task
     * will reset the preview window (possibly during our preview)
     * resulting in some sort of flicker.
     * We'll take care of our own updates with settings_sem.
     * Raw overlays (histogram etc) seem to be well-behaved. */


EDIT:
I checked and see the lua script isn´t cheking for crop mode preset. Could add that to the scrip. Meanwhile. Erase this in the script if you want to skip automation:
      if camera.model_short == "EOSM" then
        if menu.get("Display", "Clear overlays", "") ~= "HalfShutter" then
            menu.set("Display", "Clear overlays", "HalfShutter")
           display.notify_box("enabling GD Halfshutter")
          msleep(500)
        end
      end


and...
      if camera.model_short == "EOSM" then
        if menu.get("Display", "Clear overlays", "") ~= "HalfShutter" then
            menu.set("Display", "Clear overlays", "HalfShutter")
             menu.set("RAW video", "Preview", "Framing")
           display.notify_box("enabling GD Halfshutter")
          msleep(1500)
        end
      end



EDIT:
Updated the lua script so new build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 17, 2019, 03:59:13 PM

Thanks again Danne. Will check the new 1x3 mode asap.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: javchz on January 17, 2019, 06:41:13 PM
Wow Danne this last build it's amazing, i'm getting more frames than before, Going to play with the new 1x3 mode. Thanks again :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 17, 2019, 08:14:39 PM
Can someone help me here- so I complied the MLV app on my mac, but still same issue. When I shoot with the '1x3 1736x2150' crop mode, and my resolution set to 1504x1920, my file is still opening in MLV with Width stretch at 1.0x and height stretch at 0.33x.
I can't change width stretch to 3.0x because 2.0x is the max in the pulldown menu. I want to export my footage out as CinemaDNG.

Compiling the MLV app still shows ver 1.4, should the newer commits show a different version?


(https://i.ibb.co/qjjm6Sw/Screen-Shot-2019-01-17-at-11-05-04-AM.png) (https://ibb.co/qjjm6Sw)

(https://i.ibb.co/N7c4Qnk/Screen-Shot-2019-01-17-at-11-05-10-AM.png) (https://ibb.co/N7c4Qnk)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 17, 2019, 08:25:14 PM
@briwil: all is correct and as it shall be. Just export and you'll see. Info panel shows always the resolution of your clip. Your clip should look right in the viewer, doesn't it? What the viewer shows and MLVApp exports (by standard) is always upsampled for v1.4+.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 17, 2019, 08:43:20 PM
Quote from: masc on January 17, 2019, 08:25:14 PM
@briwil: all is correct and as it shall be. Just export and you'll see. Info panel shows always the resolution of your clip. Your clip should look right in the viewer, doesn't it? What the viewer shows and MLVApp exports (by standard) is always upsampled for v1.4+.

Ahh, got it! Confusing as hell, but got it.

Does anyone have a recommended setting/resolution for least jello with best resolution?
The 4k resolutions are giving me serious shutter roll if I move even the slightest.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Upstep on January 17, 2019, 11:13:04 PM
@Danne
Did some 1x3 recording testing on the Jan17 build, and so far it seems promising.
I did about 5minutes+ of video clips in good light. (13 clips in total)
- Most of the clips came out without corruption.
- Some had 1 or 2 corrupted frames. (Still usable)
- 1 clip came out with a lot of corrupted frames. (I can't figure out why, but it was fixed after restarting the camera, so it's probably nothing)
- Sometimes gives a "frame order error" when recording.
Settings I used were your preset on 1x3, 10bit, 2.35:1, sd_uhs, 100 iso, 23.98fps and Preview set to framing (as you stated it may help)

Hope this info helps.
Getting really close!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 18, 2019, 06:44:44 AM
Quote from: Danne on January 13, 2019, 11:00:03 AM
Thanks for feedback guys.

@henricusmaria
12bit is better and very close to 14bit in quality. 10bit will work most of the time imo.

Sorry to come back at this, I think I wasn't clear in my question. I wanted to ask if there is a big difference in using the 10, 12 and 14 bit uncompressed raw settings. Or is it better to shoot in lossless 14 bit raw? I've been doing some footage in movie crop mode with the 12 and 14 bit uncompressed raw setting. Is the difference between uncompressed and lossless neglible? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 18, 2019, 07:38:03 AM
Thanks Upstep for tests. Those are my exact observations also. I did some tweaks further very late yesterday. If you or others could run this build and it's not worse or maybe better I will say I keep this version.

@henricus....
There is no visible difference between lossless and uncompressed. Test, compare, read and you'll see why.

Regarding bad frames. The cpu runs much heavier when framing is running. Realtime view not so very much. I guess if one stays longer in real time modes chances for less bad frames are bigger.

Also. It is possible that the sd_uhs overclocking procedure is causing trouble. I never had a corrupted frame when not using overclocking with 1x3 binning modes.
What can I say. It's bleeding edge.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: zzzeosm on January 18, 2019, 07:51:31 AM
Are there any instruction for new builds? :o i was got some troulble with the setting menu.
thanks for all you guys doing and testing with eosm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 18, 2019, 12:07:19 PM
Quote from: Danne on January 18, 2019, 07:38:03 AM
I did some tweaks further very late yesterday. If you or others could run this build and it's not worse or maybe better I will say I keep this version.
I am not sure if it is because of much light outside today, but in 20sec I got 5 corrupted frames with latest build. So it seems not to be better than the build before for me.

Edit: in same conditions as yesterday (office room) I got for another 20 sec clip 0 corrupted frames... hmmmmmm ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 18, 2019, 04:43:11 PM
hi
just tested Danne's new Jan18's build with 1x3 preset.
1504x1920, 24fps, with audio.
MLV.app on HS 13.1 - now exporting as 4512x1920,
no single corrupted frame. recording continuous, the longest clip ca. 45sec.
looks promising, will test also the HD and 2,5k presets later.

really awesome work Danne!


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 18, 2019, 04:48:52 PM
Great! Been testing timing registers all day. The last three uploads seems to work really well.
Also make sure you tested the latest. They are all named the same today ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 18, 2019, 08:59:45 PM
Man, I can't keep up with this frenetic development schedule  :D
I tested the 1x3 mode in dual iso with the 14jan build (reliably corrupted frames), then the 16jan build and had no corrupted frames but had to be quite underexposed for it to be continuous. On ML's histogram I have to leave between two and three columns (EV?) on the right empty.

About dual iso processing in MLV App, is there a sure fire way to bring the shadows back, like say +1 exposure or +X shadows, or you just play it by eye?
Also, sometimes I do get some kind of flickering in the shadow/midtones, exactly like @loknar has in some shots of his windy winter day vid (great footage btw, shame youtube compresses the hell out of it. Maybe uploading in 4k...?).

Gonna try today's build tomorrow (by which time it will be totally outdated  :P)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bobolee on January 19, 2019, 07:11:43 AM

(https://i.ibb.co/hF4McSr/P90119-133010.jpg) (https://ibb.co/hF4McSr)

(https://i.ibb.co/yYkrk4n/P90119-132951.jpg) (https://ibb.co/yYkrk4n)

(https://i.ibb.co/41sSyZT/P90119-132831.jpg) (https://ibb.co/41sSyZT)

66 yuan(about 10 US dollar)for the fake battery kit,able to take hold of np-f970 f770 f550 etc,50 yuan for the grip,128 yuan battery kit:third party np-f970 with a charger,sdxc:128g sandisk extreme pro
I've tried recent builds,I think the most usable mode is mv1080p 23.976fps raw on 1736*976(16:9) 14bit lossless.Need to use sd overclocking.Post processing:mlv app,convert to cinema dng,drag and drop to premiere pro cc 2017,my complaints are the noises and hot pixels,mostly moire pattens. Other modes seem to have all kinds of issues which make them purely experimental not practically usable as a proper video camera.Looking forward to have more usable mode,thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 19, 2019, 03:58:43 PM
just tested again my footage from yesterday and realized I made a mistake - have to turn off the "drop frame mode" in -> MLV App/Display.
unfortunately out of nine clips, in three of them, one frame is corrupted.
will do further testing later.

many Thanks to Danne and others!


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 19, 2019, 04:03:09 PM
It´s cool. Still a work in progress:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on January 19, 2019, 05:28:20 PM
Danne, this is unreal!  :o
I have been playing with it yesterday and today for a couple of hours... testing high res, high fps and dual iso modes.
This is like dream coming true slowly, Its really blowing my mind what you guys can do with these tiny cameras.
Especially I am blown away by 50fps mode. I set fps to 48fps and horizontal res to 1600px (2.35:1) and it is working superbly. Now and then it skips or freezes on one frame but other than that, it is awesome. I think my card is not fast enough to sustain higher res, cos I am getting somewhere arounf 35MB/s writing speeds with SD hack on. (SanDisk Extreme UHS-3 32GB)

In other modes (1x3 binning - the last one) I am getting a few pink frames.

Anyway.. I am super stoked about this!
Thank you and keep up the awesome work Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 19, 2019, 05:37:19 PM
Great to hear that it´s working. Almost without quirks. All reports on corrupted images are welcome. I am still tweaking and testing.
Yes, a faster card should work with around 54-55mb with the hack enabled. I am using a sandisk 95mb extreme pro I think it´s called. Not sure what other cards are working or not. A1ex has all the insights...

By the way Jonit. What 50fps setting are you using? There are two:
CROP_PRESET_3x3_mv1080_50fps_EOSM
CROP_PRESET_3x1_mv720_50fps_EOSM
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 19, 2019, 11:42:20 PM
hi
just downloaded Danne's last jan19 build and did some little testing with the 1x3 mode
from 5 clips only one has had two corrupted frames just from start - the first white, the second 'normal corruption'
waiting for tomorrow to do more tests.


(https://i.ibb.co/XbXDcq6/jan19-build-test.jpg) (https://ibb.co/XbXDcq6)


Image seems to look identical to what I saw on the camera display
settings - 2,35:1, realtime LV, sound, 10bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 20, 2019, 12:59:59 AM
Quote from: Danne on January 19, 2019, 05:37:19 PM
Great to hear that it´s working. Almost without quirks. All reports on corrupted images are welcome. I am still tweaking and testing.
Yes, a faster card should work with around 54-55mb with the hack enabled. I am using a sandisk 95mb extreme pro I think it´s called. Not sure what other cards are working or not. A1ex has all the insights...

By the way Jonit. What 50fps setting are you using? There are two:
CROP_PRESET_3x3_mv1080_50fps_EOSM
CROP_PRESET_3x1_mv720_50fps_EOSM



Also have the same sandisc card but with sd_usd hack the speed not getting higher than 35mb\s ... with old builds it was around 45 mb/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 20, 2019, 09:33:19 AM
You can test your card through bench  module(not included in this version but get it from one nightly build).
If you run most presets continuous when set to 10bit, 2.35:1, sd_uhs hack on it should be ok. Works here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 20, 2019, 03:06:18 PM
hi
some results testing Danne's last jan19 build.
camera settings from canon menu - videosystem NTSC, 1920x1080@24
camera settings from ML menu - Overlay>GD on all modes, Focus peak ON, Movie>RAW video>Preview Real-time (Halfshutter press to frame, works great!) , Sound ON


1.,    the mv1080p 1736x1158 mode (which is 3:2 ratio, same as the sensor, could this be fixed in the croprec/ratio menu? ) records 1736x976 (16:9), (does not change even if I set Aspect ratio to 3:2 in RAW video) @ 24fps without problems. very nice. did a 15 min. recording, cam temperature stays at 48°C, no frames corrupted. green record indicator all the time.
2.,    the mv720p 1736x696 50fps mode, longest continuous recording ca. 1min. with average of 30-40 sec. continuous, has some corrupted frames, out of a 1200 frames recording it has 14 corrupt frames, another 300 frames recording has one. the bottom of all clips has a approximately 10 pixel thin line in all clips with 50fps. all clips have to be transformed in MLV App to 1,67x height.
3.,     the mv1080p 1736x738 50fps mode, continuous recording between 500 to 800 frames, no bottom pink line, ca. 3-4 corrupt frames per clip.
4.,     the mv1080p 1736x976 45fps mode, continuous for average 200frames, the beginning of most clips heavily corrupted, then ok, one clip without any corrupt frames, no bottom pink line. no transform required
5.,     the 2.5k 2520x1418 mode, 20fps, no corrupt frames, continuous (did 5min. recording)
     
------changed my canon video setting from NTSC, 1920x1080@24 to PAL and 1280x720@50
6.,    the mv720p 1736x696 50fps mode again , max 15 sec. record time, the thin whitisch bottom line still there, the many corrupted frames at the beginning not there anymore, got ca. 5 corrupt frames out of 500
------changed my canon video setting from NTSC, 1920x1080@24 to PAL and 1920x1080@25
7.,   the mv720p 1736x696 50fps mode again, longer recording time up to 20sec., whitish bottom line present, out of 1200 frames only six or seven corrupted
------same canon settings ( PAL and 1920x1080@25) - this didn't work, changed back to NTSC and 1920x1080 30p, broke the whole thing, reseted everything, using again NTSC and 1920x1080 24p.

    got the bench.mo from the experimental lua build, skips read speed, no bitmap file saved, write speed of the sandisk extr. pro 128gb goes up to 56 MB/s, one time read speed was reported to be 72 MB/sec - this would be great as write speed .... just kiding

used the august build before, which was good but more unstable, sometimes a complete clip was corupted, once or twice I've got a corrupted frame in a 2.5k crop rec. more difficult to get it running at all, now this changed dramatically, one can switch between the modes easily.

many thanks to Danne and others!


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 20, 2019, 03:22:02 PM
@ Danne >thanks for the new jan20 version!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on January 20, 2019, 03:39:59 PM
SUPER BLOOD MOON.

This development speed is insane and great. In current options, what would you recommend for capturing the super blood moon tomorrow morning? I have a 220mm F4.0 that I though I could use with the options with highest crop and best light handling. Or should I go for the 135mm F2.8? Dual iso I guess would be good too. Any suggestions for settings and workflow?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 20, 2019, 03:44:03 PM
Quote from: briwil on January 17, 2019, 08:43:20 PM
Does anyone have a recommended setting/resolution for least jello with best resolution?
The 4k resolutions are giving me serious shutter roll if I move even the slightest.

as far I understand this, try to use a shutter speed which comes closest to 180 degrees - like 173° or 191°.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 20, 2019, 04:13:59 PM
Quote from: Tullen on January 20, 2019, 03:39:59 PM
SUPER BLOOD MOON.

This development speed is insane and great. In current options, what would you recommend for capturing the super blood moon tomorrow morning? I have a 220mm F4.0 that I though I could use with the options with highest crop and best light handling. Or should I go for the 135mm F2.8? Dual iso I guess would be good too. Any suggestions for settings and workflow?

thanks for the info Tullen. and good luck with it! hopefully there are no clouds
I would suggest to use the f4 220mm . also the 2.5k preset, and lower the framerate so You can use even 5.6 or 8 as aperture, to get the best sharpness of the lens, if this is not at f4.
dual iso maybe not that good for this.
hope to catch it here in Berlin too


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on January 20, 2019, 04:16:48 PM
@ AF-OFF

Thanks for the help. Any recommendations for how to get proper exposure. Since the light falling on the moon will change as the shadow disappears.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 20, 2019, 04:31:28 PM
I would take care of the sensor saturation. like overexposing a bit rather then underexposing.
hard to tell, because the moon is still very bright, but I think there would be a better result if You recover highlights then shadows
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on January 20, 2019, 05:30:12 PM
Regarding motion blur. What shutter speed do you think is good? 1/125 or faster?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 20, 2019, 05:38:01 PM
AF-OFF. Thank you!
Will dive into this when I get more time. Goal to have solid none corrupted recordings. We'll see how far it goes...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on January 20, 2019, 05:41:53 PM
Quote from: Tullen on January 20, 2019, 05:30:12 PM
Regarding motion blur. What shutter speed do you think is good? 1/125 or faster?
You can compute it.
Moon does (approximately) 360 degrees in 24 hours, that's 12 degrees in one hour, that 720 arcminutes in 1 hour, that's 12 arcminutes in one minute, that's 720 arcseconds in one minute, that's 12 arc seconds in one second.
Now you lens have Field-of-view, and you sensor specific resolution, so you can compute what angle one pixel covers and then you can compute by how many pixels FOV shifts and then you want is to use time during which moon moves less that half of pixel.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 20, 2019, 05:55:03 PM
@Tullen: Don't get overexcited about "super" moon. It's not that much a difference and blood moons are not that rare.
(https://upload.wikimedia.org/wikipedia/commons/c/ca/Supermoon_comparison.jpg)
Source: Wikepedia

Naked eye may not see a difference at all ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: HappyBlack on January 20, 2019, 08:30:00 PM
Guys, what settings would you recommend for shooting video with an 2x anamorphic adapter in front of the EOS M?

Looking for 1:1 or 4:3 in-camera aspect ratio, tops.

The new 1x3 pixel binning looks gorgeous, but I can't use 2.35:1, since after anamorphic desqueeze it'll turn into a terrifying 4.7:1


Regards.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Upstep on January 20, 2019, 08:53:29 PM
@HappyBlack
You can use the mv1080p mode from crop_rec. (3x3 binning)
You can get 3:2 1736x1158.
But if you really need 4:3 set the horizontal resolution in the raw settings to "1600" and you'll be able to get "4:3" 1600x1158. (crops in a bit)

Probably your best bets
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: HappyBlack on January 20, 2019, 09:11:15 PM
Great, thank you very much @Upstep!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 21, 2019, 03:36:37 AM
How does the upscaling work, its via metadata? If I open 1x3 DNG files in Premiere, it opens correct, but if I bring them into Resolve, they are 1/3 the horizontal resolution (1500something vs 4500something). Is there a way to work with Resolve, vs just scaling it up horizontally 300%? Or is scaling it up 300% basically the exact same thing as what Premiere is doing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 21, 2019, 08:01:16 AM
Upscaling works via metadata in cdng, right. I also saw that Resolve seems not to be able to scale automatically - whyever. But in editor there is a possibility to scale X axis by 300%.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thehaxfactory on January 21, 2019, 03:06:26 PM
I hate to ask as I feel like this is likely known information posted somewhere (I haven't been able to find it despite reading half of this thread and searching several times both here and on Google), but if I was to pick up an EOS M would I be able to use it as a webcam for streaming with a capture device and what would the limitations be?

I'd like to find something better than the standard Logitech C920 webcams used all over Twitch, but wouldn't have a huge budget to do so (I mean I can go up to a T3i and I know that should work, I'd just rather not). Plus, if I'm honestly, I did go to school for film and I've wanted a DSLR for years, but could never afford one. Besides, I would need something that can perform double duty like this.

I like the form factor of the EOS M and you really can't beat that price tag either, so if it'd work, it'd really be the ideal choice for me right now.

I know it doesn't support the capture over USB feature.
I am pretty sure I can get clean HDMI output with Magic Lantern from what I've read.
I've heard some things about the video output being locked to 1080i.
I wouldn't be recording while in this mode, I hear time out may be a problem?

I'm just trying to get a feel for this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 21, 2019, 06:18:40 PM
https://www.magiclantern.fm/forum/index.php?topic=20908.msg193014#msg193014
Applies to EOS M running experimental build "lua_fix", too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thehaxfactory on January 21, 2019, 08:53:36 PM
Okay, so I can use a script to functionally kill the timeout.

Does that mean the other things I've researched are correct?

I think the saddest loss for me would be forced 1080i, I'm not quite sure how well trying to deinterlace the footage while streaming would work out.

And thank you for putting up with this odd question.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 21, 2019, 10:05:59 PM
Can't answer that. Not owning an M and there are some pitfalls with M (mv720 ...) and some exciting new developments.
I hope dfort may have an answer about M's HDMI output in photo liveview and non-recording movie liveview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 21, 2019, 10:27:31 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959


Quote from: AF-OFF on January 20, 2019, 03:06:18 PM
1.,    the mv1080p 1736x1158 mode (which is 3:2 ratio, same as the sensor, could this be fixed in the croprec/ratio menu? ) records 1736x976 (16:9), (does not change even if I set Aspect ratio to 3:2 in RAW video) @ 24fps without problems. very nice. did a 15 min. recording, cam temperature stays at 48°C, no frames corrupted. green record indicator all the time.
Just leave the ratios options altogether to get the full sensor readout.

Quote from: AF-OFF on January 20, 2019, 03:06:18 PM
2.,    the mv720p 1736x696 50fps mode, longest continuous recording ca. 1min. with average of 30-40 sec. continuous, has some corrupted frames, out of a 1200 frames recording it has 14 corrupt frames, another 300 frames recording has one. the bottom of all clips has a approximately 10 pixel thin line in all clips with 50fps. all clips have to be transformed in MLV App to 1,67x height.
Fixed the bottom line.

Regarding pink frames. Main goal is to have the 2.35:1 ratio working corruptionless in all modes. Might be hard but with some hard work and testing maybe possible.
Speaking of helping out. I added some registers in the submenu in crop_rec. Those can be used to tweak on going builds to test and optimize corruption issues:
(https://i.postimg.cc/TwFLykQ9/VRAM0-PPM-500px.png)

For instance. If you notice corruption try reducing 713c a couple of steps. Try also that with 7150 and test record again a few clips.
There also the timers. Pushing 6014 will reduce fps and to push it back up you can reduce the 6008 register. The process can be done the outher way around as well. Report any good numbers here and I can test them out.
The 6804 height and width might not be so easy to play with so maybe leave those alone for now.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 21, 2019, 11:32:04 PM
Pushed this fix into the code which seems to have fixed mv1080p 50 fps preset from corrupted frames. Also a good example on how to use the registers together.
(https://i.postimg.cc/gjQNcFxH/VRAM0-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 22, 2019, 12:56:32 AM
when i use dual iso with 1x3 preset, mlv app chroma smooth settings don't fix focus pixels whether or not fix bad pixels and fix focus dots are turned off. tried with different iso values on 2019Jan20 build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 22, 2019, 01:00:08 AM
Shot a few 30s clips in 1x3 with the jan20 build and no corrupted frames! Didn't try dual iso because it didn't seem to crash as much with overexposure (still a bit tho).
Very handy to have the half-press live view for focusing! Framing view does break every now and then (just doesn't come back after half-press) but disabling then re enabling raw video brings it back.
Also found out that raw video needs to be switched on BEFORE running the sd overclock script for it to work. Might be obvious but it took me a mo to work it out.

This is very cool stuff, the image quality is bonkers and it's getting more practical and usable by the day. Thanks a million Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 22, 2019, 01:08:18 AM
Quote from: optical-work on January 22, 2019, 12:56:32 AM
when i use dual iso with 1x3 preset, mlv app chroma smooth settings doesn't fix focus pixels whether or not fix bad pixels and fix focus dots are turned off. tried with different iso values on 2019Jan20 build.
Same here even without dual iso. I s'pose it's a matter of new use, new focus pixel. If I understood well, dfort could look into this once we know which settings work reliably.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 22, 2019, 07:12:02 AM
Is framing working better when Clear overlays 'HalfShutter' is set? Less breaks?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 22, 2019, 01:30:59 PM
Quote from: bergamote on January 22, 2019, 01:08:18 AM
Same here even without dual iso. I s'pose it's a matter of new use, new focus pixel. If I understood well, dfort could look into this once we know which settings work reliably.

Chroma smooth works without dual iso but i guess it isn't meant to be applied after dual iso post process. because same thing happens with other crop modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 22, 2019, 03:10:34 PM
@Danne
yep, clear overlays does the trick, cheers!

@optical-work
I see. Here, in 1x3 without dual iso, chroma smooth definitely makes the focus pixels less visible but they don't totally go away.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 22, 2019, 05:20:21 PM
Quote from: optical-work on January 22, 2019, 01:30:59 PM
Chroma smooth works without dual iso but i guess it isn't meant to be applied after dual iso post process. because same thing happens with other crop modes.

Focus pixel removal on dual iso should be done before it is processed. To get a better understanding why read the Dealing with Focus Pixels in raw video (https://www.magiclantern.fm/forum/index.php?topic=16054.0) topic. Start from this post (https://www.magiclantern.fm/forum/index.php?topic=16054.msg161616#msg161616) and read the following several replies.

Focus pixel removal is basically chroma smoothing applied to specific areas instead overall. For example, let's zero in on a focus pixel and the pixels immediately adjacent to that focus pixel.

0 | 0 | 0
0 | X | 0
0 | 0 | 0


Averaging in the color of the surrounding pixels will hide that focus pixel. However, focus pixels are often in diagonal pairs which means that averaging in the diagonally adjacent pixels won't work.

0 | 0 | 0
0 | X | 0
X | 0 | 0


With dual iso every pair of rows is a different iso. Why not every row? Because of the Bayer pattern of raw video.

0 | 0 | 0
0 | X | 0
X | 0 | 0


So what happens if your subject happens to have a high contrast vertical line in it that is right next to that focus pixel in the middle of this illustration?

0 | 0 | 1
0 | X | 1
X | 0 | 1


Here is an example of what happens if you average the adjacent pixels on dual iso:

(https://farm2.staticflickr.com/1535/24656585222_f776c2a2f3_z.jpg)

As you can see, dealing with focus pixels with dual iso is challenging.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thehaxfactory on January 22, 2019, 06:08:24 PM
I'm sorry to ask again, but I believe my question might be getting buried.

What are the limitations of HDMI output?

I'd be interested in hooking up an EOS M to a capture card.

I had heard you can get clear output with Magic Lantern, but I've also heard there are resolution limitations.

But with everything so constantly changing and it not being talked about explicitly I've found it hard to track down definitive information.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 22, 2019, 06:18:56 PM
Quote from: thehaxfactory on January 22, 2019, 06:08:24 PM
What are the limitations of HDMI output?

I'd be interested in hooking up an EOS M to a capture card.

I had heard you can get clear output with Magic Lantern, but I've also heard there are resolution limitations.

You don't really need Magic Lantern to hook up the EOSM to HDMI and get clean output (no overlays). As far as I know it doesn't put out a full HD signal. When I tried it the image had a black area around it on the screen. Another issue is that the camera LiveView goes dark, it doesn't mirror the way the 5D3 does with the later firmware updates.

@DeafEyeJedi has experience hooking up an Atmos Ninja to the EOSM so you might want to contact him about it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 22, 2019, 06:19:40 PM
4:2:0 - no raw.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 22, 2019, 06:39:37 PM
Quote from: dfort on January 22, 2019, 06:18:56 PM
You don't really need Magic Lantern to hook up the EOSM to HDMI and get clean output (no overlays). As far as I know it doesn't put out a full HD signal. When I tried it the image had a black area around it on the screen. Another issue is that the camera LiveView goes dark, it doesn't mirror the way the 5D3 does with the later firmware updates.

@DeafEyeJedi has experience hooking up an Atmos Ninja to the EOSM so you might want to contact him about it.

thehaxfactory doesn't own an EOS M. ATM he is thinking about it. And intended use is streaming, thus 30 min timeout without ML is actually an issue. So he is asking about resolution (non-recording modes).

@thehaxfactory:
Quote from: dfort on January 22, 2019, 06:18:56 PMAnother issue is that the camera LiveView goes dark, it doesn't mirror the way the 5D3 does with the later firmware updates.

What dfort is trying to say: As soon as HDMI connection is used M's LCD screen goes black. You can have either cam's monitor *or* external, not both the same time. Which is btw how most ML supported cams work.


I think it would be interesting to know how M's HDMI output is doing compared to cams not hampered by mv720 (if this is an issue at all with HDMI streaming).


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 23, 2019, 05:57:34 PM
In other news: Recent EOS M developments covered at Slashcam.
https://www.slashcam.de/artikel/Erfahrungsberichte/---2-5K--3K--4K--Die-Canon-EOS-M-als-Mini-RAW-RebelCAM-mit-Magic-Lantern.html
German only, sorry! Just took a glimpse, seems to be correct (not happening the first time, kudos!)

And now the watch is ticking for all those news aggregators to jump the bandwagon and mess it up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 23, 2019, 07:56:31 PM
At least they tested and seem to know how to use the 1x3 bining mode  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 23, 2019, 08:07:03 PM
Not bad... all I can find what is not correct is max write speed of 40MB overclocked ( -> ~60MB ) and that you just get some frames in 1x3 binning... but we can get continous @ 4.5K 2.35:1 ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 23, 2019, 08:08:49 PM
Wow, they even posted a link to Danne's downloads page:

QuoteCurrently, one of the most avid EOS M co-developers (Danne) downloads new versions with corresponding presets almost every day, which can always be found here (http://bitbucket.org/Dannephoto/magic-lantern/downloads/).

Thanks Google Translate.

In other news, all this testing turned up a problem with one of the EOSM stubs.

@a1ex -- Which branch should we use for stub fixes?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 24, 2019, 02:07:56 PM
Is there a way to use autofocus with ml? I was hoping to be able to use the back button focus with the eos-m kitlens. But when I do I can only record for a couple of seconds. Is there a way to use the af lock in magic lantern and keep the normal recording times? That would be really convenient!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 24, 2019, 08:06:16 PM
Pushed a new build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

This one needs some testing. Preview framing is now on default set to the same function as for Clear Overlays 'HalfShutter'. Means nothing has to be changed in Clear Overlays menu to ovecome the stuck real time issue. It´s probably not 100% rock solid but better then before. Test by simply start off and film longer takes with framing set in preview menu. If it behaves as it should like 95% of the time we are good to go.

Also note that without mlv_snd module enabled the stuck real time issue seems not to exist.
I spent a lot of time trying to see what is causing this lock. It mostly happens around 28 second into filming and often waithing for the next 30 second cycle reaching a minute it sometimes unlocks. Who can live with this  :P. I suspect some bmp_lock but why it´s happening I cannot explain. Why the zebra.c clearscreen code seems to help I can´t explain either...
Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/c5668e08f01ead0bd915b3a6b6b7227ff88cec32


EDIT:
Still needs to create an exception for real-time preview. Will check into it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 24, 2019, 09:07:08 PM
Quote from: Danne on January 24, 2019, 08:06:16 PM
Pushed a new build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

This one needs some testing. Preview framing is now on default set to the same function as for Clear Overlays 'HalfShutter'. Means nothing has to be changed in Clear Overlays menu to ovecome the stuck real time issue. It´s probably not 100% rock solid but better then before. Test by simply start off and film longer takes with framing set in preview menu. If it behaves as it should like 95% of the time we are good to go.



Also note that without mlv_snd module enabled the stuck real time issue seems not to exist.
I spent a lot of time trying to see what is causing this lock. It mostly happens around 28 second into filming and often waithing for the next 30 second cycle reaching a minute it sometimes unlocks. Who can live with this  :P. I suspect some bmp_lock but why it´s happening I cannot explain. Why the zebra.c clearscreen code seems to help I can´t explain either...
Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/c5668e08f01ead0bd915b3a6b6b7227ff88cec32


EDIT:
Still needs to create an exception for real-time preview. Will check into it.


Just tested some footages from this new build, good news in preview in crop mode 1080mv, when i choose framing the preview became black and wight but good is that framerate of preview is more smoth then in older builds, and more usable overall . Thank you Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 24, 2019, 09:40:19 PM
Yeah, I thought b & w was the better choice for speed reasons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 24, 2019, 10:42:27 PM
Thanks a lot. In my opinion full sensor raw is the best part of your hack. Is there any chance to make framing even smoother with mv1080 crop mode ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 24, 2019, 11:28:41 PM
Reverted for now:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Needs some more understanding before changing defaults.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 25, 2019, 02:00:29 AM
Speaking of needing some more understanding, there are some fails on the selftest module Stubs API tests that should probably be fixed. I was able to get a perfect score (https://www.magiclantern.fm/forum/index.php?topic=9741.msg201175#msg201175) a while back but trying to find the right combination of changeset, lens used (I know it wasn't an EF-M lens but an EF/EF-S lens with the adapter), camera settings and alignment of the stars has eluded me these past few days. It seems like maybe there is an incorrect stub but which one? Here's the section of code that is showing the problem.

modules/selftest/selftest.c
        /* enable autofocus on half-shutter */
        /* lv_focus_status expected to be 3 when focusing and 1 or 2 when idle */
        lens_setup_af(AF_ENABLE);
        module_send_keypress(MODULE_KEY_PRESS_HALFSHUTTER);
        msleep(200);
        TEST_FUNC_CHECK(HALFSHUTTER_PRESSED, == 1);
        if (lv) {
            TEST_MSG("[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******\n");   
            TEST_FUNC_CHECK(wait_focus_status(1000, 3), == 1);
            TEST_FUNC_CHECK(lv_focus_status, == 3)
        } else {
            msleep(1000);
            TEST_FUNC_CHECK(get_focus_confirmation(), != 0);
        }


I put in some annotations to help debug the EOSM2.

Here's the full log. Notice that the only failing tests are the focus tests. This is with the EF-M 22mm f/2 prime lens but it is happening with all lenses in both movie and photo mode. Once today it passed a few of the tests using an EF lens on an adapter in photo mode but I couldn't replicate it. Seems like changing some of the Canon settings may have something to do with the test results. (https://www.magiclantern.fm/forum/index.php?topic=15895.msg210937#msg210937)

[Pass] is_play_mode() => 0x1
[INFO] Camera model: Canon EOS M 2.0.2 (0x80000331 EOSM)
[Pass] is_camera("DIGIC", "*") => 0x1
[Pass] is_camera(__camera_model_short, firmware_version) => 0x1
[Pass] src = fio_malloc(size) => 0x4de3609c
[Pass] dst = fio_malloc(size) => 0x4e63a0a8
[Pass] memcmp(dst, src, 4097) => 0x25
[Pass] edmac_memcpy(dst, src, 4097) => 0x4e63a0a8
[Pass] memcmp(dst, src, 4097) => 0x0
[Pass] edmac_memcpy(dst, src, 4097) => 0x4e63a0a8
[Pass] memcmp(dst, src, size) => 0x9c
[Pass] edmac_memcpy(dst, src, size) => 0x4e63a0a8
[Pass] memcmp(dst, src, size) => 0x0
[Pass] memcmp(dst, src, size) => 0x42
[Pass] edmac_memcpy_start(dst, src, size) => 0x4e63a0a8
       dt => 0x2949
[Pass] copied => 0x400558
[Pass] copied => 0x400558
[Pass] copied => 0x400558
[Pass] memcmp(dst, src, copied) => 0x0
[Pass] memcmp(dst, src, copied + 16) => 0x27
       edmac_memcpy_finish()
       free(src)
       free(dst)
Cache test A (EDMAC on BMP buffer)...
[Pass] bmp = bmp_load("ML/CROPMKS/CINESCO2.BMP", 1) => 0x80f2e0
[Pass] old => 0x0
[Pass] irq => 0xc0
[Pass] differences => 0x12ee
[Pass] old => 0x0
[Pass] irq => 0xc0
[Pass] differences => 0x0
Cache test B (FIO on 8K buffer)...
[Pass] tries[0] => 0xf1
[Pass] tries[1] => 0xf3
[Pass] tries[2] => 0xff
[Pass] tries[3] => 0x105
[Pass] failr[0] => 0x63
[Pass] failw[0] => 0xca
[Pass] failr[1] => 0x71
[Pass] failw[1] => 0x0
[Pass] failr[2] => 0x0
[Pass] failw[2] => 0xd4
[Pass] failr[3] => 0x0
[Pass] failw[3] => 0x0
       times[0] / tries[0] => 0x1e
       times[1] / tries[1] => 0x1d
       times[2] / tries[2] => 0x1d
       times[3] / tries[3] => 0x1d
Cache tests finished.

[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x1
[INFO] ****** EOSM/M2 usually fails here but sometimes passes ******
[FAIL] wait_focus_status(1000, 3) => 0x0
[FAIL] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] lv_focus_status => 0x1
[Pass] HALFSHUTTER_PRESSED => 0x1
[Pass] wait_focus_status(1000, 3) => 0x0
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] lv_focus_status => 0x1
[Pass] f = FIO_CreateFile("test.dat") => 0x3
[Pass] FIO_WriteFile(f, (void*)0xFF000000, 0x10000) => 0x10000
[Pass] FIO_WriteFile(f, (void*)0xFF000000, 0x10000) => 0x10000
       FIO_CloseFile(f)
[Pass] FIO_GetFileSize("test.dat", &size) => 0x0
[Pass] size => 0x20000
[Pass] p = (void*)_alloc_dma_memory(0x20000) => 0x40862fbc
[Pass] f = FIO_OpenFile("test.dat", O_RDONLY | O_SYNC) => 0x3
[Pass] FIO_ReadFile(f, p, 0x20000) => 0x20000
       FIO_CloseFile(f)
       _free_dma_memory(p)
[Pass] count => 0x3a98
[Pass] buf = fio_malloc(0x1000000) => 0x4de3609c
[Pass] FIO_GetFileSize_direct("test.dat") => 0x82000000
[Pass] f = FIO_OpenFile("test.dat", O_RDWR | O_SYNC) => 0x3
[Pass] FIO_SeekSkipFile(f, 0, SEEK_END) => 0x82000000
[Pass] FIO_WriteFile(f, buf, 0x10) => 0x10
[Pass] FIO_SeekSkipFile(f, -0x20, SEEK_END) => 0x81fffff0
[Pass] FIO_WriteFile(f, buf, 0x30) => 0x30
[Pass] FIO_SeekSkipFile(f, 0x20, SEEK_SET) => 0x20
[Pass] FIO_SeekSkipFile(f, 0x30, SEEK_CUR) => 0x50
[Pass] FIO_SeekSkipFile(f, -0x20, SEEK_CUR) => 0x30
[Pass] FIO_GetFileSize_direct("test.dat") => 0x82000020
[Pass] is_file("test.dat") => 0x1
[Pass] FIO_RemoveFile("test.dat") => 0x0
[Pass] is_file("test.dat") => 0x0
[Pass] SetTimerAfter(0, timer_cbr, overrun_cbr, 0) => 0x15
[Pass] timer_func => 0x2
[Pass] SetTimerAfter(1000, timer_cbr, overrun_cbr, 0) => 0xb4b0
       msleep(900)
[Pass] timer_func => 0x0
       msleep(200)
[Pass] timer_func => 0x1
[Pass] ABS((timer_time/1000 - t0) - 1000) => 0x8
[Pass] ABS((timer_arg - ta0) - 1000) => 0xa
[Pass] timer = SetTimerAfter(1000, timer_cbr, overrun_cbr, 0) => 0xb51c
       msleep(400)
       CancelTimer(timer)
[Pass] timer_func => 0x0
       msleep(1500)
[Pass] timer_func => 0x0
[Pass] SetHPTimerAfterNow(0, timer_cbr, overrun_cbr, 0) => 0x15
[Pass] timer_func => 0x2
[Pass] SetHPTimerAfterNow(100000, timer_cbr, overrun_cbr, 0) => 0x32a1c
       msleep(90)
[Pass] timer_func => 0x0
       msleep(20)
[Pass] timer_func => 0x1
[Pass] ABS(DeltaT(timer_time, t0) - 100000) => 0x11c
[Pass] ABS(DeltaT(timer_arg, ta0) - 100000) => 0xf8
[Pass] ABS((get_us_clock() - t0) - 110000) => 0xffffff93
[Pass] SetHPTimerAfterNow(90000, next_tick_cbr, overrun_cbr, 0) => 0x32a1e
       msleep(80)
[Pass] timer_func => 0x0
       msleep(20)
[Pass] timer_func => 0x3
       msleep(80)
[Pass] timer_func => 0x3
       msleep(20)
[Pass] timer_func => 0x1
[Pass] ABS(DeltaT(timer_time, t0) - 300000) => 0x28
[Pass] ABS(DeltaT(timer_arg, ta0) - 300000) => 0xb
[Pass] ABS((get_us_clock() - t0) - 310000) => 0xffffffa7
       t0 = GET_DIGIC_TIMER() => 0x42af6
       msleep(250)
       t1 = GET_DIGIC_TIMER() => 0x7f3e6
[Pass] ABS(MOD(t1-t0, 1048576)/1000 - 250) => 0x2
       LoadCalendarFromRTC( &now )
       s0 = now.tm_sec => 0x2c
       Date/time: 2019/01/24 14:49:44
       msleep(1500)
       LoadCalendarFromRTC( &now )
       s1 = now.tm_sec => 0x2d
[Pass] MOD(s1-s0, 60) => 0x1
[Pass] MOD(s1-s0, 60) => 0x1
       m0 = MALLOC_FREE_MEMORY => 0x38d18
[Pass] p = (void*)_malloc(50*1024) => 0x136ad0
[Pass] CACHEABLE(p) => 0x136ad0
       m1 = MALLOC_FREE_MEMORY => 0x2c508
       _free(p)
       m2 = MALLOC_FREE_MEMORY => 0x38d18
[Pass] ABS((m0-m1) - 50*1024) => 0x10
[Pass] ABS(m0-m2) => 0x0
       m0 = GetFreeMemForAllocateMemory() => 0x336790
[Pass] p = (void*)_AllocateMemory(128*1024) => 0x862f7c
[Pass] CACHEABLE(p) => 0x862f7c
       m1 = GetFreeMemForAllocateMemory() => 0x316784
       _FreeMemory(p)
       m2 = GetFreeMemForAllocateMemory() => 0x336790
[Pass] ABS((m0-m1) - 128*1024) => 0xc
[Pass] ABS(m0-m2) => 0x0
       m01 = MALLOC_FREE_MEMORY => 0x38d18
       m02 = GetFreeMemForAllocateMemory() => 0x336790
[Pass] p = (void*)_alloc_dma_memory(128*1024) => 0x40862fbc
[Pass] UNCACHEABLE(p) => 0x40862fbc
[Pass] CACHEABLE(p) => 0x862fbc
[Pass] UNCACHEABLE(CACHEABLE(p)) => 0x40862fbc
       _free_dma_memory(p)
[Pass] p = (void*)_shoot_malloc(16*1024*1024) => 0x4de3608c
[Pass] UNCACHEABLE(p) => 0x4de3608c
       _shoot_free(p)
       m11 = MALLOC_FREE_MEMORY => 0x38d18
       m12 = GetFreeMemForAllocateMemory() => 0x336790
[Pass] ABS(m01-m11) => 0x0
[Pass] ABS(m02-m12) => 0x0
[Pass] suite = shoot_malloc_suite_contig(16*1024*1024) => 0x136ad0
[Pass] suite->signature => 'MemSuite'
[Pass] suite->num_chunks => 0x1
[Pass] suite->size => 0x1000000
[Pass] chunk = GetFirstChunkFromSuite(suite) => 0x136af8
[Pass] chunk->signature => 'MemChunk'
[Pass] chunk->size => 0x1000000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4de36088
[Pass] UNCACHEABLE(p) => 0x4de36088
       shoot_free_suite(suite); suite = 0; chunk = 0;
[Pass] suite = shoot_malloc_suite_contig(0) => 0x1301d0
[Pass] suite->signature => 'MemSuite'
[Pass] suite->num_chunks => 0x1
[Pass] suite->size => 0x1f24000
[Pass] chunk = GetFirstChunkFromSuite(suite) => 0x136980
[Pass] chunk->signature => 'MemChunk'
[Pass] chunk->size => 0x1f24000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x44000064
[Pass] UNCACHEABLE(p) => 0x44000064
       largest_shoot_block = suite->size => 0x1f24000
[INFO] largest_shoot_block: 31MB
       shoot_free_suite(suite); suite = 0; chunk = 0;
[Pass] suite = shoot_malloc_suite(largest_shoot_block + 1024*1024) => 0x1301d0
[Pass] suite->signature => 'MemSuite'
[INFO] ************ Reset Canon settings if suite->num_chunks => 0x1 fails ************
[Pass] suite->num_chunks => 0x5
[Pass] suite->size => 0x2024000
[Pass] chunk = GetFirstChunkFromSuite(suite) => 0x136980
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x13b4000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4de1a070
[Pass] UNCACHEABLE(p) => 0x4de1a070
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a18
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x148c000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x45f240e4
[Pass] UNCACHEABLE(p) => 0x45f240e4
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a50
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x1574000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4ae00064
[Pass] UNCACHEABLE(p) => 0x4ae00064
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a88
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x1974000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x419ff0a4
[Pass] UNCACHEABLE(p) => 0x419ff0a4
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136ac0
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x2024000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x44000064
[Pass] UNCACHEABLE(p) => 0x44000064
       chunk = GetNextMemoryChunk(suite, chunk) => 0x0
[Pass] total => 0x2024000
       shoot_free_suite(suite); suite = 0; chunk = 0;
[Pass] suite = shoot_malloc_suite(0) => 0x1301d0
[Pass] suite->signature => 'MemSuite'
[Pass] suite->num_chunks => 0x5
[Pass] suite->size => 0x3700000
[Pass] chunk = GetFirstChunkFromSuite(suite) => 0x136980
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x13b4000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4de1a070
[Pass] UNCACHEABLE(p) => 0x4de1a070
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a18
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x148c000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x45f240e4
[Pass] UNCACHEABLE(p) => 0x45f240e4
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a50
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x1574000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x4ae00064
[Pass] UNCACHEABLE(p) => 0x4ae00064
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136a88
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x1974000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x419ff0a4
[Pass] UNCACHEABLE(p) => 0x419ff0a4
       chunk = GetNextMemoryChunk(suite, chunk) => 0x136ac0
[Pass] chunk->signature => 'MemChunk'
[Pass] total += chunk->size => 0x3700000
[Pass] p = GetMemoryAddressOfMemoryChunk(chunk) => 0x44000064
[Pass] UNCACHEABLE(p) => 0x44000064
       chunk = GetNextMemoryChunk(suite, chunk) => 0x0
[Pass] total => 0x3700000
[INFO] ************ Reset Canon settings if suite->num_chunks => 0x1 fails ************
       shoot_free_suite(suite); suite = 0; chunk = 0;
[Pass] strlen("abc") => 0x3
[Pass] strlen("qwertyuiop") => 0xa
[Pass] strlen("") => 0x0
[Pass] strcpy(msg, "hi there") => 0x213d2c
[Pass] msg => 'hi there'
[Pass] snprintf(a, sizeof(a), "foo") => 0x3
[Pass] snprintf(b, sizeof(b), "foo") => 0x3
[Pass] strcmp(a, b) => 0x0
[Pass] snprintf(a, sizeof(a), "bar") => 0x3
[Pass] snprintf(b, sizeof(b), "baz") => 0x3
[Pass] strcmp(a, b) => 0xfffffff8
[Pass] snprintf(a, sizeof(a), "Display") => 0x7
[Pass] snprintf(b, sizeof(b), "Defishing") => 0x9
[Pass] strcmp(a, b) => 0x4
[Pass] snprintf(buf, 3, "%d", 1234) => 0x2
[Pass] buf => '12'
[Pass] memcpy(foo, bar, 6) => 0x213d00
[Pass] foo => 'asdfghuiop'
[Pass] memset(bar, '*', 5) => 0x213ce0
[Pass] bar => '*****hjkl;'
       bzero32(bar + 5, 5)
[Pass] bar => '****'
       EngDrvOut(LCD_Palette[0], 0x1234)
[Pass] shamem_read(LCD_Palette[0]) => 0x1234
       call("TurnOnDisplay")
[Pass] DISPLAY_IS_ON => 0x1
       call("TurnOffDisplay")
[Pass] DISPLAY_IS_ON => 0x0
       call("TurnOnDisplay")
[Pass] DISPLAY_IS_ON => 0x1
       task_create("test", 0x1c, 0x1000, test_task, 0) => 0xed6c00ca
[Pass] test_task_created => 0x1
[Pass] get_current_task_name() => 'run_test'
[Pass] get_task_name_from_id(current_task->taskId) => 'run_test'
[Pass] task_max => 0x68
[Pass] task_max => 0x68
[Pass] mq = mq ? mq : (void*)msg_queue_create("test", 5) => 0xed6e00b6
[Pass] msg_queue_post(mq, 0x1234567) => 0x0
[Pass] msg_queue_receive(mq, (struct event **) &m, 500) => 0x0
[Pass] m => 0x1234567
[Pass] msg_queue_receive(mq, (struct event **) &m, 500) => 0x9
[Pass] sem = sem ? sem : create_named_semaphore("test", 1) => 0xed7002f8
[Pass] take_semaphore(sem, 500) => 0x0
[Pass] take_semaphore(sem, 500) => 0x9
[Pass] give_semaphore(sem) => 0x0
[Pass] take_semaphore(sem, 500) => 0x0
[Pass] give_semaphore(sem) => 0x0
[Pass] rlock = rlock ? rlock : CreateRecursiveLock(0) => 0xed720036
[Pass] AcquireRecursiveLock(rlock, 500) => 0x0
[Pass] AcquireRecursiveLock(rlock, 500) => 0x0
[Pass] ReleaseRecursiveLock(rlock) => 0x0
[Pass] ReleaseRecursiveLock(rlock) => 0x0
[Pass] ReleaseRecursiveLock(rlock) => 0xf
       SetGUIRequestMode(1); msleep(1000);
[Pass] CURRENT_GUI_MODE => 0x1
       SetGUIRequestMode(2); msleep(1000);
[Pass] CURRENT_GUI_MODE => 0x2
       SetGUIRequestMode(0); msleep(1000);
[Pass] CURRENT_GUI_MODE => 0x0
[INFO] ************ Checking stub = LiveViewShutterApp_handler ************
[Pass] display_idle() => 0x1
       GUI_Control(BGMT_PLAY, 0, 0, 0); msleep(1000);
[Pass] PLAY_MODE => 0x1
[Pass] MENU_MODE => 0x0
       GUI_Control(BGMT_MENU, 0, 0, 0); msleep(1000);
[INFO] ************ EOSM2 fails here ************
[Pass] MENU_MODE => 0x1
[INFO] ************ EOSM2 fails here ************
[Pass] PLAY_MODE => 0x0
[Pass] dialog->type => 'DIALOG'
       GUI_Control(BGMT_MENU, 0, 0, 0); msleep(500);
[Pass] MENU_MODE => 0x0
[INFO] ************ EOSM2 fails here ************
[Pass] PLAY_MODE => 0x0
       SW1(1,100)
[Pass] HALFSHUTTER_PRESSED => 0x1
       SW1(0,100)
[Pass] HALFSHUTTER_PRESSED => 0x0
[Pass] is_play_mode() => 0x1
[INFO] ************ Checking stub = PlayMain_handler ************
[Pass] is_pure_play_photo_mode() => 0x1
[Pass] is_pure_play_movie_mode() => 0x0
[Pass] is_play_mode() => 0x1
[Pass] is_pure_play_photo_mode() => 0x0
[Pass] is_pure_play_movie_mode() => 0x0
[Pass] is_play_mode() => 0x1
[Pass] is_pure_play_photo_mode() => 0x0
[Pass] is_pure_play_movie_mode() => 0x1
[Pass] is_play_mode() => 0x1
[Pass] is_pure_play_photo_mode() => 0x0
[Pass] is_pure_play_movie_mode() => 0x0
=========================================================
Test complete, 11852 passed, 20 failed.
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 25, 2019, 08:57:17 AM
New build. Only affects 'framing' setting. Hopefully solid preview now:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

No need for Clear Overlays 'HalfShutter' in framing mode hopefully.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on January 25, 2019, 10:38:12 AM
Danne, do you mean framing is improved for crop mode mv1080 ? Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 25, 2019, 10:52:22 AM
Nope. Other issues.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 25, 2019, 11:17:24 AM
Quote from: Danne on January 25, 2019, 08:57:17 AM
New build. Only affects 'framing' setting. Hopefully solid preview now:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

No need for Clear Overlays 'HalfShutter' in framing mode hopefully.



Just tested that build, it's awesome improvement in preview. 1080mv in 2.35 : 1 now is more than usable. Thank you. Also tested 50fps option with sd uhs hack , and only downside is that in 14 bit loseless it's only rec 5 sec. But as i understand this is depends more from sd card than from magic lantern. Thank you againe Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 25, 2019, 01:12:07 PM
Cool. Yes, probably card. I can record more or less continuous when selecting 10bit.
Just pushed a build with slightly changed registers in 50fps modes. 45fps is still problematic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 25, 2019, 04:31:22 PM
Did a quick 1x3 recording with the new (Jan25) build
10bit and 1:2.35, sd-uhd, didn't touch any of the regs
had to deaktivate sound, because it would record only few seconds

I was able to record continuously. first clip with the default 'Framing' - setting (Auto),
for 3 1/2 minutes. Then switched to Real-time and recorded 2 1/2 min.

With MLV App (drop frames disabled) both of them without any damage
Will test other modes later

Many thanks to Danne and other developers

 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 25, 2019, 05:25:05 PM
Quote from: dfort on January 25, 2019, 02:00:29 AM
...Notice that the only failing tests are the focus tests. This is with the EF-M 22mm f/2 prime lens but it is happening with all lenses in both movie and photo mode...

Figured it out (https://www.magiclantern.fm/forum/index.php?topic=14828.msg210980#msg210980). Those failing tests are supposed to run in photo mode outside of LiveView. In other words, the tests aren't valid on the EOSM/EOSM2.

Ok--now back to the cool stuff that Danne is doing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 25, 2019, 06:48:30 PM
Rendered 2 clips recorded with todays build @ 1x3 and another one @50p. No corrupted frame and just one single frame jump. So: nice progress!
I noticed in 1x3 a red line at the bottom. Is it possible to do something against? Or do we have to fix that in post (e.g. by copying blue and green channel from row n-1)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 25, 2019, 06:52:31 PM
Green line. I will take a look. Full 5k set up or 2.35:1?
What preset caused the frame jump by the way? With or without global draw enabled?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 25, 2019, 07:06:08 PM
Setting was GlobalDraw On, 1504x1920, 10bit lossless, preview=framing.
Here the bottom line is red. You should it also have in the clip I sent you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 25, 2019, 07:50:25 PM
Thanks for noticing! Fixed:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

It could be fixed also by using the height reg in the sub menu reg_6804 set to + 1. Well sorry for this, new build posted.

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/133ba5a624c0b5d9bb7af809d8e792d16651ec39
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 25, 2019, 08:38:18 PM
Fantastic Danne! Works!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 26, 2019, 06:35:15 AM
Sounds good! Does it also work in other ratios like 16:9?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 10:30:31 AM
@henricusmaria
I pushed a fix also for the 5k 3x1 preset. Had a thin red line:

Download
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

If you or someone else could check all presets for bottom red lines it would be good. With and without ratios from crop rec sub menu set. Lack of time here. Open up the files in Mlv App and simply zoom into the file, scroll to bottom...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 26, 2019, 01:19:13 PM
I will let you know, when I find the time. I am actually looking for a preset that gives me clean/corrupt free footage. I am shooting a film in China and I want to use the eos m in some areas where it's a bit difficult (not allowed) to film. Right now I'm thinking of using the 2.5k preset since it's the cleanest. The mv1080 gives too much aliasing and moire. But it would be great to be able to shoot with a wider angle. The 1x3 preset looks promising!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 01:32:50 PM
Cool. Yes 1x3 should be the best if it's reliable. If you could test it thoroughly we might work out a solid working 1x3 preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 26, 2019, 02:03:29 PM
Yes, will do. I have one more week of testing to go..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 02:18:31 PM
What I'm thinking is to reduce the 2.35:1 preset to reach 4k and that might be what it takes to create a more robust set up. I could create a version with both 2.35:1 presets available for tests. Let me know what you think.
There's already a 16:9 3.5k 1x3 binning in there. Not sure how that works...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 26, 2019, 02:23:29 PM
I am not sure if it is neccessairy to reduce the resolution. I tried recording clips with many different settings today. The most safe one was the 4.5K 2.35:1 1x3 10bit preset. Selecting 16:9 there (-> smaller resolution) brought more corrupted frames - no idea why. But when speeking of "more corrupted frames" - this were 2 corrupted frames in 20 seconds, where the 2.35:1 preset had one or none.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 02:41:42 PM
4.5k more robust. Good to know.
I am keeping the height since reducing it will kill real time preview. Keeping it is probably one reason for difficulties.
Other than timing registers I don't really know what registers to tweak. Maybe eosm also has some memory routines that works different from each recording so one could look into this as well.

Timer regs are in the sub menu so anyone can try and optimize.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 26, 2019, 03:17:46 PM
Quote from: masc on January 26, 2019, 02:23:29 PM
I am not sure if it is neccessairy to reduce the resolution. I tried recording clips with many different settings today. The most safe one was the 4.5K 2.35:1 1x3 10bit preset. Selecting 16:9 there (-> smaller resolution) brought more corrupted frames - no idea why. But when speeking of "more corrupted frames" - this were 2 corrupted frames in 20 seconds, where the 2.35:1 preset had one or none.

Thanks. Will try that present tomorrow. I also had more corrupted frames when choosing 16:9. Although I'd rather film in 16:9 since my other footage is in that aspect ratio.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 03:24:22 PM
What happens if you create a 16:9 preset from regular raw video sub menu instead of using my ratios preset?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bergamote on January 26, 2019, 03:56:45 PM
Quote from: Danne on January 26, 2019, 10:30:31 AM
If you or someone else could check all presets for bottom red lines it would be good. With and without ratios from crop rec sub menu set. Lack of time here. Open up the files in Mlv App and simply zoom into the file, scroll to bottom...

I just quickly went though the presets, without the crop rec ratio then with it at 2.35 then at 16:9
Only found a line of noise at the bottom of the 2.5k preset with ratio 2.35.
But then again, I think I fudged up something. The sizes selected don't match the clips I got. I only had crop_rec and mlv_lite loaded, do the presets rely on lua scripts or sd hack?

Also, there's always a black line at the bottom of the 1x3 preset but is that because of the resize in MLVApp?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 26, 2019, 04:05:18 PM
Quote from: Danne on January 26, 2019, 03:24:22 PM
What happens if you create a 16:9 preset from regular raw video sub menu instead of using my ratios preset?

I haven't tried it with the latest built but I got a lot of corrupted frames before. I will try again tomorrow and report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 26, 2019, 05:11:42 PM
Pushed some fixes to 16:9 ratios setting when used with 1x3 binning. Couldn,t get any corruption but see if anyone else can:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 26, 2019, 09:07:14 PM
While checking log files for the EOSM2 and comparing them to the EOSM and 700D I found this should probably be changed:

platform/EOSM.203/consts.h
// http://magiclantern.wikia.com/wiki/ASM_Zedbra
-#define YUV422_HD_BUFFER_1 0x44000080
+#define YUV422_HD_BUFFER_1 0x463cc080
#define YUV422_HD_BUFFER_2 0x46000080


Where is this used? Found a feature called FEATURE_PLAY_EXPOSURE_FUSION that uses this. I'm unfamiliar with this feature but it apparently works on the 700D and with a few tweaks it can be activated on the EOSM.

(https://farm8.staticflickr.com/7888/45970869245_ffc9fc7d40.jpg) (https://flic.kr/p/2d3hHPT)

It also turns on a load of other features. Hum--interesting.

(https://farm5.staticflickr.com/4869/33010218228_1816de159e.jpg) (https://flic.kr/p/ShZZPA)

Here's what I did to turn this on:

https://bitbucket.org/daniel_fort/magic-lantern/commits/79d180e53752ed4d9b54fc097ed949e7cac1721e
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 26, 2019, 09:14:01 PM
You will find a description in outdated
https://wiki.magiclantern.fm/userguide#image_review_settings
422 options are gone, though.

Have to link some example pics in camera_help, WIP.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on January 26, 2019, 09:41:43 PM
Thanks Walter. There are so many features that I haven't even touched yet!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 26, 2019, 09:47:19 PM
Quote from: dfort on January 26, 2019, 09:41:43 PM
Thanks Walter. There are so many features that I haven't even touched yet!

... there are spiderwebs and dust bunnies. Lots of.
Some options and features haven't been used for years. See bug reports 2920-2923.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 27, 2019, 03:44:01 AM
Quote from: Danne on January 26, 2019, 05:11:42 PM
Pushed some fixes to 16:9 ratios setting when used with 1x3 binning. Couldn,t get any corruption but see if anyone else can:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Thanks Danne! Will do some tests today. Do you think changing the bit depth to 12 or 14 bit lossless and lowering the resolution will improve the image quality? Or is it better to film in 10 bit lossless with the highest resolution?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Hmm on January 27, 2019, 12:23:01 PM
Hi everyone! I've encountered an interesting issue. My Samsung EVO 128gb microSD ocassionally starts to work at very low speeds (about 21 MB/s) and keep working like that until I format it. I have sd_uhs hack loading at startup. Things I tried: removing battery, different croprec modes, older ML builds, recording RAW video without croprec, loading sd_uhs manually, loading sd_uhs in photo mode and etc.
And the most interesting thing is, after I formated the card on my PC write speeds returned to normal. BUT, after some tests with ML (I tried using silentpic.mo with 4k croprec preset on 1/4000 shutter speed) my camera froze (so I had to remove the battery), and after 3-4 more crashes like that I decided to check if I am still getting nice write speeds. And guess what, my microSD card starts to underperform once again. This time I decided to format it in camera and it helped.

Any thoughts about what exactly casing it? Is there any way I can fix it without formating my card?

And, I would be very grateful if somebody makes a working silentpic.mo as 4fps burst speed is too low for my needs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 12:28:26 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Renamed 1x3 binning to simply 5K anamorphic.
Faster routine for sd_uhs module(experimental, use at own risk)
Better centering for the 5K anamorphic presets(2.35:1, 16:9)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 12:32:16 PM

(https://i.ibb.co/2nLTGMd/photo-2019-01-28-13-37-08.jpg) (https://ibb.co/2nLTGMd)

Just tested the latest build (_2019Jan27) there is a lot of corrupted frames at start of the footage , in crop rec mv1080p 45 fps preset (2.35:1 10bit)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 12:56:13 PM
Quote from: Danne on January 28, 2019, 12:28:26 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Renamed 1x3 binning to simply 5K anamorphic.
Faster routine for sd_uhs module(experimental, use at own risk)
Better centering for the 5K anamorphic presets(2.35:1, 16:9)

Just downloaded this new build, and also get corrupted frames in  in crop rec mv1080p 45 fps preset (2.35:1 10bit) (at start of the footage)   and in crop rec mv1080p 50 fps preset (2.35:1 10bit)  somewhere afrer the 300-400 frames get 1 or 2 corrupted frames
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 01:05:25 PM
Yes, 45fps and 50fps modes are corrupted.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 01:08:46 PM
Quote from: Danne on January 28, 2019, 01:05:25 PM
Yes, 45fps and 50fps modes are corrupted.

Maybe its possible to make a little lower resolution but make them without corrupted frames ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 01:12:00 PM
You can reduce fps by pushing reg_6014 forward in the sub menu. Also works with reg_6008. Modifying reg_713c and reg_7150 also affects output.
Even reducing fps straight in FPS override should do.
If you get solid results please share your settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 01:59:00 PM
Quote from: Danne on January 28, 2019, 01:12:00 PM
You can reduce fps by pushing reg_6014 forward in the sub menu. Also works with reg_6008. Modifying reg_713c and reg_7150 also affects output.
Even reducing fps straight in FPS override should do.
If you get solid results please share your settings.

In crop mode mv 1080p  1736x738 50fps (2.35:1 10 bit) changed reg_6014 to +20 and reg_6008 also +20 . And get more than a minute footage without corrupted frame. FPS override shows that the framerate with this settings is 47.3fps and on 24fps timeline you can do 2x slowmo. Danne if you can make a presset with this values, i will be very thankful.
In mv1080p 1736х976 tryed different values but in all efforts get corrupted frames (
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 02:32:50 PM
Thanks for testing. For 1736x738 50fps I´d prefer if we can have it working with 50fps. When I test it over here it works uncorrupted when global draw is set to off. If you set fps override to 48fps it should run ok?
If nothing works we should really try to find sweet spot for a 48fps preset.

What needs more digging is the 45 fps setting. Seems harder to nail.

EDIT:
By the way. Could you test the 45 fps with following  starting point:
Global draw off
10bit
full 1736x976 ratio
reg_713c -8
reg_7150 -8
reg_6014 +2
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 03:18:28 PM
Quote from: Danne on January 28, 2019, 02:32:50 PM
Thanks for testing. For 1736x738 50fps I´d prefer if we can have it working with 50fps. When I test it over here it works uncorrupted when global draw is set to off. If you set fps override to 48fps it should run ok?
If nothing works we should really try to find sweet spot for a 48fps preset.

What needs more digging is the 45 fps setting. Seems harder to nail.

EDIT:
By the way. Could you test the 45 fps with following  starting point:
Global draw off
10bit
full 1736x976 ratio
reg_713c -8
reg_7150 -8
reg_6014 +2


Try your settings and still get video with corrupted frames, and get this on screen
(https://i.ibb.co/8z2SYJp/photo-2019-01-28-16-17-01.jpg) (https://ibb.co/8z2SYJp)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 03:20:15 PM
Yeah, thanks, so needs more tweaking and maybe it should be run in 44fps in the end.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 03:27:27 PM
also try to set fps override to 48  for 1736x738 50fps presset , and its work fine, whithout any corrupted frames . (2.35:1 10 bit)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 03:35:25 PM
Quote from: Danne on January 28, 2019, 03:20:15 PM
Yeah, thanks, so needs more tweaking and maybe it should be run in 44fps in the end.

set the 45fps presset to 44fps with all your settings, and yes it's corrupted free but when i swich it to 2.35:1 get some pinkish video.
Sorry for my english, this is not my native lenguage ,but hope you understand me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 05:21:15 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Let´s run these presets for a while(reduced to 48fps). If anyone can achieve 50fps corruption free I will put the old ones back again. Thanks @ctfire for testing.
(https://i.postimg.cc/wx5hqNtw/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 28, 2019, 08:26:46 PM
Tried out latest build.
- 5k anamorphic seems to work. I only get some dots in highlights, I have to check again against version before (all raw corrections off). Same dots are also in mv1080 48fps. Can't remember having seen this before... and you see this already when recording on the liveview screen.
(https://i.ibb.co/thMxHC4/Bildschirmfoto-2019-01-28-um-20-25-09.png)
- mv1080 48fps aborts with this screen (did not see such screens in my few tests with 50fps before):
(https://i.ibb.co/4jpKY17/IMG-20190128-201008-905a.jpg)
  and I found one missing (just black) frame, but no pink corrupted frame

Edit: I see the dots with the build before in the liveview too! Recorded some more 48fps clips... corrupted frames are very rare, but existing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 08:52:39 PM
dots, what the heeey  :o
Tested a different converter from Mlv App  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 28, 2019, 09:30:47 PM
Quote from: masc on January 28, 2019, 08:26:46 PM
Tried out latest build.
- 5k anamorphic seems to work. I only get some dots in highlights, I have to check again against version before (all raw corrections off). Same dots are also in mv1080 48fps. Can't remember having seen this before... and you see this already when recording on the liveview screen.
(https://i.ibb.co/thMxHC4/Bildschirmfoto-2019-01-28-um-20-25-09.png)
- mv1080 48fps aborts with this screen (did not see such screens in my few tests with 50fps before):
(https://i.ibb.co/4jpKY17/IMG-20190128-201008-905a.jpg)
  and I found one missing (just black) frame, but no pink corrupted frame

Edit: I see the dots with the build before in the liveview too! Recorded some more 48fps clips... corrupted frames are very rare, but existing.

Yeah there is sometimes corrupted frames , but not consistant, made 5 footages (2.35:1 10 bit)  all 1 minute leght, and only two of them have one corrupted (black) frame each. Set fps override to 47fps , and make my test again and all of them was corrupted frames free.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 28, 2019, 10:32:53 PM
Let's give it another go tomorrow. Might have a little something for the 45 fps preset as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 29, 2019, 02:30:06 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Reworked higher fps modes. Needs testing. Run them with:
global draw off
10bit
with and without 2.35:1 ratio set
sd_uhs hack


Look for corrupted frames. Note that 45 fps modes absolutely need timer registers to settle down. This can be noted when viewing for stuttering in live view window. If no stuttering, ok to to film.

I increased a register for anamorphic modes as well(2.35:1 and 16:9) so won´t hurt to test them too. The default anamorphic mode is not really working well but I don´t see it useful anyway so stick to 4.5k and 3.5k instead.

(https://i.postimg.cc/bwJCww8D/VRAM0-PPM-scaled-2.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 29, 2019, 06:54:31 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Dedicated to the mv1080p 50 fps mode. Really hard to get that one working. Fps set to 49.880 now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 29, 2019, 07:39:09 PM
Checked latest build here with mv1080 50fps:
with GLOBAL_DRAW=OFF: average 700 frames, 5 corrupted frames (1st: ~frame 150; the other frames between 650 and last)
with GLOBAL_DRAW=ON: average 270 frames, 2 corrupted frames (1st ~frame 50; 2nd in the last 50 frames)
But no crash so far...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 29, 2019, 07:41:38 PM
The 50fps preset right? Might settle for the 48fps soon then.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 29, 2019, 07:52:16 PM
Right... edited.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 30, 2019, 04:53:58 AM
Managed to get 1x3 footage in 16:9 without corrupted frames. Only there is too much aliasing going on to my liking. Anything I can change in my ml settings or mlvapp that can help?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2019, 05:57:44 AM
Could you upload an example with aliasing? Maybe a shortened mlv?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 30, 2019, 07:57:21 AM
Quote from: henricusmaria on January 30, 2019, 04:53:58 AM
Managed to get 1x3 footage in 16:9 without corrupted frames. Only there is too much aliasing going on to my liking. Anything I can change in my ml settings or mlvapp that can help?
I think I know what you mean, because I also was not satisfied in the beginning. I think you are speeking about artifacts on detailed structures like trees?! Are you able to compile MLVApp? The latest revisions can debayer such MLVs much better. You could compile MLVApp yourself or wait for next release. Using Resolve you should be fine...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 30, 2019, 08:47:11 AM
@masc I think you know what I mean ;)
How do you compile mlvapp?

@Danne I've already deleted the mlv files
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 30, 2019, 09:00:42 AM
Quote from: henricusmaria on January 30, 2019, 08:47:11 AM
How do you compile mlvapp?
See compiling information on this site: https://github.com/ilia3101/MLV-App
On the other side, v1.5 is not far away...  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on January 30, 2019, 09:25:07 AM
Thanks! I will have a look.
V1.5 might not be far away, but I need to find out this week if the 1x3 mode is reliable enough to shoot with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2019, 11:58:14 AM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Focused on corruption free recordings on all presets. Let´s see where and if it breaks:
(https://i.postimg.cc/LsW0ZcD4/VRAM0-PPM-scaled.png)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 30, 2019, 03:54:47 PM
Downloaded new build from Danne and did some little tests.
build Jan30, sd-uhs hack, 10bit, 16:9 global draw off, sound module not loaded, MLV App 1.4 (Playback>Drop Frame Mode off)
first just did a benchmark with the bench.mo from the ML experimental Lua build copied over inside the Modules directory of Danne's build. The performance dropped about 5MB/s but fortunately now the benchmark runs the read-tests too, which it did not in previous builds. So with max of 54MB/s Write and 56MB/s Read I did following quick tests. 
mv720p 1736x694 50fps
recording stopped after 23 seconds. had to stretch the image 1,67x in MLV App, reported Frame rate was 49.959 fps. after 650 frames first corrupted frame, seven in total.
same mode but reduced Frame rate to 47 fps. recording continuous, did a 00:01:36 recording, reported speed 47.009 fps. Have done the same height stretch of 1,67x as before. Somewhere at 00:01:20 mark there was one bad frame.
next I did a mv1080p 1736x976 46/48 fps recording. from start on I lowered the Frame rate to 44 fps. But as MLV App reports, it has the res of 1496x842 pixels which is 16:9 ratio. no stretch needed in MLV App. did a continuos recording of 5896 frames (00:02:13) at frame rate of 44.013 fps.
There were 27 bad frames in the first 40 seconds of the video, so I did another recording but this time did not lower the frame rate.
reported frame rate is 45.983 fps. one minute recording, 2 bad frames .

So this looks very good, many thanks to Danne and others
Will do further testing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2019, 04:51:41 PM
Thanks AF-OFF. Still much to work on :P. If you lower fps try do it from reg_6014 register in the submenu. Push it forward for decrease.
One goal is to have the 2.35:1 setting working with all presets without issues. THe rest is more or less extras. If you want to test the presets with the 2.35:1 ratios set I wouldn´t mind hearing about the results  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 30, 2019, 08:07:13 PM
This test release changes a lot, Danne! mv1080 48fps @1648x702, okay, some pixels are missing now (a little smaller), but I get continous recording @10bit lossless now and after 45sec (>2000 frames) I have no single corrupted frame! WOW! Important: Global Draw has to be OFF. If I leave it ON, the maximum I can get is 800 frames, but with may 1 corrupted frame in 20 frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2019, 08:45:26 PM
That is good news. I really want the 2.35:1 presets to be solid and to have a 48fps 3x3 binning is very nice indeed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on January 30, 2019, 09:42:06 PM
Awesome work Danne!!!

I did some tests yesterday with yesterday build and I was getting some pink frames in 50fps mode and also 5k anamorphic - dualISO.
I'm going to shoot a wedding in three days so I guess it will be a serious test for this stuff  ;). There will be also a second cameraman on that wedding, otherwise I wouldn't risk the shots with such a bleeding edge stuff. Actualy, that was my requisition, that I would only film if they allow me to film in ML RAW  8), I explained the risks... All this development in RAW video is so exciting, that I didn't touch the normal video mode in a quite long time and I'm shooting almost exclusively in RAW.

Anyway... the most important modes for me are 48fps and DualISO. Today I tested your current build (30.1.) and I was blown away by how much it improved over yesterdays build.
I got some pink frames, but very few in a long recordings, and now I realized that it was probably due to the fact that I didn't turn off the global draw. Need to test it again with GD off.

Here are my results (with GD on, framing LV, 1:2.35, 10bit)(all recordings stopped manualy):
5K-A-DualISO-sound: 20 seconds - 0 corrupted frames
5K-A-DualISO-NOsound: 14 seconds - 0 corrupted frames
1080_3x3-1648x702-48fps-sound: 25 seconds - 5 corrupted frames, evenly happening in the first half of the clip
1080_3x3-1648x702-48fps-NOsound: 40 seconds - 2 corrupted frames (one after another) in the middle of the clip


SIDE QUESTION: I'm getting 700D tomorrow and I'm wondering in what state of development it currently is regarding to 1x3 mode and 48fps mode? I was trying to find something on the forum, especialy about the 48/50fps mode and I didn't find much :(. If any of you guys know, my question is, if there is a working build for 700D with reliable 48fps recording?

Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2019, 10:44:43 PM
I would do all recordings with 10bit 2.35:1 sd_uhs on.
48fps with global draw off.
If the anamorphic mode isn't continuous you can reduce offsets manually by using the skip_left, skip_reight etc to reduce ratio straight in the sub menu. This maybe works straight in Raw video resolution menu, not sure.
Anyway. Tell me what presets you aim to use and we can focus on them for a while.
700D has some very intelligent crop_rec code from a1ex. Also ask theBilalfarouk for some useful info.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on January 31, 2019, 12:02:57 AM
Quote from: Danne on January 30, 2019, 04:51:41 PM
If you want to test the presets with the 2.35:1 ratios set I wouldn´t mind hearing about the results  8)
sure ...
Just downloaded the fresh Jan30 build and did some testing - all recordings 2.35:1 , 10bit, sd-uhs , no GD and no sound. did stop all recordings manualy after 1min.
mv720p, 1736x694 50fps, no bad frames. MLV App reports 1736x442 pixels , 49,959fps. needs a height stretch 1.67x.
mv1080p, 1736x976 46/48 fps, no bad frames, actual size is 1648x702 & 47,991 fps.
mv1080p, 1736x1158, two bad frames, actual size 1736x738 & 24.002 fps.
& finally also 2.5k 2520x1418, no bad frames, actual size 2520x1072 & 23,976 fps.

it gets better and better. Many Thanks Danne and others



   
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on January 31, 2019, 08:45:43 AM
Quote from: Danne on January 30, 2019, 10:44:43 PM
I would do all recordings with 10bit 2.35:1 sd_uhs on.
48fps with global draw off.
If the anamorphic mode isn't continuous you can reduce offsets manually by using the skip_left, skip_reight etc to reduce ratio straight in the sub menu. This maybe works straight in Raw video resolution menu, not sure.
Anyway. Tell me what presets you aim to use and we can focus on them for a while.

Yeah, I did all recordings with 10bit 2.35:1 sd_uhs on, only difference was that I had GD on. Didn't have time yesterday to test it with GD off. But anamorphic seemed to do OK even with GD on and recording times were also great (possibly continuous). The only "problem" was with 48fps, where it had a couple of pink frames.
Do you think Danne, that there will be a possibility someday to run corruption-free 48fps with GD on? So to have a proper framing... because I find it quite difficult to properly frame a subject without "framing LV" mode.

Thanks a lot.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 09:07:05 AM
You could test the 2.35:1 48fps setting with preview Real-time or Auto. Could give a corrupted file, especially in the beginning.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on January 31, 2019, 01:24:23 PM
Just film some footage and also get color dots in blown out areas , for converting mlv i as always use MLVapp
(https://i.ibb.co/QdymwLG/2019-01-31-14-22-58.png) (https://ibb.co/QdymwLG)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 31, 2019, 01:29:07 PM
Quote from: ctfire on January 31, 2019, 01:24:23 PM
Just film some footage and also get color dots in blown out areas , for converting mlv i as always use MLVapp
(https://i.ibb.co/QdymwLG/2019-01-31-14-22-58.png) (https://ibb.co/QdymwLG)

What was your setting (camera and MLVApp)? Would be nice to get some frames of this clip for testing! These dots look different than mine. Have you tried MLVApp version from today? v1.5 is out!
Danne solved one of my dot problems: don't use ISO6400! (I would never do that for serious recording. I only did that for testing... and so the dots came...)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on January 31, 2019, 03:28:29 PM
What setting would be causing all highlights to be pink?  I've tried several variations of settings adjustments but pink is all I get, so I figured I'd stop and ask for directions. lmao
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 03:50:06 PM
More info please. Settings etc. Maybe also a mlv file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 31, 2019, 05:02:24 PM
Quote from: gravitatemediagroup on January 31, 2019, 03:28:29 PM
What setting would be causing all highlights to be pink?  I've tried several variations of settings adjustments but pink is all I get, so I figured I'd stop and ask for directions. lmao
There is no setting causing pink highlights. It is the standard of each file where highlights are overexposed (green channel clipped makes pink color). You can repair this: bring down exposure of highlights, check Highlight Reconstruction, setup "the right" RAW White Level. For my EOS M @10bit lossless this is around 2800+-100.
@Danne: sometimes this is a little higher, sometimes a little lower. Do you have an idea why? Normally the value were a channel clips should always be the same.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 05:10:43 PM
Not really sure. Maybe lossless works with variable bitrates in highlight. Maybe I am talking out of my ass  :P.
Anyway. I set 10bit by reducing gain valuse in crop_rec.c:
    if (bitrate == 0x3)
    {
/* 10bit roundtrip only not applied here with following set ups */
adtg_new[13] = (struct adtg_new) {6, 0x8882, 60 + reg_analog_gain};
                adtg_new[14] = (struct adtg_new) {6, 0x8884, 60 + reg_analog_gain};
                adtg_new[15] = (struct adtg_new) {6, 0x8886, 60 + reg_analog_gain};
                adtg_new[16] = (struct adtg_new) {6, 0x8888, 60 + reg_analog_gain};
}


In raw.c I hard code White level to 3000. Maybe it should be set to 2800?:
        if (shamem_read(0xC0F42744) == 0x4040404)
        {
    /* 10bit by checking pushed liveview gain register set in crop_rec.c */
            int default_white = WHITE_LEVEL;
            return (default_white = 3000);   
        }

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on January 31, 2019, 05:11:01 PM
Pink highlights: see this commit (https://bitbucket.org/hudson/magic-lantern/commits/89b7779c6e626d30016cdf562aa6598529357d6f?at=crop_rec_4k) and follow the links.

The workaround for 700D/100D might also work out of the box on EOS M/M2 and 650D, possibly other models, or it might not. Running the tests linked in the above commit is the only way to find out.

If analog gains are tweaked, it might be a different story. Still, the value printed by raw_diag should be a good starting point.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 07:23:18 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Thanks @a1ex for the white level links. Put it up on todo list. Hopefully someone might dig into the issue.

New upload experimenting with void FAST hack_liveview_vsync() in mlv_lite.c. There´s so much interesting code created by a1ex and g3gg0 it never seems to end. Anyway I used this part to get real time preview while camera is in raw idle mode(standby not recording). Works by pressing halfshutter when using following presets:
    "3K 3032x1436",
    "4K 4038x2558",
    "5K anamorphic",(default setting)

Good for setting focus beforing hitting rec. Before the only way was to use framing mode. Also added for 100D.

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/9fbfa7f95d2bfd436c43ab2d8b01fa200b0e45b3
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 31, 2019, 08:02:32 PM
What exactly is the difference to the version before? When using 5K anamorphic, it looks the same for me... or have I forgotten to setup a parameter? (picture gets greenish touch and y axis is stretched)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 08:09:04 PM
I changed the default preset "anamorphic" so it wouldn´t give real time preview other than in 2.35:1 and 16:9.
The bigger use is with 3k and 4k since they are totally dependent on framing preview when both in idle and while recording. Now at least we can zoom in with real time(cropped) preview before recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 31, 2019, 08:16:54 PM
Is there any way to "unstretch" realtime preview in anamorphic mode, or is it impossible because of register settings? It is very hard to focus with it (okay... it is better than framing, but...) :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2019, 08:30:11 PM
Well. A1ex has some thinking about what and where to look for this kind of reg manipulation. If there´s any solution I don´t see how it would be done in real time live view other than maybe when setting focus before hitting record.
In this hack by the way it´s actually possible to modify regs while recording but of course you will get corrupted output while focusing. Maybe if this hack was done while pausing recording it might be a start for new achievements  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nikki on January 31, 2019, 08:53:34 PM

Is the evf usable while recording on this model?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: briwil on January 31, 2019, 09:26:41 PM
Quote from: nikki on January 31, 2019, 08:53:34 PM
Is the evf usable while recording on this model?
Your EOS-M has a viewfinder??
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on February 01, 2019, 05:19:38 AM
Comparing these modes: Mv1080p vs 5k anamorphic

Apart from the difference in resolution, which mode has the best image quality? Which mode has the least artifacts?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 07:14:13 AM
You could easily do some testing on this and find out real quick. Also maybe even post your results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on February 01, 2019, 07:42:58 AM
My tests today show that the mv1080p mode is more detailed. With the mlvapp v1.5 I don't see much difference anymore in artifacts betweeen the two modes. But it could be the weather conditions. Lots of smog today which results in low contrast. Before I've noticed a fair amount of aliasing with the mv1080p mode in sunny conditions.
I'm asking because I don't know if it is the weather conditions or maybe the new mlvapp version that gives different results. And I was under the impression that the new 5k amamorphic mode would yield better results (Less aliasing and better image quality).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 08:43:08 AM
Please upload short example files. Easy to shorten in mlv app.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 01:19:41 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Reverted a reg for anamorphic 2.35:1
- Yesterday commit(preview capability in idle mode) only to work when preview set to 'framing'
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 07:44:48 PM
When using 2.5K and pressing halfshutter the liveview shows some kind of modern art and I have to go back to ML-menu, press menu button to get it back normal. Same for 3K, 4K, 3x1 modes. mv1080 and 5K anamorphic modes are working when doing the same. mv720 mode seems to have wrong framing (1.67 stretching missing?), but does not have the bug descibed above.

4.5 anamorphic seems to record corruption free here. No single corrupted frame so far. Great.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 08:11:55 PM
2,3,4,5k modes needs to be in x5 zoom. Only 2.5k has realtime preview while recording. 3k, and 4k works best with framing set...

Generally to switch modes it is safest to enter and exit ml menu for all regs to settle.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 08:23:25 PM
Quote from: Danne on February 01, 2019, 08:11:55 PM
2,3,4,5k modes needs to be in x5 zoom. Only 2.5k has realtime preview while recording. 3k, and 4k works best with framing set...

Generally to switch modes it is safest to enter and exit ml menu for all regs to settle.
Yes, I do so. Framing is on and I enter and exit ml menu. But as soon as I press halfshutter, I get this problem as described. How can I activate x5 zoom? I thought this is activated automatically?!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 08:27:04 PM
Yes, activates automatically.
Hm, strange issue, will check later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 08:44:42 PM
Cannot reproduce. Just tested the latest version. Can you try redownload again and see if it works better?
More users? Working or not in this build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 09:02:33 PM
Still the same. Choose 2.5K preset, quit menu, halfshutter, voilà. After going back to ML menu, resolution, fps and crop factor looks weird too. Press menu button and all is fine again.
(https://i.ibb.co/84swQmq/bbb.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 09:15:41 PM
It says that you are not in x5 mode. If you exit menu from ml menu it should refresh the patch.
You can manually enter x5 zoom by pressing info button until you get the magnifier glass. Push that twice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 09:34:08 PM
Yes, that works too. But I thought having used 2.5K already focusing with halfshutter... maybe I am wrong.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 09:50:09 PM
Hard to fully understand but if it works when in x5 it's alright. X5 can be lost by entering canon menu and back and if so entering ml menu will refresh the preset again.
The semiautomated x5 stuff I implemenred is really a hack. I wish I could do the presets lik a1ex done them for the 5d3 but I lack knowledge here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 10:02:16 PM
But even after manually entering x5 zoom - as soon as I press halfshutter I get again this "modern art" screen. This does not happen for you?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 10:10:21 PM
Actually not.
Could you try and disable all global draw stuff and only keep it on for Liveview so global draw is still on? I suspect some interference from histogram or similar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 01, 2019, 10:49:09 PM
I completely disabled Global Draw and all other features on this tab. Restarted camera. Switched some modules. Restarted camera. Nothing helps. No idea what I am doing wrong or different.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2019, 10:58:46 PM
Hm, strange. Sure you are testing the latest? I put up at least two versions today with the same name.
If you are in x5 zoom and framing is set it should work.
If I use canon menu button I get what you are describing. Sure you are going through "ml" menu? They are not the same.
I need to change the description for this in preset menu I notice since it says canon menu button in there which is wrong.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 02, 2019, 10:13:37 AM
Hm... I now tried crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb02.EOSM202.zip and get still the same.

Yes, I am going through ML menu. And it looks good and I can record in those presets as long I don't touch the shutter button. If I press shutter half way, lievview fails completely.

mv720 has wrong aspect ratio with framing preview, therefor shutter button works correctly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2019, 10:38:00 AM
Thanks for mv720p check. Will fix the framing preview later for this mode but it's preferred to use real time preview with high fps modes or even global draw off.
Ok, so let's try and clarify each preset:
- 2.5(x5) will work with framing and real time preview while recording and while idle. Real time will be cropped when halfshutter is pushed.
- 3k and 4k presets(x5) will work with framing and real time(cropped) while idle. When recording only framing works. Pushing halshutter will break preview while recording.
- 3x1 4k and 3x1 5k (x5). Only framing works. Pushing halfshutter breaks preview.
-mv1080p(3×3) same as 2.5k
-45, 46, 48, 50fps mv1080p and mv720p works same as 2.5k(first preset).
-5k anamorphic. Default works as 3k, 4k but 2.35:1 and 16:9 works as 2.5k(first preset)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 02, 2019, 12:05:21 PM
I agree, if "will be cropped" = "will be broken" and "cropped" = "broken"; for 2.5K, 3K, 4K. I formatted another card and did a fresh install. Still the same. And ISO100 doesn't help this time... LOL
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2019, 12:38:54 PM
Too strange. Sent you a pm.
How's this version working for others? Feedback?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on February 02, 2019, 12:44:17 PM
Hi, just tasted the latest version
What is working
2.5k preset 2.35:1 work without corrupted frames - superb!
mv1080 preset 2.35:1 work without corrupted frames - superb!
mv1080 46\48 preset 2.35:1 work without corrupted frames - superb!
mv720p 50fps preset 2.35:1 work without corrupted frames - but preview is not framed correctly in real time preview
3k,4k.5k - preview broken
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2019, 12:48:52 PM
Great.
So 3k, 4k. Also broken when used with framing on? That is when recording not using halfshutter.

Mv720p mode. Try set preview to real-time for correct preview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on February 02, 2019, 04:46:04 PM
Quote from: Danne on February 02, 2019, 12:48:52 PM
Great.
So 3k, 4k. Also broken when used with framing on? That is when recording not using halfshutter.

Mv720p mode. Try set preview to real-time for correct preview.
Sorry i understand not correct first time, now retest and yes i'ts work when press hulfshutter. Preview broken only when recording.
Try real time in 720p with global draw off and yes it's work corrupted frames free.
Thank you Danne for your work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2019, 04:51:48 PM
Good, works as expected in your case then :).

New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Fix for mv720p if using framing preview(Global draw off recommended though)
Also added a compression reduction line in mlv_lite.c that might or might not help against corruption. We,ll see.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2019, 05:06:34 PM
Masc! Reproduced your issue. Set focus to manual or change the middle af-method setting to the bottom setting. The other two seems to break the party completely. I recommend manual focus dude  :P.
Phew, hard to nail this one.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 02, 2019, 05:12:38 PM
Haha... ok. Nice found Danne... hey, this time it wasn't ISO setting! :P
AF method plays no role here, but indeed with MF it works fine! With that I can work for now! :) Big thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: the_real_bill_jones on February 02, 2019, 09:38:56 PM
Quote from: Danne on February 02, 2019, 10:38:00 AM
Thanks for mv720p check. Will fix the framing preview later for this mode but it's preferred to use real time preview with high fps modes or even global draw off.
Ok, so let's try and clarify each preset:
- 2.5(x5) will work with framing and real time preview while recording and while idle. Real time will be cropped when halfshutter is pushed.
- 3k and 4k presets(x5) will work with framing and real time(cropped) while idle. When recording only framing works. Pushing halshutter will break preview while recording.
- 3x1 4k and 3x1 5k (x5). Only framing works. Pushing halfshutter breaks preview.
-mv1080p(3×3) same as 2.5k
-45, 46, 48, 50fps mv1080p and mv720p works same as 2.5k(first preset).
-5k anamorphic. Default works as 3k, 4k but 2.35:1 and 16:9 works as 2.5k(first preset)

Hi everyone. I've been thinking about purchasing the eos m to use in crop mode with c mount lenses for a long time, but the wonky live view always deterred me. It seems from Danne's post that this is fixed now. Is that right? Is there a real time, correctly framed live view in the 5x crop mode now? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 03, 2019, 03:54:55 AM
Loading the 1080 12bit script and changing to 10bit seems to get rid of pink highlights? I may have changed something else, but I'm sure changing the bit helped. (//)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 03, 2019, 08:12:55 AM
Please upload sample mlv files. Mixing bits from raw video setting which that script is adding and then adding 10bit in crop rec submenu won't work with most presets but unclear what you did. It could even be that you changed iso from 100 to 400 that clears the issue since it seems the pink issue happens on iso 100.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 03, 2019, 11:16:16 AM
Quote from: gravitatemediagroup on February 03, 2019, 03:54:55 AM
Loading the 1080 12bit script and changing to 10bit seems to get rid of pink highlights? I may have changed something else, but I'm sure changing the bit helped. (//)
Changing bitdepth can't change behavior of clipped highlights. Pink highlights will be there if green sensor channel is overexposed. I explained that already here: https://www.magiclantern.fm/forum/index.php?topic=9741.msg211249#msg211249
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 03, 2019, 03:34:57 PM
It was the iso 800 preset, so if it only happens at 100 that explains it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 04, 2019, 12:24:43 AM
Quote from: Danne on February 03, 2019, 08:12:55 AM
Please upload sample mlv files. Mixing bits from raw video setting which that script is adding and then adding 10bit in crop rec submenu won't work with most presets but unclear what you did.

Curious to see a sample as well.


Quote from: Danne on February 03, 2019, 08:12:55 AM
It could even be that you changed iso from 100 to 400 that clears the issue since it seems the pink issue happens on iso 100.

That's a good possibility.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 04, 2019, 11:04:02 AM
The pink highlights have vanished, buuuut I was successful in recording 555 frames of 2.5k.  Keep up the good work!
(https://i.ibb.co/pLXZ0Qb/9904831-E-84-FB-47-AE-BBFF-C085201307-CD.jpg) (https://ibb.co/pLXZ0Qb)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2019, 11:09:11 AM
Nothing changed regarding white level in later builds. Pink fix still needs attention and testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 04, 2019, 12:53:45 PM
I did not understand yet, why in different clips I have to set different white levels to eliminate the pink. I would expect an equal value for equal settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2019, 01:08:50 PM
I think it's mainly iso 100:
https://www.magiclantern.fm/forum/index.php?topic=16054.msg195395#msg195395
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 04, 2019, 04:48:09 PM
Quote from: the_real_bill_jones on February 02, 2019, 09:38:56 PM
...I've been thinking about purchasing the eos m to use in crop mode with c mount lenses for a long time, but the wonky live view always deterred me....

Using C-mount lenses on the EOSM (https://www.magiclantern.fm/forum/index.php?topic=15660.msg152725#msg152725) has been discussed several times on the forum. If you use Movie crop mode you'll get real time, correctly framed LiveView. The wonky LiveView is happening with the experimental high resolution crop_rec module settings that can use the entire sensor area. So--if you think about it, many C-mount lenses won't cover the entire APS-C sensor so you can't use them with these experimental settings unless this is what you're after:

(https://farm1.staticflickr.com/671/20560712359_321d657bac_z.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 04, 2019, 09:13:23 PM
Quote from: Danne on February 04, 2019, 11:09:11 AM
Nothing changed regarding white level in later builds. Pink fix still needs attention and testing.

I didn't think it had, so I'm guessing I had settings overlapping that was creating the issue, when I tried to recreate it last night I couldn't.  I'm just happy with how fast the stability is improving.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2019, 10:01:29 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Cleaned out scripts, kept two. One is new. "eosm cinema 2:35.1". The script will through lua add all necessary parameters to get into anamorphic 4.5K preset. Once the script has finished you can use any of the crop rec presets and they will all run in 2:35.1 and continuous. A fast sd card will be needed. The script also enables the sd_uhs script "sd overclock engine" and sets it to auto. The script is good as starting point instead of fiddling around for 10 minutes before getting into filming.
Why 2:35.1? Easy. Eosm has it´s limitations and restriction and this ratio seems like sweet spot for most presets on this cam.

(https://i.postimg.cc/cChG6s3Y/VRAM0-PPM-scaled.png)

- The other feature(also added though "eosm cinema 2:35.1" script) is "Crop rec preview" in mlv_lite menu. Once this is set to auto mode The crop rec presets will work either with framing or real time preview depending on what works better. Reason for this is that it takes a little too long to switch both preset and preview mode for every preset changed. Watch out. This auto mode setting overrides any Preview mode setting aready set from before. Disable auto mode when not in use.
All modes and settings can of course be set manually without the scripts.

(https://i.postimg.cc/wMgd6t1g/VRAM1-PPM-scaled.png)

All of this is of course experimental, bleeding edge and out here for tests and feedback. As always thanks to a1ex, g3gg0, dmilligan for code and lua api.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: javchz on February 06, 2019, 03:21:44 AM
Amazing build. Trying with a 4K monitor and it's unbelievable that it's anamorphic and not native 4K. Amazing work. thanks so much
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2019, 07:18:24 AM
Great. Hopefully useful now. I tend to use 4.5k anamorphic and 48fps mostly atm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 06, 2019, 10:08:07 AM
Some quick shots from yesterday, nothing scientific, just random lighting situations,motion cadence, and sound.  There is some stabilization on a couple clips, so if you see any quick jitters, it's more than likely stabilization, the Jeep logo shot for sure has a slight bounce.  If you have any questions I'll do my best to answer.
(A majority of this footage was shot with the 2nd newest build, not the updated scripts build)
https://youtu.be/_Yh6A5sVZ64 (https://youtu.be/_Yh6A5sVZ64)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 07, 2019, 02:15:34 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Added x3 zoom mode through a set switch in the crop mode sub menu. Will work for mv1080p + the mv1080p 46/48 fps presets. Good for close ups. Stays coherent with ratio modes also set from crop rec sub menu:
(https://i.postimg.cc/R0GV4G9v/VRAM0-PPM-scaled.png)

I excluded 3x1 4k, 5k presets. Too much aliasing.
(https://i.postimg.cc/rpqFB3Bh/VRAM1-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 07, 2019, 04:28:25 PM
made some quick tests and it looks very good.
in mv1080p 44.959fps one damaged frame (16:9)

all other modes I've tested were without frame corruption.

I've tested the 2.35:1 and 16:9 presets.

the 2,5k mode is now somehow locked to 2.35:1, but I don't have to fps override to 19-20 fps anymore.

all recordings with sound and GD off (to be able to see the write speed)

did not test the 3 & 4k modes. and the new 3x-crop

5k mode without problems

Best thanks to Danne and others.



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 07, 2019, 04:43:34 PM
19 fps is for 3k 2.35:1.
2.5k is static 2.35:1 when set in sub menu otherwise not.
Corrupted frames to be expected here and there if not in 2.35:1 ratio.
Thanks for testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 08, 2019, 08:45:07 AM
You know something funny... after years, I mean YEARS of not really taking a deep dive into LUA scripting and boy as soon as I installed @Danne's latest crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb07.EOSM202 build, THEN after loading all the Modules respectfully... and BOOM!

Lord & behold I first just simply go to the LUA submenu from within ML menu, enable both sd_overclock and the ratio 2.35:1 scripting magic. Honestly, that was just so beautiful to witness the work of yours, @Danne, governing thru my camera and I totally felt your presence right there. Just like Aliens, ain't that right @70MM13?  :D

After about 10 seconds or so is when it should all be enabled automagically and thus ready to shoot w/o the need to manually enable anything on under Movie submenu from within ML's menu.. I mean WOW.. what more can you ask for from LUA? Ha.

Never seen anything as good as in ISO 3200 (even @ f2.8 which is a tad slow) and better yet in 4.5K is nothing short of absolutely ridiculous stunning images especially coming from this particular cam. Dual-ISO is indeed pretty gnarly to the very least!  8)

I've encountered something odd though (maybe you guys are already aware) but notice if one constantly goes into half shutter for to check real preview/focus while recording which then can get stuck into the real Live Preview after like 4th or 5th time (tho cropped slightly off center upward) and while it doesn't effect the footage. Well other than some of the corrupted frames -- not sure if it's related as I'll have to investigate further.

However, if you're more cautious and only use it like twice or maybe three times to check focus while recording per MLV takes which should help reduce the chances of getting stuck forcing you to turn off/on cam (Canon menu or ML menu in/out doesn't seem to do the trick for this). Just something to point out before I forget.  ::)

As far as corruption-free footage... I would say it's about 70-80% more or less corruption free for me (see video below) while only shooting in 4.5K ANAMORPHIC @ 2.35:1 in 23.98p and is probably most likely due to my SD card being close to full from earlier tests (forgot to format card).

I even went ahead and deleted a bunch of files from within File Manager in ML (good thing we have this ability just imagine while we're out on set w no computers). Anyway, just felt the need of writing this up before I pass out in bed with these thoughts without sharing.  :P



Can't wait to get my hands dirty on this tiny beast for some more in depth testings (Got few ideas of how to show which way is it cropped slightly off center per certain settings as I suspect some if not all seems to be different from one another)... Hopefully this weekend and Thank You, @Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2019, 09:01:07 AM
Thanks for kind words deafeyejedi :).
Could you check if this versions is less prone to get stuck in real time liveview?
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb08.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 09, 2019, 06:06:32 AM
If anybody cares, I've created a Facebook group dedicated to "MLV RAW ON EOS M"
https://m.facebook.com/groups/375018026655820?ref=share

Build masters and original ML pioneers get automatic admin status. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 09, 2019, 10:25:20 AM
Great @gravitatemediagroup
Put up some videos in there :).

@deafeyejedi
Didn´t see the video before but it looks really cool. No aliasing, pretty amazing. A little worried about the pink frames you are getting. I have been using the anamorphic 2.35:1 mode for a longer period and couldn´t get any corrupted images. Well maybe one or two. Really shitty issue. Would be such a relief to fix that completely.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 09, 2019, 10:55:46 AM
Quote from: Danne on February 09, 2019, 10:25:20 AM@deafeyejedi
Didn´t see the video before but it looks really cool. No aliasing, pretty amazing.
Thanks! Had to post it for others to understand where we are coming from. Heh.

Also test shot some more extremely low night scenes earlier tonight in Dual-ISO and I'm really surprised w how clean the shadows can be even when pushing the exposure level up to +3.00 or +4.00 within MLV App while pulling down the highlights w ease.

I wonder if the ISO-gain experimental builds from you is what makes it look cleaner or have I been smoking' the wrong reef? How do we go about to ISO 109? Ha.

Quote from: Danne on February 09, 2019, 10:25:20 AM
A little worried about the pink frames you are getting. I have been using the anamorphic 2.35:1 mode for a longer period and couldn´t get any corrupted images. Well maybe one or two. Really shitty issue. Would be such a relief to fix that completely.

Ya it may be shitty but again it's not exactly a deal breaker. Seems doable. Not every take has corrupted pink images. I'm hoping this could very well lead us to a pattern and eventually we'll find a way fix this.

Lemme try some more this weekend w few fast SD cards (280 Mb/s) I know I know it's a bit overkill but it wouldn't hurt, right? :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 70MM13 on February 09, 2019, 11:47:06 AM
That's some pretty ace video...  The initial closeup of the cat was stunning.
What's with this miraculous camera?  Who needs a 5d3?  :P

It's getting hard to keep up with all the progress lately!

Exciting times...  Keep up the great work everyone!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 10, 2019, 06:44:04 PM
Anybody getting vertical lines in newest or 2nd newest build or is it more user error on my part?
(https://i.ibb.co/64CdLnX/B188-ACBE-4086-4-BFC-AC28-71-D972-FAAFB3.jpg) (https://ibb.co/64CdLnX)
😂
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on February 10, 2019, 07:32:46 PM
             @DEJedi

       Nice Vid', Great Cat. Have You tried any ML on SL1/100D lately? Please post on SL1 thread.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 10, 2019, 07:43:21 PM
Quote from: gravitatemediagroup on February 10, 2019, 06:44:04 PM
Anybody getting vertical lines in newest or 2nd newest build or is it more user error on my part?
(https://i.ibb.co/64CdLnX/B188-ACBE-4086-4-BFC-AC28-71-D972-FAAFB3.jpg) (https://ibb.co/64CdLnX)
😂
I get those lines especially when overriding Danne's presets with fps=25.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2019, 08:03:55 PM
Overriding fps is problematic when statically set. What you could do if you only want to push it from 24 to 25 you can decrease reg_6014 until it reaches 25 fps.
Otherwise those lines will appear when bitrate is lowered and liveview register is compensated to increase brightness. All is done though round tripping. At least the footage comes out ok looking...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 10, 2019, 08:42:31 PM
Something to share with you guys... Here I've put together some of the shots from the wedding filming I did for my friend. It's nuts how good the video looks, I'm really happy with the result, even tho it's sometimes a little difficult to focus some of the shots.
And that slow-mo in RAW, that's a dream coming truhe, heh  :o ;D

Outstanding work Danne and others!

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


(https://i.ibb.co/Ns32t0J/EOS-M-RAW-mp4-snapshot-01-08-109.jpg) (https://i.ibb.co/Ns32t0J/EOS-M-RAW-mp4-snapshot-01-08-109.jpg)


(link to original file is in the video description if anyone wants to download)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2019, 08:58:50 PM
Thanks Joni! great stuff.
Still some pink frames to fix I see for the build to be perfect but I must say 4.5k looks very cinematic.
Thanks for sharing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2019, 09:07:23 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Liveview will show a clean 14bit preview while not recording(previewing mode). As soon as you hit record liveview change according to bitrate chosen and analog gain registers will kick in.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 10, 2019, 09:10:43 PM
Thx Danne, using this register picture looks way better - whyever. Maybe a little less noise - don't understand, maybe my test conditions are not perfect...

@Jonit: great video! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2019, 10:13:52 PM
Not sure how your footage is affected but when reg_6014 is used you change the reg directly in the preset.
I have set all presets on 2.35:1 to 24 fps as we need the speed and that's also what I use most of the time but 25 fps should be working too for most presets.
If footage has artefacts when using fps override it might be a conflict with power timing registry.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 10, 2019, 10:31:50 PM
Quote from: OlRivrRat on February 10, 2019, 07:32:46 PM
             @DEJedi

       Nice Vid', Great Cat. Have You tried any ML on SL1/100D lately? Please post on SL1 thread.

Thanks, @OlRivrRat! Will get back into SL1/100D soon.

Quote from: Jonit on February 10, 2019, 08:42:31 PM
Something to share with you guys...

Indeed, great stuff @Jonit -- pretty impressive footage especially coming from an 18-55 IS STM lens. Maybe I should pick up one? Ha.

Also If you don't mind me asking how come you chose abnormal ISO settings (i.e. 400/3200 or even 3200/400) for Dual-ISO footage?

I def gotta get my hands down w this slo-mo 3x3 binning in 47.991p which speaks volumes about this tiny cam's potential. Thanks for sharing!  :o
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2019, 10:40:12 PM
And as always. When using 48 fps turn off global draw for best performance.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 11, 2019, 08:30:22 AM
Thanks guys!

@DeafEyeJedi - regarding DualISO settings, it depends on the lighting conditions. During the day, I aim to expose for the highlights with a base iso (e.g. ISO 100) and then I choose recovery ISO a couple stops higher (in this case it would be 100/800). Let's say that I'm filming indoors where is a bright light coming form the window, but there is also an artifical lighting (like in some of the beginning shots), then I would expose for the window (ISO 400 in that specific example) and set recovery ISO to 3200 to "light up" the remaining indoor scene. It works quite nicely I would say.
Sometimes I do it the opposite way, where I film at ISO 3200 and set the recovery ISO to something like 400. I guess it works both ways.. If I'm wrong then correct me please.

And yeah, that 48fps is golden. I like the fact, that on some of the shots (with not much rapid movements), you can slow it down even further with something like Twixtor or Optical flow and not get much artifacts. Pretty neat!

-regarding the 18-55 IS STM lens, I like that lens very much. It's neat and tiny and OIS is great. But what I like the most about it are the flares it produces when shooting against direct sunlight. Beautiful greenish flares. heh  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 09:22:23 AM
Regarding 48 fps you can try shooting 50fps by decreasing reg_6014 until it reaches 50fps. I think dail down to -50 or so. It´s in the sub menu. Also test the latest build and check if it works any better regarding corruption.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 11, 2019, 10:14:45 AM
Those vertical lines were visible, but scouts honor I didn't adjust fps override.  I'll see if I can recreate the issue with newest build, but so far I haven't seen anything of it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 10:30:03 AM
Yes, reproduce. Do you have the file somewhere?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on February 11, 2019, 01:11:38 PM
Just test Dannes latest build. 1080p 24 and 48 fps are corruption free, and with nice preview , i think it's the best build i've tested. Only issue is that when fps override is on there is some vertical lines in video. But i don't think it's a big problem fore more users.
Thank you Danne for your work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 01:26:59 PM
Cool.
Again. fps override will interfere with static set fps. What fps are you aiming for? I could set a preset for another fps, let´s say 25fps in the sub menu. Or you can also use reg_6014(decrease it) to achieve higher frame rates. Of course, the higher frame rate, higher risk for corruption.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on February 11, 2019, 01:35:13 PM
Quote from: Danne on February 11, 2019, 01:26:59 PM
Cool.
Again. fps override will interfere with static set fps. What fps are you aiming for? I could set a preset for another fps, let´s say 25fps in the sub menu. Or you can also use reg_6014(decrease it) to achieve higher frame rates. Of course, the higher frame rate, higher risk for corruption.

I try to set it to 23.976  like an experiment , and saw that lines , but it's only visible in 2.35:1 aspect ratio , in particular use i think nobody will use that value on practice. So I think the last build is incredible. Eos m is now more usefull than first BMPCC .
Now i am waiting my focal reducer for eos m, and wanna try how it will work , it will be almost full frame raw camera
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 01:44:16 PM
Nice. Yeah, it´s very versatile. Be sure to check out the x3zoom which gives a really nice tele resolution at 1x1 pixel ratio. Nice to use even for 48fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 11, 2019, 03:13:59 PM
Quote from: Danne on February 11, 2019, 01:26:59 PM
Cool.
Again. fps override will interfere with static set fps. What fps are you aiming for? I could set a preset for another fps, let´s say 25fps in the sub menu. Or you can also use reg_6014(decrease it) to achieve higher frame rates. Of course, the higher frame rate, higher risk for corruption.
+1! I am looking mostly for 23.976 and 25.000 fps. If this would be possible via submenu, this would be cool for quick setup.

Quote from: Danne on February 11, 2019, 01:44:16 PM
Nice. Yeah, it´s very versatile. Be sure to check out the x3zoom which gives a really nice tele resolution at 1x1 pixel ratio. Nice to use even for 48fps.
I really like this for focusing! Unfortunately this can't work for 1x3 mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 11, 2019, 03:26:10 PM
Yeah, 24 or 30 is what I shoot most. But in this situation, tre most stable is all that matters. :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 03:29:50 PM
30 fps is probably not gonna work too good. 25fps more so.
For focusing masc? But x3zoom will also record in this mode. Are you after a tempory zoom function?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 11, 2019, 03:58:57 PM
Quote from: Danne on February 11, 2019, 03:29:50 PM
For focusing masc? But x3zoom will also record in this mode. Are you after a tempory zoom function?
My biggest problem is, that I nearly never get correct focus on my EOS M. The 3x zoom helps a lot there. Yes I know, you can record with it too... (really nice! I like how easy it is now!). In 1x3 mode focusing is nearly impossible, because the realtime preview has wrong aspect ratio and is way darker (and green), so beeing outside I really see nothing on my display. Indoor I get it here and there...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 04:34:01 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Added a 25fps switch in the sub menu:
(https://i.postimg.cc/4NwYq2JG/VRAM0-PPM-scaled.png)

Will work with following presets when 2.35:1 or 16:9 is selected:
2.5K 2520x1418
mv1080p 1736x1158
5K anamorphic


@masc 1x3 real time view is preeeetty anamorphic. Better than nothing. Fixing it is beyond my horizon atm.






Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 11, 2019, 04:42:42 PM
Oh thanks so much Danne! I'll try out this evening! :)
Yes, sure, I believe it is not easy. Maybe an idea: could it be possible to switch to "mv1080p x3" when halfshutter is pressed (when not recording) and to switch back to 1x3 when halfshutter released? Maybe doing so only if a option switch is set somewhere... just an idea... you can hit me now :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 04:52:21 PM
Yes might work. Problem for me right now it includes switching reg 800c. I don't see how to "fast" switch this register. Maybe a1ex has some ideas  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 11, 2019, 06:15:46 PM
Tested your new todays version: 14bit preview is already much better. Now I have some contrast on my screen! 25fps also works fine - so far corruption free. What a shame that exact 25fps is not possible with this reg_6014... but maybe nobody recognizes when using in projects... may I get synchronization problems when recording music videos for 3..5min? 0.005 fps is not much ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 06:27:12 PM
na, think your sync is ok.
We could probably refine this more but it will take some work...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on February 11, 2019, 10:19:44 PM
Is there some benefit to 25FPS vs 24FPS?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2019, 10:31:28 PM
Yes, you gain 1fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MrIndieJ on February 12, 2019, 12:35:28 AM
Let me just say, WOW. This camera has come a long way! Danne, I can't thank you enough for your contribution. I almost gave up on it, because of the frustrations I had with image quality and all the hassle of settings, but with this newest version (crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb11.EOSM202) I literally just installed, enabled the modules, and set the 2 presets to autorun. I am VERY new to this (hence the struggling with focusing in the videos), but these developments have given me the push that I needed.

Below is a sample of what I was able to get out of this rainy, foggy day. First two are handheld, second two are tripod. This was taken with a Canon EF 1.8f STM and the Commlite adapter. I just ran the MLV files through the MLVApp to get H.265 format MP4s.

Link - https://drive.google.com/drive/folders/1rvHN5jidLZLFvB20Mj4ptYFwk7_5L7jf
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on February 12, 2019, 01:13:08 AM
Well Big Ol Dummy Me ~
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on February 12, 2019, 03:15:56 AM
Quote from: Danne on February 11, 2019, 01:44:16 PM
Be sure to check out the x3zoom which gives a really nice tele resolution at 1x1 pixel ratio.

Does this x3 zoom turn mv1080p into moviecrop mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 12, 2019, 07:55:30 AM
Quote from: OlRivrRat on February 11, 2019, 10:19:44 PM
Is there some benefit to 25FPS vs 24FPS?
Here in germany most TVs seem to work with fps numbers x*25 and use optical flows at 50Hz, 100Hz, 200Hz, 400Hz,...
I always feel it looks smoother if the clip has 25fps than something else. 23.x and 29.x always looks a little jumpi over here. But maybe those jumps are the cinematic feeling... :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2019, 10:53:44 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Updated white level for 10bit to following:
iso 100 white level 2840
other isos white level 2890

Tested against highlight recovery sliders in Mlv App. Could probably need some more testing. It´s also arguable if analog gain regs should be pushed a little to get closer to 3000 but seems it works good as is right now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 12, 2019, 03:06:03 PM
spent some time with today's build.

mv1080 with x3zoom gives me vertical jagged lines like 3x1 modes. so i tried manually activating x5 zoom and jagged lines are gone but also it says mv1080 works only x1 zoom mode.

i never needed to change resolution and aspect ratio in the raw video menu but when i want to get continuous 2.5k 16:9 setting. if 16:9 preset in crop mode menu could be a continuous setting like 1920x1080 it would be usefull.

4.5k anamorphic title at the bottom line of the global draw is a little bit long and it causes focus distance value disappear. it appears when focus ring is turned but that's laggy and usually no use. so the title might be shorter.

and i only have corruption with mv1080 48 fps x3zoom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2019, 04:32:42 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Cool @optical-work. All fixed!
Please recheck for jagged edges. No need for x5 zoom. As Levas once pointed out reg 8000 needs to be set to 5 and jagged edges are gone. Had forgotten about that. Also shortened name on global draw and added a 16:9 x5 preset(2192x1234). Let me know how it goes...

Edit:
reuploaded a new build. Missed a line.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 12, 2019, 07:24:42 PM
Whitelevel seems to be correct now! Cool!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 12, 2019, 11:49:41 PM
jagged edges are gone and 2192x1234 is even better. but focus distance isn't still there with 1x3 mode. actually i can't really complain because you already made focusing easier but again that feature comes in very handy especially adjusting the focus for infinity using these focus rings without hard stops. @Danne

there is also another issue with dual iso. i couldn't end up with a video that doesn't flicker when dual iso is on. i tried various iso combinations with still shots and moving camera and it always flickers without any color adjustments. tested 1x3 mode and mv1080 (in which i'm well aware of having smooth videos before). i'll try again tomorrow though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 13, 2019, 05:10:37 AM
Quote from: optical-work on February 12, 2019, 11:49:41 PM
that feature comes in very handy especially adjusting the focus for infinity using these focus rings without hard stops. @Danne

i couldn't end up with a video that doesn't flicker when dual iso is on.
X3zoom for infinity focus. Are you using it as a dedicated focusing tool switching back to non crop when recording or is the x3crop used when recording?

Regarding dual iso an example file would be needed for checking what's going on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 13, 2019, 08:07:45 AM
Quote from: optical-work on February 12, 2019, 11:49:41 PM
there is also another issue with dual iso. i couldn't end up with a video that doesn't flicker when dual iso is on. i tried various iso combinations with still shots and moving camera and it always flickers without any color adjustments. tested 1x3 mode and mv1080 (in which i'm well aware of having smooth videos before). i'll try again tomorrow though.
I'm also having problem with flickering DualISO shots. It flickers ocasionaly on some shots through out the entire clip. But I noticed that on many clips there is flickering in the last second of video or so..

I will upload the file later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 13, 2019, 06:44:48 PM
@Danne - here is the MLV DualISO file that is flickering - https://mega.nz/#!6ZtH2YiD!qf_-i6sM8Mc9Lp88x80-U_g_m9chrmriQEmMAZq95wA
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: zabenoid on February 13, 2019, 07:35:26 PM
Hi! I have a problem: I'm trying to do silent-film style fps pitch, in music video. Electricity is 50hz so i need to shoot 25fps. So i need to pitch backing music and i maybe need 37 or 38 fps for that and slow it to 25, then play slowed down music to get lip sync, then pitch up the footage back to 37 or 38. (or use led lamps and shoot 16 and pitch to 24). So: i need working FPS override AND some ML version to get my camera to record faster in SD card, am i correct? I can only get to a bit over 31 fps with regular build.
Which build i need to use?
Help!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 13, 2019, 07:47:57 PM
You can start reading from here @zabenoid:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

You can get fps up to 45 in mv1080p 16:9. This means you will be able to decrease from 45 to 37 fps which makes it even better for continuous shooting. 25 fps is also working.


@Jonit
What were your settings when exporting this file? What program was used to process? Mlv App? Did you compile it yourself? Official download? You could also try sharing the file in the Mlv App thread since I suspect there is something with conversion which can cause this. Lastly. Did you try exportingthe MLV into dng files instead of exportting to mov file? If the dng files are processed ok then we could suspect either post processing sliders or something in dual iso/Mlv App code.

Edit: I exported the file and can confirm small flicker. Try exporting to dng and see if that works better...Still some micro flicker. I think if anyone can draw a good conclusion here it would be bouncyball.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 13, 2019, 08:38:13 PM
i think x3zoom has no effect on anamorphic mode but distance parameter is placed, just gone when dual iso is on. sorry, i missed that. @Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 13, 2019, 08:49:14 PM
Correct. x3 is applied to the mv1080p presets. Not really useful for anamorphic and the mv720p 50fps mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: zabenoid on February 13, 2019, 09:38:27 PM
Ok, thanks @Danne!
Now, about shutter speed, i'm confused... let's say i shoot 18 fps, so how do i get to set it to about 36, to follow 180 rule? Looks very complicated!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 13, 2019, 09:42:27 PM
I have no idea. I think though, using fps override decreasing fps is working better than increasing from my presets. Or you could increase or decrease reg_614 to adjust fps.
Maybe someone else can help further. Good luck.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on February 14, 2019, 06:54:27 PM
being comparison 2.5k 30fps and 5k anamorphic 24fps(2:35:1 on),i choosed 5k anamorphic mode fianlly,it's low noise and very nice quality that i need.thanks danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 14, 2019, 07:56:27 PM
here, two consecutive 5 seconds shots of a wall, frame is fixed, dual iso is on. i tried them with mlv app and mlvfs, both flickers.

400/800 iso: https://we.tl/t-BYPZmQ9bqC

200/800 iso: https://we.tl/t-ZSFpZKR5Bk

there is also one without dual iso if needed: https://we.tl/t-iNi04I5DFY

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 14, 2019, 08:29:29 PM
Any conclusions? Is it also happening when using base iso 100?
I´ve seen slight variations in colr/white balance causing flicker. Cannot find the post about it but I´m sure a1ex knows what´s going on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: the_real_bill_jones on February 15, 2019, 04:50:37 AM
I've been trying to shoot with the mv1080 preset in x3 crop mode, but the framing in the preview is all wrong. It's squished and doesn't show the whole frame that's being recorded. When I view the file on my computer, it's fine. Just the preview that's messed up. Is this just how it is, or am I doing something wrong? Thanks

Edit: Seems the framing in regular movie crop mode is off too. Also I'm getting focus pixels in mv1080 crop, but not in movie crop.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 15, 2019, 07:02:05 AM
Quote from: the_real_bill_jones on February 15, 2019, 04:50:37 AM
Also I'm getting focus pixels in mv1080 crop, but not in movie crop.

Which build are you using? Focus pixel fixing for Danne's bleeding edge builds is still a work in progress. Check on the Dealing with Focus Pixels in raw video (https://www.magiclantern.fm/forum/index.php?topic=16054.msg211798#msg211798) for updates. If you are using a build from the official ML downloads pages then we have a problem. Which application are you using for your MLV files?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: the_real_bill_jones on February 15, 2019, 07:12:10 AM
I'm Using MLV APP 1.5 and the Feb 13th build
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 15, 2019, 03:06:08 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

"mv1080p correct real time preview"

I´m experimenting with reconfiguring Movie crop mode back to mv1080p and it seems to be working. The positive side effect here is that we get 16:9 real time preview with correct ratio just like when filming 1080p H.264.

Select Movie crop mode:
(https://i.postimg.cc/132RHHKM/VRAM2-PPM-scaled.png)

Then select mv1080p MCM rewire 16:9:
(https://i.postimg.cc/HsSkJHcq/VRAM0-PPM-scaled.png)

At first you should get the x3 zoom but when the rewire preset is chosen it should get you back into mv1080p 23.980 fps. There should be a black border to the right to indicate you are in the right place. The border won´t affect the recording.
You can always push canon MENU button once or twice to refresh registry if things gets stuck. Restart camera if needed.

This kind of proofs the idea from dfort about Movie crop mode working properly and that it could be reconfigured back to mv1080p. Next step would be to find out what registers could be added without going through Movie crop mode to get straight into this mode without roundtrips. Creating logs with adtg_gui would be a good start.

This preset works with regular bits 14/12/10 lossless and uncompressed but will not work with bitrate changes from the Crop mode sub menu. Only 16:9 for now. Might work changing 24 or 25 fps straight in canon menu. Or even better seems to be using FPS override.

MLV file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/cat_rewired.MLV
(https://i.postimg.cc/YqTmR9Fw/Ska-rmavbild-2019-02-15-kl-16-52-51-png-500px.png)

Do not forget. These builds are bleeding edge. Test with caution and report back what´s working and not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: norek on February 15, 2019, 06:18:44 PM
Danne!

No words... incredible...  :o testing all weekend...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on February 15, 2019, 06:45:24 PM
Nice!

Does this also mean less aliasing and moiré?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 15, 2019, 07:00:59 PM
Please do tests, compare and post your results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kayman1021 on February 15, 2019, 08:28:29 PM
Apart from the center focus pixels in red and blue, i have noticed some repetetive pattern in both greens as well. Under the cat's head. Very faintly i see it in red and blue as well.

(https://i.ibb.co/vdgbgHw/cat-rewired-frame-2-deint.png) (https://ibb.co/vdgbgHw)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 15, 2019, 09:16:31 PM
Hi Danne, something is strange here when trying your todays build: using mv1080p MCM rewire preset I get a resolution of 1672x564 for 16:9... is that expected? Do I have to stretch it in height like the mv720p files? And I only get 29.973fps, not 23.x.

Edit... no... nothing to stretch. it is 1672x564 and needs no stretch. But ratio in liveview is not correct here too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 15, 2019, 09:26:29 PM
You should get 1736x976 mv1080p. Try canon menu button a few times if nothing works. Also set resolution to max under Raw video menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 15, 2019, 09:36:45 PM
Hm... max resolution is set to 5xxx pixels, pressed Menu button so often now, but nothing changes. I get only this:
(https://i.ibb.co/cFjMMXV/VRAM0.png)

Edit... AAHHH! Movie Crop Mode has to be switched ON? (see it in your screenshot now)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 15, 2019, 09:47:34 PM
Japp... that's it. Forgot to switch on Crop Mode! Looks fantastic now! ;) Great work Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 16, 2019, 06:14:14 AM
Made a pass at creating a focus pixel map file for this (https://www.magiclantern.fm/forum/index.php?topic=16054.msg212116#msg212116) but it looks like those subtle focus pixels are stubborn.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 12:06:50 PM
The sun is shining, so I was outside with the new reworked mv1080p mode. Handling is fantastic - I can focus fine now! Yay. In the green grass I saw that the bottom line is red. Maybe you know which register has to be get a little hit to make it the right color :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 12:22:20 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Great @masc. Thanks for pixelpeeping. Is version above without the bottom red line?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 01:09:12 PM
Thanks Danne. The red line is away. But did you change more? In my test clip I got so much moiree and "stair effects" at diagonal lines... way more than with yesterdays build (but don't have it anymore to compare). MLVApp 100% zoom ( f/2.8 ):

(https://i.ibb.co/KwwFnRy/Bildschirmfoto-2019-02-16-um-13-05-00.png)

Edit: compared to the "old" mv1080p mode, no stairs to see there using same settings. So something is strange with new version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 02:22:32 PM
Funky. Deleted the build. Will check into it this evening.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 02:56:17 PM
By the way. Could you test and compare like this:
In Crop mode sub menu do:
Skip_top 2
Skip_bottom -2
This is the old settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 04:03:29 PM
Yes, it is better with the change of these two variables. Extreme moiree is gone again. But I don't see the red line... find no green to film for test here.

Edit: yes... red line is back again, moiree is gone with +2, -2. It is not just moiree, there is much more noise and very red focus pixels.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 04:15:58 PM
You could test maybe +1 and -1 too? Will check over here as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 04:39:47 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

@masc, please test.
Confirmed getting sharper focus pixels and more moiré before. Why, I have no idea.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 04:43:38 PM
What's different in this build?
I tested:
+0-0: moiree and no line
+1-1: less moiree and line
+2-2: have to search moiree and line
+3-3: extreme moiree and noise and 2 lines

Maybe -1+1 is better? :D Edit: no.  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 16, 2019, 04:53:30 PM
There are some cases where the edges might show a red line or a green line or just a change in density depending on what app you use (assuming MLV App in your case).

Here's an extreme example that ACR shows but dcraw doesn't:

(https://farm8.staticflickr.com/7885/40148732653_ce4df85f1c.jpg) (https://flic.kr/p/24aNKsv)

If you pixel peep the bottom of Danne's cat picture there's also something going on:

(https://farm8.staticflickr.com/7875/47061141072_1de79cb81c.jpg) (https://flic.kr/p/2eGCDE1)

Not sure how debayering works but depending on the algorithm it seems that things can get messed up at the very edges. I pointed this out (https://www.magiclantern.fm/forum/index.php?topic=16054.msg195932#msg195932) to Dave Coffin, dcraw developer, but never got a reply from him or a clue how this could be fixed. My hunch is that solving this would also help when removing focus pixels from dual iso footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 04:59:23 PM
Tested new build... no red line, but very colorful moiree (I think more then in yesterdays build)
(https://i.ibb.co/GCYZgH8/Bildschirmfoto-2019-02-16-um-16-57-32.png)
Picture @ f2.8 (full open)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 05:02:01 PM
I have the issue right now I can´t reproduce. @masc. What are your settings? fps, iso.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 05:07:33 PM
(https://i.ibb.co/3pdWL3F/Bildschirmfoto-2019-02-16-um-17-06-41.png)
1/97... ups... hahaha
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 05:18:23 PM
From the latest upload I tested a static scene and ran:
0, 0
+1, -1
+2, -2
+3, -3
+4, -4
then:
-1, +1
+2, -2

All files were about the same regarding aliasing and focus pixels. Hmm.

Could you do a static scene with exact same settings and produce two examples which clearly shows the difference imagewise?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 05:32:09 PM
Have to do it tomorrow. It is getting dark and the best view to reproduce was outside with fences and trees. Inside I don't get moiree.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 05:52:00 PM
All I see with indoor tests is:
+5-5; +6-6: white line and a red line at the bottom
+3-3; +4-4: red line at the bottom
+1-1; +2-2; 0 0; -1+1; -2+2: no line at the bottom
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 06:21:41 PM
Yeah, the line was easy to get rid of. We need to check what else is going on.
By the way. With this applied in adtg_gui I could correct the black border to the right. Having trouble applying it in crop_rec.c though:
case 0xc0f383d4: return 0x4f0010;
case 0xc0f383dc: return 0x42401c6;

Not always sure what regs are applied and which are not going to be accepted in there...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on February 16, 2019, 06:48:44 PM
I did a quick 1 clip test of the new 1080 setting and my results were similar to the screen shot a few post up.  ISO was at 800, that's the only specific setting remember, I deleted already assuming it was something I had wrong, but I figured I'd report the issue letting you know it may be something in the build
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 07:08:37 PM
I need mlv files and test comparisons since I can't reproduce the issue. You can reproduce.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 16, 2019, 07:09:15 PM

@Danne: this was filmed this morning when testing yesterdays build (Feb15). I really loved the quality of this version. It was really hard to find some moiree... (one roof had some). Hope we get this back soon without red line, without noise & moiree! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 16, 2019, 09:23:07 PM
Here is a version which will help testing:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb16.EOSM202TEST_rewire.zip

Once all is set and rewired you can enter Crop mode sub menu and set test_rewire to "old" for the settings with the thin red line at the bottom. If set to off you get the latest settings without the thin red line. We need static test scenes for comparisons of moiré and other anomalies.

(https://i.postimg.cc/0jRY2R8H/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 17, 2019, 02:44:30 AM
Thank you Danne for your work, correct preview is wonderful.
Nevertheless, I get a strange white cross pattern in the middle of each frame and more in general all over the frame a black pattern.
(https://i.ibb.co/7QR4t3x/1.jpg) (https://ibb.co/7QR4t3x)

(https://i.ibb.co/QHgpNPT/2.jpg) (https://ibb.co/QHgpNPT)
 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 17, 2019, 03:35:34 AM
Those are focus pixels. They can be removed in post. Working on it.


Sent from my iPhone using Tapatalk
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 09:57:03 AM
Hi Danne, light is back, so I tried out your build now. But it looks not as expected:
-rewire=old: no red line
-rewire=off, -2+2=no red line
-rewire=off, +0-0/-1+1=red line
-rewire=off, +1-1/+2-2=red line + one white line
-rewire=off, +3-3/+4-4=red line + two white lines
-rewire=off, +5-5/+6-6=red line + three white lines
Moiree looks always identical (better than yesterday, but can't compare to Feb15). But I don't find stair effects.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 10:07:04 AM
Try refreshing after enabling "old" by opening canon menu and also maybe ml menu.
Tested this morning and it´s not possible to reproduce any issues. What happens is that aliasing can be produced differently but that has more to do with focus, not with ratio changes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 10:26:42 AM
Okay... got it reproduced, but not as expected. Will shorten the files and upload. Best by far is rewire=Off, -2+2. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 10:45:51 AM
The only two settings without bottom line are rewire=old and rewire=off-2+2. But in rewire=old I get stairs, hard focus pixels and more artifacts. So in this build I prefere rewire=Off, reg_skip_top=-2, reg_skip_bottom=+2.

You'll find a png with some marked areas in the frame where I looked at details and my receipt file.
https://www.dropbox.com/s/wddfxe3p7zmdsn1/RewireTestrun.zip?dl=0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 17, 2019, 11:29:08 AM
Thank you Dfort. I can get rid of focus pixels by using the debayer amaze in MLVapp, but can't use it by exporting to dng sequence. How to ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 11:32:51 AM
Set chroma smooth to 3x3.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 11:50:46 AM
@masc
Settings right now if test_rewire is set to off:
        skip_top = 84;
        skip_right = 60;
    skip_bottom = 0;


Let´s apply your optimised setting "So in this build I prefere rewire=Off, reg_skip_top=-2, reg_skip_bottom=+2.":
        skip_top = 82;
        skip_right = 60;
    skip_bottom = 2;


Only one problem. The first commit after noticing the thin red line was exactly the setting above:
https://bitbucket.org/Dannephoto/magic-lantern/commits/5cb143d56c2dcb9a16f27c5094e4f8f1ee8fb52b

Your comment to that commit:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg212152#msg212152

So, I revert back to the first commit as long as we all agree this problem is not as easy as we first thought? Any other thoughts?

Also note that when test_rewire is set to old it´s the exact lines as with the build before any thin redline fixes were applied(same as february 15th).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 12:05:46 PM
Very strange. Do we have a kind of sign error somewhere? Don't understand all this at all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 12:40:42 PM
Placebo?
Anyway. Here´s a build with your proposed settings working best:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Here is the feb 15th build compiled exactly before the thin red line fix in commit tree(compiled today and renamed):
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb15.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 17, 2019, 12:42:49 PM
Thank you, chroma smoothing works with dng out.
Danne, is there a way to save crop mode activated when booting the camera. I always have to switch it on again. Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 12:50:05 PM
Yes, you can enable it but I havn´t found a way to disable it when changing presets in crop rec once it´s enabled. In crop_rec.c put in this at the top:
#include "crop-mode-hack.h"

Then inside static int crop_rec_needs_lv_refresh(): in crop_rec.c put in following:
if (crop_preset == CROP_PRESET_mcm_mv1080_EOSM)
{
        movie_crop_hack_enable();
}


Compile.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 01:07:26 PM
Quote from: Danne on February 17, 2019, 12:40:42 PM
Placebo?
Anyway. Here´s a build with your proposed settings working best:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Here is the feb 15th build compiled exactly before the thin red line fix in commit tree(compiled today and renamed):
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb15.EOSM202.zip

No, don't think so. The "stairs" are very easy to identify at 45° edges, same for the red line. But what happened for your "rewire=old" preset? Why activates it the stairs, and -2+2 doesn't. And all this does not fit to yesterdays build. Something must be wrong.

Will test again the posted builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 17, 2019, 01:15:20 PM
Thanks Danne, I don't know to compile but I'll figure it out.
Thanks you again for this work !

One question about MLVapp, is there a way to set by default 3x3 chroma smoothing, I have to set it for each MLV file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 01:27:21 PM
@Danne:
I expect indeed a sign error somewhere. I again tested the first build after the red line (the one with the stairs). Reproduced all I saw yesterday. BUT: reg_skip_top=-4 and reg_skip_bottom=+4 looks perfect ;)
What happens for:

        skip_top = 86;
        skip_right = 60;
    skip_bottom = -2;


@jacquaviva
Activate it once for one clip, Ctrl+C (maybe activate in mask chroma smoothing only), Ctrl+A, Ctrl+V.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 01:39:10 PM
-4, +4, link or name of build used?
What's a "sign error"?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 01:45:10 PM
Build used is: crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb17.EOSM202
-4+4 looks perfect. Registers have 82 and 2 by default, you wrote

Build before:
-2+2 looked perfect. Registers were 84 and 0 by default.

So I think the math behind is not default+offset, it is default-offset. The algebraic sign (+ instead of -) should be wrong - or I am... confusing...  :P

So I would try 86 and -2 next.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 02:33:33 PM
Quote from: masc on February 17, 2019, 01:45:10 PM
Build used is: crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb17.EOSM202
-4+4 looks perfect. Registers have 82 and 2 by default, you wrote
-4+4 equals:
        skip_top = 78;
        skip_right = 60;
    skip_bottom = 6;


86 and -2 as suggested would become
        skip_top = 86;
        skip_right = 60;
    skip_bottom = -2;

And then we have a fat white border at the bottom.

We need to shave at minimum 2 at the bottom to get rid of the bottom pixels:
    skip_bottom = 2;
Since default skip_top is 72 we can safely add back what´s shaved at the bottom since we here start at:
    skip_top = 84; so decreasing to 82 will keep us at 1736x976(16:9):
        skip_top = 82;
        skip_right = 60;
    skip_bottom = 2;


I cannot reproduce the issue described so I really suggest you download my branch and get right into crop_rec.c and compile crop_rec.mo with any optimised settings you come up with. It´s easy with Compiler.app. Just get into the modules area and find this menu:
(https://i.postimg.cc/BvVHfVZ8/Ska-rmavbild-2019-02-17-kl-14-24-25-png-800px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 02:47:15 PM
Quote from: Danne on February 17, 2019, 02:33:33 PM
-4+4 equals:
        skip_top = 78;
        skip_right = 60;
    skip_bottom = 6;

...if the register screen does what we think it does...
Quote from: Danne on February 17, 2019, 02:33:33 PM
86 and -2 as suggested would become
        skip_top = 86;
        skip_right = 60;
    skip_bottom = -2;

And then we have a fat white border at the bottom.
Have you tried out? Oh man... I really don't understand what happens here.
Quote from: Danne on February 17, 2019, 02:33:33 PM
I cannot reproduce the issue described so I really suggest you download my branch and get right into crop_rec.c and compile crop_rec.mo with any optimised settings you come up with. It´s easy with Compiler.app.
What a shame it seems I am the only one getting this. Unfortunately I am here with OSX 10.9, which is not supported by your compiler app (or by brew).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 02:57:00 PM
Yes, tested.
It is not evident what to look for to me. But general tests on static scenes I cannot see anything significant and judging from that we can get different results from same builds and commits it suggests it´s a problem somewhere else.

Why isn´t compiler.app working? Can you try double clicking the main.command inside Compiler.app/Contents/?

You might wanna give the command admin rights:
chmod u=rwx main.command
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 03:08:56 PM
Brew isn't supported on OSX 10.9 (or the packages needed). So no chance for your app. It won't install anything.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 03:12:17 PM
Ok, reproduced. Wtf! Some alignment issue:
(https://i.postimg.cc/MHLfhs76/Ska-rmavbild-2019-02-17-kl-15-08-57-png-500px.png)

82, 0
(https://i.postimg.cc/yYwSjb6n/Ska-rmavbild-2019-02-17-kl-15-09-38-png-500px.png)

-4, +4
(https://i.postimg.cc/TPx5M5DD/Ska-rmavbild-2019-02-17-kl-15-09-57-png-500px.png)


82, 0
(https://i.postimg.cc/j2YSNG4J/Ska-rmavbild-2019-02-17-kl-15-12-31-png-500px.png)

-4, +4
(https://i.postimg.cc/gkd00b0C/Ska-rmavbild-2019-02-17-kl-15-12-39-png-500px.png)


Brew for 10.9?
https://coolestguidesontheplanet.com/setting-up-os-x-mavericks-and-homebrew/


EDIT:
Tested again and cannot reproduce it now. Crazy. Can´t make sense of it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 03:44:59 PM
Yes, that looks like what I see here. Best use a wideangle lens where a lot is in focus. Then search trees and hard contrast edges at 45°. Very easy to reproduce this way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 04:37:35 PM
I did a slight change and it seemed to be enough. Is this version working for your wide angle lens?
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb17.EOSM202.zip

        skip_top = 81;
        skip_right = 60;
    skip_bottom = 3;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 17, 2019, 05:30:53 PM
Tying to reproduce this w both 10mm 2.8 & 11-20mm 2.8 lenses to no avail. I don't blame you guys for this strangeness though. I'm pointing at a white wall w a fan (to show /aliasing/moire effects) and will try again w the latest build from 50 mins ago.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 06:20:57 PM
I think, first of all, we need a simple strategy to reproduce. I loaded the ISO 12233 test chart, printed with a laser printer... not perfect, but should be enough. I took EF-M 18-55 STM @ 55mm, fully open. And now you might see which picture is which setting:
(https://i.ibb.co/DYPX2K7/M17-1808-frame-1.png)
(https://i.ibb.co/Tc8ngcn/M17-1809-frame-1.png)
I think the pics look very different... see the focus pixels and the amount of moiree.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 06:31:39 PM
How does the last build perform?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 06:32:26 PM
Best guess: this must be 3x3 readout with line *and* column skipping!

Here's a test on the resolution chart (roughly this (https://www.magiclantern.fm/forum/index.php?topic=16516.0), but updated for movie crop mode, where IIRC you can't just toggle between x1 and x5 zoom freely). This test will take 2 images, one in the tested video mode and another in x5 zoom, with no absolutely camera or subject motion between them. That will reveal the exact pixel binning mode. Tested on 5D3 (iso-research branch, but should work on any recent experimental build).


-- Pixel binning test
-- Save this file as bintest.lua or similar.

--[[
Requirements:
- lua.mo (of course)
- silent.mo
- test subject: resolution chart, perfectly focused and with good light
- camera standing still (important) on a flat surface
- absolutely NO camera or subject movement during the test (important!)
--]]

menu.close()
sleep(1)
display.notify_box("Preparing...")
sleep(1)
assert(camera.mode == MODE.MOVIE)
assert(lv.running)
menu.set("Silent Picture", "Silent Mode", "Simple")
menu.set("Shoot", "Silent Picture", "Simple, DNG")
menu.set("Movie", "RAW video", "OFF")       -- just in case (no need to load mlv_rec or mlv_lite)
menu.set("Movie", "RAW video (MLV)", "OFF") -- but if you do, let's turn them off
sleep(5)

-- first test image in 1080p 3x3 (derived from Canon's crop mode)
display.notify_box("First test image...")
menu.set("Movie", "Movie crop mode", "ON")
menu.set("Movie", "Crop mode", "mv1080p MCM rewire 16:9")
sleep(1)

-- refresh LiveView
camera.gui.menu = true
sleep(1)
assert(not lv.running)
camera.gui.menu = false
sleep(1)
assert(lv.running)
sleep(2)

-- take a silent picture
key.press(KEY.HALFSHUTTER)
sleep(1)
key.press(KEY.UNPRESS_HALFSHUTTER)
sleep(5)

-- now turn off crop mode and enter x5 zoom
display.notify_box("Second test image...")
menu.set("Movie", "Crop mode", "OFF")
menu.set("Movie", "Movie crop mode", "OFF")
sleep(1)

-- refresh LiveView once again, just in case
camera.gui.menu = true
sleep(1)
assert(not lv.running)
camera.gui.menu = false
sleep(1)
assert(lv.running)


lv.zoom = 5
sleep(20) -- large delay to "fix" vertical stripes

key.press(KEY.HALFSHUTTER)
sleep(1)
key.press(KEY.UNPRESS_HALFSHUTTER)
sleep(5)

-- cleanup
menu.set("Shoot", "Silent Picture", "OFF")
lv.zoom = 1
display.notify_box("Finished.")


edit: after writing and testing this script, I've just realized it would be enough to take one test picture with our crop mode enabled (i.e. 1080p 3x3 derived from it), and another one with our crop mode disabled (i.e. 1:1 readout). In both cases, Canon's movie crop mode would be active.

BTW - if my hypothesis is true, the fix is somewhere in the CMOS registers. You are lucky - the search space is very small :D

Tweaking skip offsets will do absolutely nothing to fix the image aliasing. These offsets will specify how to interpret the raw data in post (i.e. how many border pixels to throw away). The effect of that would be only in the alignment of focus pixel maps, but that won't help with the aliasing issue in any way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 07:28:10 PM
Quote from: Danne on February 17, 2019, 06:31:39 PM
How does the last build perform?
I would say even worse... the moiree is so extreme, that you can see it in liveview already.
(https://i.ibb.co/CKX0Z00/M17-1924-frame-1.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 07:40:41 PM
@ a1ex: I tried running your script... I saw the outputs "preparing, 1st, 2nd, finished...", but where do I find the pictures? Can't find anything on my card...  :o

Edit: halfshutter for taking a silentpic? Is that correct?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 07:48:39 PM
They should be in the usual place (DCIM directory). If they don't appear, there might be some memory allocation issue. Any relevant message in the Debug tab or on the console?

If you take the pictures manually, with the silent picture module, does that work? Yes, with half-shutter.

Sorry, unable to test the script on the M. It did work on 5D3 (including the pictures).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 07:50:16 PM
Sorry... found it... too stupid. I have to load silent.mo! Will test again now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 07:51:20 PM
Ok, could you check into a1ex findings masc? Running out of time here.(Cool, saw masc already tested)

The two cmos regs I can make use of is cmos 5 and cmos 7. Both available for tweaking in Crop mode menu. They are now set to:
cmos 5 0x20
cmos 7 0x800


It is not clear to me where and how to securely reproduce this issue. Just testing now it seemed when I was first starting my cam the aliasing seemed worse but after first recording seemingly som regs settled and the next recording was better. This has to be taken with a grain of salt. No tripod used.

Any other recommended cmos regs to be used are very welcome.
Also curious on a personal note how to add these regs won´t bite in crop_rec.c:
case 0xc0f383d4: return 0x4f0010;
case 0xc0f383dc: return 0x42401c6;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 07:58:35 PM
Hm... still have problems with the script. Again no picture. Then I setup silent shoot manually - no prob - working with halfshutter and DNG availlable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 08:03:46 PM
Any relevant messages on the console (while running the script), or in the Debug menu (afterwards) ?

edit: also tested on 60D, no issues.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 08:04:54 PM
Got it. I enabled silent picture mode manually, run the script -> bingo.
Here are the files: https://www.dropbox.com/s/o3sohi4i88xhwe3/binningtest.zip?dl=0

The setup tested should be:

        skip_top = 82;
        skip_right = 60;
    skip_bottom = 2;

->the yesterdays setup "with stairs"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 08:30:34 PM
OK, tested it in QEMU directly on Danne's build. The menu.set calls for the silent picture menu failed, but all others appear to have worked. One of them was my typo.

I wonder what's up with the vertical lines in the x5 mode. This is *after* crop_rec was turned off, and LiveView refreshed by going into Canon menu and back. Maybe it still has some hooks running? I've edited the script with a minor change that should give Canon firmware sufficient time to reduce these stripes.

Mind running the test again, with the lights turned on? The images are quite underexposed.

Edit: is it just me, or was this test done in "regular" 1080p, i.e. not the one derived from Movie Crop Mode? I don't see the "horizontal" aliasing in this picture (the extreme moire just isn't there). I've assumed the right configuration for the "buggy" 1080p was with "Movie crop mode" set to "ON" and "Crop mode" set to "mv1080p MCM rewire 16:9". If this is not the case, just edit the script. Both options appear to work fine in QEMU (menu.set changes them successfully).

Or maybe you need to enter Canon menu and go back to LiveView more than once, or other kind of trickery? What exactly are you doing to enable this mode manually, without a script?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 08:53:28 PM
Correct about Movie crop mode on and then the mcm preset.
I did an exception raw.c:
/* work in progress */
        #ifdef CONFIG_EOSM
if (mv1080crop)
{
        skip_top = 84;
        skip_right = 60;
}
        #endif

Wanted it to match 1736x976(16:9).
Maybe clean out the exceptions and run clean Movie crop mode?
Will do some more checking when I have more time...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 08:59:21 PM
Updated the script and run again. https://www.dropbox.com/s/oi5y5ebntdh2rnp/binningtest2.zip?dl=0
Sorry... we're very poor here... all 4 lights were on. :D But I raised ISO, so it should look better now. Vertical stripes are still there.

One more finding: I was able to see the aliasing with magic zoom function in liveview. I then pressed somehow 2x canon menu button, enter, leave. After that all the aliasing stairs were away - using the "bad" mode. Recorded another MLV and it looked like the one with -4+4 skipping at top and bottom. Maaaaagic.

How do I enabling the mode:
- switch on camera
- activate crop_rec setup "... rewire ..."
- crop_mode = ON
- leave ML menu
- record

-> when pressing 2x menu button before recording, all is fine.
-> maybe this is why Danne was not able to reproduce?!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 09:03:34 PM
@masc: looks better, but... where's the extreme moire?!

@Danne: No need to change anything in the core code or crop_rec; I want to test the current configuration. I'm looking for a way to switch, from a Lua script, between 1080p (derived from movie crop mode) and some sort of 1:1 crop mode (either x5 zoom, or plain movie crop mode - any of these will do).

The last test images were taken in "regular" 1080p (not the one with extreme moire), and x5. Maybe you can help debugging that script? I need one image in the "extreme moire" 1080p mode, and another in some sort of 1:1 crop mode (x5 or plain movie crop mode).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 09:13:42 PM
@a1ex: when running the script, canon menu pops up before taking a picture. Maybe after that, moiree is away? Doing that manually it looks like that:
(https://i.ibb.co/xFLxxLX/test.jpg)
1. just configured
2. pressed 2x menu button (enter&leave canon menu)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 09:21:57 PM
A-ha!

So, once you enter and leave Canon menu (which you should do anyway, according to the help, so... that's what I did in the script), it's fixed?

It probably means some of the CMOS registers are not updated until you refresh the LiveView. One of these must control the column binning mode somehow (i.e. whether column skipping or binning is used). As a side note, this "feature" could be used together with IS (to shift the lens in some uncontrolled way) and used for super-resolution experiments - there, you actually *want* aliased data.

OK, then just for my own curiosity about line/column skipping - comment out the menu enter/leave stuff from the script, before the first picture, and it should take the extreme moire version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 17, 2019, 09:37:40 PM
Cool findings.
It´s not possible to enter x5 zoom when the preset is reconfigured. The camera thinks it´s in digital zoom but maybe it´s affected positive "trying" to get into x5. Anyway. Pretty sure some toggling back and forth from canon menu/ml men back and forth should settle the regs.
Will try to find time tomorrow to check scripts and findings.
Thanks again...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 09:47:31 PM
Deleted the lines for the menu in the script. First picture has "wonderful moiree", but camera won't record a second picture. Instead doing so, screen turns 9/10 white. When pressing menu 2x between the 2 shots, I get a picture... but I will "shake" the camera with that. So... I delete only the 1st menu open/close? Or wouldn't help that?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 17, 2019, 09:51:17 PM
Yes, try deleting just the first open/close. After getting the extreme moiré picture, you just need to take a plain 1:1 image. Going into menu and back will be required for disabling crop_rec, I guess.

Or, capture the 1:1 image first. Toggling video modes without crop_rec active (or before touching it) should be a bit more reliable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 17, 2019, 10:01:05 PM
Okay. Done. Here you are: https://www.dropbox.com/s/70ig9z535kixmk0/binningtest3.zip?dl=0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 17, 2019, 10:58:00 PM
i tried feb15 and feb16 builds.

feb16 build, test_rewire=off https://we.tl/t-ovOwsGOc9L

feb16 build, test rewire=on https://we.tl/t-JiMxCRBEAG

feb15 build https://we.tl/t-lJ2adcCokh

there is a 1 mm focus length difference between first two and third one happens most likely when i changed the sd card. i don't know if these are eligible but i can't see a particular aliasing issue like masc mentioned or can't reproduce it.

i worked on fresh builds.
- loaded 2.35:1 eosm lua script.
- checking the identical settings for iso, shutter speed, aperture, and white balance
- disable crop mode (and also 10bit and 2.35:1), exit ml menu
- enable movie crop mode, exit ml menu, menu button twice
- enable rewire, exit ml menu, menu button twice

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 18, 2019, 06:17:46 AM
Yes, been testing different fixes for a problem solved(read last 5-10 posts). Toggle menu button for registers to settle to avoid any issues.
Last 17th february build should be ok.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 18, 2019, 07:03:17 AM
So conclusion regarding the latest Movie crop mode round trip back to mv1080p. For it to work properly after Movie crop mode has been enabled you absolutely need to enter canon menu and go back again for regs to settle/apply. The difference could be this:

Before:
(https://i.postimg.cc/mk0q88fH/Ska-rmavbild-2019-02-18-kl-06-56-33-png-800px.png)

After:
(https://i.postimg.cc/C5ZXG9t0/Ska-rmavbild-2019-02-18-kl-06-56-26-png-800px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 18, 2019, 08:50:45 PM
Quote from: masc on February 17, 2019, 10:01:05 PM
Okay. Done. Here you are: https://www.dropbox.com/s/70ig9z535kixmk0/binningtest3.zip?dl=0

Pretty interesting binning pattern. It is, indeed, 3x3 readout with line/column skipping, i.e. using only one pixel out of 9. However, it has an additional property - every two columns are adjacent. This results in... even more moiré!

(https://a1ex.magiclantern.fm/bleeding-edge/lv-binning/binmode-3x3-rcskip-extrememoire.png)

Details: extreme-moire.html (https://a1ex.magiclantern.fm/bleeding-edge/lv-binning/extreme-moire.html)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 18, 2019, 10:03:46 PM
extreme moiré  8)
Lovely write up. Hypnotic almost.
Now, how to narrow down the properties and control them?
On a side note I know I soft bricked my eosm once before  :P but I am still intrigued if it´s even possibe to run digital zoom in mv720 mode for faster timers(48fps HDR) for instance...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 18, 2019, 11:16:19 PM
The name comes from Masc:

Quote from: masc on February 17, 2019, 07:28:10 PM
I would say even worse... the moiree is so extreme, that you can see it in liveview already.

Horizontally, I'm pretty sure the "properties" are actually the CMOS registers. I'd start by comparing CMOS configuration before pressing MENU to refresh LiveView, and after.

Caveat: adtg_gui won't work at the same time with crop_rec, so... it's going to require a bit of guesswork. Maybe print debug messages from crop_rec's cmos_hook and figure it out from there.

Digital zoom in 720p... not sure what the question is. Frame rate limits are given by resolution and pixel binning mode. So far, I wasn't able to alter them by starting from some other video mode.

720p normally works by skipping more lines (5x3 vs 3x3); that lets you reduce vertical resolution and increase the frame rate. With 1:1 crop, you are no longer able to do that (unless you use 3x1 with line skipping, which... let's just say it's not the best idea).

Theoretical readout speed on EOS M (and also 700D, 650D, 100D, M2 etc) is 32 MHz x 4 channels. In theory, it should be fast enough for 1080p48. In practice, maybe not. The 700D can do 1736x1160 (3x3) at about 43 FPS IIRC (didn't test it myself). That would be timer A = 520, B = 1431. For 48 fps, you would require B = 1282.  If you trim 150 pixels vertically, that should do the trick.

See 700D.png (https://a1ex.magiclantern.fm/bleeding-edge/lv-resolution/700D.png) and 700D-crop.png (https://a1ex.magiclantern.fm/bleeding-edge/lv-resolution/700D-crop.png) (from here (https://www.magiclantern.fm/forum/index.php?topic=19300.msg207723#msg207723)). Most of the overheads are from the hardware (some of them *might* be tweakable via ADTG registers, e.g. see this picture (https://a1ex.magiclantern.fm/bleeding-edge/1100D/1100D-lv-readout.jpg) from 1100D). There is also a software overhead of about 2.5 ms on 5D3 (https://a1ex.magiclantern.fm/bleeding-edge/lv-resolution/5D3-edmac.png); exact value may be different on other models.

The 1100D is an interesting beast - it uses CH4-6483 (https://www.photo-parts.com.ua/parts/part_profile.php?part=4899), i.e. the same 32 MHz x 4 channels interface as the early DIGIC 5 APS-C models (that's right, 1100D isn't your average DIGIC 4 cam), yet it has its sensor severely throttled in video mode, likely from ADTG configuration. Comparing ADTG/CMOS registers between 1100D and EOS M / 700D / 650D is likely to reveal the key to adjusting these timing "overheads" (or whatever they are).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on February 19, 2019, 12:32:08 AM
I could reach 1736x976 @ 50 FPS 3x3 and without problems in uncompressed RAW with maybe very few corrupted frames like 1 to 3 in 250 frames clips sometimes no corrupted frames at all.

So 700D it's capable to do 1080p @ 50 FPS that's interesting too.

Very nice work Danne, masc and a1ex; please make another mistake to Enable Vertical lines Binning in small cameras  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 12:44:59 AM
Could you share some thought reg wise on getting 50fps. i can reach 46 fps but that´s it for higher resolution 1736x976. I can do 48fps at 1648x702, check code below. Could you take a look at  these regs. More to tweak? (Below is NOT the rewired preset but another high fps preset on the eosm.)
        case 0xC0F06804: return 0x2f701d4;
        case 0xC0F0713c: return 0x33d;
case 0xC0F07150: return 0x2fa;

     /* 48 fps */
            case 0xC0F06014: return 0x4db;
case 0xC0F0600c: return 0x2170217;
case 0xC0F06008: return 0x2170217;
case 0xC0F06010: return 0x217;

case 0xC0F06824: return 0x206;
case 0xC0F06828: return 0x206;
case 0xC0F0682c: return 0x206;
case 0xC0F06830: return 0x206;


I´d be happy to achieve 48 at the same resolution(1648x702) with the rewire preset to be able to run HDR but messing with reg 6804 is a no go since Movie crop mode dominates the regs when set and then crop_rec will not be able to add anything new except for maybe cmos changes. Tried reducing height in raw.c but still corrupted frames already at 42 fps after modifying fps-engio B-timer to 1283 (A-timer 520). 48 fps the same, corruption.

Any suggestion codewise to come further are most welcome. Thinking 713c and 7150 would not hurt to get access too as well here...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 08:07:25 AM
Added Movie crop mode resolution for engio_vidmode_ok so now it will be possible to modify engio regs from crop_rec.c. Missed that little detail before. Will add capture regs later.
     engio_vidmode_ok =
             (old == 0x4540298) /* x5 zoom */ || (old == 0x42401e4) /* x3 digital zoom */ || (old == 0x4a601d4) /* 1080p */ || (old == 0x2d701d4 /* 720p */);


cmos regs can already be tweaked from inside Crop mode sub menu if one wants to play around with extreme moiré fixing.

Sidenote. Could reg 8000 have something to do with the extreme moiré setting? Noticed it will affect image when all cmos regs are set but it till not enter x3zoom. It´s correctly set to 6 here but maybe it´s not switched on before toggling canon menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 11:44:48 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

The mv1080p MCM rewire will now work as any other preset. All Crop mode sub menu options available:
bitdepth
ratios
x3crop
set 25fps
registry...

Also added a config fix from long ago. Once Movie crop mode is enabled it will stay enabled upon restart as well. Upon restart it will start in x3zoom so push canon menu button and back to set the preset fully.

No luck on higher frame rates yet. Shaving height is prone to crashing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 19, 2019, 12:11:30 PM
Hi Danne,

So now we can use the rewire preset without adding "Movie crop mode" ?
Does it mean it records like mv1080p but with the corrected preview ?

No more bugs from the previous rewire mode ? And no need to press menu button ?

Thanks again for your big work, it is really incredible...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 19, 2019, 12:16:10 PM
Quote from: jacquaviva on February 19, 2019, 12:11:30 PM
And no need to press menu button ?
->
Quote from: Danne on February 19, 2019, 11:44:48 AM
Once Movie crop mode is enabled it will stay enabled upon restart as well. Upon restart it will start in x3zoom so push canon menu button and back to set the preset fully.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 19, 2019, 12:16:40 PM
Sorry, you already awnsered in your post; I get it.
Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 19, 2019, 12:33:31 PM
Ok, so "Movie Crop Mode" has still to be set manually. x3 zoom mode works fine. When selecting 2.35:1 : is there a way to crop the top and bottom of the liveview?
In terms of 25fps I was a tiny bit more satisfied before with yesterdays build - because I got 25.000fps and with some Shutter fine tuning I got exactly 1/50.000s. Identical to my 5D2. Now we get 25.003 and 1/50.006s (tuning @ -0.23ms). Is it possible to get the exact thing when activating 25fps in submenu?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 12:41:39 PM
For preview crop in 2.35:1 I think it has to be set in RAW video menu instead of in the Crop mode menu. Havn't checked.
Fine tuning shutter. Could look into it. Maybe we could keep defaults not touching fps regs except for when set 25 fps is set in Crop mode sub menu. Then we could choose 25fps from canon menu instead as well. Also 30fps should work if set to ntsc.

I could enable Movie crop mode when selecting the preset but since we can't deselect people will wonder why all of a sudden all is wonky changing presets maybe not knowing why Movie crop mode is set. Now at least it has to be turned on for awareness.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 03:32:34 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Enables Movie crop mode when selecting mv1080p MCM rewire. Will disable Movie crop mode when changing preset to something else in Crop mode menu. Absolutely needs pushing canon MENU button and back between changes. Note that when restarting camera in mv1080p MCM rewire mode will get you right into action. Forgetting canon MENU push at this stage will surely record some of the nastiest moiré clips ever so don´t blame me  when that happens :P (please check a1ex post: Details: extreme-moire.html (https://a1ex.magiclantern.fm/bleeding-edge/lv-binning/extreme-moire.html))

- Canon fps 24, 25, 30 all works as default. If changing ratio or using set 25fps from Crop mode sub menu will instead add preset regs from crop_rec.c leaving canon fps modes.

If anyone can find a way of refreshing canon menu when changing presets please let me know. Also would be good if (cmos?) extreme moiré could be fixed without pushing canon menu etc...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 19, 2019, 04:06:34 PM
Thank, do you think a 1736x1158 rewire mode would work ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 04:10:09 PM
Might work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 19, 2019, 04:17:48 PM
This would be the perfect super 35 camera, 16:9 & 3:2 Raw.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on February 19, 2019, 08:10:28 PM
1736x976 @ 50 FPS was done in the new crop_rec for 700D, no Idea what is the registers values or FPS Timers I don't have my cam to check that.

Why not to try to port EOS M to new crop_rec  :D .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 19, 2019, 08:15:10 PM
Believe me, I tried  8). I got it partially working. Still a few extra tweaks to get it going and I will revisit it in the future.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: the_real_bill_jones on February 20, 2019, 12:22:30 AM
Still having troubles with movie crop mode. I'm using Danne's latest build.

First picture is what I see when filming in a 2.35 aspect ratio, in movie crop. Not crop rec

(https://i.ibb.co/d6fhhvS/IMG-0446.jpg) (https://ibb.co/d6fhhvS)


And this is the final image. Obviously it's cropped down to 2.35, but it's also shifted to the left slightly.

(https://i.ibb.co/mN5NZLb/Screenshot-9.png) (https://ibb.co/mN5NZLb)


So what gives? Is this just how it is? Can I fix it? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 20, 2019, 12:27:43 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fixed preview without black border(should be in perfect alignment)
- Real time preview 2.35:1 should now work with rewire mode(corrected cropmarks)

See to it that you push canon menu button when selecting and changing from mcm rewire mode. Even changing ratio requires a menu push.

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/29b1715bdd43f98b627d7eff35a0dad4523dca51
https://bitbucket.org/Dannephoto/magic-lantern/commits/0bbd0bcca72273e25666626f50807a3c593fc05e


@the_real_bill_jones
Please read at least 10-20 last posts. All has been asked and discussed already.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jacquaviva on February 20, 2019, 01:11:53 PM
This is genius.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 21, 2019, 11:21:45 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- The lua script which auto sets sd_uhs overclocking will now also open and close canon menu if mv1080p MCM rewire mode is set to settle all registers upon starting camera. Hopefully keeps extreme moiré away. So easiest set up would be to run the eosm_cine.lua script and then one is free to change to any preset, ratio, bitdepth etc and can forget about pushes here and there after restarting camera.

On a sidenote it´s actually possible to record 34 fps in H264 with the rewire mode set. Simply turn off RAW video and set FPS override to 34. That´s a few more fps than expected for H264. Going further just stops recording even before it starts. Why? I have no idea but finding out that would be something else..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 21, 2019, 01:45:28 PM
tested Danne's two last builds. no damaged frames so far
I've found that the 2.5k mode has a 28 pixel row on top in both builds
The res of this mode changed also quite a bit from the initial 2520x1304
then there is a strange haze in mv1080p MCM mode and aliasing
also noticed , when changing iso, like from 200 to 400, on eos-m screen there is a green haze or stripes
the recorded image is without the haze

please see the MLV App screenshots below

I hope this can help a little. I can provide some dngs if necessary.
Many big Thanks to Danne and others!


(https://i.ibb.co/NF8tMvZ/screen.jpg) (https://ibb.co/NF8tMvZ)

(https://i.ibb.co/2gLtw4M/screen2.jpg) (https://ibb.co/2gLtw4M)

(https://i.ibb.co/gZCMBbH/screen8.jpg) (https://ibb.co/gZCMBbH)

(https://i.ibb.co/s6L5WPt/screen9.jpg) (https://ibb.co/s6L5WPt)

(https://i.ibb.co/z7DYymQ/screen10.jpg) (https://ibb.co/z7DYymQ)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 21, 2019, 02:35:22 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959


Thanks for samples and tests @AF-OFF
- I fixed the top row for 2k 16:9 setting

Regarding the other stuff all is to be expected. Short anwer:
1 - Run the eosm_cine.lua to start off clean
2 - If changing presets push canon menu and back and also enter ml menu and back for all registers to set. This is even more important with mcm rewire mode. When working with mcm rewire mode itself it often includes pushing canon menu if you e.g change bitdepth etc.
3 - turn off 10bit or 12bit in Crop mode sub menu to record without green cast. The green cast is a result of pushing liveview brightness when running reduced bitdepths. Don´t expect continuous 14bit lossless though.
4 - Regarding aliasing and moiré. Please read through last 20 posts.

If you still can get shitty footage following above please let me know.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 21, 2019, 04:02:01 PM
thanks a lot Danne
I did the steps previously too (1 & 2 in Your post)
the row at top disappeared (2.5k 16:9)
res. in 16:9 is now 2192x1234 and with 2,35:1 2520x1072
what changed also - leaving ML menu und entering/leaving  Canon menu breaks LV. Double Enter/Leave ML menu fixes that. But not in the mv1080p MCM mode. have to restart the cam.
5k preset does not record continuous anymore. did change fps to 18, then it did. Thought it was because 14bit lossless (didn't change bit depth in crop_rec) but MLV App reports 10 bit lossless ...
and no corrupted frames in any res by now

many thanks for explanation ( point 3 & 4 )





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 21, 2019, 04:29:53 PM
Missed a word in the lua script. Maybe works better now:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb21.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 21, 2019, 06:14:18 PM
hey Danne
the new version acts now more as expected
if going to 2.5k mode and changing something, leaving ML menu and entering leaving canon menu breaks LV but entering/leaving ML menu once more fixes LV again. All other modes tested don't have this error.

tested 5k, mv1080p MCM & 2.5k & mv_1080p with the last three first with default 2,35:1 & 16:9
with exception of 5k mode 10bit lossless all other 14bit lossless

another thing to mention - as You wrote about the green cast related to 10 & 12bit modes - is this the same as when applying 3x3 chroma smoothing in MLV App makes the image greenish?
Noticed this does not happen with 14bit footage in MLV App

in 5k(10bit) and 2.5k(14bit) I can record with 18 fps continuous ( 51-52 MB/sec)

Thanks for Your work!

tried 5k in 16:9, 10bit works well @ 15fps


(https://i.ibb.co/BGVvg6P/Untitled.jpg) (https://ibb.co/BGVvg6P)





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 21, 2019, 06:46:49 PM
I only use 2.35:1 4.5k anamorpic. All modes 10bit except rewired, works 14bit lossless.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 21, 2019, 07:19:32 PM
thanks for info
Anywhere possible I'm now trying to use 14bit lossless

What I also forgot to mention is now the first recording (after power up, mode change always stops after a sec. I've tried card warmup but does not change this. usually the second or third recording goes continuous. This is in all modes I've tested, but was not like this before. hope this is useful for You Danne

Also the 5k mode can do 24fps. the speed is shown as 44-45 MB
I did not try long enough, just thought I have to reduce fps.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 21, 2019, 07:43:02 PM
I tested just now but it works as expected. You might want to format card and start with a fresh build. As stated before, continuous should be able for all presets when set to 2.35:1 and 10bit, otherwise not, except for some of the presets(mcm rewire, 2.5k etc. Might work with 16:9).
Thanks for testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 21, 2019, 08:42:47 PM
Thank Danne, will do tomorrow. Will start with clean prefs and activate modules then the script as You have mentioned.

Again thanks much for Your effort

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on February 22, 2019, 02:41:02 PM
Danne's 21. Feb build
tested
mv1080p 1736x1158 14bit lossless (pic 3)
2.5k 10bit 16:9 & 2.35:1
5k 10bit

no corrupted frames

after changing modes in 5k or 2.5k, somehow the first recording stops immediately the next is continuous, BUT not always

leaving ML menu via touchscreen and enter-leave canon menu, breaks LV in 2.5k and 5k modes (images 4 & 5) have to enter-leave ML menu to fix it 
Found that leaving ML menu by pressing Menu button, doesn't break it and changes seems to be done, recording is ok.

please look at screenshots below

what I did also understand now, when recording 14bit lossless, focus pixels can be removed in MLV App with the "Fix Focus Dots" set to on. No need for 3x3 chroma smoothing. This seems to be only good for 10-12 bit recordings.


(https://i.ibb.co/yn1MdTk/2-5k-2-35-2.jpg) (https://ibb.co/yn1MdTk)

(https://i.ibb.co/H40PDqn/2-5k-2-35.jpg) (https://ibb.co/H40PDqn)

(https://i.ibb.co/m9J6LmN/1080p.jpg) (https://ibb.co/m9J6LmN)

(https://i.ibb.co/fYTsDLW/IMG-1210.jpg) (https://ibb.co/fYTsDLW)

(https://i.ibb.co/LgJsT7y/IMG-1211.jpg) (https://ibb.co/LgJsT7y)


Thanks to Danne and Others
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 22, 2019, 07:57:03 PM
Check dfort's work and status around focus pixels.
As I see it changing modes has it's quirks. Restart if needed. Plenty registers needs changes and refreshing etc will often include pushing menu buttons.
On a sidenote. Got 1736x1158 flying in rewire mode. Will include it when I have the energy...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 22, 2019, 08:22:25 PM
Quote from: AF-OFF on February 22, 2019, 02:41:02 PM
what I did also understand now, when recording 14bit lossless, focus pixels can be removed in MLV App with the "Fix Focus Dots" set to on. No need for 3x3 chroma smoothing. This seems to be only good for 10-12 bit recordings.
After we got focus pixel maps for the new presets, there is no need for chroma smoothing. Until this, it will be the only simple way to remove them.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 22, 2019, 09:41:59 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- mv1080p MCM rewire now includes 1736x1158(3:2) this is default mode. Set ratio to 2.35:1 or 16:9 from Crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on February 23, 2019, 02:27:48 PM
Greetings. New to video and magic lantern. Thanks for Danne and the team's work on EOS M. Received EOS M today and tried shooting something with Feb22 build using dual iso. I observe tint(?) difference between each frame when using mlvapp. I wonder if this is the same issue mentioned several pages ago about flickering or it's mlvapp processing. I probably should not use dual iso for this kind of scene anyway.
Shortened mlv. https://mega.nz/#!Isw1jIDQ!Ex8lj42WVGB_r9ISw5QzMhZXozQupoYSXuQGI9YID4Q (https://mega.nz/#!Isw1jIDQ!Ex8lj42WVGB_r9ISw5QzMhZXozQupoYSXuQGI9YID4Q)
Another dumb question, how do I take picture with Danne's build? Disable the scripts?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 23, 2019, 04:36:13 PM
Testing the Feb23 build. This thing is getting better and better Danne. Thanks a lot for your work on this.
There is a one thing/bug I have noticed - when you go over 1/4500s during recording, the screen starts to flicker. Just to note that...

EDIT: I forgot to mention that it was in 1080p MCM mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 23, 2019, 05:05:10 PM
Are those a focus pixels?

I was just looking on one clip I just filmed (1/45s, f5.6, ISO100) where a portion of a frame had blown-up highlights. In MLVApp I lowered the exposure to -4EV and then I checked "Highlight reconstruction". These focus pixels (or what are they) showed up in those blown highlights.
So I thought that that may be an easy way to map them all out if they show up this nicely over blown up highlights with reconstruction turned ON.
I tried to reproduce it by using the same settings and aiming at diffused strong white light. I didn't manage to make them appear again. But then I cranked the ISO to 3200 and they showed up (probably wasn't that over-blown with ISO100).

(https://i.ibb.co/tcpSwKq/M23-1657-frame-70.png) (https://ibb.co/tcpSwKq)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 23, 2019, 05:14:54 PM
Here Is the first example where I noticed it.
So in that map I posted, the middle focus pixels (bars) are missing.

(https://i.ibb.co/52McpGG/M23-1643-mov-snapshot-00-10-476.png) (https://ibb.co/52McpGG)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 23, 2019, 09:14:35 PM
@Jonit - You are mapping out these focus pixels in MLV App? How? If this is from one of Danne's new crop_rec resolutions the code hasn't been written for it yet.

I'd like to take a look at your example to see if the map files I'm preparing will work with that image. Please upload a shortened version of your MLV file and post a link to it. Thanks!

Quote from: AF-OFF on February 22, 2019, 02:41:02 PM
what I did also understand now, when recording 14bit lossless, focus pixels can be removed in MLV App with the "Fix Focus Dots" set to on. No need for 3x3 chroma smoothing. This seems to be only good for 10-12 bit recordings.

Same comment as above -- if this is one of Danne's new crop_rec settings I'd like to check it out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 23, 2019, 11:56:35 PM
@dfort
Here is how to map this pattern:
-results are from Dannes latest build (Feb23), using "mv 1080p MCM rewire" preset
-yes, I'm using MLVApp 1.5. Just lower the exposure to -4EV and enable "Highlight reconstruction" checkbox
-it works only in 10bit (maybe 12bit also - I haven't checked that)

Here are the short example MLVs: https://mega.nz/#!DB9nTIwS!bPMcXWlVzdO8n8ciaoETrjkeQBcVyXYUVtEfdnbWOa4

@Danne
-this may be maybe of interest to you. I found out that when the aspect ratio in Crop mode sub menu is set to OFF (which means that it is in 3:2 aspect ratio), then there is an empty portion on the bottom of the image which don't contain these focus pixels.


(https://i.ibb.co/4sX22B0/Aspect-ratio-2-35.png) (https://ibb.co/4sX22B0)

(https://i.ibb.co/Lz8tKHB/Aspect-ratio-16-9.png) (https://ibb.co/Lz8tKHB)

(https://i.ibb.co/xLZWMHq/Aspect-ratio-OFF.png) (https://ibb.co/xLZWMHq)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on February 24, 2019, 12:47:53 AM
Quote from: rev787 on February 23, 2019, 02:27:48 PM
Received EOS M today and tried shooting something with Feb22 build using dual iso. I observe tint(?) difference between each frame when using mlvapp.

i'm not certain but 14bit lossless and 12-14 uncompressed flicker less than other options, if any. so mv1080 14bit lossless might be the best choice for continuous dual iso. (mcm mode looked same to me, i didn't try much though.)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 24, 2019, 01:55:12 AM
@Jonit - I'd recommend skimming through the Dealing with Focus Pixels in raw video (https://www.magiclantern.fm/forum/index.php?topic=16054.0) topic. Yes, there will be areas where there are no focus pixels, some settings they seem to disappear only to come back with a vengeance on your next shot. Two of the three samples you uploaded aren't working with my latest focus pixel map files so I've got some more work to do on this. Once we get all of these new settings mapped out it will be time to figure out how to code these patterns so they can be integrated in the various MLV processing apps. After that, it will just be a matter of keeping the "Fix Focus Dots" option enabled and you'll never have to worry about focus pixels again -- well that's the goal.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 24, 2019, 10:48:04 AM
@Jonit: funny, that really works - overexposing by far, and then EV=-4, Highlight Reconstruction = on. You can see the focus pixels.
@Jonit: this does only work, when leaving Focus Pixel Fix enabled. When switching it Off, those pink dots are away.

@dfort: I also recorded some frames, one clip overexposed (@10bit), another with normal exposure (@14bit) using Danne's rewire preset @ 1736x1158. I uploaded the clips with an receipt, so you can see them good in MLVApp. Does this help? It seems there are different types of focus pixels - some are very good to see (white, center), others not so good to see (dark grey, everywhere). The dark ones are good visible in the overexposed clip, processed like Jonit did.

(https://i.ibb.co/3Wmcvnk/M24-1023-frame-1.png)
https://www.dropbox.com/s/beswhuzkoin7axr/FocusPixelEosM_Rewire.zip?dl=0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alpicat on February 24, 2019, 01:39:42 PM
@masc just to check, when you're exporting the video (or png file) from MLVapp, are you disabling "Fix focus dots"? If you leave that setting on, as it is by default, I find that additional focus pixels which are really difficult to see show up, and they're not there if turned the setting is turned off. However I did not test this extensively at all and haven't tried with the very latest version of the MCM rewire preset, so don't know if that's still happening.

In any case, in order to get an accurate understanding of where the focus pixels are, I guess it's best to turn off the fix focus dots setting and any other fixes such as chroma smoothing that might intefere with the results in MLVapp?


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 24, 2019, 02:07:58 PM
@alpicat: thanks... I must have been drunken. :D The focus pixel option was still enabled - this brought "the wrong focus pixels" into the frames instead of killing them. Corrected my post, my upload and the picture. Only the white dots are visible now.

@Danne, bouncyball and dfort: will it be possible to recognize if we have a standard mv1080p MLV or an mv1080p-rewire MLV? These two formats look identical but need different focus pixels maps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alpicat on February 24, 2019, 02:54:41 PM
@masc brilliant, glad to hear it worked. I thought I was going crazy when I was seeing those extra focus pixels - it didn't make any sense!
To make the focus pixels really show up, I load the png exported from mlvapp into photoshop and adjust saturation and several other settings, and then they become really distinct.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2019, 07:34:13 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Advised to download this version and replace with whatever you use now
- Fix for extreme moiré when recording with mcm rewired preset(forgetting canon menu button for instance)

So no need for menu pushes for the rewired mode. Major finding from Levas:
https://www.magiclantern.fm/forum/index.php?topic=16516.msg212472#msg212472
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 24, 2019, 07:51:50 PM
Findings:
- as long as I use MCM rewire normal -> great! :)
- after switching camera on, it looks like I am in a zoom mode, but I am not (I haven't chosen). Resolution is 1800x1012. 2x canon menu button, all is fine.
- if I use it with x3 option -> need again canon menu enter/leave; resolution is 1624x914, not 1736x976.
- going back to non x3 (normal zoom) again -> needs again canon menu
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2019, 08:36:35 PM
Thanks for feedback. Needed.
Try running the cinema script as a starting point. I think you´re resolution needs expanded to max, that´s why you get 1624x914. Or if not maybe a menu push is all it takes. The only thing that actually was fixed was the extreme moiré issue. That should not appear anymore. We still need canon menu push for when changing presets in MCM mode.

The resolution are as follows atm:
mv1080p MCM rewire
default 1736x1158 in x3crop 1624x1080
2.35:1 1736x738 in x3crop 1800x766
16:9    1736x976 in x3crop 1800x1012
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 24, 2019, 08:48:44 PM
Hu... okay. I had no sub menu option chosen (all off). Resolution in RAW Video menu is at 5xxx option.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2019, 08:59:10 PM
Hard to know exactly what to look for. If presets works after a few pushes I think all is as expected. Or else try to explain what to reproduce exactly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 24, 2019, 09:14:04 PM
I think I know what happens:
- I used in RAW Video 5xxx resolution and 16:9.
-> in x3 crop this makes 1624x914 -> I should set it in RAW Video to 3:2 and set 16:9 from crop menu
- somehow it seems the standard is x3 zoom mode. So it was always hard to come out there to get normal mode...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2019, 09:20:11 PM
I should recommend run the cinema lua script as starting point. It sets to 1:2 in RAW menu and you also end up in anamorphic mode. Then I would leave RAW video alone and only use settings in Crop mode sub menu and start build from there. It´s part of the round trip journey.
Quote- somehow it seems the standard is x3 zoom mode. So it was always hard to come out there to get normal mode...
Can´t really follow you. But yes, rewire MC mode is a totally different beast from the other crop_rec presets. Getting back to the other presets is a bit harder than usual.
If I knew more c-code I would put it in either as a menu option in Movie crop mode or have it as default when starting up my eosm and selecting RAW video.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 24, 2019, 09:53:39 PM
Quote from: alpicat on February 24, 2019, 01:39:42 PM
@masc just to check, when you're exporting the video (or png file) from MLVapp, are you disabling "Fix focus dots"? If you leave that setting on, as it is by default, I find that additional focus pixels which are really difficult to see show up, and they're not there if turned the setting is turned off.

Thanks for pointing that out. Yes, you're right. It was "Fix focus dots" which was causing those pixels.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 25, 2019, 01:03:45 AM
Maybe this will clear up some of the confusion over what is happening with the focus pixels on these new resolutions:

https://www.magiclantern.fm/forum/index.php?topic=16054.msg212529#msg212529

Then again maybe it just adds to the confusion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 10:11:52 AM
Great work @dfort! That works so good also in MLVApp. Now MCM rewire looks really nice for me (and hopefully many others).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 10:18:58 AM
Cool. So Mlv app updated for mcm mode now?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 10:29:43 AM
Not directly. Download 80000331_1872x1190.fpm from dfort's repos and copy it next to executable (.exe on Win, on OSX executable inside app package). MLVApp will recognize this file and use it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jonit on February 25, 2019, 10:38:36 AM
Outstanding work dfort! I have such a deep appreciation for this community. You guys are doing great job here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 11:10:44 AM
Nice masc. I wonder if we can add one pixel map for both x3zoom and mcm rewired in the same context that would work with both setups.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 12:51:16 PM
I don't know why, but the focus pixel map from dfort only works for full (uncropped) MCM rewire clips. So 3:2 works, but e.g. 16:9 doesn't. It looks like there is an wrong offset somewhere (when pixel peeping). Until now I thought, if you have the map for maximal resolution of a preset, it works also for cropped clips. (not zoomed)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 01:22:34 PM
Is this working with 16:9 and 2.35:1 when it comes to focus pixels in Mlv App?
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 02:15:00 PM
Just tested my change and it worked when changing reg 6804 to the same as for the 3:2 preset:
0x4a601e4
So if we now the 0x4a601e4 is working then we can work from this one aand calculate any new offset from that when following the rest of the presets? There are also this for x3zoom in my crop_rec.c:
0x45601e4

For 16:9 and 2.35:1 I have this:
0x42401e4 but will change to working 0x4a601e4

0x4a601e4 = 1736x1190
0x45601e4 = 1736x1110


Maybe should have a talk with the "dotman" dfort...

Edit: 0x45601e4 seems to work with x3zoom...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 08:46:05 PM
Did a quick test without any crop submenu setting and with 16:9. Both was working with the focus pixel map. Yay. :)

Edit: 2.35:1 at 3x3 working too. At x3 zoom, it is working for 1800x1012 (in two of three clips, must test where the difference is, maybe just forgot the menu buttons), for 1800x766 too, but not for 1624x1080.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 09:55:16 PM
Quote from: masc on February 25, 2019, 08:46:05 PM
...but not for 1624x1080.

I do some trickery to differ this mode to get around some of a1ex black level autodetection code in raw.c. I knew it would bite me sooner or later. I´ll see if I can do something else here(c-noob):
          case 0xC0F06804: return 0x45601e5);

    /* needed for autodetecting black level in mlv_lite.c */
        case 0xc0f06800: return 0x10011;



EDIT:
Ok, let´s try this one. Should work better:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 10:11:24 PM
Quote from: Danne on February 25, 2019, 09:55:16 PM
Ok, let´s try this one. Should work better:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202.zip
Hmm... really? This build is able to toggle my LED. Camera not booting.  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 10:14:08 PM
Happens to me sometimes. Check an extra round if you extracted all ml files onto your card. Or do a battery pull  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 10:14:57 PM
All done. Downloaded, installed, battery pulled... all 2x.  :-[
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 10:17:57 PM
Strange. I just downloaded and ran it on my camera. Hm, older build working? Cam starting without ML on it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 25, 2019, 10:22:15 PM
Reverted to an older build. Worked. Installed again. Working now. WTF.

Tested all 6 MCM rewire combinations between AR and x3 zoom: all working with dfort's focus pixel file. GREAT!

Positive side effect with MCM rewire: AUTO-ISO is working really good here. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2019, 10:25:00 PM
Great! Mcm touching prop regs. Seems stable enough though. One really have to abuse some code watch guards to soft brick. Believe me, been there. A1ex fixed it in half an hour though  :P.
Autoiso. Gotta test. Never used it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MADagain on February 26, 2019, 02:42:35 AM
Is there a stable build for the EOS M?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 26, 2019, 04:22:55 AM
Quote from: Danne on February 25, 2019, 10:25:00 PM
Great! Mcm touching prop regs. Seems stable enough though.

Agreed. Been playing with this all afternoon and so far I've been impressed. Still trying to push it's limits.

Quote from: Danne on February 25, 2019, 10:25:00 PM
Autoiso. Gotta test. Never used it.

Same here. Just tried and I can see what @masc is referring to... especially when utilizing the EF-M 18-55 STM. That lens is a fun toy to play with. So light!

Quote from: MADagain on February 26, 2019, 02:42:35 AM
Is there a stable build for the EOS M?

Why don't you just give a try at least with today's build from @Danne's bitbucket page?  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 26, 2019, 06:26:47 AM
Quote from: Danne on February 25, 2019, 02:15:00 PM
Maybe should have a talk with the "dotman" dfort...

I just finished going through all the sample files I could find for the EOSM and it looks like there's "only" a half-dozen of these new crop_rec settings that aren't quite working 100% yet with the new map files. I've been pushing to the repository so if you want to give it a try (in MLVFS) please do so.

Off topic: The 100D tests are 100% at this point.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 26, 2019, 07:08:40 AM
Great!
By the way. Is it possible to do the same kind of testing but from Mlv App instead?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 26, 2019, 07:45:00 AM
Not sure. Look in in MLV-App-master/src/mlv/llrawproc/pixelproc.c around line 318 and you'll see there's code there to use ".fpm" files but I'm not sure how it works. The plan is to re-write the code to create the map files as needed for these new crop_rec settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 26, 2019, 08:05:15 AM
Quote from: Danne on February 26, 2019, 07:08:40 AM
Is it possible to do the same kind of testing but from Mlv App instead?
This is what I do.

Quote from: dfort on February 26, 2019, 07:45:00 AM
Not sure. Look in in MLV-App-master/src/mlv/llrawproc/pixelproc.c around line 318 and you'll see there's code there to use ".fpm" files but I'm not sure how it works.
MLVApp searchs for fpm files first. If it doesn't find one, it uses internal code. If it finds a fpm file, it uses the file. So just copy your fpm next to the executable (.exe on Win, executable inside App package on OSX) and have fun. This will override internal code for this setting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 26, 2019, 08:11:05 AM
Quote from: masc on February 26, 2019, 08:05:15 AM
This is what I do.
MLVApp searchs for fpm files first. If it doesn't find one, it uses internal code. If it finds a fpm file, it uses the file. So just copy your fpm next to the executable (.exe on Win, executable inside App package on OSX) and have fun. This will override internal code for this setting.
Bloody ace! Great to hear and have.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on February 26, 2019, 12:49:17 PM
Quote from: dfort on February 26, 2019, 06:26:47 AM
The 100D tests are 100% at this point.

Dfort,

I did test quite extensively your FP maps from February 20-th on the 100D and also performed several stress tests in all modes as you requested.  Did not find any problems with them.  They all seem to work quite well with MLVFS. 

I will do more tests with the latest reworked FP maps that you posted yesterday.  But this will take some time.  Please be patient.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 26, 2019, 05:38:24 PM
Ok--all sample MLV's are working with the latest map files. Feel free to continue testing focus pixel free. Well, at least until you come up with yet another setting that needs attention.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uy scuti on February 26, 2019, 07:15:05 PM
Friends, tell me who knows, I can not set a long exposure at 25 fps, 1/60, it can be done but only at 25,002 fps, what am I doing wrong?
shooting mode:mv1080p 1736x1158
Sorry for my English
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 26, 2019, 09:29:32 PM
 Ah, handcrafted map files. Appreciated. Will run tests soon. Thanks.
Here are test files if anyone wants to have a look:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/focus_pixel_MLV_all_presets_eosm.zip

There could be one or three files not working since I changed offsets a few times. Most files should work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 27, 2019, 01:13:41 AM
The only one that still has a problem is 01_anamorphic. Strange, worked on that one and thought I had it. The map file fits perfectly so something weird is going on.

(https://farm8.staticflickr.com/7867/33347561898_4eb84dde85.jpg) (https://flic.kr/p/SNNYkL)

[EDIT] Just tried it with with dcraw and the map file is working perfectly. Anyone care to try it out? From Danne's samples in the focus_pixel_MLV_all_presets_eosm.zip package located on his Bitbucket downloads page (https://bitbucket.org/Dannephoto/magic-lantern/downloads) look in the first_batch folder and run this on the 01_anamorphic.MLV file:

mlv_dump --dng --no-fixfp 01_anamorphic.MLV file
./mlv2badpixels.sh -v 01_anamorphic.MLV
dcraw -T -P EOSM_anamorphic_1664x2126.txt 01_anamorphic_000000.dng


The mlv2badpixels.sh script is located in the ML Focus Pixels repository (https://bitbucket.org/daniel_fort/ml-focus-pixels) in the scripts_archive directory. It takes the full raw buffer map file and trims it to the same size as the image so it can be run through dcraw. Note that I modified that old script to recognize the new crop_rec settings as best as possible using what we know about raw buffer dimensions.

In any case, why isn't this map file working in MLVFS and MLV App?

[EDIT 2] Oops -- my mistake. I must have not updated the focus pixel map file in the apps before testing. All good, all settings are now focus pixel free. You can still try the dcraw exercise, interesting how different apps can use these map files.

BTW--Kudos for the MLV App developers for supporting .fpm files and properly handling 1x3 sampling.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on February 27, 2019, 02:58:51 AM
Going through all these new crop_rec settings for the EOSM there is one really interesting setting @theBilalFakhouri put into his 700D version that uses the entire sensor area as the full raw buffer. I made a fpm file for this setting though I haven't seen a sample on the EOSM yet. This post (https://www.magiclantern.fm/forum/index.php?topic=5240.msg212604#msg212604) just jogged my memory about that setting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MADagain on February 27, 2019, 04:27:50 AM
Quote from: DeafEyeJedi on February 26, 2019, 04:22:55 AM

Why don't you just give a try at least with today's build from @Danne's bitbucket page?  :P

Link... please?

I tried the current nightly and for what I need like magic focus or the overlays... don't seem to work at all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on February 27, 2019, 06:56:36 AM
Quote from: MADagain on February 27, 2019, 04:27:50 AM
Link... please?

Perhaps try scrolling up two post above yours.

and please bookmark his Bitbucket downloads page (https://bitbucket.org/Dannephoto/magic-lantern/downloads) while you're at it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 27, 2019, 07:50:10 AM
@dfort
Very nice work dfort. Tested my files regarding focus pixels and all seemingly worked. Next up some real life testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on February 27, 2019, 08:04:25 AM
Quote from: MADagain on February 27, 2019, 04:27:50 AM
Link... please?

I tried the current nightly and for what I need like magic focus or the overlays... don't seem to work at all.
In version from Danne magic focus and overlays work fine. I use them every day.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on February 28, 2019, 05:11:25 PM
Quote from: uy scuti on February 26, 2019, 07:15:05 PM
Friends, tell me who knows, I can not set a long exposure at 25 fps, 1/60, it can be done but only at 25,002 fps, what am I doing wrong?
shooting mode:mv1080p 1736x1158
Sorry for my English

Build used?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 28, 2019, 06:21:37 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Managed to eliminate a few stubborn hot/cold pixels on my screen by tweaking cmos 4.
/* all presets */
if (is_EOSM)
{
/* hot/cold pixels. Usually 0x2. 0x34 to be tested */
        cmos_new[4] = 0x34;
}


Not sure how this will affect other eosm cameras but please test and see. The change is applied to all presets. If you have hot/cold pixels on your screen they might dissappear now. If you don´t have them check so nothing breaks the recording(should be safe).

cmos 4 0x2
(https://i.postimg.cc/mkL7H47f/Screenshot-2019-02-28-at-17-38-09-png-800px.png)

My three hot friends.
(https://i.postimg.cc/44P6TKTJ/Screenshot-2019-02-28-at-17-38-45-png-800px.png)

Not easy to see but looks like this:
(https://i.postimg.cc/Vvm20J7f/Screenshot-2019-02-28-at-17-50-31-png-500px.png)

After the change to cmos4 was applied:
cmos 4 0x34
(https://i.postimg.cc/YC5gxYQx/Screenshot-2019-02-28-at-17-39-16-png-800px.png)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uy scuti on February 28, 2019, 06:36:56 PM
Quote from: Walter Schulz on February 28, 2019, 05:11:25 PM
Build used?
Used build Danne:
EOS M ML Build 4K Crop Rec 1x3 12th Feb
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on February 28, 2019, 09:37:43 PM
Quote from: masc on February 25, 2019, 10:29:43 AM
Not directly. Download 80000331_1872x1190.fpm from dfort's repos and copy it next to executable (.exe on Win, on OSX executable inside app package). MLVApp will recognize this file and use it.

Hi everyone,
just received the eos M last weekend - and spent already countless hours here reading through the stuff :) You are doing such great work. Thanks a hundred times to everybody contributing so far!

My question is:
I downloaded the 80000331_1872x1190.fpm from dforts bitbucked, placed the file next to the exe. Now whenever I open up a 1080p MCM rewire clip, the video in MLV app stays black, as soon as I hit play it crashes.
Other crop modes are not affected - so it seems to me map file is recognized, but something is going wrong then. Am  doing something ovious wrong?  Used Dannes latest build, but it`s the same with the other ones that I already tried.

Thanks for any hints.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 01, 2019, 12:21:14 AM
Could you upload a sample MLV that you can confirm is crashing also after you shorten it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on March 01, 2019, 02:24:58 AM
This reminds me, a few (or is it just one) of the samples will trigger a segfault on mlv_dump when creating dng files with or without the --no-fixfp option. Same file works fine on MLV App and MLVFS. Got to dig through the files to find the trouble file.

[EDIT] Here are the problem files:

MLV Dumper
-----------------

Mode of operation:
   - Input MLV file: '013_4K 4038x2558.MLV'
   - Using output path '013_4K 4038x2558_' for DNGs
   - Convert to DNG frames
   - Output into '013_4K 4038x2558_'
File 013_4K 4038x2558.MLV opened
File 013_4K 4038x2558.M00 not existing.
Processing...
Segmentation fault: 11

MLV Dumper
-----------------

Mode of operation:
   - Input MLV file: '015_4K 4038x2558_169.MLV'
   - Using output path '015_4K 4038x2558_169_' for DNGs
   - Convert to DNG frames
   - Output into '015_4K 4038x2558_169_'
File 015_4K 4038x2558_169.MLV opened
File 015_4K 4038x2558_169.M00 not existing.
Processing...
Segmentation fault: 11


I also wrote a post (https://www.magiclantern.fm/forum/index.php?topic=16054.msg212690#msg212690) on how to get rid of your hot pixel "friends" in post -- by modifying the focus pixel map file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 01, 2019, 08:08:45 AM
@Larouso: I tried to reproduce, also on windows. But here it works fine for my MCM rewire testclip and this fpm file. So I need your MLV file (maybe shortend is enough, please try) to debug. Maybe some more info would be nice to have too (which windows, which MLVApp version (32bit, 64bit, v?.?).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on March 01, 2019, 06:49:16 PM
I uploaded short MLV file that does not work on my site as long as I have the map file placed in the same folder as the exe. If I relocate the map file the mlv is opened up just fine.
https://ln.sync.com/dl/6f7dff240/wf93hqtf-xde3ktj4-p8enfdfb-4737m5qh
(hope sharing the mlv in that way is all right) - 12.4 MB

I`m using win 10, MLV 1.5; 64 bit version (MLV.App.v1.5.Win64.static.zip)
Let me know if I can provide any further info.

Thanks a lot for looking into it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on March 01, 2019, 08:55:49 PM
@Larouso - Your file works fine over here and the focus pixel map file is also working. MLV.App.v1.5.OSX.zip on macOS Mojave 10.14.3.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 02, 2019, 10:24:42 AM
@Larouso: thanks for the file. No problem on OSX here (10.9). Have to wait some days until I can test on a windows system. Have you tried 32bit build? Does it crash too, if you do the same? I tried with one of my files on 32bit windows version yesterday and it worked fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on March 02, 2019, 10:53:54 AM
MLV App 1.5 vs MLV App compiled (Mojave 10.14.3) on 3/2/2019 shows @dfort's magic w his latest focus pixel map files FTWAC...



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on March 02, 2019, 02:00:08 PM
Quote from: masc on March 02, 2019, 10:24:42 AM
@Larouso: thanks for the file. No problem on OSX here (10.9). Have to wait some days until I can test on a windows system. Have you tried 32bit build? Does it crash too, if you do the same? I tried with one of my files on 32bit windows version yesterday and it worked fine.

@masc/dfort:
Alright, then it seems the problem is on my PC - or in front of the PC :) ... thanks for looking into it anyway!
I will also check out the 32 BIt Version as well and give feedback.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 02, 2019, 03:43:38 PM
Quote from: Larouso on March 02, 2019, 02:00:08 PM
@masc/dfort:
Alright, then it seems the problem is on my PC - or in front of the PC :) ...
:) Don't think so. No matter what you do - MLVApp should not crash. Especially on Windows we have the biggest problem. For every smallest bug in MLVApp, on Windows it crashs, on OSX it is more tolerant.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on March 02, 2019, 09:59:20 PM
Quote from: masc on March 02, 2019, 03:43:38 PM
:) Don't think so. No matter what you do - MLVApp should not crash. Especially on Windows we have the biggest problem. For every smallest bug in MLVApp, on Windows it crashs, on OSX it is more tolerant.

In fact it works under the latest (v1.5) 32bit version of MLV App. I can load the file, edit it, export it, go frame by frame... how ever occasionally also MLV 32 bit crashes if I hit play.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tcannon on March 03, 2019, 04:37:02 PM
I'm not sure where to look for my answer but it has been without success. Is there a way to get the 60fps with 1080p video quality? I realize native in the camera it is only with 720p that this can be done, but I wonder how, if possible, to change the settings with ML to achieve the higher quality?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on March 03, 2019, 10:16:08 PM
Hi everyone , finaly get my speedbooster for eos-m , and shoot with it , and one of the latest buid https://www.youtube.com/watch?v=Az63zZQpoeI , everything is filmed on iso 800 , 48fps preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 03, 2019, 10:45:01 PM
Lovely colors and motion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 03, 2019, 11:49:18 PM
just tested Danne's march 03 build.
have some broken frames in 2.5k and mv1080p MCM modes.
also all 2.5k clips have the right side of the frame damaged.
please see first screenshot below

also tested the feb 28 build before, where the MCM mode with 3x crop was without damage . couldn't activate the 2.5k mode. see further down more about it. this did eventually work again after changing from MCM preset back to 2,5k preset.  clean 2.5k recording

Many thanks to Danne and others!


(https://i.ibb.co/JcvfyzR/eos-M-2-5k.jpg) (https://ibb.co/JcvfyzR)


using the feb 28 build, if 2.5k preset is active, a 1800x1200 x3 gives a nice clean image, see next MLV app screenshot. didn't noticed that res before. couldn't increase the res further.
the mcm preset records also well without damage at 1624x1080 and 12bit lossless


(https://i.ibb.co/6vL00rh/eos-M-1800x1200.jpg) (https://ibb.co/6vL00rh)
 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 04, 2019, 07:01:27 AM
I can´t reproduce your issues. in feb28th build I changed cmos4 so if anything should affect footage it could be that but then again you say that it works.
When checking your 2.5k screenshot it says 17fps? What´s up with that? If you changed fps override it might be the reason to your issues. You could have better luck increasing reg_6014 in the crop mode sub menu.
I recently also added adtg_gui into this build since I use it a lot and don´t want to add it after compilation etc. This module should not be turned on if not using it. Just a tip.
Thanks, and I would gladly hear about more test results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 04, 2019, 08:48:59 AM
Quote from: Larouso on March 02, 2019, 09:59:20 PM
In fact it works under the latest (v1.5) 32bit version of MLV App. I can load the file, edit it, export it, go frame by frame... how ever occasionally also MLV 32 bit crashes if I hit play.
I tested with both windows versions here, but unfortunately I can't reproduce some errors. Works as it should without crash.  :o
If you like to help the project getting better, you could install Qt and start the debugger. The debugger will tell (hopefully) at which line the program crashes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 04, 2019, 04:15:37 PM
Quote from: Danne on March 04, 2019, 07:01:27 AM
I can´t reproduce your issues. in feb28th build I changed cmos4 so if anything should affect footage it could be that but then again you say that it works.
When checking your 2.5k screenshot it says 17fps? What´s up with that? If you changed fps override it might be the reason to your issues. You could have better luck increasing reg_6014 in the crop mode sub menu.
I recently also added adtg_gui into this build since I use it a lot and don´t want to add it after compilation etc. This module should not be turned on if not using it. Just a tip.
Thanks, and I would gladly hear about more test results.
thanks Danne, Yes I did have had the adtg_gui module loaded (in both versions) &
did reduce fps to 17 to record continuously
just loaded the march04 build. did load the modules crop-rec, lua, mlv-lite, mlv-snd & sd-uhs
did set sd overclock script to autoload, enabled raw video and activated the crop rec preset 2.5k, restarted camera.
2.5k preset active, raw video shows 1920x1080, changed to 2520x1418. in crop mode changed bitdepth to 12bpp. restarted camera again. could not get more than 2-3 secs clips. changed preset bit depth to 10bpp, again did restart cam. no more than two seconds clips again. in raw video reduced to 1920x1280. recording ok. increased to 2240x1418. got some more frames, but not continuous.
Checking the clips in mlv app - everything looks fine ,and the two modes run continuously (round about 50MB/s) 1920x1080 14bpp lossless & 1920x1280 10 and 12bpp lossless.
Tried to go with 2520x1418 and 10,12 & 14bpp lossless but reduced framerate.
set the above res and changed to 18fps, restarted cam
did record with 10bpp, as usual the first 2 clips were 1-2 secs, but the next went continuously. changed mode in crop rec q submenu to 12bpp, restarted cam
but no longer recording possible so changed fps to 15 fps and did a restart.
now the first recording at 15 fps went continuous (...50 MB/sec)
changed the bitdepth in crop rec submenu to OFF, did restart cam,
on second attempt achieved continuos at 2,5k 14bpp and 15.017 fps
now , loaded the clips in mlv app and all clips were ok. no corrupted frames in ca 600 frames per recording.
summary 10bpp ok with 18fps (50MB), 12bpp (52MB) and 14bpp (55MB) at 15fps

will check the other presets soon
noticed nice moire regardless of bit depth.









Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 04, 2019, 04:21:00 PM
I see you have some testing going on so keep on to find something that´s useful for you. You probably already know about the eosm_cine.lua script which sets all parameters for continuous 2.35:1 recordings which should work for all presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alzubi on March 04, 2019, 07:00:11 PM
Hey thanks for all the great work Danne and everyone else! I usually just lurk but had a question about external monitor use, I want to use my external monitor with the 5k anamorphic cine script. The only problem being that when I plug my monitor in the preview switches from framing which i prefer to live view which i dont want to use. Is there anyway to keep preview on framing when using an external monitor?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 05, 2019, 01:35:13 AM
@Danne
just tested the mcm 1080p preset with 2.35:1 1584x672 14bpp. first four tries didn't roll, then jumped to continuous, with GD off 44MB was reported green. dialed the resolution down to compare the footage with the 50d which has this limit of 1584 without crop.
yes this 2.35:1 is interesting.

I'm aware of the 2.35 script.  will try it again with the 2.5k crop mode. that would be quit a fit with HD1072 
with your march 04 build I am very happy, thank You very much! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 05, 2019, 08:08:53 AM
When you thought all hope was gone getting even more extreme aliasing:
MLV:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/xtreme_aliased_2.0_M05-0849.MLV

(https://i.postimg.cc/ncZfZD9K/Screenshot-2019-03-05-at-07-53-11-png-scaled.png)

I experimented with a reg that pops out when taking a cr2
802C

So I set to following in crop rec.c:
adtg_new[2] = (struct adtg_new) {6, 0x800C, 4 + reg_800c};
adtg_new[2] = (struct adtg_new) {6, 0x802C, 0};


Then I need to adjust 713c and 7150 and increase to 450 in crop mode sub menu working with following menu preset:
mv720p 1736x694 50fps
Had to lower framerate to around 30 and after pushing canon menu button a couple of times I managed to get a correct mv720p image.
Not sure how this reg can help if ever but I thought I´d put it out there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 05, 2019, 03:23:11 PM
Hi,
I installed your latest version and the magiclantern screen is empty, I'm back to the 23 Feb version. nothing, December, the same and that of July the same. Not being able to access the magic lantern menu can I install original firmware 2.0.2? thank you. PS previously up until the 23 Feb version worked well
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 05, 2019, 03:28:17 PM
Sorry, can´t follow what you´re doing. Could you make a video of what is going on or some screenshots/photos?. Latest version works here and also seems to be working for others(didn´t hear anything else).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on March 05, 2019, 05:49:21 PM
I think it resembles what's happening with missing autoexec.bin. Cam stuck.

@marcelolippi:
Check card's root directory. It should look like this: (https://builds.magiclantern.fm/card_contents.png)
If all files and directories are there:
Remove battery.
Insert card.
Insert battery.
Startup cam.
Report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kayman1021 on March 05, 2019, 05:55:22 PM
Hello Danne

I don't think your post had aliasing.
Your picture seemingly consists 4 pixel(2 pattern) wide columns
I think every second column is offset by 8 pixels.
Here's what it looks like reordered:


(https://i.ibb.co/3FjTzWh/reordered.jpg) (https://ibb.co/3FjTzWh)


The keyboard keys are a bit blurry, but the icons on the desktop look fine. Was this a handheld shot?
Is this usuable at all?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on March 05, 2019, 09:26:16 PM
A quick test run (Thanks @Danne for the build earlier 20 mins or so ago) and been trying to cause corruption frames to no avail other than certain abnormal aliasings and few pink highlights w Dual-ISO. Everything was shot in Lossless 10-bit @ ISO 3200 (ISO 100/1600 for Dual) within 11-20mm 2.8 for kicks.



...and what's up with those mysterious Focus Pixels? Hmmm... More to come...  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 05, 2019, 09:42:43 PM
Dualiso is not the safest bet for movie recordings. Thanks for sharing @deafeyejedi.

New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

I am playing around with HDR implemented in crop rec.c. Overriding cmos 0(idea from a1ex). It´s kind of working with all presets but it´s only in it´s infancy state so take it with a grain of salt. Halfpress shutter when in idle mode to preview flickery style, other wise it will be in one of the isos before starting record button and HDR kicks in. Thanks @masc for ideas and discussions of vsync function and what not :).

Known bugs: Framing will work but if used when recording it will break recording. Anyway, set to real time for the time being. Base iso static set to iso 100.

(https://i.postimg.cc/15KdYkt3/VRAM1-PPM-500px.png)

(https://i.postimg.cc/FF380dXc/VRAM0-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on March 05, 2019, 09:50:07 PM
Whoa I am digging this new HDR feature BIG time...

Thanks so much @masc for inspiring all of us!

Hoping to use this while in crop_rec @ 48p.......
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: geroinnn on March 06, 2019, 03:07:56 PM
Has anyone managed to connect a monitor via HDMI and record video without distortion? One person wrote that he managed to get rid of the green bars when recording video in RAW, when he reduced the monitor resolution to 480p. Please share your experience .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Dutchflyingpilot on March 07, 2019, 01:18:36 AM
Hi, Yes!
Check out: https://www.youtube.com/watch?v=7gQnf05Pmu4

In short: Whatever monitor you use, make sure you can set it to accept 480p/60hz and/or set it to 'Camera Mode',
otherwise you'll end up with a badly synced 1080p image (flickering) and distorted recordings.
The problem lies in the synchronisation of the HDMI ports; both 'resolutions' have to match for the camera and monitor to work properly.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alzubi on March 07, 2019, 02:30:20 AM
Quote from: Dutchflyingpilot on March 07, 2019, 01:18:36 AM
The problem lies in the synchronisation of the HDMI ports; both 'resolutions' have to match for the camera and monitor to work properly.

Is there any possible way to fix the sync issue so that other monitors would work or are we just sol? I wouldn't mind putting time and money to get it working, just not sure if this is something to be fixed with software.

Also why is this a raw specific issue? Monitor use with non raw footage works great but once raw is disabled the footage becomes choppy and purple frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 07, 2019, 09:24:00 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/26722bf3abdf6613c707397763de382b0f9aeffd

Reworking HDR:
(https://i.postimg.cc/0jcCkwrd/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 07, 2019, 09:32:52 AM
Has anybody else noticed or experienced, after installing a new build (specifically in the past week or so), upon first boot of the camera, you can record without crop in a resolution that is very close to 1080, (1800x1032) but after that take, the liveview gets messed up, until you magnify to 5x crop and then it will record in the 2.5K resolution, but all of this happens without making any settings changes in the ML menu.  If this could be a permanent setting without the screen glitch...that would be the most perfect build in my opinion  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 07, 2019, 09:42:36 AM
Please upload a MLV file which recorded uncropped in this resolution. The resolution you mention is only working with Movie crop mode(x3crop) without rewired preset applied. This resolution can probably be starting point also with rewired preset on when starting cam but push canon menu to get into correct mode.
If you managed to record in non cropped mode you need to inspect the actual file recorded. Proof.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 07, 2019, 10:00:37 AM
Quote from: Danne on March 07, 2019, 09:42:36 AM
Please upload a MLV file which recorded uncropped in this resolution. The resolution you mention is only working with Movie crop mode(x3crop) without rewired preset applied. This resolution can probably be starting point also with rewired preset on when starting cam but push canon menu to get into correct mode.
If you managed to record in non cropped mode you need to inspect the actual file recorded. Proof.


(https://i.ibb.co/ss35nPY/C85-E0-B29-C95-B-4-DEC-BD60-288378733922.jpg) (https://ibb.co/ss35nPY)


This has happened about 3 times now, I purposely tried to test it with most recent build but it didn't happen, so i may install the previous build to see if it happens with it.

Also, I've lost sound in the past few builds, whereas before it was flawless.  Sound setting is enabled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 07, 2019, 10:17:13 AM
I need the build from March 6th to test and hopefully able to duplicate, but don't see it on the bitbucket page, do you happen to still have that build handy?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 07, 2019, 10:29:22 AM
I need a shortened MLV not a screengrab.
Todays build and march 6th are identical except for a few hdr changes.
About loosing audio. I need more info and more repetitive patterns to reproduce. You don´t mention settings used etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: geroinnn on March 07, 2019, 11:42:26 AM
Quote from: Dutchflyingpilot on March 07, 2019, 01:18:36 AM
Hi, Yes!
Check out: https://www.youtube.com/watch?v=7gQnf05Pmu4

In short: Whatever monitor you use, make sure you can set it to accept 480p/60hz and/or set it to 'Camera Mode',
otherwise you'll end up with a badly synced 1080p image (flickering) and distorted recordings.
The problem lies in the synchronisation of the HDMI ports; both 'resolutions' have to match for the camera and monitor to work properly.
Yep, I watched this video
I would like to know about similar experience with other displays: any monitor capable of transmitting an image at 480p / 60Ghz is suitable or is it better not to take the risk and take the Feelworld F570, since there is already a positive experience of use?

Quote from: alzubi on March 07, 2019, 02:30:20 AM
Is there any possible way to fix the sync issue so that other monitors would work or are we just sol? I wouldn't mind putting time and money to get it working, just not sure if this is something to be fixed with software.

Also why is this a raw specific issue? Monitor use with non raw footage works great but once raw is disabled the footage becomes choppy and purple frames.
I also do not mind sponsoring this idea if it is solved programmatically. I think that many will be interested in this option.

P.s.
Is nobody else using an external monitor on this camera?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 08, 2019, 10:48:56 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Autofocusing during filming should now work. If it affects recording times needs to be checked so feedback welcome:
https://www.magiclantern.fm/forum/index.php?topic=3064.msg213120#msg213120

EDIT:
Back to set to af off for defaults. Enable af on in small_hacks sub menu in RAW video section.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on March 08, 2019, 01:28:02 PM
Quote from: geroinnn on March 07, 2019, 11:42:26 AM
P.s.
Is nobody else using an external monitor on this camera?

So I'm a couple of versions out of date (using crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202)

But re: using an external monitor, and checking for corruption. I used the eos m with an Atomos Ninja Assasin (https://www.atomos.com/ninja-assassin) and it worked for displaying the signal and allowing for easier focus. No weird flickering etc etc. It still appeared to be a 480p signal, but I couldn't verify using the monitor as it was only a quick test.

Also, if I turned off Global draw the signal was clean enough to use the focus peaking in built into the monitor

For reference i was on the MCM rewire preset.

On checking the file, no corrupt frames. To be honest, it was probably the nicest footage I shot as I wasn't hunting for focus on a tiny screen.

I would assume the reason not many are using external monitors is because the monitor probably costs as much if not more than the EOS M.

Anyway, on to play with the latest build!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: geroinnn on March 08, 2019, 01:51:33 PM
Quote from: Pacerx999 on March 08, 2019, 01:28:02 PM
So I'm a couple of versions out of date (using crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202)

But re: using an external monitor, and checking for corruption. I used the eos m with an Atomos Ninja Assasin (https://www.atomos.com/ninja-assassin) and it worked for displaying the signal and allowing for easier focus. No weird flickering etc etc. It still appeared to be a 480p signal, but I couldn't verify using the monitor as it was only a quick test.

Also, if I turned off Global draw the signal was clean enough to use the focus peaking in built into the monitor

For reference i was on the MCM rewire preset.

On checking the file, no corrupt frames. To be honest, it was probably the nicest footage I shot as I wasn't hunting for focus on a tiny screen.

I would assume the reason not many are using external monitors is because the monitor probably costs as much if not more than the EOS M.

Anyway, on to play with the latest build!
Thanks for the response. Using an external monitor really makes focusing easier, so I want to buy it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 08, 2019, 09:25:15 PM
Thanks Danne, great work! I put the lua sd and 5k active, I can also record for several seconds but the duration is random ... will also be problems with card speed? (sdxc c10 u3, should be 60mb in writing). Regarding the exposure I do not understand how sometimes the exposure is correct and sometimes burns with the usual pink pixels. What should I check?
Below some frames, failed (random but on average one every 2 seconds) and the "pink" problem.
Thanks again
(https://i.ibb.co/4NQw3jx/P-20190308-170236.jpg) (https://ibb.co/4NQw3jx)

(https://i.ibb.co/jR2FK0W/P-20190308-170304.jpg) (https://ibb.co/jR2FK0W)

(https://i.ibb.co/Gpm56MQ/P-20190308-170414.jpg) (https://ibb.co/Gpm56MQ)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 08, 2019, 09:41:10 PM
First question. Are you reording 2.35:1? Starting point, the cinema script in lua section?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 09, 2019, 01:31:28 AM
@Danne
was testing the march04 build with all presets .
found no corrupt recording at all with corrupted frames. did a fresh start and formatted the card in cam (canon menu) enabled after auto reboot the essential modules - crop rec, lua, mlv lite and sound & sd uhs
after reboot initialized the 2,35:1 cine script.
just downloaded the march 07 & 08 builds and will try more testing and more this weekend

Thanks to all and Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 09, 2019, 01:55:11 AM
124/5000
yes I loaded module 2.35 1, can there maybe a max 60mbs sd speed  in writing?
However, I check with the new version. Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 09, 2019, 08:12:26 AM
The sd_uhs module is highly experimental and will or will not increase card speeds. Sandisk ones seems more stable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bobolee on March 10, 2019, 06:14:38 AM
Very cool!I tested the March 2019 build,the morie issue is solved !!This is another milestone in my opinion.
Now,can we have real FHD 24fps ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alzubi on March 10, 2019, 07:56:14 AM
Quote from: Pacerx999 on March 08, 2019, 01:28:02 PM
So I'm a couple of versions out of date (using crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Feb25.EOSM202)

But re: using an external monitor, and checking for corruption. I used the eos m with an Atomos Ninja Assasin (https://www.atomos.com/ninja-assassin) and it worked for displaying the signal and allowing for easier focus. No weird flickering etc etc. It still appeared to be a 480p signal, but I couldn't verify using the monitor as it was only a quick test.

The thing is that monitors work when on 480p input on the monitor the problem is that majority of monitors dont have this feature i just purchased 2 diffrent monitors hoping to find one with the 480p input option and neither had the option. I purchased a feelworld s55 which is an overall great monitor but some of the firmwares have the feature and some of them dont. I didnt get one with the option.

The solution is to find out whats causing corrupt footage on 1080p or 1080i monitors, and why does it work fine when the monitor is set to 480p. I have a wedding im shooting later this year and without an external monitor im just not going to be able to use the eosm, probably will just pick up a blackmagic if i cant figure this out.

If we do figure this out it means anyone with $250-300 can have a full cinema rig capable of high quality raw which is insane. I just really want monitor support if anyone is willing to figure it out and does figure it out I will personally pay you.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 10, 2019, 07:31:49 PM
 Again, great work, the quality it's very good! I want to make only two question, the limit of write speed with sd overclock is more or less 55mbs? The cause of bads half frame pink are the card speed? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on March 11, 2019, 12:22:40 AM
Grande Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alzubi on March 14, 2019, 03:12:46 AM
PSA the feelworld monitor zeek had gotten doesnt always come with the 480p or what its called in the menu as "camera mode" option. I purchased multiple monitors 3 to be exact hoping to find one that worked with my eosm and all 3 did not have the 480p option or the camera mode option. I have spent $500 on monitors trying to find one and have been unsuccessful.

The feel world i purchased even said it had the option but upon purchasing it did not and the support have yet to follow up with me im going to guess because there is not an actual way to switch firmware out of factory even though they claim the upgrade firmware port as a feature. 

If you want to look into it the monitor from feelworld that claims it as a feature is the f570 which is the same one used in the zeek video, and on their page : http://www.feelworld.cn/ShowInfo.aspx?id=519&py=

it even says its a feature. I can show proof that i dont have the option on firmware 1.25
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 14, 2019, 04:43:32 PM
anybody else notice a flicker in latest build?  almost like a line sync effect
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 14, 2019, 06:45:17 PM
What was your shutter set to? More info is needed. Steps to reproduce.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 14, 2019, 10:59:01 PM
1/50 ISO 800
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 14, 2019, 11:33:21 PM
I really need more here. fps, preset used environment, maybe some recording of the issue, uploading the settings folder etc. Minimized answers/questions will not get us closer to solving.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 15, 2019, 12:44:08 AM

(https://i.ibb.co/P647Qsr/2-A7-C67-A1-895-E-4074-A23-E-6-DC392-FB1687.jpg) (https://ibb.co/P647Qsr)
nothing changed from what the preset script loads. seems to only be doing it in 5x crop.  It doesn't do it at 1/100 shutter and above, only below. It's not just in cameras live view, it's baked in to the MLV file

about to load the March 14th build and see if it's still present
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 15, 2019, 01:08:20 AM

(https://i.ibb.co/vqc2Q7m/40-A12531-B3-D5-4-FCD-8278-F9-DC769-A3-D3-C.jpg) (https://ibb.co/vqc2Q7m)


Turning this off has stopped it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2019, 06:10:59 AM
What preset was used in x5 mode? What preset script? I need more info. Instead of waiting for more riddles I would like you to upload:
1 - a short mlv file with this issue
2 - your SETTINGS folder from inside your ML folder on your sd card

I need exact steps to reproduce the issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 15, 2019, 08:04:48 AM
@gravitatemediagroup: what is the light source in your pictures? Natural light or artifical light? 2nd might produce such artifacts, with or without ML.
Quote from: gravitatemediagroup on March 15, 2019, 01:08:20 AM

(https://i.ibb.co/vqc2Q7m/40-A12531-B3-D5-4-FCD-8278-F9-DC769-A3-D3-C.jpg) (https://ibb.co/vqc2Q7m)

Turning this off has stopped it.
--> artifical light and a setting on the edge.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 15, 2019, 06:39:15 PM
last (march14) build
first did reformat the card
loaded crop-rec, lua, mlv lite und mlv sound, sd uhs
preset mv1080p MCM gets automaticaly activated (nice)
did activate sd uhs in crop mode submenu, disabled 25fps, didn`t change 12bit & 16:9 settings restarted the cam
in raw video submenu - resolution 1736x976, real-time, crop rec preview set to automode, sound recording off. restarted the cam
did some recordings. everything is ok. the green record indicator all time
switched to next preset - mv1080p 46 fps, restarted cam
did record 3 clips of 1000frames. unfortunately had there from 4 to 10 bad frames per clip.
all recordings show the red indicator first, changing to orange after some time
resolution was 1496x844.

also noticed focus pixels in MCM preset and no focus pixels in 46fps preset.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 15, 2019, 07:03:01 PM
For 46fps preset, switch GlobalDraw=OFF. Otherwise you'll get much more corrupted frames.
For removing focus pixels use the latest focus pixel maps from dfort.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 15, 2019, 08:39:45 PM
Quote from: masc on March 15, 2019, 07:03:01 PM
For 46fps preset, switch GlobalDraw=OFF. Otherwise you'll get much more corrupted frames.
For removing focus pixels use the latest focus pixel maps from dfort.

thank You masc
did turn on the new raw video submenu kill GD. did record several longer clips withous problems and almost without corruption (only 2 bad frames in several 1000 frames)
also  used with x3crop
I have installed the focus pixel maps from dfort

later I tested the 2.5k preset. at 2112x1188, 10bit lossless and 23,976 fps, without problems & after disabling the ratio of 16:9 in crop mode submenu, I increased the res in raw video submenu to 2520x1418 and did set fps override to 18fps, was able to record continuous, without any corrupted frames.

great Work Danne

 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2019, 08:47:24 PM
Great, thanks for feedback. I might set 16:9 to 45 fps for better  takes and maybe corruption free. 1 fps decrease probably would go unnoticed anyway.
Af-off. If you could increase reg_6014 so you get 45fps and test for corruption it would be nice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 15, 2019, 10:03:32 PM
@masc  was probably a couple different light sources, natural from a window, tungsten overhead, but no fluorescent.  I've tested all other builds from the past couple months in the same environment, with same shutter, but this is the first I've noticed this in the past couple builds.   
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 15, 2019, 10:04:09 PM
Quote from: Danne on March 15, 2019, 08:47:24 PM
Af-off. If you could increase reg_6014 so you get 45fps and test for corruption it would be nice.

Yes Danne, I 've increased the reg_6014 to 1 and 4 but the recordings did have a bad frame each. then I increased to 15 and did a 1 min. recording at 44,457fps and everything is fine!

Is this normal, that after powering cam off and later back on these reg_ value is again 0 ?
Anyway, I will try this reg_ in 2.5k preset too, instead of using fps override.

Thanks much Danne
will report later
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2019, 10:07:58 PM
Yes. Turning off will reset regs. They are only for testing. Anyway. Are you sure finetuning to 45 fps isn't working?
By the way. If you set sd_uhs from crop mode sub menu and restart cam there's no longer need for sd_uhs.mo enabled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 15, 2019, 11:17:13 PM
@Danne - Disabled sd_uhs.mo
did test the 2.5k preset 2520x1412 10bit and adjusted the value of reg_6014 to 615 which gave me continuous at 18,028fps. value of 619 gave me 17,999fps, which was the closest to 18 I could get

all recordings where ok!

the value of 15 just worked for the mv1080p 46fps preset. isn't it better to have no bad images than an odd value of fps? will check this soon anyway, playing with this reg_6014 is fun somehow
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 16, 2019, 12:29:49 AM
Quote from: Danne on March 15, 2019, 10:07:58 PM
Are you sure finetuning to 45 fps isn't working?

in mv1080p 46fps preset- with biggest res.
10bit, sd_uhs enabled, reg_6014 = 28 &
1736x976, 1:1, preview Real-time, crop rec preview = automode, kill GD ON, sound off
reg_6014 = 28 is 45.026 fps
reg_6014 = 29 is 44,993 fps -  250 frames with max res. , with resolution of 1600x900 up to 15 sec.two bad frames, with 1536x864 about 30 sec. everything good

so I did decrease the res. to record continuous to 1504x846 at 44,993 fps & formatted card
could record easily 2 mins. (5,79GB) took some time to watch it with playback speed in mlv app of 14.15 fps, no corrupted images.



Noticed cam gets much hotter in these high speed mode



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 16, 2019, 07:23:49 AM
Ok, I see. You manually set ratio. Good to know it works. There is a fixed preset ratio 16:9 among the 46fps presets. I thought you were testing that. Is that one also working out of the box?
Sidenote. reg_6008 is also related to fps together with reg_6014.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 16, 2019, 03:22:48 PM
yes, was working first with Your presets. then tried using own settings
as You have suggested.
If the ratio is set in crop rec submenu, either 16:9 or 2.35:1, the mlv resolutions are limited. as we know, some resolutions work only at ratios like 1:2 or 1:1, right?
I like the new x3crop for the mv 1080p modes. This is because I like to use some c-mount glass sometimes. Therefore I like also the most the 2.5k preset. in the max possible res, I get a nice fov with the 12,5mm one.
the MCM mode is also very nice if using non c- mount glass.

will do some more testing and comparing the footage.

thank You very much for this good work Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 16, 2019, 03:25:04 PM
Quote from: Danne on March 16, 2019, 07:23:49 AM
I thought you were testing that. Is that one also working out of the box?
Sidenote. reg_6008 is also related to fps together with reg_6014.

Yes, out of box, but as macs mentioned, disabling GD is essential to ged rid of corruption in frames.
Will take the other register into account, thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 16, 2019, 05:07:02 PM
further testing, Danne's march14 build
->scripts - eos cinema 2.35:1, activates 5k preset
res is now 1504x1390, preview changed to real time, kill GD on, soundrec. off
->canon menu, format card
crop mode menu - 10bit, 2.35:1, sd_uhs enabled, reg_6014 =19, reg_6008 =20,reg_6800_height =950 <-----this centers the realtime preview
can't get continuous, so ->prefs,config options, ->restore ML defaults
after restart, in modules activated crop-rec,lua,mlv lite, mlv sound, sd-uhs, silent
-> Overlay,magic zoom to off
after restart, formated card again from canon menu
raw video menu, sound off, Kill GD ON
crop mode menu - 12bit, 16:9, disable 25fps, sd_uhs ON, restart
checking - ->Debug , Memory Patches - 4rom 2ram, crop_rec & sd uhs, sdr104
recording MCM video, continuous at 42MB, 20% idle, recording OK
changing preset to 5k , and restarting cam
unchanged entries in crop mode menu
raw video menu - 1184x2000, 1:2, real-time, kill GD
recording (shows now 3.5k anamorphic) continuous, 47MB, 32% idle, recording OK
changing crop rec reg_6800 to 950 again
now somehow the res did change, to 1184x1050 - don't know why, clips ok, did use ca. 37MB write speed at 37% idle

so far, will do some more testing later
thanks to Danne and all others





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 16, 2019, 10:19:53 PM
interestingly, still using Danne's march14build, I found something interesting in 5k preset.
crop mode changes: bitdepth 10bit, ratios OFF, x3crop enabled, sd_uhs still enabled
raw video changes : Preview Framing, crop rec preview - automode, Resolution 1664x2126 , unchanged also kill GD & aspect ratio of 1:2 & sound OFF

tried recording, the liveview got scrambled, but recording went on, tried with Preview-Frozen LV, nothing, restarting cam (have also to change the battery which shows the red sighn since 15 minutes....

after power up, 12bit, thought to have changed it to 10bpp, will check , but now the indicator inLV reads 5k anamorphic instead of 3.5k before res change. did change the bpp to 10 and the reported res is still 1668x2126

after restart tried another recording, which got everythime scrambled while recording some frames and then restored back the Framing preview
so decided to go down as much as 11 fps for the next shot
activated fps override and set the framerate to 11 and optimized for Exact fps. Then most importantly I switched ->Overlay - GD to off. this gave me the scrambled LV (back)
the recording kicked in at 39.5MB, so recorded a minute and then did change following : crop mode - bitdepth to off (was 10bpp)
so now this was 14bit lossless as its default in raw video, preview still scrambled, did another recording, which on second attempt jumped from the start in continuous at 51,2MB and recorded almost 2mins (i've stopped it, green light all time)

now time to check the files in mlv app
and yes, all clips are fine, but the best is the one with 14bpp lossless. if anyhow, You don't rely on fps, this is very nice image at 4992x2126 - maybe I missed the boat, but this is the biggest resolution I've ever seen on the old eosM.

any suggestions




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 16, 2019, 11:03:52 PM
A lot of stuff going on here  :P
You are right about biggest resolution for eosm. I works with framing mode so global draw needs to be on. While recording.
Easiest access is to run the cinema script then turn off the ratios in crop mode sub menu. RAW video always 14bit lossless. Set to 10bit in crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 17, 2019, 08:17:58 PM
Quote from: Danne on March 16, 2019, 11:03:52 PM
A lot of stuff going on here  :P
You are right about biggest resolution for eosm. I works with framing mode so global draw needs to be on. While recording.
Easiest access is to run the cinema script then turn off the ratios in crop mode sub menu. RAW video always 14bit lossless. Set to 10bit in crop mode sub menu.

nice thanks Danne,
it works!
I've noticed, its usefull to format card before beginning a new session with each card. just deleting the file on pc isn't enough. cards seem to perform worst without.
so first deleted all configs (restore ML defaults), then formatted card in canon menu
activated crop rec, lua, mlv lire and sound, sd uhs and silent
disabled magic zoom and restarted cam
->Scripts-eosm cinema
now I have in LV 12bit 4.5k anam. framed preview
in crop rec enable x3crop and sd_uhs
in raw video cannot change res any higher than 1624x1160, sound recording to off,
restart the cam
ok now LV tells me 10bit, 5k anamorphic, Framing
but just before the framing preview kicks in, there is the familiar white magenta black scrambled LV for short time
going to ML menu (again shorttime scrambled)
first checking the debug menu, 4rom 2 ram patches executed
in movie menu
raw video shows now res of 1624x2126
able to increase manually to 1664x2126, so now I dont use the kill GD
wow, now the preview gets Framing and B/W while recording
it records 5 and 7 seconds.
now I want to test something
in raw video menu I change the resolution to 1280x2126, where the info text at bottom changes to green, leaving menu
can record continuously for 1min.
now because I'm using a c-mount glass and thus seeing the crop isn't centred, I go to the crop rec menu and trying to change the reg_6800 to 800 and this breaks the preview and limits the vertical res to 1326 , so I set the reg_6800 back to 0 and restart cam
so now everything is back again

reducing image width makes in some resolutions the preview jump, so there would be probably corrupted frame(s).

let's look at clips so far in mlv app
at 1184x2126 there are some bad frames
at 1168x2126 the images are somewhat jumping to the left, as it was in LV be seen
at 1232x2126 bingo! please test this one, no corrution
at 1200x2126 as notived while recording, jumping around
at 896x2126 (which makes it almost rectangular, the same as with 1168 and 1200 previously
at 960x2126 bingo, please test this one (looks similar to 4:3 aspect ratio, like this somehow)
at 1008x2126 bingo again, this looks more 3:2 isch
at 1280x2126 only 4 bad frames out of 1511, this looks like 16:9, although for a c-mount glas, this is much to high res, see pic below
at 1664x2126 bingo

somehow the center alignment isn't right. and reg_6800 doesn't on it alone do the job
anyway, this build is great for further experimentation with


thanks to Danne and others 


(https://i.ibb.co/mGdjJbw/1280x2126-eos-M.jpg) (https://ibb.co/mGdjJbw)




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 18, 2019, 02:56:49 AM
did test all resolutions with the 5k preset, all recordings at 10bit lossless, 23,976 fps
each recording if not stated otherwise around 500 Frames, 50GB total

resolution - behavior during recording - playing in mlv app (OK means no damaged frames)

640x2126 - LV jumps during recording, ML console comes up, restarted, jumps
656x2126 - LV seems undisrupted during rec. , 2 bad images at beginning
672x2126 - LV seems undisrupted during rec. , 1 bad image
688x2126 - LV seems undisrupted during rec. , 1 bad image
704x2126 - LV jumps once after starting recording, jumps
720x2126 - LV jumps once after starting recording, some bad frames
736x2126 - LV jumps once after starting recording, 3 bad frames at beginning
752x2126 - LV seems undisrupted during rec. , some bad images , jumps
768x2126 - LV jumps during recording, ML console comes up, restarted, jumps
784x2126 - LV jumps several times after starting recording, jumps
800x2126 - LV seems undisrupted during rec. , 4 bad frames
816x2126 - LV two bad frames then seems undisrupted during rec. , some bad images
832x2126 - LV seems undisrupted during rec. , OK
848x2126 - LV two bad frames then seems undisrupted during rec., 3 bad fr. at start
864x2126 - LV one bad frame then seems undisrupted during rec. ,  1 bad fr. at start
880x2126 - LV jumps once after starting recording, OK
896x2126 - LV jumps during recording, many bad trames
912x2126 - LV seems undisrupted during rec. , OK
928x2126 - LV seems undisrupted during rec. , OK
944x2126 - LV two bad frames then seems undisrupted during rec. , 2 bad frames
960x2126 - LV two bad frames then seems undisrupted during rec. , jumping frames
976x2126 - LV two bad frames then seems undisrupted during rec. , 2 bad frames
992x2126 - LV two bad frames then seems undisrupted during rec. , jumping frames
1008x2126 - LV jumps during recording, 2 bad frames
1024x2126 - LV seems undisrupted during rec. , OK
1040x2126 - LV seems undisrupted during rec. , OK

battery is hot, make a small break

1056x2126 - LV jumps during recording, some bad frames
1072x2126 - LV jumps 4x after starting recording, jumps at beginning
1088x2126 - LV jumps during recording,  jumps
1104x2126 - LV seems undisrupted during rec., OK
1120x2126 - LV seems undisrupted during rec. , OK
1136x2126 - LV jumps 1x after starting recording , jumps once then ok
1152x2126 - LV jumps during recording, jumps
1168x2126 - LV seems undisrupted during rec. , 2 bad fr. at end
1184x2126 - LV seems undisrupted during rec., OK
12oox2126 - LV seems undisrupted during rec., OK
1216x2126 after switching to this res, LV broken, restarting cam,
everything works again but recording jumps around, jumping all over
1232x2126 - LV jumps during recording, jumps around
1248x2126 - LV jumps 1x after starting recording, one jump at beginning
1264x2126 - LV seems undisrupted during rec. , OK
1280x2126 - LV jumps once during recording, one bad frame
1296x2126 - LV seems undisrupted during rec. , one bad frame
1312x2126 - LV seems undisrupted during rec. , OK
1328x2126 - LV jumps heavily during recording, strong jumping
1344x2126 - LV seems undisrupted during rec. OK
1360x2126 - LV jumps 1x after starting recording, one bad frame
1376x2126 - LV seems undisrupted during rec., OK
1392x2126 - LV jumps heavily during recording, jumps
1408x2126 - LV jumps heavily at beginning recording, jumps heavy at first third
1424x2126 - LV jumps twice laggy after starting recording, jumps
1440x2126 - LV seems undisrupted during rec. , one bad frame

cam temp reaches 50°C, making a break, batt. hot

1456x2126 - (first rec stop), then   LV seems undisrupted during rec., OK
1472x2126 - LV seems undisrupted during rec. , OK
1488x2126 - LV seems undisrupted during rec. , OK
1504x2126 - LV seems undisrupted during rec. , continuos for 26sec., OK
1520x2126 - LV seems undisrupted during rec. , continuos for 21sec., OK
1536x2126 - LV seems undisrupted during rec. , continuos for 15sec. OK
1552x2126 - LV seems undisrupted during rec. , continuos for 14sec. OK
1568x2126 - LV seems undisrupted during rec. , continuos for 14sec. OK
1584x2126 - LV seems undisrupted during rec. , continuos for 12sec., one bad fr.
1600x2126 - LV seems undisrupted during rec. , continuos for 11sec. one bad fr.
1616x2126 - LV seems undisrupted during rec. , continuos for 9 sec.OK
1632x2126 - LV seems undisrupted during rec. , continuos for 7 sec. jumping
1648x2126 - LV seems undisrupted during rec. , continuos for 8 sec one bad fr.
1664x2126 - LV seems undisrupted during rec. , continuos for 6 sec.., jumping



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 18, 2019, 09:37:05 AM
Are you testing by using raw video ratios? The first 5k option is really just a proof of concept and unlike the other two ratios real time preview is not working while recording.
There are four skip regs to play with as well in crop mode sub menu. Maybe works too. (Called skip_left, skip_right etc)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SGrim on March 18, 2019, 01:48:58 PM
Been researching n days about RAW on EOS M, and the more info had found the more questions had raised. Some of them (maybe) can be solved by buying camera and trying out ML myself, but because i'm a little bit poor, i need to know before buying that it's worth it. So a few questions/thoughts about RAW on EOS M, and if i misunderstood something – feel free to correct me.

1) 2.5k RAW (in which i'm interested most) can be recorded in 3.33x "crop mode" which makes lenses focal length three times more (for example, 10 mm lens =~33 mm in 35mm equivalent).
2) LiveView is working fine most of the time.
3) Crop factor of LiveView is only 5x due to some unavoidable restrictions (it cannot be 3, for example).
4) EOS M itself seem to have no limitations to SD card capacity, so any card up to 2 TB (SDXC format limit, but in terms of money saving i would probably buy 256 GB) can be used.
5) Could it be a better thing to use V60/V90-alike cards so sustain write speed would be closer to ~70 MB/s ML RAW than SanDisk Extreme Pro (which is V30 class)?
6) My main question. Is EOS M config is reliable for real continuous shooting for more than hour or two in any weather conditions (lets say up to +35 degrees Celsius in terms of possibility of overheating)?

I understand that 5D or 7D is most obvious choice for stability, but they cost half of my car - going over 200ish$ for body is not an option at all.

Thanks in advance.

(probably should have created a separate topic in RAW "subforum" but general thread seems to be more or less right for what kind of answers i'm looking for)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 18, 2019, 02:08:39 PM
I have shut ratios to OFF in crop menu, otherwise all the resolutions shouldn't be possible.
reg_skip_top destroys the colors, reg_skip_bottom cuts portions of the image.

my idea was to use the 5k preset as supplement to 2.5k preset - in the latter max res is 2520x1418, which is 16:9 but cannot roll at 23,976 fps, but with the 5k preset set to 1264x2126, which is the closest to 16:9 can record with 23,976 fps.

2126 x 1,77 = 3763,02 / 3 = 1254,34 and the closest I've found stable would be then 1264x2126




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 18, 2019, 02:29:25 PM
I see. Well keep on testing  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 18, 2019, 03:01:25 PM
Quote from: Danne on March 18, 2019, 02:29:25 PM
I see. Well keep on testing  8)

Yes will do! I've noticed and downloaded Your new build - march 18 - any news on the new version?

as ever thanks a lot for the great work !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 18, 2019, 03:13:02 PM
You can check commits. I added some black level fixes for previewing while recording reduced bitdepths. Still a halfway solution...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 18, 2019, 03:29:38 PM
5k preset
reg_skip_right   -70
reg_skip_top     -100 <---- when doing this, there is white border on top
raw video resolution 1264x2126
recording continuous for 30 sec. max....


(https://i.ibb.co/W6pX2nt/eos-M-1264x2236.jpg) (https://ibb.co/W6pX2nt)


in mlv app, the resolution is shown as 1264x2236 , seems the reg_skip_top had changed this somehow.... see picture

I've found a good res that works for me - 1024x1728, records a clean video continuous and suitable for mount-c glass




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 18, 2019, 08:44:19 PM
The greenish tint in liveview while recording is gone! now it looks like a vintage 70's LUT, which is fine by me.  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 18, 2019, 11:13:06 PM
I was able with the March 14 version to work very well with 4.5k at 24 and 25 fps, one minute without corrupt files. Now I have replaced with today's version and when I start recording the monitor turns white or pink. I can't understand the vertical definition that sometimes stands at 2120 and others at 1920. Maybe I should re-install the previous one.
Thank you for all
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 18, 2019, 11:43:11 PM
maybe i'm going crazy? in the bitbucket download area I can't find a March 14 version ... did I dream about it and am I awake now?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 19, 2019, 01:24:19 AM
i read up, the 14 march version exist, i'm not crazy! Is it possible to have the 14 version again? I deleted it. THANK's
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on March 19, 2019, 03:30:04 AM
af off can you post your setting or build good for c mount lens 1024 resolution? interested in trying it. i have lots of c mount lenses. thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 19, 2019, 03:36:31 PM
Quote from: Teamsleepkid on March 19, 2019, 03:30:04 AM
af off can you post your setting or build good for c mount lens 1024 resolution? interested in trying it. i have lots of c mount lenses. thanks.

easy, please read my Reply #2434 and following.
use Danne's latest build. ---> https://bitbucket.org/Dannephoto/magic-lantern/downloads/

@marcelo.lippi please use Danne's latest build . differences to the march14 build are here
---> https://bitbucket.org/Dannephoto/magic-lantern/commits/all

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on March 19, 2019, 06:13:10 PM
Hey, can anybody tell how to use focus dots map , and in what programm it's work ? And is it work better than 3x3 chroma smooth ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 19, 2019, 10:28:10 PM
Try Mlv App. If you find any dots in recent builds please report about it. Dfort fixed map files for all presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 19, 2019, 10:31:57 PM
just tested the new build from Danne (18March)
with my settings (folder) from the March14's build

using the 5k preset as described above

did longer recordings this time (around 2&1/2 mins.) and and did reduced the res to match the 2.5k 16:9 preset. (2520x1418)
I choosed 880x1468 and could record continuous without any corrupted frames.

But, I've noticed that randomly the motion in the image hangs, freezes for short period.
didn't have this in the 2.5k preset. I've tested this with both builds and it does this in both builds, regardless of bit depth (10 or 12)

all at 23,976 or 24 fps, fresh formatted card before testing, each build on an identical card.





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 19, 2019, 11:57:03 PM
These are my approximate tests. I also have to reformat the card to have more stability. Regarding the experience it seems to be random: I don't understand why sometimes I normally see, with the delay given by the signal processed, others in anamorphic magnified x5, sometimes the screen becomes completely dark (less than the set ISO value) sometimes normal. This is the camera monitor, the HDMI output is unpredictable. Very often I can't see anything (lilliput 7 ", neither in 480p or 1080i)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 20, 2019, 08:53:10 AM
Quote from: ctfire on March 19, 2019, 06:13:10 PM
Hey, can anybody tell how to use focus dots map , and in what programm it's work ? And is it work better than 3x3 chroma smooth ?
Quote from: Danne on March 19, 2019, 10:28:10 PM
Try Mlv App. If you find any dots in recent builds please report about it. Dfort fixed map files for all presets.
Download dforts maps and copy them to same folder as MLVApp executable. MLVApp uses them then.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 20, 2019, 09:37:00 AM
@masc:
Could the map files be included in Mlv App as default? Good stuff.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 20, 2019, 09:42:12 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Modifying black level for isos higher than iso 100 by checking raw_iso from lens.h. Only affects preview when recording reduced bitdepths.

in lens.h:
#define ISO_100 72 but seems eosm runs iso_100 as 0x48. Need to check this later. Might help fixing hdr stuff in main builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on March 20, 2019, 10:01:44 AM
Quote from: masc on March 20, 2019, 08:53:10 AM
Download dforts maps and copy them to same folder as MLVApp executable. MLVApp uses them then.
Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 20, 2019, 06:09:11 PM
some more tests with Danne's March20 build

I followed the instructions from Danne -> https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

so basically I started the cam with the new build on it, enabled the essential modules, formatted the card from canon menu, after restart I executed the "eosm cinema 2.35:1" script.

then in croprec submenu I've removed the 25fps and in raw video menu dialed down the res to 1136x1920 (which is fairly close to 16:9 ratio)
now, this is interesting - I've forgot to mess with the ratio setting in croprec submenu, so there was still ratio of 2.35:1 set. result was nice, only one corrupt frame out of 3100 and no stuttering or so.
then I've noticed I've forgot to change the ratio, so I changed it in croprec to 16:9 and recorded another two minutes. I noticed also after the ratio change, that res was corrected to 1136x2000, which is little less 16:9 then my set res before. viewing in mlv app, in this clip I've had 7 corrupt frames and stuttering in the movements, not that much, but it was there.

then I changed the preset to 2.5k and recorded at max res of 2192x1234 another 2 mins. no corrupted frames or anything else, clean picture at 24 fps.

so maybe its best not to touch the ratio setting after executing the script.

one is still a bit of disadvantage that even if I can push the crop a bit to the left with reg_skip_left
trying to move the crop up with the other reg results in bad image, so its now impossible to properly center the crop, which at this high res is not quite suitable for c-glass   

will test further, thanks to Danne and others for this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 20, 2019, 07:53:29 PM
Today's version installed. Very stable in 4.5k resolution with the cine 2.35 script. More than a thousand frames without errors but when I connect the hdmi monitor it becomes unusable: 1 corrected frame 1 corrupt. Any ideas? Thanks for all!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 20, 2019, 08:49:28 PM
Quote from: marcelo.lippi on March 20, 2019, 07:53:29 PM
Today's version installed. Very stable in 4.5k resolution with the cine 2.35 script. More than a thousand frames without errors but when I connect the hdmi monitor it becomes unusable: 1 corrected frame 1 corrupt. Any ideas? Thanks for all!
just curious - how come, 4.5k anamorphic AND old cam / old hdmi should work ? isn't it to much to expect?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 20, 2019, 09:35:26 PM
I read that it could be used and in fact it works, it looks very good, you can't use the touch but at least you can fire and follow the action without problems ... but it produces so many errors in the recorded frames
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 20, 2019, 09:57:47 PM
Quote from: marcelo.lippi on March 20, 2019, 09:35:26 PM
I read that it could be used and in fact it works, it looks very good, you can't use the touch but at least you can fire and follow the action without problems ... but it produces so many errors in the recorded frames
I can't help You with that one. But using logic,
I would suggest - maybe You could have a special version with err viewfinder but clean recording, or clean preview with corrupt recording, which if I understood You,
is the case now). for You.
maybe even possible to have both, but for what price?
and a question - does this setup of Yours work with other versions then Danne's ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 20, 2019, 10:13:42 PM
Practically no experience with hdmi out connected but seems the setup steals some good overhead causing frame corruption.
Regarding different ratios and stability around them. I put in some heavy testing around 2.35:1 ratio to get that working. Very likely room for improvements and my pragmatic approach fine tuning reg 6008, 7150 and 713c might hold a more stable math that I don't see but I can't calculate it. Yet.
For stable ratios 16:9 or other ratios I could look into suggestions, at least start off for further tweaking...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on March 20, 2019, 10:15:14 PM
I have not used other versions than Danne's. I'll try. However the Danne version seems to me to be of the highest quality result. I only try to find a minimum workflow to record a comfortable and safe way
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on March 21, 2019, 03:53:25 AM
Quote from: marcelo.lippi on March 20, 2019, 10:15:14 PM
I have not used other versions than Danne's. I'll try. However the Danne version seems to me to be of the highest quality result. I only try to find a minimum workflow to record a comfortable and safe way
thanks marcello.& wish You luck, trying the nightly , experimental and dforts, even the old TL versions with, to check out Your pref. setup. sometimes also imagined the need to have another than the build IN screen for convenience or sheer necessity. f.E. indoors, having the cam on tripod 6 feet high, the wall behind, then you think, its impossible to check the picture without a ladder .
me too & all of us like Danne's and other Dev's effort and Knowledge to circumvent the crazy-ness of the cartel of the industries.
so more resolution what everybody wants and willingly pays for - we get for just a smile.

this is great and the question is, - how come, I don't help at all with this stuff, but I wish, that to become true, what I need right now, because this would be awesome. isn' it strange , how difficult (see  diffi - cult) it is, to help with something, one self wish to the heart? so what can we do about it, as non dev's.
I hope You check out Your setup with the other versions of ML which are at Your fingertips and if You don't mind report here Your findings.

@Danne - thanks for clarification in general, much appreciated.
@masc - thanks for the new MLV App !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on March 22, 2019, 12:52:50 PM
Pretty exciting new stuff on the EOS-M, congratulations Danne!  Any chance that the 100D receives an update too?  I would love to test, especially now that MLVApp v.1.6 handles this new HDR stuff so well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 22, 2019, 03:41:33 PM
Not my 100D here but I think it handles hdr well already. Just set mv1080p_mv720p mode to 50fps and enable hdr from the usual place to enable iso switching. Maybe the mv720p 3x3 crop rec setting would be even better here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on March 22, 2019, 04:34:17 PM
Thanks a lot, Danne!  Can't wait to test!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 23, 2019, 06:21:02 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Some bleeding edge stuff. Tested around some on my eosm. Also added for 100D(untested).
commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/cdbae199254873317ea7b665ee6f4d443bc7edc7

Please report how it works.

- Moved sd_uhs code into RAW video(mlv_lite) and erased sd_uhs.mo and the related lua script
- Refined eosm cinema 2:35.1 lua script(will enable sd_uhs in RAW video menu)

(https://i.postimg.cc/nrtkThvs/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/kGFyHPcT/VRAM1-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on March 23, 2019, 07:10:42 PM
Just test the last build MCM mode 24fps 16:9  48fps - 12 and 10 bit 16:9 works perfect first time i get some corrupted frames , but then format card and try again and there was perfect footage. Also good idea to put sd hack into raw menu. Thanks again Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on March 23, 2019, 07:27:43 PM
Quote from: ctfire on March 23, 2019, 07:10:42 PM
Also good idea to put sd hack into raw menu.

Why? I'd use this option for still photos, too.

In my opinion, sd_uhs and MLV recording are very different things and should not stay in the same file.

@Danne: sorry to say, but you really need to make your commits atomic and readable. Otherwise, you'll end up with code nobody else can follow. OK, I can probably reverse engineer it, but that's not the point.

Some good reading material:
https://medium.com/@fagnerbrack/one-commit-one-change-3d10b10cebbf
https://hackernoon.com/what-makes-a-good-commit-message-995d23687ad
https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message
https://chris.beams.io/posts/git-commit/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 23, 2019, 07:36:55 PM
I'll have a look @alex. Thanks for links.
And yeah, good for stills and maybe even h264 recording(pushing fps override etc)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on March 24, 2019, 04:13:47 PM
Today retested the last build and unfortunally get corrupted frames in 48fps mode , not consistant but somwhere after 5 - 10  seconds after starting video/ in 16:9 and 2.35:1 aspect ratios and 12 or 10 bit.  Global Dwar off .

MCM mode works perfectly in all aspect ratios and bit depth
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 24, 2019, 07:03:32 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

- Moved sd_uhs.mo back into the game and erased the sd_uhs sub menu item in RAW video
- By enabling sd_uhs.mo the sd card gets patched upon start up bypassing any need for menu pushing on every start up
- Works for EOSM and 100D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: shiva66 on March 26, 2019, 09:03:07 PM
Hi, I´m new to this forum and this buid of Magic Lantern and i love it!
But after the first clip my screen gets really weird, wrong aspect ratio and if I try to record some more movie I get an error and I have to re install the magic lantern before i can record some more.
Anyone else have this problem or mayby a fix for it?

Best regards.

Pontus
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on March 26, 2019, 11:18:33 PM
Instead of reinstalling you may use
Prefs tab -> Config Options -> Restore ML defaults
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: stef7 on March 27, 2019, 02:22:17 PM
When using last version from 24th of March get always a message at the start:

Please enable sd_uhs module.

But this module is enabled. Somehow ML doesn't recognize it. Is somebody else getting this error or it's just me ?

Reverted back to the 14th of March version and there everything is OK. sd_uhs is recognized and started with the start of the camera.

Another small issue is with live view and custom ratios.

Using 2.5K 2520 1418 mode from crop_mode menu

With standard ratio of 2.35:1 set by the script in crop_mode menu, live view works correctly. Image is refreshed at slower rates and turns black and white when recording but presents a correct view of what will be recorder. This in my understanding and experience is how live view works in crop mode.

But my preferred ratio for video is 2:1. And in order to get it follow Danne's instructions in previous post:
   - 2.35:1 ratio in crop_mode is turned off
   - change the ratio to 2:1 and resolution 2400x1200 in RAW_video menu. 2520x1250 doesn't give me enough seconds of recording so I lower the resolution a bit

But at this point live view doesn't work as it was working when 2.35:1 ratio was set. It turns to x5 crop. So I see only a portion of the recorded image. Only when half pressing the shutter, then see the picture as it will be recorded - at lower fps and as it was when ratio is 2.35:1.

So my question is: Is this behavior by design ? And could it be made to work consistently across all ratios ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 27, 2019, 03:50:58 PM
Quote from: stef7 on March 27, 2019, 02:22:17 PM
Please enable sd_uhs module.
Seems to me you are still using the lua overclocking script. It´s not needed anymore. Simply enable sd_uhs module and it will patch when starting camera. If notplease send me your whole SETTINGS folder from inside ML folder on card root.

Ratio issue. Is your preview mode set to framing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on March 27, 2019, 03:57:51 PM
Quote from: stef7 on March 27, 2019, 02:22:17 PM
But at this point live view doesn't work as it was working when 2.35:1 ratio was set. It turns to x5 crop. So I see only a portion of the recorded image. Only when half pressing the shutter, then see the picture as it will be recorded - at lower fps and as it was when ratio is 2.35:1.

entering canon menu might interfere with auto preview mode. in raw video menu set crop rec preview to "off" and preview to "framing".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: stef7 on March 27, 2019, 05:07:27 PM
Thank you Danne and optical-work for the help! Setting preview to 'framing' indeed made live view work as wanted and expected.
Was not aware that lua script was not needed anymore. Formatted the card, installed ML latest version and message about sd_uhs is gone. Maybe there is an easier way to stop lua script but this one works too :)

Many thanks to Danne and others for the great work that made EOS M such a nice raw video camera ! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: darthivm on March 28, 2019, 12:49:17 PM
Hey guys, thank you for all your effort :)
I am following all the discussions here since half a year and the results so far have been great!

1) I am wondering how can i use dfort pixel maps for MLVApp 1.6. I recorded a video in 1280x1920 with 5k anamorphic (which will result in 3840x1920) and i am seeing focus pixels, how can i get rid of it. i know there are some focus pixel maps from dfort. i downloaded his whole repository and put my mlvapp in the directory of the *.fpm files. but i think there is none for this resolution. so what to do ?

2) i was wondering what is the difference in between the mcm mode and the mv1080 mode from before. somehow i forgot it and there is too much in the forum to find the explanation back again. Thanks ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on March 28, 2019, 01:09:06 PM
Quote from: darthivm on March 28, 2019, 12:49:17 PM
1)... i downloaded his whole repository and put my mlvapp in the directory of the *.fpm files. ...
Should work. Doesn't picture in viewer change when toggling the focus pixel buttons? Please send a short MLV...

Quote from: darthivm on March 28, 2019, 12:49:17 PM
2) i was wondering what is the difference in between the mcm mode and the mv1080 mode from before. somehow i forgot it and there is too much in the forum to find the explanation back again.
Main difference for the user is:
-mv1080: slow preview
-mv1080 mcm: real time preview
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on March 30, 2019, 01:13:01 AM
 The march 24 version is amazing, I work in 4.5k continually, without problems... I don't change this version it's stable...THANKS DANNE!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on March 31, 2019, 01:58:18 AM
Hey guys is it possible to record mov files cropped  and save some cpu cycles?
I noticed i have less rolling shutter when im recording raw 2.35:1 compared to recroding 16:9 even in mov h264.
That pre recording crop for sure lets camera record faster when i use 2.35:1 so it doesnt have to sweat as much as when recording 16:9, so is it possible to record actual 2.35:1 to h264 mov files ? That improves rolling shutter and would be worthy from what i see.
What do You guys think ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on March 31, 2019, 11:10:07 AM
I think h.264 looks like crap so why bother?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on March 31, 2019, 01:31:38 PM
Quote from: 2blackbar on March 31, 2019, 01:58:18 AM
Hey guys is it possible to record mov files cropped  and save some cpu cycles?
I noticed i have less rolling shutter when im recording raw 2.35:1 compared to recroding 16:9 even in mov h264.
That pre recording crop for sure lets camera record faster when i use 2.35:1 so it doesnt have to sweat as much as when recording 16:9, so is it possible to record actual 2.35:1 to h264 mov files ? That improves rolling shutter and would be worthy from what i see.
What do You guys think ?

If that is possible it would be a nice addition to the magic lantern features, i think everyone in the past has cropped 16:9 mp4 video to 2:35 aspect ratio, if magic lantern could do 2:35 native mp4, the bitrate distribution/video quality would be better on 2:35 video since no bitrate is wasted on "future" cropped areas, only used on actual video.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on March 31, 2019, 01:38:18 PM
Quote from: ricardopt on March 31, 2019, 01:31:38 PM
if magic lantern could do 2:35 native mp4, the bitrate distribution/video quality would be better on 2:35 video since no bitrate is wasted on "future" cropped areas,

I don't think it works this way. Do you have some data backing up your opinion?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on March 31, 2019, 01:51:12 PM
Hi Walter.

1 situation - using EOS M and record a 16:9 (1920x1080) mp4 and crop it to 2:35 for whatever/cinematic reason.
2 situation - using EOS M to record a true 2:35 (1920x817) mp4 video

since the actual picture dimensions of a 2:35 video is smaller than a 16:9 video the video bitrate efficiency would be better and in theory should have better quality since no bitrate is wasted, lets say that the eosm records at 30mb/s using h264, the quality on the true 2:35 would be better than a 16:9 cropped to 2:35 using the same bitrate.

Since 2:35 is using 263 less height pixels the bitrate used on those (top and bottom)  in situation 1 IS wasted if you are cropping.

Im not a pro but i think i understand a little of the basics, sorry for any confusion...lets imagine that the EOS M has a 16:9 and 2:35 modes using h264, both use 30mb/s for video bitrate, if we crop the 16:9 to 2:35 and compare its quality to the 2:35 version we could see that the 2:35 has better quality, better bitrate efficiency.

but i could be completely wrong...this is my opinion based on what i learned reading several video forums over the years.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on March 31, 2019, 03:04:30 PM
Good questions...
- i cant preview mlv in camera smoothly or i dont know how im using raw since a couple of days.
- filesize , raw is about 3 times , sometimes i dont need so much freedom to color correct as much i try to get good image in camera so im recording 10bit losless.
- mostly i would like better rolling shutter and its definitely better when recording raw.
I actually record raw but im curious is it possible to do the same thing with canon's h.264 mov files and get rolling shutter improvement like when filming raw.
If not possible then fine.
Anyone knows whats good enough card to get 1080p in raw recording on M , 14 bit with continuous, so i dont have to worry about anything?
Not the best card, just good enough.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on March 31, 2019, 03:20:46 PM
I'm using a Kingston 64Gb (Canvas go!)
https://www.amazon.com/Kingston-Canvas-32GB-Memory-SDG/dp/B079SQBCWF?th=1

continuous recording at 1736x976 14bit, fills up the card in 30minutes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on March 31, 2019, 05:27:37 PM
Thanks ! After correcting a few shots i did today with RAW i just realized, im not coming back to h.264, it just doesnt make sense and ill just get better SD card.
With some shots i could not believe RAW is that good, i thought i had another shot underexposed to preserve highlights but its almost like magic, the amount of highlights you can restore with raw is like a miracle to me.
Sorry for dumb question with h.264... now it feels almost insulting to bring h.264 suggestions in here.I love RAW.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jetrotal on March 31, 2019, 07:00:12 PM
Hey, i'm testing out the Raw recording for the eosm, i have some newbie questions:

1 - Does the MLV file comes with the Picture Style grading?

2 - Should the MLV footage be darker than the live view output?
I can't ever recover the exposure when i record it at 10bit color range.

Thanks in advance
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 31, 2019, 08:31:56 PM
I don't want this to come across as advertising, because this ain't that. lol
but if anybody has any "noob or newbie" questions, the facebook group I started may be a better place to ask "getting started" type questions instead of the development thread.  There are also several videos people have shared of what they've shot with the M and I'm sure there are more on the way.  Any and all are welcome :) if not allowed, delete. 

https://www.facebook.com/groups/375018026655820/?ref=group_header
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 02, 2019, 09:07:56 AM
Quote from: Danne on March 24, 2019, 07:03:32 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

- Moved sd_uhs.mo back into the game and erased the sd_uhs sub menu item in RAW video
- By enabling sd_uhs.mo the sd card gets patched upon start up bypassing any need for menu pushing on every start up
- Works for EOSM and 100D

Hello,

I am new to the magic lantern and I purchased my M50 2 months ago, so I decided to give ML a try on my EOS M. My main purpose is record 4k video (not raw).

I have downloaded the nigthly build first and there was no 4k record option.

Then I have found your latest release on this thread with 2.35:1 script and downloaded it, installed it on camera.

I have set the resolution to 4k, 2.5k etc with 2.35:1 ratio and,

I recorded short videos and when I look them up on the computer, the resolution is 1920x1088.

What am I doing wrong ? I just want to record normal 4k video with 2.35:1, is it possible ? Or do I need to shoot raw and enable the RAW modules ?

Can you help me ?


Thanks.

EDIT: I have loaded the RAW recording module. But when I select 4k it says it does not support more than 1800 resolution and when I try to record it that way recording stops, liveview brokes. *turns pink. Also the liveview occasionally turns pink and can be only fixed by restarting the camera. Is it because I press the half shutter button to go back into live view mode ? How to go back to liveview mode from ML menu without pressing the half shutter ?

I do not even need raw 4k 2.5k normal video should be fine but I can not record.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on April 02, 2019, 11:44:13 AM

I would like to take a zoom c mount 12.5 75 and ask you if with resolution 4.5k it will produce vignettes. I can't figure out which size of sensor it uses. Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2019, 04:58:32 PM
baris3 you need at least 45mb write speed card, usually it comes with 90mb read speed but not always, i have one it was recommended to me a few posts before yours, works great and i can record at 2520x1418 as maximum size.
I had 10mb speed sdhc card class10 and i could record 11bit lossless  raw in cinemascope 2.35:1 for 20 seconds which is quite good considering 10mb speed.It was 1768xsomething
You cant record above 1080p without using raw, if you want to record something else than canon 1080p files you have to use raw.
marcelo with some c lenses you get soft corners in 3x3 crop mode, there are some tests on youtubes with c mount raw which look great but jey probably use 5x5 crop
In worst case scenario you will sell the camera if you wont like it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 02, 2019, 06:53:57 PM
Quote from: 2blackbar on April 02, 2019, 04:58:32 PM
baris3 you need at least 45mb write speed card, usually it comes with 90mb read speed but not always, i have one it was recommended to me a few posts before yours, works great and i can record at 2520x1418 as maximum size.
I had 10mb speed sdhc card class10 and i could record 11bit lossless  raw in cinemascope 2.35:1 for 20 seconds which is quite good considering 10mb speed.It was 1768xsomething
You cant record above 1080p without using raw, if you want to record something else than canon 1080p files you have to use raw.
marcelo with some c lenses you get soft corners in 3x3 crop mode, there are some tests on youtubes with c mount raw which look great but jey probably use 5x5 crop
In worst case scenario you will sell the camera if you wont like it.

I own this original M back from 2014. I have 18-55 and 22mm f2 lens for it. I do not know if the dynamic video stabilization works while using magic lantern though. Because 18-55 lens have dynamic IS specifially for video mode (dynamic IS is a video thing not photography and only this lens have it).

My problem is, today I have tried recording something and I could not record more than 5 seconds. And what I am trying to record is mv1080. Not even 2.5k or something like that. It says "early stop, should have recorded more frames". Also, I can not set 2.5k, 4k because it says this crop mode does not support more than 1700x resolution, it says it only works in 5x zoom mode. And I do not know how to change the crop mode. I have tried to access every setting but I could not find how to set 3x3 crop mode. I have only found a thing like 3x zoom or something like that and I do not get what it does.

For the card, I have Sandisk Ultra 32gb. My fastest cards might be samsung microSDXC's mounted on SD adapter, I will give them a try. And I have tried both card overclock module on or off.

But all I want is record 10 bit or 12 bit mv1080 video. More bits mean more colors and quality right ? I have shoot projects on EOS M and canon 1080p is not that bad but I want more quality like a small cinema camera.

Also, the magic lantern stats (overlay) when shooting video have dissappeared. Now it is back to normal canon video shooting overlay. I tried resetting the config but it is still the same.

Can someone help me ? If I can not get it working in 1080p 10 bit, I am going to record without magic lantern.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 02, 2019, 06:55:20 PM
Quote from: baris3 on April 02, 2019, 06:53:57 PM
I own this original M back from 2014. I have 18-55 and 22mm f2 lens for it. I do not know if the dynamic video stabilization works while using magic lantern though. Because 18-55 lens have dynamic IS specifially for video mode (dynamic IS is a video thing not photography and only this lens have it). However as the autofocus on M is very bad, I am using a 1.4 50mm FD Canon lens on it via FD-M adapter. I think it will be good for video because that lens should have special coating compared to todays basic canon standart lenses.

My problem is, today I have tried recording something and I could not record more than 5 seconds. And what I am trying to record is mv1080. Not even 2.5k or something like that. It says "early stop, should have recorded more frames". Also, I can not set 2.5k, 4k because it says this crop mode does not support more than 1700x resolution, it says it only works in 5x zoom mode. And I do not know how to change the crop mode. I have tried to access every setting but I could not find how to set 3x3 crop mode. I have only found a thing like 3x zoom or something like that and I do not get what it does.

For the card, I have Sandisk Ultra 32gb. My fastest cards might be samsung microSDXC's mounted on SD adapter, I will give them a try. And I have tried both card overclock module on or off.

But all I want is record 10 bit or 12 bit mv1080 video. More bits mean more colors and quality right ? I have shoot projects on EOS M and canon 1080p is not that bad but I want more quality like a small cinema camera.

Also, the magic lantern stats (overlay) when shooting video have dissappeared. Now it is back to normal canon video shooting overlay. I tried resetting the config but it is still the same.

Can someone help me ? If I can not get it working in 1080p 10 bit, I am going to record without magic lantern.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2019, 08:45:03 PM
There are tutorials on youtube, start simple, enable just mlvlite,mlvsound and nothing more, remember to use fps override with raw recording.
If your card is at least 10mb writing speed then you can record raw at 1768x444 , its cinemascope ratio, about 20 seconds will be saved, its not much but definitely useable even on such slow cards.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 02, 2019, 10:13:20 PM
Quote from: 2blackbar on April 02, 2019, 08:45:03 PM
There are tutorials on youtube, start simple, enable just mlvlite,mlvsound and nothing more, remember to use fps override with raw recording.
If your card is at least 10mb writing speed then you can record raw at 1768x444 , its cinemascope ratio, about 20 seconds will be saved, its not much but definitely useable even on such slow cards.

https://www.amazon.com/SanDisk-Ultra-Class-Memory-SDSDUNC-032G-GN6IN/dp/B0143RT8OY

my card is that. I need to record more than 1 minute and I want it 1080p 10 bit or 12 bit. Possible ?

I have already tried all the ways, I loaded less modules and tried different ratios. I want 2.35 anyway.

Help me I don t know what to do
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 02, 2019, 10:25:36 PM
You may want to benchmark this card. Either use card in cam with recent nightly build (Modules tab -> Bench.mo ON -> Restart -> Debug tab -> Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min)) or a decent cardreader. According to https://www.cameramemoryspeed.com/reviews/sd-cards/ this card may do anything betwenn 19 and about 55 MByte/s in write mode and that's quite a difference!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 02, 2019, 10:41:44 PM
Restore ml settings to zero by erasing config file or redownload a new version and start fresh.
Then enable:
Sd_uhs.mo
Mlv_lite.mo
Mlv_snd.mo
Lua.mo
Croprec.mo

Restart cam. It should then throw you right into mv1080p mcm rewired mode. Movie crop mode should already be activated.
If you have little or no clue of what's going on please start reading from the download post and do deep testing of presets. Give it a few weeks or more.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on April 02, 2019, 11:09:13 PM
I would recommend also to format card in cam either after step one (delete ML config) or with step two (enable modules).

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on April 02, 2019, 11:28:57 PM
Quote from: marcelo.lippi on April 02, 2019, 11:44:13 AM
I would like to take a zoom c mount 12.5 75 and ask you if with resolution 4.5k it will produce vignettes. I can't figure out which size of sensor it uses. Thank you
my post 2445 -I've found a good res that works for me - 1024x1728, records a clean video continuous and suitable for mount-c glass

depends also which aspect ratio You use. wider formats more horizontal resolution
best, try for yourself

btw. whats up with hdmi-setup of Your's?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2019, 11:30:56 PM
baris after reading some comments on your card i suspect its about 20MB writing speed, it should be fine for 11 bits raw lossless but i recommend buying faster one, i have 45mb writing speed and i can record 5k anamorphic raw mode , i can record 1504x1920 then after stretch its 4512x1920 :o
This is magical! I feel even dumber for asking about h.264 :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 03, 2019, 02:08:03 AM
Quote from: 2blackbar on April 02, 2019, 11:30:56 PM
baris after reading some comments on your card i suspect its about 20MB writing speed, it should be fine for 11 bits raw lossless but i recommend buying faster one, i have 45mb writing speed and i can record 5k anamorphic raw mode , i can record 1504x1920 then after stretch its 4512x1920 :o
This is magical! I feel even dumber for asking about h.264 :D
Guys is there a way to always get 1/48 shutter in 23.976 ? Or 180degree, you know like film camera, currently i can get 1/45 and 1/50 and im not sure how to get it to 48.
I remember long time ago there was setting in fps override to get 180degree shutter according to the fps, it was removed ?

Thanks for all the answers. I made a fresh start as Danne advised me and used this card with adapter:
https://www.amazon.com/SanDisk-Extreme-microSDHC-UHS-3-SDSQXAF-032G-GN6MA/dp/B06XWMQ81P/ref=sr_1_3?keywords=SanDisk+Extreme+32GB+microSDXC&qid=1554244329&s=electronics&sr=1-3

It worked, mv1080 mcm rewired 12 bit mode. I was able to record 1 min long clip. But what does that MCM rewired means ? I do not know. The shooting modes confuses me because there are so many. I have tried to select 4k, but it did not let me. It says it only works in 5x zoom mode. However I could not go into 5x zoom mode because I do not know how to do so. Then I selected 2.5k 1:1 mode and from there accidetally I was able to set 4k 5x mode. I can only set 3x zoom mode. And I turn it off because I believe it uses less sensor area in that mode. I have also tried different bitrates like 14bit canon uncompressed and I could only record for seconds with very bad quality and noise.

How can I record 4k ? If it crops too much or lowers the quality because of the sensor area, I can go with the 5k anamorphic option (if I can record of course because my card can limit me). But I have no idea how to turn that (stretch) into real 4k resolution in post. I have played with MLV app and I have found it great because I was able to set the correct white balance. And there was dead pixels, I selected forced, aggressive search and they were gone in the export. Is it possible to record without dead pixels at all ? However, there is a spider-like shaped transparent area in the middle and I have noticed it during focus change because it becomes prominent at that time. I think it disappeared on the prores export too but I do not remember selecting an option to clear it, what is that area ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nlantz on April 03, 2019, 02:34:31 AM
Hey all, we have some chatter on our facebook group about the March 29 rewire working well with external monitors. Anyone know if this is the case? I gave it a quick shot but still have occasional corrupt frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 03, 2019, 02:35:18 AM
i think rewire means you record entire screen of the camera, not just 16:9.
For 4.5K follow this :
https://www.youtube.com/watch?v=tWi0sZA-nrA
I use mv1080p and then crop.This creates moire/aliasing free footage much more details than mov h264 and colours you never suspected this camera could capture.
I have some issues sometimes in most recent build and mv1080p, shutter speeds cant go below 70 , cant get 1/50, not sure yet whats triggering it.Also sometimes shutter jums back to previous values by itself, i change 50 to 53,58 and it goes back to 50 after 2 seconds.
Guys is there a way to always get 1/48 shutter in 23.976 ? Or 180degree, you know like film camera, currently i can get 1/45 and 1/50 and im not sure how to get it to 48.
I remember long time ago there was setting in fps override to get 180degree shutter according to the fps, it was removed ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 03, 2019, 08:19:59 AM
Quote from: 2blackbar on April 03, 2019, 02:35:18 AM
i think rewire means you record entire screen of the camera, not just 16:9.
For 4.5K follow this :
https://www.youtube.com/watch?v=tWi0sZA-nrA
I use mv1080p and then crop.This creates moire/aliasing free footage much more details than mov h264 and colours you never suspected this camera could capture.
I have some issues sometimes in most recent build and mv1080p, shutter speeds cant go below 70 , cant get 1/50, not sure yet whats triggering it.Also sometimes shutter jums back to previous values by itself, i change 50 to 53,58 and it goes back to 50 after 2 seconds.
Guys is there a way to always get 1/48 shutter in 23.976 ? Or 180degree, you know like film camera, currently i can get 1/45 and 1/50 and im not sure how to get it to 48.
I remember long time ago there was setting in fps override to get 180degree shutter according to the fps, it was removed ?

I have tried recording all night and I have only one video which looks 4k to me. It was a short clip and it's resolution is 4464x1900. I have tried several after that but their resolution did not go up to 4464x1900 in MLV app. And those recordings were all very noisy.

Also cropped recording module only runs for 1 shooting and then crashes. By crashing I mean it turns off itself and I have to restart the camera.

I do not know what I am doing wrong. I was able to record and export a 4464x1900 footage but now I can not do it. What do you suggest ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 03, 2019, 09:40:41 AM
You really should get more familiar with quirks and workflows already described and discussed before. With that said. One quirk with all x5 modes is that you sometimes get kicked out and back into x1 mode. When that happens open up magic lantern menu and then go out of it and the preset should update back into x5 mode.
Another quirk is mcm rewired mode. Since that one is starting point when enabling modules it will enable both Movie crop mode and crop mode setting for this round trip to work. However. When selecting another preset you need to do following:
1 - Select the new preset
2 - Push canon menu button and go back
3 - Push magic lantern menu button(trash can) and go back.
After this the new preset should work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 03, 2019, 10:01:53 AM
Quote from: Danne on April 03, 2019, 09:40:41 AM
You really should get more familiar with quirks and workflows already described and discussed before. With that said. One quirk with all x5 modes is that you sometimes get kicked out and back into x1 mode. When that happens open up magic lantern menu and then go out of it and the preset should update back into x5 mode.
Another quirk is mcm rewired mode. Since that one is starting point when enabling modules it will enable both Movie crop mode and crop mode setting for this round trip to work. However. When selecting another preset you need to do following:
1 - Select the new preset
2 - Push canon menu button and go back
3 - Push magic lantern menu button(trash can) and go back.
After this the new preset should work.

Yes, I have realized that the hard way. Thank you for confirming. I still do not know exactly what to do for entering in to x5 mode :)

Now I recorded a video in 5k anomorphic preset using 16:9 and 2.35:1, the file MLV app exported is 3552x1510 resolution. The exported video seems fine at first but it starts to skip frames after 40 seconds and at 1 minute there is pink bad frame occurs. I have finished recording by myself though.

What I can't remember is how I did the recording of the exported 4464x1900 resolution file. Because I was trying many presets I do not remember but all I know is that video is error free and has more resolution than 4k. 

https://www.youtube.com/watch?v=tWi0sZA-nrA

I did this but it does not give 4464x1900 when stretched. And if I increase the resolution more than in the video, recording stops.

What do you guys think ? How would I record the 4464x1900 exported video ?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: geroinnn on April 03, 2019, 10:06:47 AM
Quote from: nlantz on April 03, 2019, 02:34:31 AM
Hey all, we have some chatter on our facebook group about the March 29 rewire working well with external monitors. Anyone know if this is the case? I gave it a quick shot but still have occasional corrupt frames.
Hi!
Yep, a few days ago I tried to connect my computer monitor and recorded video in different resolutions, I still received broken frames, but they were much smaller!
Now I shot a video for one minute and did not find a single broken frame! I use the following settings:
1080p MCM, 25 FPS, 16:9, 1736:976, 10-BIT.
I don't know if Dunn has done anything with the HDMI, but it looks great. But you need more tests!

P.S. monitor resolution during the tests was 1920x1080
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 03, 2019, 06:05:38 PM
Any idea how to avoid half pink frames with raw mv1080 ? Or the only way is to reshoot, i can actually see when theyre goin to happen because screen flickers in a certain way.
I did some diggin on forums and found out histogram might be the cause and overall ML overlay so its best to disable them during raw record, ill check this.Some other guys said that framing preview during recording causes this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 03, 2019, 09:51:48 PM
Quote from: 2blackbar on April 03, 2019, 06:05:38 PM
Any idea how to avoid half pink frames with raw mv1080 ? Or the only way is to reshoot, i can actually see when theyre goin to happen because screen flickers in a certain way.
I did some diggin on forums and found out histogram might be the cause and overall ML overlay so its best to disable them during raw record, ill check this.Some other guys said that framing preview during recording causes this.

I have m50 anyway. I can shoot 4k with manual focus with it. My purpose was to get a good resolution raw video from my original EOS M. But now I see magic lantern is problematic and it gives half pink frames, even on mv1080 like you said. However I have not encountered any pink frames in my mv1080p clips, but I think it is because I have not recorded that much mv1080.

Other than that I do not see why I would use Magic lantern on my eos m, it is not stable and just adds to work flow. Yes 12 bit recording is good and captures so much data about colours but not good when it randomly gives half pink frames.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 03, 2019, 10:52:50 PM
I used mlv lite before croprec and it doesnt gave me even one pink frame with histogram onscreen, is it possible to merge it with croprec ? From what i see croprec is using rawrec 2.0 and mlv lite is faster for a lot of guys.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 04, 2019, 12:38:32 AM
Quote from: 2blackbar on April 03, 2019, 10:52:50 PM
I used mlv lite before croprec and it doesnt gave me even one pink frame with histogram onscreen, is it possible to merge it with croprec ? From what i see croprec is using rawrec 2.0 and mlv lite is faster for a lot of guys.

What is the the advantage of croprec ? Can I record 4k without crop rec ? I do not think so, no ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 04, 2019, 01:28:18 AM
Guys. I don´t know fully what´s going on but clearly I hear a lot of complaints about pink frames and what not. Either you start helping out uploading sample files, explaining specific settings, and I mean exact settings, or nothing but zip will come out of this. Magic lantern is simply not for everyone.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on April 04, 2019, 01:58:35 AM
which build is being complained about?  I've not shot a ton with the latest, but I've not seen any anything unusual yet.  I also try and stick with the settings I know are stable with my card.  I have a feeling, most of the people complaining are more than likely trying to run settings their card can't handle. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 04, 2019, 02:10:10 AM
Quote from: gravitatemediagroup on April 04, 2019, 01:58:35 AM
which build is being complained about?  I've not shot a ton with the latest, but I've not seen any anything unusual yet.  I also try and stick with the settings I know are stable with my card.  I have a feeling, most of the people complaining are more than likely trying to run settings their card can't handle.

Do you know which cards required to record 4k ? I am complaining about the this latest build, I am new to ML and I thought I could record clean 4k footage with my original M after all this years.

crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Mar29.EOSM202
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on April 04, 2019, 02:16:42 AM
Quote from: baris3 on April 04, 2019, 02:10:10 AM
Do you know which cards required to record 4k ? I am complaining about the this latest build, I am new to ML and I thought I could record clean 4k footage with my original M after all this years.

crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Mar29.EOSM202

which card are you using? everything it says on the front, or just take a pic of it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 04, 2019, 02:43:37 AM
Quote from: gravitatemediagroup on April 04, 2019, 02:16:42 AM
which card are you using? everything it says on the front, or just take a pic of it.

https://www.amazon.com/SanDisk-Extreme-microSDHC-UHS-3-SDSQXAF-032G-GN6MA/dp/B06XWMQ81P/ref=sr_1_3?keywords=SanDisk+Extreme+32GB+microSDXC&qid=1554244329&s=electronics&sr=1-3

This is the card I am using.

I just can not record 4k resolution without lower half pink frame after 1 min, and it starts to skip frames after 40 seconds or so. I am using 5k anamorphic mode and I tweak the settings to 16:9 in croprec and 2.35:1 in 5k anamorphic settings, then max the resolution which equals to 3500x1500 when strectched. I was able to record 4464x1900 resolution (when strecthed) but now I can not achieve it again and I do not remember which mode I have used to record it.

Which mode is best for recording 4k ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on April 04, 2019, 04:00:11 AM
Quote from: baris3 on April 04, 2019, 02:43:37 AM
https://www.amazon.com/SanDisk-Extreme-microSDHC-UHS-3-SDSQXAF-032G-GN6MA/dp/B06XWMQ81P/ref=sr_1_3?keywords=SanDisk+Extreme+32GB+microSDXC&qid=1554244329&s=electronics&sr=1-3

This is the card I am using.

I just can not record 4k resolution without lower half pink frame after 1 min, and it starts to skip frames after 40 seconds or so. I am using 5k anamorphic mode and I tweak the settings to 16:9 in croprec and 2.35:1 in 5k anamorphic settings, then max the resolution which equals to 3500x1500 when strectched. I was able to record 4464x1900 resolution (when strecthed) but now I can not achieve it again and I do not remember which mode I have used to record it.

Which mode is best for recording 4k ?

I'm not sure if using a microSD, especially one of that speed, will be able handle what you're trying to throw at it, especially depending on what other settings you have set within ML.  I think most people use the ExtremePro 95MBs cards, wheras I think your card is 30MBs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 04, 2019, 05:38:01 AM
Quote from: gravitatemediagroup on April 04, 2019, 04:00:11 AM
I'm not sure if using a microSD, especially one of that speed, will be able handle what you're trying to throw at it, especially depending on what other settings you have set within ML.  I think most people use the ExtremePro 95MBs cards, wheras I think your card is 30MBs.

Can you send me samples of what you shoot ?

This card can record 4k in EOS m50, though I know it is 8 bit. I do not understand why it would not record 40 mb/s data in ML eos m.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on April 04, 2019, 06:00:11 AM
Quote from: baris3 on April 04, 2019, 05:38:01 AM
Can you send me samples of what you shoot ?

This card can record 4k in EOS m50, though I know it is 8 bit. I do not understand why it would not record 40 mb/s data in ML eos m.

HUGE difference in 8bit 4k and RAW.  A completely different beast, it's pretty much the purpose of ML. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 04, 2019, 08:45:58 AM
I used all Danne builds from February until March 24th. I was able to continuously record the build on March 24th, shooting the two sd luas and 2.35 cinemas, in 4.5k. Proved that if I cast two or three recordings the pink frames occur but then in the next recording stabilizes and stops making them. This is my card
(https://i.ibb.co/F8BcCRY/Screenshot-20190404-083305.jpg) (https://ibb.co/F8BcCRY)

hosting gif (https://it.imgbb.com/)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 04, 2019, 08:57:12 AM
Seems that card will be able to do write speed of 60mb/s while smaller than 64gb will do max 40mb/s:
https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-90mbs-64gb-sdhc-memory-card/

To be sure one needs to benchmark the card. There are modules for this created by a1ex. Simply use another build and run the benchmark tests. Search on the forum how to do the tests correctly.
One way to test is by filming. If youre card reaches around 53 to 55 mb/s while recording 5k anamorphic 2.35:1 it´s probably ok to use. If not, reconsider getting a faster card. The only card I use that I know reliably works is the extreme pro version but others might find other brands or cards.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baris3 on April 04, 2019, 10:11:26 AM
Quote from: Danne on April 04, 2019, 08:57:12 AM
Seems that card will be able to do write speed of 60mb/s while smaller than 64gb will do max 40mb/s:
https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-90mbs-64gb-sdhc-memory-card/

To be sure one needs to benchmark the card. There are modules for this created by a1ex. Simply use another build and run the benchmark tests. Search on the forum how to do the tests correctly.
One way to test is by filming. If youre card reaches around 53 to 55 mb/s while recording 5k anamorphic 2.35:1 it´s probably ok to use. If not, reconsider getting a faster card. The only card I use that I know reliably works is the extreme pro version but others might find other brands or cards.

https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-90mbs-u3-v30-32gb-microsdhc-memory-card/

The card I am using is that one. It says it easily reached 60 mb/s and even exceeds it. I will benchmark the card while shooting. I want to shoot exported 4464x1900 resolution, I have a clip like that but it is only 3 seconds. I do not remember if I stopped the recording or not, but I do not remember the settings I recorded for that clip so I dont have an idea how to do it again. Does auto stop recordings save to card ? I mean, when it becomes red it only records for 1 sec or so and automagically stops recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 04, 2019, 10:24:05 AM
There´s two ways to find out what is pratical to use when it comes to recording and what works or not

1 - Start reading from here and check all posts:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

2 - Short answer. Install magic lantern and run the cinema 2:35.1 lua script. By doing this you will get right into this preset:
5K anamorphic but it will run in 2.35:1 ratio and continuous. The new ratio will be:
1488x1900 Which when imported into Mlv App will upscale to magical, tada:

4464x1920

The other highres presets simply won´t work with full fps(24fps or 25fps that is) but with reduced fps.
Please. Before posting further do go through all posts starting from the provided link above.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on April 04, 2019, 02:12:02 PM

(https://i.ibb.co/0ZxvW4h/111.jpg) (https://ibb.co/0ZxvW4h)

(https://i.ibb.co/X834TV2/photo-2019-04-02-11-30-27.jpg) (https://ibb.co/X834TV2)

hi everyone , today tasted the latest build and notice some strange dots line in bottom of the frame in 2.35 : 1 45\48 fps mode 10 bit . It's very simmilar  to focus pixel dots.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 04, 2019, 02:20:57 PM
Maybe it´s focus dots then? Tested chroma smooth 3x3? Tested dfort pixel map files and put them into Mlv App?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 04, 2019, 06:32:38 PM
Yes, those are focus pixels.

When the pixels are too close to the edges of the image the interpolation algorithm can't handle it because there are not enough pixels to sample. Adding more chroma smoothing or the "median filter" in dcraw won't help. (https://www.magiclantern.fm/forum/index.php?topic=16054.msg195932#msg195932) One way around this is to crop out a few pixels in post. You need to resize anyway if you are working on a standard HD or UHD project. Another way around this is to try a larger image size. Yes, larger because the focus pixels at the edges of the sensor usually don't light up.

Here is an image of the full frame buffer showing the out of bounds area in dark grey and the focus pixels on the active area.

(https://farm5.staticflickr.com/4487/37257348780_bcb3d65171_c.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 04, 2019, 08:42:09 PM
Guys is it possible to hide only histogram when recording raw and making it appear autimatically when not recording ? That would be super useful.
Or display only camera passepartout when recording raw for chosen aspect ratio to save as much cpu cycles as possible without disabling overlays completely.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 05, 2019, 04:33:10 PM
I've just finished smoking this thread starting from page 70. First of all I would like to thank Danne, dfort and many others who helped testing releases and iron out the bugs. It is absolutely incredible what you guys have achieved here. I used to be a Sony guy with 3 Sony bodies and only one Canon (6D), but because of ML and mainly the video raw capabilities that have opened up to us recently I now have 5 Canon bodies (withing a month I purchased a 5Dm3 and 3 x EOS M). Raw video is so addictive.

Now, while I've been reading the thread and came across many 'bug' reports, I felt that possibly?? some/many of them could be related to the cards people are using (which is possibly the reason why they couldn't be reproduced by Danne). For raw filming I personally use Sandisk Extreme Pro cards exclusively and have come across very few glitches with ML on my 6D or EOS M and they have been the same - I routinely get one or two corrupted frames at the very beginning of my takes  with the rest of the footage being fine. Since we 'overclock' the interface, making it write faster than Canon wanted us to, maybe it's crucial to use the highest quality cards.

I only have limited experience with EOS M - so far I've been using the old Nightly.2018Aug07.EOSM202_mv1080p build because it gave me a quick access to full sensor 1736x976 mode which I used for filming two music clips last weekend and a few test takes in the last two weeks. I wanted to read the thread and get up to speed with all the new development that took place after July last year before installing the latest build, which is what I'm going to do now and dive into all the new stuff.

I hope to be useful to the community that has given me so much and give back something. Would there be any interest if I shared my experience with different raw processing workflows?

baris3 - if all you want is trouble free 4K footage and don't care/don't understand/don't need RAW and just want higher resolution videos - I would suggest you stick with M50 and 4K video it can produce. RAW video, especially using ML is much more involved, especially if you want to push it to extract every bit of detail/color information out of it. Do you shoot raw photos or jpgs? If you shoot raw and understand what advantages it gives then you can understand the advantages of raw video - it's the same. However if you take jpg pictures and are happy with them, raw post processing workflow will be overwhelming for you. I can record only about 27 minutes of 1736x976 14bit raw onto my 64Gb card (are you ready for HUGE files?) If you increase these dimensions by a factor of two (which is close to what you will get when approaching 4K anamorphic), that's 4 times more information, so a 64Gb card would be able to hold only about 7min of recording (a bit more if you record 10bit). Do you want/need that?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 05, 2019, 06:02:40 PM
Great baladev :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 06, 2019, 10:34:38 AM
Found a bug with dots appearing on footage in most recent build:
(http://picplus.ru/img/1904/06/d219b005.jpg)
It happens when i use aspect ratio 2.35:1 from croprec menu or 16:9 and if i turn aspect ratio off then dots disappear but then i have serious problem with shutter speeds and cant get lower than 70 cause it loops back to 4000.
mv1080p 1736x1158 mode.not see it on rewire mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 06, 2019, 10:44:10 AM
Known already. And solved too. Use search function or read through the posts I pointed to way too many times already.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 06, 2019, 03:39:50 PM
YEah i have dfort pixel map files in folder with mlvapp but it doesnt help when i press buttons in fix focus dots.OR do i need to do something more?
Its resolution 1736x738 and i dont see this resolution in focus maps scripts folder.Does anyone has that ? How to generate it ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 06, 2019, 03:51:00 PM
Good. Also upload a small mlv sample file with the issue in question.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 06, 2019, 04:38:43 PM
Yeah i did, im looking for some info how to do focus pixels map myself so i dont have to bother him.
Found something here  https://www.magiclantern.fm/forum/index.php?topic=16054.msg207474#msg207474
and posting for myself later mlvdump with gui to work faster https://www.magiclantern.fm/forum/index.php?topic=19460.0
aaand dcraw gui http://meguidcraw.blogspot.com/2009/07/descarga-download.html
Well, it appears that 1808x1108 focus pixel map is for my particular file but it still doesnt work, is there any way to fix this in cam? I can clearly see focus dots disappear for hal second when i exit ML menu so it(disabling focus pixels) is something thats already being done by ML with menu exit function.Why not making it a feature to turn on/off for manual focus lenses?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Dutchflyingpilot on April 06, 2019, 09:25:39 PM
I noticed when using MCM Rewire the HDMI 480 (lo-res) output stopped functioning (I use a Feelworld 4k monitor).
HDMI 1080 works just fine, so no problem there, but you loose Magic Zoom and that's a pitty I think.
Focusing is much harder now. Is there a fix?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 07, 2019, 04:22:25 PM
Danne is there any way that i could get different pattern of focus pixels so MLVapp would be able to remove them ?
The ones i currently have are having some issues:
https://www.magiclantern.fm/forum/index.php?topic=16054.new#new
Id rather change something in camera in the future so it would be possible to remove my focus pixels, i also by accident got different patern of focus pixels in ML, it was something like this but i cant turn it on again:
(https://farm8.staticflickr.com/7874/47280353381_4bfdfa9f23.jpg)
I would like to change something in camera so dfort focus pixels map would work on my future cinemascope 1736x738 footage.I think its smarter this way instead of having every situation covered , just make camera show focus pixels in a pattern that is known to be removable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 07, 2019, 04:47:29 PM
It´s not clear to me what exact setting was used. Could you share me your whole SETTINGS folder inside ML folder?

Was it mcm rewired set to 2.35:1?
Only reduced to 12bit from Crop mode sub menu or any other changes?
Need to know exact set up to reproduce so sending the SETTINGS folder should be best.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 07, 2019, 05:13:00 PM
no it was not rewired it was the one above it, 1736x1158 under Q settings were 12 bit and 2.35:1 ratio.
raw video settings were
res 1736x738
aspect 2.35:1
14 bit lossless
preview frozen lv
In canon menu AF method - flexizoneAF⟁
My settings folder
https://drive.google.com/open?id=1jfQCNMKw0hsiG6r4JPhvAQd5bTbbWK0d
What focus pixel pattern do You have on your canon M in the same mode ? Can you record in cinemascope 1736x738 and then remove focus dots in MLVapp ? If yes then could you share your settings folder so i could adapt my cam? Maybe theres something wrong here in my cam because this format is quite popular.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 07, 2019, 05:28:40 PM
Thanks.
Frozen liveview? Why using that?
Anyway. Try using the mcm rewired mode and set it to 2.35:1 and 12 bit in Crop mode sub menu. Should work better with real time and perfectly aligned liveview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 07, 2019, 06:13:08 PM
Because i had pink frames when using framing preview and now i have 0 pink frames if i use this black/white preview.Also its mostly because of histogram.This mode works ok with histogram on.framing mode gives pink frames with histogram on, unless there would be an option to disable histogram during recording , i mean histogram is not on screen when recording but disabling it and switching to blackwhite view made pink frames thing of the past for me, i dont really need anything besides properly cropped image on screen but using kill global draw removes cropmarks for cinemascope, i would like them on and everything else gone when im in framing mode recording .
Ill do as you say and will try to remove pixels again in mlvapp.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on April 07, 2019, 06:50:35 PM
i don't know if relevant but it was mentioned that mcm rewire mode doesn't work with bit options in crop mode sub menu. must be set in raw video sub menu if needed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 07, 2019, 06:56:55 PM
Other way around. You set it in Crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 07, 2019, 09:28:59 PM
Love You man ! It worked and i dont have any focus pixels when i use rewire, :D
But i see histogram :) can i disable it during recording and have it only when previewing? It will get me pink frames
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 07, 2019, 10:32:44 PM
Nice.
I guess you need crop marks still on. Will have a look tomorrow.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 08, 2019, 12:51:23 AM
Also one interesting thing i noticed is that i have one red pixel on my liveview and it gets recorded on the raw video, this is not dead pixel, it does not appear when i remove card with magic lantern and it does not appear in photo mode.
What is it ?
http://picplus.ru/img/1904/07/c66d3869.png
From my tests it looks like it appears when i turn on rec crop mode, rewire or the one above, i turn off this mode and press canon menu button, back to liveview and pixel is gone.
Or is it dead pixel hidden by canon ?Id prefer it to be hidden .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 08, 2019, 02:18:42 AM
If this is the image you are pointing to -- could please point out the red pixel? I don't see it.

(https://live.staticflickr.com/7885/47559984801_9d447633d1.jpg) (https://flic.kr/p/2fsHmvX)

A while back I wrote a post on how to add dead/hot/whatever pixels to a focus pixel map file (https://www.magiclantern.fm/forum/index.php?topic=16054.msg212690#msg212690) and Danne wrote another post on how he got rid of his "three hot friends" in camera (https://www.magiclantern.fm/forum/index.php?topic=9741.msg212680#msg212680).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 08, 2019, 06:18:57 AM
Probably more dead pixels in there if I would remove this:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg212680;topicseen#msg212680

Oops. Noticed dfort already linked.
In mlv_app select fix for cold pixels or similar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 08, 2019, 12:06:39 PM
So i do have even more dead pixels and camera is hiding them while mcm rewire partially shows how they really look like ?
Is it possible to hide the ones i have as well with another tweak to cmos 4?
I tried removing it in mlvapp its not working, maybe if there would be an option to select it manually.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 08, 2019, 12:13:43 PM
In your provided example I can´t see any dead/hot/cold pixels so before I can see anything it will be hard. Try getting a clear example of the issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 08, 2019, 01:02:15 PM
Its this one
http://picplus.ru/img/1904/07/c66d3869.png
The stuck pixel is here
(http://picplus.ru/img/1904/08/7a7e5361.png)
flickr compression kills it so its not visible.
Also i didnt had it onscreen before i tried last build, and before that i had 12 february and a couple other builds.
Why the pixel wont show up if i disable croprec ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 08, 2019, 01:40:06 PM
If not removed in Mlv app the usual way you do like this(dfort posted a link too):
https://www.magiclantern.fm/forum/index.php?topic=16054.msg212690#msg212690
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 08, 2019, 01:41:16 PM
I tried chroma blur 3x3 and its gone but im wondering why it disappears when i disable croprec ? Id prefere not to use chroma blur if i dont have to because it destroys some saturation data and colours look quite bland.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on April 09, 2019, 04:53:44 PM
just quick tested Danne's new April09 build.
looks good, tested the new 2.5k 1:1 preset, and the MCM preset. Nice! no corrupt frames

Anyone looking for cheap and sufficiently fast card please look here -
https://www.magiclantern.fm/forum/index.php?topic=12630.msg214903#msg214903

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 09, 2019, 09:20:07 PM
Quote from: 2blackbar on April 08, 2019, 01:41:16 PM
Id prefere not to use chroma blur if i dont have to because it destroys some saturation data and colours look quite bland.

Show us some examples.

I've heard this so many times yet when I compare files processed with and without chroma smoothing there's very little difference, certainly not enough to avoid using it when it helps get rid of those last few stubborn focus pixels.

BTW--I first got into compiling ML because I wanted to use the chroma smoothing feature in raw2dng to remove the focus pixels from my EOSM and the only way to get it was to uncomment one line and compile it.

modules/lv_rec/raw2dng.c
/* useful to clean pink dots, may also help with color aliasing, but it's best turned off if you don't have these problems */
//~ #define CHROMA_SMOOTH
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 09, 2019, 10:19:25 PM
Chroma blur does not work for focus pixels Daniel but it works fine for red stuck pixels, maybe also because of the fact that its just one.
I was doing som color correction and used chroma blur on chroma sharpness in mlvapp ,then noticed my dark areas arent so saturated anymore.
http://picplus.ru/img/1904/09/7a1ad0c0.png
http://picplus.ru/img/1904/09/2f75f8c1.png
More green one is the one with chroma smooth, i dont like how it looks, cyan tone disappeared.Maybe example that i had a couple dauys ago was change from green to kinda brownish tone in shadows which could appear like loss of colour, but it definitely affects the colours.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 10, 2019, 12:41:44 AM
Really? My eyes must be getting old. Which is which? I really don't see what you are talking about. Might help if you exposed properly or put a color chart in the shot or...well, let's take a look:

http://picplus.ru/img/1904/09/7a1ad0c0.png
(https://live.staticflickr.com/7900/47522025512_4acb67104a.jpg) (https://flic.kr/p/2fpmNxs)

http://picplus.ru/img/1904/09/2f75f8c1.png
(https://live.staticflickr.com/7925/33698020558_5ccf622ba8.jpg) (https://flic.kr/p/TkMaus)

I think that some very minor chroma smoothing image degradation might be real but there's also quite a bit of emporer has no clothes phenomena going on here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 10, 2019, 02:21:02 PM
Daniel i think i spent a lot of time on color correction and im a painter so i detect color changes in darks and bright areas faster than people who dont paint, i can clearly se that shadows are lacking blue tint in top example , bottom one has blue/gree tone that id like to preserve, its the main reason i swtiched to raw, because regular colorspace for h264 wont let us to bring these colours out so easily.
top image is green on dark walls , bottom one is cyan.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on April 10, 2019, 04:41:57 PM
I know the Overlook Hotel when I see it. lmao that's what those screen grabs look like. The Shining.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 10, 2019, 05:08:25 PM
There's definitely difference, but nothing a quick post processing won't fix. Here's you green frame quickly adjusted to look more or less like the cyan one:

(https://i.ibb.co/HDwwSFQ/47522025512-c6014479dc-o.png) (https://ibb.co/HDwwSFQ)


I've been doing digital color correction for 15 years (photos and printers) and pretty much the only thing I care about is details. They can't be brought back if lost. Color can be made almost anything you want nowadays, especially with the power raw presents us.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 10, 2019, 05:24:51 PM
I worked 25 years in editorial and post production and before that work another 20 years as a still photographer. Yeah, I'm an old guy so maybe it is my eyes.

@2blackbar - So you are saying that chroma smoothing (which you referred to as "Chroma blur") is causing a subtle shift in greens? It that the reason you would avoid using it? Seems like that can be easily fixed in color grading.

Quote from: baladev on April 10, 2019, 05:08:25 PM
...pretty much the only thing I care about is details. They can't be brought back if lost. Color can be made almost anything you want nowadays, especially with the power raw presents us.

My point is that chroma smoothing is a useful tool that has gotten an unjustified bad rap. It is worth reading the comments in the source code to see what is going on:

modules/lv_rec/raw2dng.c
             * for each red pixel, compute the median value of red minus interpolated green at the same location
             * the median value is then considered the "true" difference between red and green
             * same for blue vs green


By the way, it is very hard to judge what is going on when you are posting 8-bit images. It is best upload DNG or even short MLV files.

Quote from: gravitatemediagroup on April 10, 2019, 04:41:57 PM
...that's what those screen grabs look like. The Shining.

LOL

In any case, we're getting off topic here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 10, 2019, 06:01:50 PM
Good observations and ideas guys , thanks .
baladev thats quite accurate but its just example, shot is underexposed and was just high iso test of how much i could smooth out noise, is it better to shoot 1600 and brighten up or shoot 64000 and darken shadows.The answer is - bring more light.Sometimes you just dont have them.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 10, 2019, 06:29:15 PM
Quotewas just high iso test of how much i could smooth out noise, is it better to shoot 1600 and brighten up or shoot 64000 and darken shadows.

I recently tried editing in DaVinci Resolve. One thing that impressed the heck out of me is very powerful noise reduction. It has this tool.. not sure what it does, frame blending or something, but i was able to reduce noise in some quite noisy footage (iso 3200 if remember correctly) to almost nothing without destroying details. It was like magic to me.. used Adobe stuff for years and have never seen anything like this! BTW, there's a free version of it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 10, 2019, 07:58:53 PM
But free version of Resolve has no noise reduction. (as far as I know)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 10, 2019, 08:44:40 PM
resolve needs gpu rendering and im on tabletpc used for work, so it doesnt even run after install.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Hek on April 11, 2019, 05:33:07 PM
When in either of the 2.5k modes, if fps is set to anything other than 23.976, the black bar on the right returns. Tested this on the 4/9 build and the build from today. Tested using 2.35:1 aspect ratio.  To test, set fps override to exact fps, and fps to 24. You will see the black bar on the right in framing preview.

edit- This is on an EOSM
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 11, 2019, 08:14:53 PM
Not very clear what you are doing or what issue you have.
On a sidenote. Fps override will not be recommended to use if preset includes static fps already set.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Hek on April 12, 2019, 01:48:25 AM
Here are two stills from an mlv, first one taken at 23.976 fps, the second at 24fps. Notice the black vertical bar on the right.
(https://i.postimg.cc/DJ3tdLcB/23-976fps.png) (https://postimg.cc/DJ3tdLcB)
(https://i.postimg.cc/7Jxdj4dz/24fps.png) (https://postimg.cc/7Jxdj4dz)

Also noticed this in the code, not sure if it's related.

/* gets rid of the black border to the right */
EngDrvOutLV(0xc0f383d4, 0x4f0010 + reg_83d4);
EngDrvOutLV(0xc0f383dc, 0x42401c6 + reg_83dc);


Just something I noticed when I was editing some clips. I'll stick to 23.976fps from now on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 12, 2019, 02:20:23 AM
Now that you bring it up--I would prefer if the default fps on the bleeding edge settings could be set to 23.98 instead of 25fps. Yeah, I know that we have users in PAL land and NTSC land but pretty much all film production these days is being done at 23.98 (even if they tell you it is 24). In addition, it does allow for just a tiny bit more max resolution than true 24fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 03:32:46 AM
It's been default 24 fps for a while now although 25fps is to prefer often here in pal country. Flicker frequencies and such.
@Hek
You can use shutter fine tuning instead of fps override.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 12, 2019, 04:33:14 PM
Danne

I tested your last build today. Very nice!
Still get some occasional pink frames. Can't narrow down what's causing them.
The statistics from today is:
5K anamorphic
1136 x 1918 - out of 5 clips 2 had pink frames - 1 and 2 in each
1184 x 1998 - out of 5 clips 1 had 1 pink frame
new 4k anamorphic rewired
1136 x 1900 - out of 3 clips no pink frames

BTW, what's the difference between these two presets?

Will do more tests tomorrow. I film some clips in LV and others in LV with GD off and yet others on non LV mode, maybe this has influence.

Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 04:41:52 PM
The most trusted way is to run the lua cinema script and record 2:35.1 ratio. If you also enable Kill global draw setting I think youll have a hard time getting pink frames.
Other settings could work and could not work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 12, 2019, 04:56:33 PM
I see, I'm a 16:9 guy, so this script won't work for me..
Where is this Kill global draw setting?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 05:01:33 PM
One of the menus.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 12, 2019, 05:28:08 PM
Ok, Thank you, found it, will test tomorrow.

I've noticed that your build is so smooth and responsive, feels great comparing to my 6D, which feels a little sluggish. Also things don't seem to break, at least I haven't been able to break anything so far, which would require a reboot.. So, congrats, feels very polished.

About pink frames.. I though they were caused by corruption that occurs when a camera runs out of processing power and can't keep up with the data flow or recording it onto a card.. But my observations with today's footage don't seem to support this.. I observed pink frames in places in my footage where I would expect them the least if my theory was correct, like I pan the camera from a brighter spot to a darker spot and a pink frames occurs in the dark spot, where, according to what I've read, the data flow should be smaller.. Strange  ::)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 05:44:43 PM
Could be timer regs, compression code, cpu or a mix of things. Who knows. It's a real pain in the ass, that's for sure...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 12, 2019, 06:17:26 PM
If it's of any help.. I don't think I ever got any corrupted frames on my 6D. I get 2nd and 3rd frames corrupted all the time, they are practically never good, but apart from that, I can't remember ever getting a pink or mangled frame.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 06:31:42 PM
No help here i'm afraid. I must say I feel lost when tweaking regs. Shooting from hip, testing comparing until I tested all I could think of testing.
At this point I think a1ex could take a look at my anamorphic parts in crop_rec.c and maybe he sees something that can be refined.
What you can help with is tweaking following regs straight in crop mode sub menu:
713c
7150
6014
6008

Maybe you find a better combination for 16:9.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 12, 2019, 06:39:32 PM
Ok, I will try these.

So, the 6D and EOS M have different values in these regs? Can't take them from one put in the other?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 12, 2019, 06:49:32 PM
If you ever wondered why it takes so long to get ML ported to new hardware or even to new firmware versions ...
And some cams are worse than that. My 650D won't work with Dual-ISO without tweaking a value which works perfectly well on other 650Ds.
Welcome to the fascinating world of reverse engineering!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 06:51:18 PM
Not the same @baladev. They follow the same relation and they are named the same. A1ex got them all pretty much figured out. Should check his bad ass crop_rec.c for 700D...

Speaking 650D Walter. We should get that one too into anamorphic world.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 12, 2019, 06:58:29 PM
Quote from: Danne on April 12, 2019, 06:51:18 PM
Speaking 650D Walter. We should get that one too into anamorphic world.

Sorry, unable! I'm pretty sure I'm occupied with other things until April 2020.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2019, 07:11:34 PM
I could prepare a preset for testing. Let me know if any interest here 650D users...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on April 12, 2019, 07:15:29 PM
As long as we're moving off topic:

Quote from: Walter Schulz on April 12, 2019, 06:49:32 PM
My 650D won't work with Dual-ISO without tweaking a value which works perfectly well on other 650Ds.

Happens with some 700D's too. For the new crop_rec settings, these two cameras are so similar it might just be a matter of using the registers we already found on the 700D on the 650D and Bob's your uncle.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aulden on April 12, 2019, 07:58:04 PM
Danne! Tried out your newest build with the 4k anamorphic rewire - Does that mean that the live view will match the framing, you see realtime what you get? If so i cant get it to work. Any tips? The regular 1080p MCM rewire works perfectly though. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on April 13, 2019, 09:50:22 PM
Try the last build 4k anamorphic rewire awesome but framming in real-time is taking the top of the frame , it will be cool if there is some possobility to make it more centered.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 14, 2019, 05:28:38 AM
Danne

I did some more testing to try to establish some pattern in pink frames.

Used your latest preset 4k Anamorphic rewired @14bit, 16:9, 1120x1890 res.

1 In LV with GD on I got this
clip 1 1m30s - 10 pink frames
clip 2 1m12s - 13 pink frames
clip 3 1m7s - 10 pink frames
clip 4 23s - 4 pink frames

2 In LV with Kill GD on I got
clip 1 1m30s - 0 pink frames
clip 2 54s - 0 pink frames
clip 3 50s - 0 pink frames
clip 4 50s - 0 pink frames

I also ran tests with your 5k anamorphic preset. With Kill GD enabled, out of 10 clips I only got 3 pink frames in the first one (maybe some settings didn't update correctly?), all other were pink frame free.

Not sure if this info is of any value, but could it be that GD somehow contributes to PF effect?

Another thing I noticed is that in 5K preset video 'jerks' often. After watching clips for a while I started noticing that it happens when the camera changed direction of movement. I think it might be related to IS not working properly in this preset? In 4k preset I didn't notice any jerkiness. Sorry if this is known or has already been discussed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 14, 2019, 07:44:42 AM
Kill global draw is there for the reason giving som more overhead.  No more tests needed since those issues are already stated many times. Run 2.35:1 for pf free frames.
A helping test is if you could refine your preset tests by changing the regs I pointed to before and compare results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on April 14, 2019, 08:03:02 PM
Quote from: 2blackbar on April 03, 2019, 02:35:18 AM

I use mv1080p and then crop.This creates moire/aliasing free footage much more details than mov h264 and colours you never suspected this camera could capture.

What is the difference with using only movie crop mode (without mv1080p). Or do you use mcm rewire?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on April 15, 2019, 07:26:06 PM
Hi Danne,

Got the latest build (11 April) and saw the 4K anamorphic rewire.

Just wondering if this preset was hooked up yet to get a real-time, proper framed preview.

I'm well aware that it's probably a long shot, but I got excited when I saw the preset name.

If it is hooked up, could you share some working settings as I could manage to get a good preview without framing on, which is similar to previous builds/presets.

Not trying to be demanding, just got excited by the name. If there's something to help test:try just let me know.

Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on April 15, 2019, 07:29:21 PM
Quote from: henricusmaria on April 14, 2019, 08:03:02 PM
What is the difference with using only movie crop mode (without mv1080p). Or do you use mcm rewire?


Yes I'd like to know too
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on April 16, 2019, 02:27:33 AM
This is the difference
First picture shows the 2.5k preset
Second picture shows modified 4k anamorphic preset
Lens used was a mount-c 12.5mm f1.7
With the first one no continuous rec, but with the other

Thanks to Danne, used the recent build
2464x1418

(https://i.ibb.co/4Y2GQPG/2-5kpreset-C-mount.jpg) (https://ibb.co/4Y2GQPG)


I apologize for the motive, this is 960x1900

(https://i.ibb.co/MP0WxNm/4kpreset-C-mount.jpg) (https://ibb.co/MP0WxNm)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 16, 2019, 02:01:05 PM
Quote from: henricusmaria on April 14, 2019, 08:03:02 PM
What is the difference with using only movie crop mode (without mv1080p). Or do you use mcm rewire?
Quote from: berechiah on April 15, 2019, 07:29:21 PM

Yes I'd like to know too
Now i use rewire mode cause i had problems removing focus pixels, higher resolutions in anamorphic mode will give you lot less aliasing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on April 16, 2019, 04:40:11 PM
I wonder if this gets mentioned in the thread. If I boot in anamorphic mode, the live view first shows up in seems correct aspect ratio, and then after about one second it gets stretched.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on April 16, 2019, 10:07:18 PM
Quote from: 2blackbar on April 16, 2019, 02:01:05 PM
Now i use rewire mode cause i had problems removing focus pixels, higher resolutions in anamorphic mode will give you lot less aliasing.
Mv1080 rewire gives me way too much aliasing. Is there a difference between just moviecrop mode and mv1080 with moviecrop mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 16, 2019, 11:27:03 PM
Just test it and compare
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 17, 2019, 03:11:21 AM
I am using the 9 April night version, in 4.5k the 1502 x 1920 resolution has disappeared for some reason? The 14bit lossless data rate with correct exposure amounts to more than 70MBs, using ettr 90 or more of it ... right so? I'm working with sandisk pro 170 card in reading, the maximum speed at which I arrive is 55 and maximum 60/61, someone else has the same results? Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MrIndieJ on April 17, 2019, 04:52:52 AM
Is there any way to center the live view after running the included script? When looking at the live view, I only see about the top half of the framing preview. It's not a problem if in static shots, because I'm able to use the framing preview and then just hit record. But when I'm trying to film moving shots or frame my dogs in a shot, I can't ever get the shot I want due to the way the live view only shows the top half of what is being recorded. Am I doing something wrong?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 17, 2019, 05:02:57 AM
Gentlemen, please read this thread starting with page 71 post 1765 to familiarize yourself with the limitations/quirks/oddities of ML implementation on the EOS M. Answers to most of your questions contain there. I'm doing exactly that the 2nd time now to fill in the gaps I missed the 1st time :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on April 18, 2019, 09:47:47 AM
Quote from: 2blackbar on April 16, 2019, 11:27:03 PM
Just test it and compare

I don't see a difference that is why I asked if you had a reason to use mv1080 with moviecrop. Maybe you had a reason..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on April 18, 2019, 10:29:07 AM
@henricusmaria

Normal mv1080 has stretched LiveView, mv1080 with Move Crop mode rewire has correct real-time LiveView.

Consider using the latest build from Danne, some of previous build has Extreme Moire when using MCM rewire, in the newest ones the problem has been fixed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 19, 2019, 12:08:28 AM
I see now in recent build realtime preview looks properly alligned like "Framing" preview.Great work Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 19, 2019, 12:53:41 PM
I'm confused, what are the statistically more stable resolutions that allow me to record continuously with a real-time display at least in black and white? Due to lossless compression I find that the bit rate increases up to 60% more, you have the same result?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 19, 2019, 01:35:14 PM
Run the cinema lua script. All presets should then be lossless. If you also enable Kill global draw in RAW video menu chances increases even more. If this isn't working, check your card. Should be able to pass 55mb/s write speed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 19, 2019, 02:22:15 PM
Great Danne, my card arrive at 60/61-2 MBs. unfortunately with the high resolutions as soon as I exposed the signal correctly the bit rate rises to 80/90 MBs
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 19, 2019, 02:25:33 PM
Then you probably didn't run the lua script. Please do a screen recording of what you're doing otherwise since a lot of information is missing now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 19, 2019, 02:42:43 PM
 I start always with lua cinema...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 19, 2019, 02:53:08 PM
Still need to see from start to finish with a clean build what's going on. Also, what's the exact name and spec of your sd card?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 19, 2019, 03:24:36 PM
Sorry Danne, I was talk about 9 april. I re test with the 11 april version, I think much better. My card is sandisk extreme pro read 170 MBs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on April 19, 2019, 03:43:57 PM
the only certain thing is that with 14 lossless, exposing to the right also increases the bit rate by 60%
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 19, 2019, 04:37:47 PM
@marcelolippi Make sure you have no clipped highlights. Picture should be a bit underexposed to get the best result, especially if you have large bright/white objects in the frame. GD causes pink frames in crop mode, so unless you don't mind them, use Kill GD, of course then you won't have LV and no framing, if you need framing, afaik your only option without pink frames is MCM rewired preset. I also reduce audio sampling to 11KHz, this helps to give more room for video. Tonight I was able to film two clips (~12min each) clips of band performance with 1120x1890 14bit anamorphic (used 4K preset). It was dark, in daylight it won't give me continuous.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on April 19, 2019, 07:20:13 PM
Quote from: theBilalFakhouri on April 18, 2019, 10:29:07 AM
@henricusmaria

Normal mv1080 has stretched LiveView, mv1080 with Move Crop mode rewire has correct real-time LiveView.

Consider using the latest build from Danne, some of previous build has Extreme Moire when using MCM rewire, in the newest ones the problem has been fixed.

I have the latest build. Mcm rewire still gives aliasing/moire. Using only Movie crop mode gives me cleaner footage. My question was if there is a difference between using just movie crop mode and (standard) mv1080 with movie crop mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on April 19, 2019, 08:07:16 PM
@henricusmaria

Movie Crop Mode will give x3 lossless zoom and it uses small area of the sensor 1x1 sampling, in mv1080 you are using the entire sensor 3x3 sampling same as MCM rewire. I don't know why it wasn't clear enough,  have you tested the two mods before?

The aliasing and moire come from the line skipping in 3x3 sampling, to get rid of that and if you want to keep crop factor 1.6 or close (like 3x3), use 1x3 sampling as known as 5K Anamorphic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on April 19, 2019, 11:57:02 PM
I know.. again, I was responding to what 2blackbar wrote about using mv1080 (no mcm) and moviecrop together. This way you are not using the entire sensor.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 20, 2019, 12:05:37 AM
I think  crop raw records 5x5 not 3x3(had to disable it to record 3x3), so you can force it to record 3x3 (kinda like normal h264 3x crop area) but real noalias mode is 5x5 from what i understand.
I actually tried both 3x3 and 5x5 raw and i prefere 5x5, 3x3 looks a bit artificially upscaled to my eye but that might be my lens resolving power not being good enough.
MAin reason i use mcm rewire is that i can remove focus pixels with it in mlvapp and i cant with regular mv1080, they both looked similar to my eye and mcm can record full sensor which is super amazing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on April 20, 2019, 12:49:48 AM
So i've just installed today ml on a eos m (after messing with a 100d), I've been testing it and reading the thread. I've been using it in my room, tomorrow I'll take it to the street with daylight. My question is about the resolution of the 4k and 5k modes, for what I'm reading it records in a resolution lower than 1080p and then it gets upscaled when exported to dng, is it then a fake 4k/5k?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 20, 2019, 01:58:32 AM
It records almost two times higher than 1080 -  height is 1900 pixels but width is upscaled later from 1488 pixels to 4464 to match aspect ratio.
dngs are actually 1488x1900, final res is 4464x1900.You can round it to 1920p.
I suspect these are highest resolutions cam bufers can provide at the moment in this combination.Highest width without 5x5 crop is 1736 pixels.
Its the best possible quality that you can get from canon M and its amazing that it even works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on April 20, 2019, 02:22:17 AM
Well, 4k (uhd) is 2160p, so it gets pretty close, I guess then this is better to use this than using an h264 4k camera (like a lumix) due to the options in post-processing and color, right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 20, 2019, 02:33:34 AM
Thats up to You , if You prefere RAW file with upscaled width , perceived resolution for me is pretty high , much higher than recording in 1080p modes but i didnt compare it with actual 4k frame.
You also have 4038x2558 in 5x5crop mode if you want highest res no matter if cropped.
I could not get them to work for me tho, highest i could do was 2.5k in 5x5 mode, 3k and 4k have broken preview and they wont record actual image from lens.
Also You need fast card for this, with 45mb writing speed i can barely make anamorphic 5k work for about 10 seconds, i will buy new cards tho cause its totally worth it, get fastest you can actually, who knows what future brings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 20, 2019, 08:28:34 AM
It's not just some simple upscaling. Hardly fake. You can compare resolution and upscale non anamorphic to anamorphic starting point. Start by viewing the absence of aliasing in anamorphic mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 20, 2019, 05:21:54 PM
So width of the video in anamorphic mode is limited by hardware binning method or it could be higher in the future ? In 5x5 mode horizontal res is above 2000 pixels, would it be possible someday to have that over 2000 pixels res in mcm rewire ? With 2x2 binning would be 2607 horizontally.
I read this and anamorphic quality is next to full res
https://www.magiclantern.fm/forum/index.php?topic=16516.25
--
Ok i made this test of 5k anamorphic mode, one image is crop from fullscale JPEG photo at 5184x3456(3:2 ratio), and second frame is anamorphic 5k - 4464x1900(cinemascope 2.35:1 ratio), both at 100% resolution.
Its from helios 44 58mm f4 or so, maybe on iso100 i will be able to get better sharpness but this is very impressive, i would not be able to tell the difference if i wouldnt be pixel peeping so close.I have kit lens 18-55 but sharpness looks the same as helios.
(http://picplus.ru/img/1904/20/8d930c59.gif)
Here is full photo with middle part inserted from anamorphic(a bit brighter wall)

https://drive.google.com/open?id=1XxiJt7nWQTKfaTTFlP3AziSkWl86x7Mo
This is amazing, did anyone did some resolution charts with 5k anamorphic mode ?
---
2 more test images on next day, helios 58mm closed to f16, the difference is more visible
(http://picplus.ru/img/1904/21/4987a95c.gif)
(http://picplus.ru/img/1904/21/f13c2134.gif)
on 75degree angle the staircases are most visible, maybe there are some upscalers that handle 75degree angle a bit better and interpolate smoothly.
Also here is interesting experiment using b-spline resize on original dng to 4464:
(http://picplus.ru/img/1904/21/305539dd.gif)
Looks like using b-spline gets rid of more staircases but perceived sharpness isnt as good.It is interesting option to have IMO.You could then sharpen in post with less aliasing.
fullframe photo,bspline,mlvapp
(http://picplus.ru/img/1904/21/2b192400.gif)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on April 23, 2019, 07:18:17 PM
To get started, I'd like to try to record raw continuously with the smallest sensor crop possible in 16x9 ratio at 25fps.

So I loaded crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr11.EOSM202 on my camera. Enabled the modules: crop_rec, dual_iso, file_man, lua, mlv_lite, mlv_play, mlv_snd, sd_uhs. Restarted the camera. Ran the cinema 2:35.1 script. It puts me into 4.5K anamorphic mode, with sluggish live view. So I enter ML menu. It shows "Crop mode" set to 5K anamorphic and "RAW video" to ON, 1488x1900 1.88x. I assume this 1.88x is the crop factor in this recording mode. Correct?

I'd like to minimize the crop, so I change "Crop mode" to "mv1080p MCM rewire", and go in and out of the Canon menu. This seems to decrease the crop when checking the FOV in live view, which is what I'm after, but now it shows "RAW video" is "ON, 1736x738 4.83x". What does the 4.83x mean? Is it correct? Haven't seen this discussed before I think.

I enter the "Crop mode" submenu and enable "set 25fps" and change the "ratios" to "16:9". Also in "RAW video" submenu I set "Aspect ratio" to 16:9. The resolution is now at 1736x976. It still says 4.83x. If that's the crop factor I think it's incorrect and would be useful if this could be fixed.

I'd like to set the shutter speed to 1/50 but can 1/45 is the closest I can get (using the Shutter menu in Expo ML menu).

By the way I read all of the posts from page 71 up until here. So I'm trying to put the theory into practice here.

Going to try a recording to see if it's continuous with these settings (I guess it will be, I'm using SanDisk 64GB SD Extreme Pro UHS-I U3 V30 170MB/s)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 23, 2019, 07:26:45 PM
Should work. You can ignore the 4x crop stuff. It's all kinds of rewiring and round trips going on but if it looks ok in live view usually things will fly.
There's some fine shutter menu you could use to fine tune to 1/50. Search around.

Edit:
No need to set ratio in RAW video tab.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on April 23, 2019, 08:18:30 PM
Thanks for the tip and good to know you're aware of the incorrect crop factor value. If possible I'd find it useful if it would show the correct factor. Just made a 27minute test recording that filled up the 64GB card. For me it seems to work continuous without issues in this mode. I greatly overexposed to test, as I understood that increases the datarate.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 23, 2019, 08:55:49 PM
I can take a look. Meanwhile. Trust your eyes and test results...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 24, 2019, 04:49:07 AM
Danne I managed to record actual 4000x17000 raw in 10fps (without any upscale later)above 10 seconds and could go longer , im in shock but shutter speed and fps stays at 10 , is this some sort of limitation ? Is it possible to force shutter 50 or 40 and fps to 24 ? Or it wont be possible and is capped by camera not card
writing speed ?
also where is now 1736x2150 mode ?
(https://i.postimg.cc/x8cJFSy6/VRAM0-PPM-scaled.png)
Im looking for mode to record 1736 in anamorphic 5k but its limited to 1488, is there any way to get full width of 1736  or there are some technical reasons its cropped a bit ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2019, 08:29:46 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

@2blackbar
4000x1700, seems about right for 2.35:1 ratio mode.
Your questions have been answered before so please check other posts. I also suggest you learn how to compile if you want to test older builds like the one you are pointing too. Tutorials for both mac and windows are freely available.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on April 24, 2019, 11:31:39 AM
Quote from: Danne on April 24, 2019, 08:29:46 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

@2blackbar
4000x1700, seems about right for 2.35:1 ratio mode.
Your questions have been answered before so please check other posts. I also suggest you learn how to compile if you want to test older builds like the one you are pointing too. Tutorials for both mac and windows are freely available.

Danne can you write what is changed from previous build? To know what to test?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2019, 11:36:29 AM
Come on. Click the commit link, read later posts.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on April 25, 2019, 06:46:01 PM
Did some recording experiments and noticed my footage got corrupted when I choose the 12-bit lossless and 11...8-bit lossless option.
Then I checked what my settings were in the "Crop mode" and noticed the "Bitdepth" was set to "10 bit".
Just trying to make sense of all the options here, I think it works as follows:

"Bitdepth" in the "Crop mode" submenu should be set to "off" when you want to change the "Data format" in RAW video menu.

In case you want to change "Bitdepth" in the "Crop mode" submenu, then you should set the "Data format" in "RAW video" to 14-bit lossless.

The footage becomes corrupted if you change "Bitdepth" in "Crop mode" submenu and change the "Data format" in "RAW video" menu to something else than 14-bit lossless.

Question: is setting "Bitdepth" in the "Crop mode" submenu (when "Data format" in "RAW video" is set to 14-bit lossless) the same thing as setting "Data format" in "RAW video" to 12-bit lossless when "Bitdepth" in the "Crop mode" submenu is set to "off"?

Just trying to understand where I'm supposed to change what, and what it affects.


Noticed something else wile testing:

In mv1080p 1736x967 46/48fps mode the 11-bits mode gives corrupt footage. Half of one frame combined with part of another, stutter etc. 10-bit and 14-bit work fine.

I get some color artefacts in mv1080p 1736x967 46/48fps and MCM rewired mode that I can't get rid off in MLV App (focus pixels and chroma smoothing didn't help). See picture. Does anyone have an idea how to solve it? When I activate 3x crop mode via the "Crop mode" submenu the same scene is very clean.

(https://i.ibb.co/fFrBNyS/artifact.png) (https://ibb.co/fFrBNyS)

Link to MLV: https://www.dropbox.com/s/69jo5hicddv5l0v/M25-1740.MLV?dl=0 (https://www.dropbox.com/s/69jo5hicddv5l0v/M25-1740.MLV?dl=0).

Tested with crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr11.EOSM202.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 25, 2019, 07:00:44 PM
Thanks for feedback.
Always keep 14bit lossless in RAW viideo menu. If you need reduced bitdepth go through crop mode sub menu. The result is about the same as  going through raw video menu but that way will not work.

Your aliasing issue is what sensor read out brings. Use x5 modes or anamorphic for nonaliased footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on April 25, 2019, 07:36:17 PM
Thanks for clarifying! Will do that from now on :)

Also the mv1080p MCM rewired mode with 3x crop enabled gives very clean (no aliasing) footage and real time color preview (no lag) in 1624x1080 resolution. Continuous recording. Quite nice and easy to use if a big crop is appropriate.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 25, 2019, 07:42:43 PM
Yes, digital zoom works like x5 zoom. You can run Movie crop mode without crop rec to get the standard digital zoom. Think width is a little higher then.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on April 25, 2019, 08:57:28 PM
Hi all, hope I did not miss it... I skipped some builds... is it on purpose that SDoverclock.lua script is not included in the latest build?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 25, 2019, 09:05:06 PM
Yes. Sd overclock patch is applied on start up once sd_uhs module is enabled. No need for the script solution.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on April 25, 2019, 09:10:15 PM
Thanks !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ErickTim on April 29, 2019, 12:20:42 PM
Guys... Danne is working really hard to make us awesome new builds, I don't think he has the time to answers questions that had been answered many times before. Someone made this Facebook page where many people will be very happy to answer your questions. This forum is here to help ML team make new builds and continue improving the builds. If you're new to ML I suggest you post your questions in this Facebook page. I myself will answer your questions.

https://www.facebook.com/groups/375018026655820/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 29, 2019, 12:33:45 PM
Sorry? Where is the benefit in using a second platform (media splitt) hosted by a company with dubious privacy practices which will require another account?
Unasked service, clickbait or what? Not going there and asking forum members to avoid it!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 29, 2019, 12:50:38 PM
I would agree with Walter here. Let´s keep questions and feedback all in one place and one thread. For this very reason haven´t split my branch and build from this eosm thread. Feel free to answer questions in here @ErickTim, and by all means, keep the facebook group but for other reasons than posting about bugs and such.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Levas on April 29, 2019, 01:20:01 PM
Quote from: 2blackbar on April 20, 2019, 05:21:54 PM
Also here is interesting experiment using b-spline resize on original dng to 4464:
(http://picplus.ru/img/1904/21/305539dd.gif)
Looks like using b-spline gets rid of more staircases but perceived sharpness isnt as good.It is interesting option to have IMO.You could then sharpen in post with less aliasing.

@2blackbar: Interesting, the example looks much better with b-spline, how exactly did you do b-spline on the DNG, what software what picture formats etc?

@Danne: Looking at the examples, are you sure horizontal pixelbinning is done in this 1x3 mode ?
On the 6d I use this part for 1x3 mode for pixelbinning:

            case CROP_PRESET_1x3:
            case CROP_PRESET_1x3_24FPS:
            adtg_new[11] = (struct adtg_new) {6, 0x8000, 6};    // 6=pixelbinning (8183&8184 needed) 5 is not pixelbinning.
            adtg_new[12] = (struct adtg_new) {6, 0x800C, 0};    // lineskipping
            adtg_new[13] = (struct adtg_new) {6, 0x8183, 0x35}; //sets horizontal pixelbinning, needed if pixelbinning is wanted in 5x zoom mode
            adtg_new[14] = (struct adtg_new) {6, 0x8184, 0x3b};


Because I use 1x3 mode in 5x zoom mode, I need to set 8000 register to value 6 and I have to set values for 8183 and 8184 registers (default values Canon uses in normal non zoom mode)
The difference between horizontal binning or not is very big, both pictures are from 1x3 mode on 6d, the left does horizontal pixelbinning, the right one not.

(https://live.staticflickr.com/65535/47731833691_6faa94e46e_o.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 29, 2019, 01:25:15 PM
@Levas
Yes, noticed the jagged edges posted so I double checked my presets and it was fine in my anamorphic modes. No idea why and how he got those jagged lines. Maybe from some early build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 29, 2019, 02:06:26 PM
I second that. I've never seen jagged lines like this produced by anamorphic  presets in Danne's builds.. but then again I've never pushed them above and beyond like some people here, who try to squeeze every last pixel and frame out of this camera, sometimes getting weird results like this..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 29, 2019, 03:19:10 PM
I think the pictures of 2blackbar are zoomed to 200% or something. With the EOS M I get something like the left picture from Levas: if you look on some ~45° edges, you see the stairs. If you sharpen before resizing you'll get "strong(er) stairs". I also tried with b-spline, lanzcos and bilinear rescaling: bilinear brings the strongest stairs, lanzcos and b-spline looks very close - lanzcos maybe a little sharper, but both smooth the stairs very well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Levas on April 29, 2019, 04:30:09 PM
Maybe zoomed to 200% or more indeed ?

The aliasing 'stairs' at 45 degree angles are the only thing spoiling high resolution 1x3 stretch for me.
Did some testing, but couldn't get any better than what I got in the left picture.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: arthur2064 on April 30, 2019, 11:07:13 AM
Good morning, for some time I wanted record videos and I opted for the camera eos m, I want to install magic lantern but I am confused about what version to use?. I read that dannephoto versions are highly recommended but I do not know what would be the best for me, I just want to record at 2.5k, Anamorphic Module, 14bit lossles and sd hack module , please guide me.

Also i could not find information for field monitor compatible with ml, does anyone have any idea which ones are compatible? Thank you very much.
PS: sorry for my bad english.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 30, 2019, 02:46:32 PM
Quote from: arthur2064 on April 30, 2019, 11:07:13 AM
... I just want to record at 2.5k, Anamorphic Module, 14bit lossles and sd hack module...
There is exactly one branch: Danne's experiment branch. https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on April 30, 2019, 03:20:10 PM
Quote from: masc on April 30, 2019, 02:46:32 PM
There is exactly one branch: Danne's experiment branch. https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Wouldn't it be better to push at least some of those changes into main tree? Lot's of questions in this thread this month about where to find the right package for EOS M. Is it too unstable yet?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on April 30, 2019, 04:23:58 PM
I agree, it would have been much simpler for everyone if the first post in a thread dedicated to a particular camera build was where the description of the build with the link was. It is standard practice on most forums dedicated to releasing mods and such. It would reduce number of questions like above.

In terms of stability, Danne's build is rock solid and has all the features available for this camera. The only problem pretty much is a phenomenon of pink/corrupted frames that occur in footage produced in crop or anamorphic modes. I'm planning to have a go at it when I finish my current dealings with the 6d build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 30, 2019, 05:05:53 PM
... on the other side: this link can be found on nearly every page in this thread (>= page 71). So reading and finding needs not longer than 3 minutes! I am sorry to not be able to understand the confusion: the link is always the same.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 30, 2019, 06:09:58 PM
I used this and compared results
https://www.imageenlarger.com/
These are 100% crop images
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 30, 2019, 08:03:09 PM
Hey guys. I wish I had more time. I have a hard time estimating hours put into testing and hacking/understanding parts of ml code so I could make good use of my ideas but atm energy is rather low. All my dedication went into testing out and building a stable version so now I rely on users to point to link/posts giving helping hands when I can't.

Even if working rather stable I see most of my solutions rather primitive and probably could need a real workthrough. Yet all code is there, I even provide compiled builds, so not a big problem finding it. What seems harder is getting newcomers to be more patient and putting in the effort of reading through forum posts. Hey, what can I say. I am rather lazy about that too sometimes.

Still occasional issues with corrupted frames. If we could create areas to dig into regarding those issues maybe we could eliminate these issues. Personally I hit a road block on the subject.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 01, 2019, 02:46:10 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- if x3 zoom is active with mv1080p MCM rewire mode it now gives 1736x1158 for x3 zoom too

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


EDIT: uploaded new version just now. Centred the x3 zoom with cmos 5
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on May 01, 2019, 09:24:53 PM
I had some time today to test the build from 24th April. Always started with cinema script. Worked all good, the only thing that I encountered on regular basis was a completely white screen when start recording (in various crop modes). Video itsself was recorded ok. To me it strikes that it only happens when I set ISO to auto... don`t kow if this already a known thing.

BTW: Is there any way to you use zooming 10x on half shutter release (or any other button) also in video mode like in photo mode (to align fous)?
Have a nice evening all.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 01, 2019, 10:15:34 PM
As long as footage is ok a white flash in beginning is ok. If not using auto iso, works differently?
What happens when you zoom into x10? I tend to use magic zoom for closer previewing capability.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Larouso on May 01, 2019, 11:37:15 PM
Quote from: Danne on May 01, 2019, 10:15:34 PM
As long as footage is ok a white flash in beginning is ok. If not using auto iso, works differently?
It`s not a flash - it stays completely white, so you have no preview of what you are capturing.  My assumption was, it is kind of a way overexposed preview / live view.
If auto iso is not enabled I never had the issue.
-> just checked again in a dark environment - it is for sure an overexpose thing - in dark environment you can see slightly the real preview like under a transparent white layer.

Quote from: Danne on May 01, 2019, 10:15:34 PM
What happens when you zoom into x10? I tend to use magic zoom for closer previewing capability.
Yes right... In photo-mode I can use 10x zoom to really nail focus on the subject. In video mode magic zoom is available, true, but with its 3x I found it is not that precise. If you film 1080 and you subject is farer away it`s already pretty hard to determine if you  have the correct focus point. Just was wondering if there is a way to enable that also in video.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 02, 2019, 04:51:58 AM
If you are using Auto Movie Mode with raw video you should see this warning flash on the screen:

Quote!!! Auto exposure !!!
Set 'Movie Exposure -> Manual' from Canon menu

Heed this warning.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 02, 2019, 10:38:16 AM
Great work Danne ! I think most of us understand why you would like people to read more, You put a lot of effort into Your work and they should put some too, its also great way for them to learn more about ML and why some functions behave certain way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on May 03, 2019, 10:41:20 PM
today I started a documentary filmed with the eos m, 150gb, 1480x1900, 23.97, 4.5k, sandisk 128gb extreme pro 170MBs, focus peaking and magic zoom on. Only 2 clips stopped. Maximum duration of one 17 minutes without a pink frame. The final clip fills the card but I still find it legible. Thanks, great work!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2019, 12:12:24 AM
Wohoo. Fantastic. Looking forward to the final result.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 02:10:40 PM
@Danne - having problems with the May 02 build regarding card formatting.
everything as usual until I choose "format card" from canon menu. normally card was formatted and cam restarted automatically , but now there are two different errors - firstly, if the card was formatted successfully,  ML does not get restored. second variant is, the card doesn't format and after restarting, ML is gone also and cards name now is "Untitled".
Did test this several times to be sure, never had this before.
Back to build April 11

Thanks  & Best to You Danne. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 02:47:44 PM
Is it related to rewired mode? What if crop rec and raw video is turned off?

EDIT: Tested here and seems to work as before both with mcm rewired on or off.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 04:14:27 PM
Quote from: Danne on May 06, 2019, 02:47:44 PM
Is it related to rewired mode? What if crop rec and raw video is turned off?

EDIT: Tested here and seems to work as before both with mcm rewired on or off.
I've been setting to 2.5k 1:1, which is nice to use @ 1920x1080
I like to format the card before doing new recording, because otherwise there seems to be more likely corrupt frames.

EDIT: in the April 24 build, with the 2.5k 1:1 the 1920x1080 setting has to be "activated"
after restart with going and leaving the ML menu, otherwise the res is not that one. in May 02 this is fixed somehow, like in the April 11 build.
just tested April 11 build again, there its working and I am able to format the card

EDIT 2:
tested again (MAY 02) with mcm rewire - activated only crop rec, mlv lite, mlv sound and sd uhs
after restart did a short recording and then tried to format the card. formatting starts and at the end it hangs a while, then a message appears - cannot format the card.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 04:26:17 PM
Ok, reproduced. It´s related to sd_uhs module. I changed a routine in that code lately cause it fixed issues with 70D and 100D. I will take a look. Meanwhile, just stay off formatting if sd_uhs is enabled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 04:34:52 PM
Nice
thanks a lot for Your awesome work!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 05:54:50 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Seems fixed AF-OFF. Could you test it?

Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/8050b0f7bb837a1a7ad50ad89206b05d0d9befaa
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 06:24:00 PM
unfortunately its the same as before. cannot format card....ML gone
this was with the 2.5k 1:1 preset - but nice that the 1920x1080 is there right from beginning
tried also with the default mcm - again - "cannot format change card"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 06:27:56 PM
Yes, very strange. Will probably need to go back to older routines around sd_uhs. Will do some more testing later.
By the way. Did you do a clean install with the new build or did you simply copy the new file onto the card? If so try to install fresh.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 06:35:01 PM
@Danne - check the answer in  Your commit

EDIT : Yes, clean install with FW update in photo mode
EDIT 2 : the erased card (untitled) still exfat, so the card is formatted but not bootable anymore. must do FW update otherwise no ML
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 06:36:39 PM
Yes, noticed. Put up another build so please test.

EDIT:
Hm, seems harder than I thought. Could be something else related to sd_uhs so no quick fixes here it seems.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 06:52:07 PM
sorry Danne, still not working.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 06:57:35 PM
Ok, went back to more or less the same sd_uhs code as in april 11th build. Seems to work at least for eosm. Thanks for tests AF-OFF.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on May 06, 2019, 07:05:06 PM
Yes with the old sd_uhs module its working as usual

Could anyone with 70D or 100D please test this too? maybe this helps Danne a bit somehow....
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2019, 07:08:59 PM
Well, bleeding edge. Be happy the cams aren't burning up.
Any tests here is unknown territory to me. I expect similar issues as on eosm.
Recommend eosm users to redownload todays build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on May 07, 2019, 02:40:25 PM
Hi all,anyone knows how to continue recording video automatically after current clip stopped without push recording button again?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on May 07, 2019, 02:46:13 PM
https://wiki.magiclantern.fm/camera_help#movie_tweaks -> Movie restart
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 07, 2019, 04:54:16 PM
my canon m totally hangs on may7 build when card is full and i change shuter speed from clean install .Had to pull battery.
Other card not full works fine.
Deleted one file, works ok.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 07, 2019, 04:58:19 PM
Quote from: 2blackbar on May 07, 2019, 04:54:16 PM
my canon m totally hangs on may7 build when card is full and i change shuter speed from clean install .Had to pull battery.
Other card not full works fine.
I have no idea what you are telling me. Please try and reproduce the issue a couple of times and if what you are saying is true describe the exact steps how to reproduce.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 07, 2019, 05:15:34 PM
I just recorded raw files until card is full, then installed new build by deleting old folders besides raw files and copied new ml files.
When i tried to change shuter speed from 33 to something else then camera hanged - i could not press anything from now on , menu was locked on shutter speed and i couldnt get out, i think ML wasnt loaded fully when card was full and that caused some issues but thats just assumptions.
By deleting one file and releasing free space on card the problem disappears.
--
tested again, just recorded file again on almost full card, when it went full i restarted camera, when trying to change shutter speed camera hangs.
I mean its not a big deal cause i cant record more to the card anyway but the behaviour is definitely there and easy to reproduce.
Also maybe its happening not only with may7 build , i just only noticed this now by accident.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 07, 2019, 05:18:18 PM
If I understand you correctly this behaviour comes when your card is full. Has nothing to do with the latest build? Well, if so, I think you know the answer here yourself.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 07, 2019, 05:20:11 PM
Yeah, if its a known issue thats ok
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 08, 2019, 06:41:35 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Long time shutter bug in x5 zoom mode fixed. Will affect all included cams in this code:
https://bitbucket.org/Dannephoto/magic-lantern/commits/f415e0407d7525c4a8c4dc194d3acfe91eb44396

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: chrispwilliams on May 09, 2019, 01:53:05 PM
Anybody else getting weird pink lines in the centre of their frame?
Getting this with latest build and in all crop modes.

(https://i.ibb.co/gWfhvxt/M09-1258-frame-196.png) (https://ibb.co/gWfhvxt)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 09, 2019, 02:46:34 PM
Download daniel fort´s pixel map files and place them inside Mlv App inside MacOS folder if you´re on mac.
https://bitbucket.org/daniel_fort/ml-focus-pixels/downloads/

These files:
https://bitbucket.org/daniel_fort/ml-focus-pixels/src/default/focus_pixel_map_files/

If that isn´t working select chroma smoothing 3x3, should clear focus pixels more or less completely.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 09, 2019, 05:40:39 PM
chrispwilliams use mcm rewire mode, the one above it is the only one thats tricky to get focus pixels removed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 09, 2019, 07:11:04 PM
If there are any settings where the focus pixels can't be removed using my map files please upload a short MLV file and post on the Dealing with Focus Pixels in raw video (https://www.magiclantern.fm/forum/index.php?topic=16054.0) topic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: CaseClosedTV on May 10, 2019, 05:33:12 PM
Hey guys i just wanted to thank everyone for working on these constant updates.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mangurian on May 14, 2019, 12:16:58 AM
I started with page one of this thread and have been going through a page at a time.
I am trying to see if the shutter bug has been fixed.
I will try to short circuit my search by just asking.  Is it fixed ?
also,
What is the general state of ML for the EOS-M as of today.

Many thanks,
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Audionut on May 14, 2019, 05:17:14 AM
https://bitbucket.org/hudson/magic-lantern/issues?q=shutter
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 14, 2019, 08:05:24 AM
Quote from: mangurian on May 14, 2019, 12:16:58 AM
What is the general state of ML for the EOS-M as of today.
And also :P:
EDIT: Oops, wrong link(corrected)
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on May 14, 2019, 11:03:01 PM
Hi! I'm in your family now=)
Thank you for your work, that's amazing!

I have problem on all latest builds - I can't make photo!
Is this problem that called SHUTTER BUG?

On Nightly.2018Jul03 everything is ok with photo.

So am I right, that latest builds can be used only for video mode?
And no chance to use it in photo?

On this latest builds not working SD UHS module out of the box, seems like it doesn't load, I turned on it, but it doesn't appear in debug menu.
So i used ftom another builds. And on new builds i don't see script for loading sd module. So i took from older build)
Is it ok? Or something wrong on my side?

Just have my cam few days, sorry for novice questions...
Thank you for reply!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 15, 2019, 06:48:02 AM
Please more info about not being able to take photos. Tried reinstall ml? Clear camera settings? Are you even in photo mode?
Sd_uhs don't need any script anymore. Enabling the module is enough.
To get out of the novice corner do read though the last ten to twenty pages of this thread. Most has been covered.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 16, 2019, 12:16:04 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Possible fix for corrupted frames in anamorphic modes

For all "anamorphers" out there you may wanna test this version since it seems we can get corruptionless footage. Not that there was a lot of it but still.
Shortly. I am testing to short circuit the real time buffer while we are in framing preview. Since we are in framing it doesn´t matter anyway. I then free buffer again when pressing halfshutter to get back into real time framing.

Freeze with these two regs:
          EngDrvOutLV(0xc0f383d4, 0x4efffc);
  EngDrvOutLV(0xc0f383dc, 0x42401b2);

Then set them back to original numbers when going into real time again. I guess it works something like a "dynamically" hacked liveview setting.

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

For now only works with preview set to framing and with anamorphic modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 16, 2019, 06:23:31 PM
God bless your heart Danne for your relentless work on pushing forward and fixing/improving stuff. Without you and a few other people we would be in the dark ages in terms of ML development.

I will test your latest build in the next couple of days. This corrupted frames nonsense is time consuming to troubleshoot because of its random nature. Sometimes I get 10 corrupted frames and sometimes none in a clip of the same length.

Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on May 17, 2019, 12:14:16 AM
First of all I would like to thank Danne and the rest of the ML team for helping us all out !
I was and am reading a ton here on the forum specifically in this subforum and finally decided to become a member
Also I became the owner of a black EOS-M in the meantime
I'll post some pictures of my run & gun rig later on

@Danne,
I am running / testing ML May14 and ML May15
Just downloaded ML May 16 and gonna try it in a minute
What is actually the difference between these 3 versions please ?
ML May14 improved the pink frames a lot in all settings for me
Thanks
Dark
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on May 17, 2019, 12:28:49 AM
Quote from: Danne on May 15, 2019, 06:48:02 AM
Please more info about not being able to take photos. Tried reinstall ml? Clear camera settings? Are you even in photo mode?
About photo:
Tried to clear camera settings, reinstall ML, I'm in photo mode of course.
On latest builds camera can't took photos with kit lens 18-55I'm.
When I try to make photo, camera start try to make focus AF, after pressing shutter button - no reaction. Photo doesn't make.
I tried it in all focus modes, if, af, mf+af,  tried to change different settings and it didn't work.
When I enable shoot by taping on screen - camera seems try to make and stuck on that moment. Live View work, show real time picture, but camera stuck and didn't react on any buttons or screen taps.
After pulling out battery, I restarted camera, it shows that modules not loaded, and in this mode after few times suddenly pulling out battery, camera in some times can make photo as everything is ok. IMPORTANT - it happen not every time, and it very hard to catch that moment.
I thought, maybe problem in modules - disabled every module, but it didn't work. As at the start.
On fully manual lens photo start to work, and seems everything to be ok. I just turn on shutter without lens option, in C.Fn settings. But it don't work for kit lens.

On nightly 2018 Jul 03 everything works perfectly out of the box, after install, without any manipulation.

So, I think that maybe this is problem with working together with kit lens, but I don't understand why, what's a problem.

Video works ok on that lens.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 17, 2019, 12:57:29 AM
@kuchka94 - Welcome to the infamous shutter-bug (https://bitbucket.org/hudson/magic-lantern/issues/1893/eos-m-shutter-bug). This has been bugging the EOSM for years. It only affects EF-M lenses that have Image Stabilization and it only happens in still photo mode.

Current workarounds include:
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 17, 2019, 04:40:58 AM
Hmm.. the last couple of days I've been taking my M with me for walks around the bay area here, taking some short clips and an occasional photo in between. Didn't notice any strange behavior like that.
Apr 11 build
18-55 kit lens
SanDisk Extreme Pro 128Gb card

Could it be the card?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 17, 2019, 05:08:22 AM
Quote from: baladev on May 17, 2019, 04:40:58 AM
Apr 11 build
18-55 kit lens
SanDisk Extreme Pro 128Gb card

Could it be the card?

I've got that card and it shows the shutter-bug. Try turning off all the modules, start camera in photo mode and shoot a still with that kit lens attached. Chances are the shutter won't fire.

Which April 11 build are you using? Maybe one of Danne's experiments squashed the bug?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on May 17, 2019, 05:38:45 AM
Great :)
But do you know, why everything works fine on nightly 2018 Jul 03?
This bug was dated in 2014... Why it is now here in latest builds?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 17, 2019, 06:29:39 AM
Quote from: dfort on May 17, 2019, 05:08:22 AM
I've got that card and it shows the shutter-bug. Try turning off all the modules, start camera in photo mode and shoot a still with that kit lens attached. Chances are the shutter won't fire.

Which April 11 build are you using? Maybe one of Danne's experiments squashed the bug?

Nope, can't reproduce. Disabled all modules, started in photo mode, takes pictures fine.

I'm on this at present:
crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr11.EOSM202 by Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2019, 06:47:46 AM
Quote from: dfort on May 17, 2019, 05:08:22 AM
I've got that card and it shows the shutter-bug. Try turning off all the modules, start camera in photo mode and shoot a still with that kit lens attached. Chances are the shutter won't fire.

Which April 11 build are you using? Maybe one of Danne's experiments squashed the bug?
I got the same set up and it´s not happening here. My colleague experienced the bug though a week ago, so it´s there alright. Not gonna open up that can of worms...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on May 17, 2019, 07:19:04 AM
Quote from: kuchka94 on May 17, 2019, 05:38:45 AM
This bug was dated in 2014... Why it is now here in latest builds?

Are you aware of how many (https://bitbucket.org/hudson/magic-lantern/issues/1893/eos-m-shutter-bug) man-years (https://www.magiclantern.fm/forum/index.php?topic=21728.msg198529) went into diagnosing just this specific bug (i.e. "that can of worms") ?

So far, the current hypothesis (https://www.magiclantern.fm/forum/index.php?topic=21728.msg201551#msg201551) is that it's primarily caused by what happens before our code even has a chance to run (yes, before even loading autoexec.bin). If my theory is valid, the shutter bug happens if and only if the time required by Canon bootloader to mount the SD card and load autoexec.bin (details (https://www.magiclantern.fm/forum/index.php?topic=23641.msg213338#msg213338)), is "too long" (whatever that means for Canon's firmware that runs on the MPU, in parallel with the main CPU).

Therefore...

Quote from: dfort on May 17, 2019, 05:08:22 AM
Maybe one of Danne's experiments squashed the bug?

Fixing it would require one of these, if my theory is valid:

- reprogramming the MPU (unfamiliar CPU architecture; unexplored territory; currently, the MPU is a black box for us)
- resetting lens communication somehow via MPU messages (good luck figuring out how exactly...)
- reprogramming (reflashing) Canon's bootloader (pretty extreme)

So... zero chances of getting this fixed (even by pure luck) with video-related experiments ;)




TLDR: the outcome (whether you are experiencing the shutter bug or not) depends on card contents, card speed, size, filesystem, autoexec.bin size, fragmentation... you get the idea. It does not depend on what build you are using. The only things under our control are:

- autoexec.bin size (reducing it to a few K - from roughly half of MB - is going to result in a *minor* improvement)
- card filesystem (FAT32 vs exFAT; this one is worth exploring, as a workaround; formatting with a large cluster size might help)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2019, 07:35:55 AM
Quote from: a1ex on May 17, 2019, 07:19:04 AM
Are you aware of how many (https://bitbucket.org/hudson/magic-lantern/issues/1893/eos-m-shutter-bug) man-years (https://www.magiclantern.fm/forum/index.php?topic=21728.msg198529) went into diagnosing just this specific bug (i.e. "that can of worms") ?
Yes, my statement doesn´t adress any time span or what others did before. I simply realize it´s not within reach on a personal level. Respecrt for work done here all the way.

While you´re around. Could you share some thoughts on this:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg216553#msg216553

What I notice is a constant bitrate when recording lossless while liveview is frozen. Meaning, even if pointing towards very bright areas bitrate seems to stay the same where as we know that too bright areas usually means early stops.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on May 17, 2019, 07:42:15 AM
That reply was not for you, but for the question in the quote ;)

QuoteWhat I notice is a constant bitrate when recording lossless while liveview is frozen. Meaning, even if pointing towards very bright areas bitrate seems to stay the same where as we know that too bright areas usually means early stops.

Is the resulting video valid, or it's encoding the same LiveView frame (or a small group of frames) over and over?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 17, 2019, 07:47:02 AM
Got a few grey hairs myself trying to track down the shutter-bug. This bug is very easy to reproduce, I can't believe you're not seeing it. Any card over 32GB should show it as long as you are using a native EF-M lens with image stabilization -- not an EF/EF-S with the adapter.

I loaded up Danne's changeset a8ccb36 (April 11) on a SanDisk Extreme Pro 128GB card and -- sorry, shutter-bug is present. Didn't think it was going to work but needed to see for myself.

[EDIT] Tried this too:

Quote from: baladev on May 17, 2019, 04:40:58 AM
..taking some short clips and an occasional photo in between...

Switching from video to photo mode or shooting stills while in photo mode doesn't clear out the shutter-bug.

a1ex--I knew it was a long shot that the shutter-bug would disappear on this build but since Danne was doing some tweaking on the sd_uhs module I thought maybe it would do something with the card that would delay the boot process just enough--but no such luck.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2019, 08:09:29 AM
Quote from: a1ex on May 17, 2019, 07:42:15 AM
That reply was not for you, but for the question in the quote ;)
My own mishap as usual then  8).

Back to the question. Files recorded are perfectly valid. Cancelling out(freezing) real time buffer while running framing mode has a signifcant impact on recordings. On 100D it went from plenty pink corruption party to zero pinkys.

Anyway. Going from dark to extreme bright does show a very slight increase in compression handling(50.6 to 51.3mb/s, 0.7mb/s neglible right?), check vid:
https://www.youtube.com/watch?v=AhKaFIwKtgA&feature=youtu.be


Well, I redid test without the liveview hack freeze and not really consistent. First darker input yields around 52mb and brighter slightly increased bitrate to around 53. So my hack is slightly reducing overhead but the effective part is by far reduction of corrupted frames. Whatever that means. SOmething with liveview running is causing the corruption. Some regs maybe?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 17, 2019, 01:22:35 PM
Quote from: dfort on May 17, 2019, 07:47:02 AM
I can't believe you're not seeing it. Any card over 32GB should show it as long as you are using a native EF-M lens with image stabilization -- not an EF/EF-S with the adapter.

I loaded up Danne's changeset a8ccb36 (April 11) on a SanDisk Extreme Pro 128GB card and -- sorry, shutter-bug is present. Didn't think it was going to work but needed to see for myself.

[EDIT] Tried this too:

Switching from video to photo mode or shooting stills while in photo mode doesn't clear out the shutter-bug. Danne himself said it's working for him.

a1ex--I knew it was a long shot that the shutter-bug would disappear on this build but since Danne was doing some tweaking on the sd_uhs module I thought maybe it would do something with the card that would delay the boot process just enough--but no such luck.

Do you believe me it works the way I described or should I make a video? Configuration is exactly as I described above. Native EF-M kit lens used.

BTW I have 3 EOS M cameras, one is a Japanese version. The screen on it is a bit different (it has bluish anti-glare coating) maybe some internals are different too? Maybe there are slightly different versions of the camera for different markets? The one I use with ML atm is original Aussie variety.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: niono on May 17, 2019, 04:09:18 PM
Hi,guys
I testing my lots of sd cards for my eos m, toshiba 64g sdxc is best,it can be wrating in 55mb/s,when i change to 14 bit,is recording few seconds then stoped.
  that is not point!,i find the inel m.2 have a sdio route,so i google it, woooo,look!!!!


(https://i.ibb.co/4KZXFVd/EXM2E-3.jpg) (https://ibb.co/4KZXFVd)

(https://i.ibb.co/vHNCL1c/EXM2E-1.jpg) (https://ibb.co/vHNCL1c)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 17, 2019, 05:18:30 PM
@baladev - Great, I've got three of these puppies too. All exhibit the shutter-bug. Here's a video I made a while back:



If you don't mind doing some further testing--

Do you have another EF-M lens with IS that you can test? There's a slight chance that maybe the IS isn't working properly on your lens.

Check the capacity of your 128GB card. There were some "fake" cards sold that weren't labeled properly. If it is less than 32GB it might not show the bug.

Finally--the shutter-bug is fickle. At one point it wasn't showing up when the card was freshly formatted in the camera but it eventually came back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 17, 2019, 06:27:24 PM
@dfort
Oh, a red one - very sexy! I have a white and two black ones. The white is very pretty (even my wife who's not into cameras said that).

I've got x3 18-55 kit lenses and x2 22mm f2. IS is working properly on this one, I've just tested - tried to turn it off and on and see a very distinct difference in shakiness of picture on the screen. But, I will test two other lenses tomorrow and report back. So, you want me to disable all modules, start in photo mode and take photos?

All my cards are genuine SanDisk stock - I only buy from authorized distributors, plus I get proper speed with them (close to 60 mb/s) and the capacity is what it should be - filled them to their capacity a few times.

Right, I wasn't even aware of this bug until today, when this discussion started, I will keep an aye on it. However, Danny said above "I got the same set up and it´s not happening here." So, I'm not the only one?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on May 18, 2019, 06:40:18 PM
@Danne

I am running ML build May16
Below is a picture of my run & gun rig (if not allowed please remove)
And here is a YouTube link to a test video I shot yesterday

https://youtu.be/fHTf1d0uQUE

Settings used are :
mv1080 MCM rewire
Bitdepth 12
Ratios 16:9
RAW video ON
Resolution 1736x976
Aspect ratio 16:9
14 bit lossless
Preview Realtime
Global Draw LiveView
Magic Zoom HalfS, Med, TL, 2:1
All modules activated
FPS override 24 fps
Image fine-tuning as close as possible to 1/48 sec
Picture style Faithfull

Footage shot using a Rokinon 35mm T1.5 Cine EF
Viltrox M2
T8.0
ISO 400
Available light

All works fine
Footage is awesome !

Only issue is when I use my F570 monitor and if I turn Kill GD OFF using the above setting it gives me pink frames

I know it might or is just a small detail
But when this would be fixed / resolved ML will be running 100% on my EOS-M
And I suppose on many others as well

Thanks again for all the effort you're putting in
Just recently got my EOS-M but really loving it as you can see !
.

(https://i.ibb.co/ggPkYFN/20190517-125559-2.jpg) (https://ibb.co/ggPkYFN)

(https://i.ibb.co/vzVKRXP/20190517-120644-2.jpg) (https://ibb.co/vzVKRXP)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on May 18, 2019, 09:23:42 PM
Using build 16 may, and I can say that sd uhs module doesn't work for me. Speed is near 30 mb. Can't test exactly, there is no bench module.
Jul03 2018 with module + script give me near 57mb.
When I load old module + script on 16 may build, it start to work fine, so I can get continuous footage in RAW.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on May 18, 2019, 11:05:53 PM
@kuchka94

Rookie here on a crash course
How can I test the speed of the sd uhs module please ?

Just test running ML build May18
Runs fine
Except for the same problem when using my monitor
Kill GD OFF as posted above in ML build May16 (and the previous builds) gives pink frames
About 4 per minute of footage
With Kill GD ON not one pink frame !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on May 19, 2019, 02:09:35 PM
I tested that way:
Choose raw footage size and proportions and see demand of the speed in the bottom. For example 36mb.
After start record and see at the top right color of timer, if red - speed is not enough for 36mb/s footage, if yellow - almost enough, green - continuous footage.
So for my case on jul 03 2018 build I had settings for 55-60mb/s footage, and green, times yellow, timer, that allowed me get continuous shoots.
But now I have red and yellow timer, and footage stops on settings 30mb/s.
For me that means that sd uhs module doesn't work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 19, 2019, 02:20:09 PM
You can build your own sd_uhs module which likely will fix your issue. Here you go:
https://www.magiclantern.fm/forum/index.php?topic=16040.msg216464#msg216464
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 21, 2019, 08:34:19 AM
for the anamorphic mode, would it be possible to have a stretch of .5 instead of the .33 so it doesn't upsample as much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 21, 2019, 10:28:16 AM
Quote from: lightspeed on May 21, 2019, 08:34:19 AM
for the anamorphic mode, would it be possible to have a stretch of .5 instead of the .33 so it doesn't upsample as much.
Physically impossible. You can read each column or each third column. Otherwise you'll never read in some colors. Look at a bayer matrix... This is also why there is a 1x1 and a 3x3 mode, but no 2x2.
(https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Bayer_matrix.svg/220px-Bayer_matrix.svg.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 21, 2019, 10:00:24 PM
but it is already stretched to 16:9. it just uses a lower resolution. Can we not stretch it to 16:9 but using the resolution in the 2.35 setting?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 21, 2019, 10:48:07 PM
Quote from: lightspeed on May 21, 2019, 10:00:24 PM
but it is already stretched to 16:9. it just uses a lower resolution. Can we not stretch it to 16:9 but using the resolution in the 2.35 setting?
There is nothing stretched. It is cropped!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 22, 2019, 01:16:15 AM
So it is not possible to turn 1664 x 2126 into 3763 x 2126
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 22, 2019, 10:07:01 AM
Have you read and understood this (https://www.magiclantern.fm/forum/index.php?topic=9741.msg216788#msg216788) post?

This is the sensor:
RGRGRGRGR...
GBGBGBGBG...
RGRGRGRGR...
....

Now read each column (=1x1=no stretching needed):
RGRGRGRGR...
GBGBGBGBG...
RGRGRGRGR...

Now read each 3rd column (=1x3=needs 3x horizontally stretching in post)
RGR...
GBG...
RGR...

Now read you suggestion, each 2nd column (=1x2=needs 2x horizontally stretching in post)
RRRR...
GGGG...
RRRR...
But where is the blue gone?! ---> impossible.

On the other side, 1664x2126 is already to large to get continuous recording. How do you want to save the double data at the same time?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 23, 2019, 03:56:31 AM
I see. thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 23, 2019, 05:48:48 PM
Quote from: Danne on May 16, 2019, 12:16:04 PM
- Possible fix for corrupted frames in anamorphic modes

For all "anamorphers" out there you may wanna test this version since it seems we can get corruptionless footage. Not that there was a lot of it but still.
@Danne

Tested your latest build - crop_rec_4k_mlv_snd_isogain_1x3_presets_2019May20.EOSM202
Filmed two clips - 10 and 5 minutes long at 1072x1810 25fps 12bit with 4k anam preset.
In the 10 min clip I found 23 corrupted frames in the first 4m20s of it, didn't check after that.
In the 5 min clip I found 0 corrupted frames, the difference is that I was filming during sunset and the second clip was much darker.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 23, 2019, 06:03:29 PM
Nice with test.
I wonder if the original preset 1072x1900 works with 10bit and 24fps? The 16:9 is really only experimental. I rely on 2:35.1 to see if they can be considered reliable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 23, 2019, 06:41:05 PM
Do you mean the 1488x1900 preset you get by running your cinema 2:35 script? I will test it, but it seems to me current anamorphic presets get corruption when they are close to maximum writing speed when data pipeline is saturated and something starts to break. So, one needs to make sure not to go above 60-62mbs or maybe even lower and things should be ok?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 23, 2019, 07:10:24 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

@Baladev.
Untested:
I did following(ananorphic rewired mode). If selecting 16:9 10 bit you´ll get 1120x1900 but if you select 12bit it will instead do 1064x1800. Hit menu button if changing bitdepth. Test if 12bit is corruption free with 25fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 23, 2019, 08:49:24 PM
Quote from: Danne on May 23, 2019, 07:10:24 PM
I did following(ananorphic rewired mode). If selecting 16:9 10 bit you´ll get 1120x1900 but if you select 12bit it will instead do 1164x1800. Hit menu button if changing bitdepth. Test if 12bit is corruption free with 25fps.
Really? But 1164x1800 is 17.5x9 ... is that correct?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 23, 2019, 09:15:55 PM
Yes, the magic ratio @masc  8)
Na, sorry typo, should be 1064x1800.

Added also 12bit reduction resolution in 2.35:1 mode so this will jump into 1328x1700 when selecting 12bit(use menu button to activate regs).
Reuploaded a build in above link.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 24, 2019, 07:33:36 AM
Ok, did a tests with these settings:
crop_rec_4k_mlv_snd_isogain_1x3_presets_2019May23.EOSM202
4k anamorph preset, 1064x1800 12bit 25fps iso100
Bright sunny day, lots of trees and some white roof tops in the frame (can't post pictures for some reason).
Scene underexposed by ~1 stop (i believe vertical lines in the histogram are stops?) to avoid highlights clipping and to reduce data rate.
Two clips - 10 and 5 minutes.
For the first 6 minutes the time indicator was green, then became orange when the sun came out from behind a cloud, making rooftops very bright.
Result - 0 corrupted frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 24, 2019, 08:35:38 AM
Wow. That sounds great. Thanks for the test.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on May 24, 2019, 05:30:17 PM
Bought the EF-M 22mm f/2 STM today and it came with a free EOS M. Now I've got 2! Can't wait to start using ML extensively on both of them ^^
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on May 25, 2019, 04:59:30 AM
Quote from: dfort on May 17, 2019, 05:08:22 AM
Try turning off all the modules, start camera in photo mode and shoot a still with that kit lens attached. Chances are the shutter won't fire.
I'm now on the latest Danne's build - crop_rec_4k_mlv_snd_isogain_1x3_presets_2019May23.EOSM202
Just repeated the test with all 3 of my 18-55mm kit lenses.

With two I couldn't reproduce the shutter bug by doing this:
1 disable all modules
2 start camera in photo mode
3 take pictures
4 switch to video mode
5 take pictures
6 switch back to photo mode
7 take pictures

The camera focused and took photos fine.

With the third lens I was getting one misfire (when I press the shutter button and nothing happened) at 2nd and 7th steps. First attempt of taking photo didn't work, consecutive attempts worked fine.

A few days ago when I was trying to purposefully reproduce the shutter bug with the original lens, I managed to succeed by messing around in ML menu and doing crazy things like disabling modules and re-enabling them again right away:) Then I would get one misfire and then it worked fine again. One time I managed to get it permanent - all attempts of taking photos let to shutter not firing - don't remember what I did ( I think I started in video mode and filmed a short raw clip and then switched to photo and attempted to take a shot), but a camera reboot fixed it and it went back to normal.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on May 27, 2019, 10:15:25 AM
Quote from: Jip-Hop on May 24, 2019, 05:30:17 PM
Bought the EF-M 22mm f/2 STM today and it came with a free EOS M. Now I've got 2! Can't wait to start using ML extensively on both of them ^^

Can u give me a like I'd actually buy one right now if I could

I'm in Ireland
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on May 27, 2019, 10:16:53 AM
Thanks Danne and baladev
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 28, 2019, 05:00:19 PM
RAW vs H.264 highlight details on CANON M if someone is tempted to go back to H.264
(http://picplus.ru/img/1905/28/9c221615.jpg)
(http://picplus.ru/img/1905/28/b6d0343c.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 28, 2019, 11:12:14 PM
Is there anyway to have a 4x crop? instead of the 3.33? I have a lens that vignettes in the corners
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on May 28, 2019, 11:49:52 PM
Quote from: lightspeed on May 28, 2019, 11:12:14 PM
Is there anyway to have a 4x crop? instead of the 3.33? I have a lens that vignettes in the corners

2048x1080 has 4.07 crop factor, chose it from mlv_lite submenu.

Here is a useful calculator for resolutions and crop factors .. etc
https://rawcalculator.netlify.com/calculator_desktop

Edit: you can use main dial to make small increments, from mlv_lite submenu highlight the resolution and use main dial to decrease/increase resolution.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 29, 2019, 12:00:01 AM
Thanks. I guess there isn't a way to use it with the 3k setting. The vignetting is actually off center. is it possible to scan the image to the right at all?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 29, 2019, 06:47:17 AM
Quote from: lightspeed on May 29, 2019, 12:00:01 AM
Thanks. I guess there isn't a way to use it with the 3k setting. The vignetting is actually off center. is it possible to scan the image to the right at all?

In crop mode sub menu you can reach cmos5. Try setting it to 300 and onwards. Test 320, 340 etc. Also 400 and above. Maybe you find a good setting. Then report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on May 29, 2019, 09:02:25 AM
I tried some of them but was not able to fix the vignetting. guess the lens is just to small
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on May 29, 2019, 05:10:56 PM
Going through some old threads, Danne's dual-iso demo file at #1860 seems doesn't flicker. So I tried to build from last commit of Jan.11, still got flicker. May be that clip is too short to show that. At least I learned how to compile ML today and didn't break my camera. Thanks Danne and all the devs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on May 29, 2019, 05:12:13 PM
Quote from: lightspeed on May 29, 2019, 12:00:01 AM
...The vignetting is actually off center. is it possible to scan the image to the right at all?

If you can compile you can adjust the skip offsets to center the image. There was a similar issue on the 60D. You can read how we resolved that on the Raw Video framing is off when using 60D's 'Movie Crop Mode'. Help! (https://www.magiclantern.fm/forum/index.php?topic=16912.0) topic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on June 01, 2019, 04:30:40 PM
First time taking my EOS M for a spin outside.
I used the latest build:
crop_rec_4k_mlv_snd_isogain_1x3_presets_2019May26.EOSM202

So far I'm really impressed with the results.
Filmed mostly in mv1080p MCM rewire.
Didn't have any major issues, but I noticed I have to toggle the Canon menu button almost every time I startup the camera.
It seems to start up in crop mode by default.
Clicking the Canon menu button twice gave me the expected wider field of view.

This is my ML folder with the settings:
https://www.dropbox.com/s/eqonfs69xx9aaqm/M28-1255.MLV?dl=0

When I filled up my SanDisk Extreme PRO 64GB 170MB/s card, I continued with a slower KomputerBay card. Didn't get continuous recording on that one, but that was expected.

However, six clips came out at 1736x696 resolution.
Here's one of the clips: https://www.dropbox.com/s/eqonfs69xx9aaqm/M28-1255.MLV?dl=0.
MLV App opens it with a height stretch of 1.67 to make it 1736x1160 which is a 3x2 aspect ratio.

The rest of the clips are 16x9 at 1736x976 resolution, as expected.

What could be the cause those clips were recorded at a different resolution?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 01, 2019, 06:12:03 PM
As you say. Pressing canon menu will mostly settle all correct registers.
If it starts in crop mode. Try clearing ml config files and start over.
If it recorded in mv720p mode regs did not apply correctly. Why I don't know. There's still plenty to refine regarding presets but I do my best.
On the other hand I look at the crop_rec as a truly creative window into ml work and making it possible to test out ideas as it's connected to registrys and raw back end stuff.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on June 01, 2019, 07:40:55 PM
Thanks! Just wanted to post my findings in the hope they'd be helpful for further development :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 02, 2019, 09:32:59 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Should no longer start in x3 zoom mode on start up(took out the x3 config file fix since interefing with crop_rec)
- Should be a little more robust when starting camera in rewired modes. Registrys should apply and not randomly miss out on crop_rec patches. (Well it´s not perfect. Could still make it start in mv720p 29.997 but better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 02, 2019, 12:17:33 PM
Thanks Danne, I noticed the 3x crop startup issue too. Downloading the new build now. I only recently got back into ML after being away for a few years (having kids takes up your life man).

Anyways, my dormant EOS-M has now noy only been given new life but is one of the best cameras out there now that is has usable raw video. 1080 MCM rewire is my go now :)

Thanks so much. Really appreciate it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 03, 2019, 04:39:21 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Still addressing start up routines. Once in a while crop_rec engio and adtg regs would not apply. Hopefully fixed now. Issue seems related to sd_uhs module. Maybe some race condition.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 03, 2019, 10:28:05 AM
Thanks Dannie

Your some man to be able to do these things
I have the Eos m for about 5 or 6 months now
and its just getting better and better !!!!


PS I just saw today (I don't know if it was there all along)
set frame rate to 30fps

So happy to see it I love to slow 30fps down
One thing I did notice is there are some pink frames
any idea how ro get rid of them?

Thanks for everything
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 03, 2019, 10:39:56 AM
Try kill global draw under RAW video menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 03, 2019, 11:04:41 AM
ILL give it a go now

your prob sick of this but

YOUR A SUPERSTAR!

THANKS
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 03, 2019, 11:25:59 AM
Quote from: Danne on June 03, 2019, 10:39:56 AM
Try kill global draw under RAW video menu.

GAVE IT A GO NOW

It works
no pink frames
I recorded for 1 min and no pink frames
where as before I had about 10 or so per minute

Thanks Danne your a gentle man
Really appreciate the reply
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 03, 2019, 12:57:12 PM
Cool.
Uploaded a new version just now. Shutter on display seems more correct now. Some more bugs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 03, 2019, 03:23:45 PM
Hi I did some videos today and this is just copy and paste the text in the browser with the info from the video.

If you notice M03-1221.MLV the res is 1800 x 1012
I looked at the video and there is no missed frames or pink frames

what is this about? I think it might be fault but its a fault for the better right?







Filename   Preview    Frames   Audio   Resolution   Framerate   Duration   Camera Model   Camera Serial   Lens Name   Date/Time   Shutter   ISO   Aperture
M03-1217.MLV      1258   yes   1736 x 976   30.012   00:41   Canon EOS M   2ADA60C98D   EF24-105mm f/4L IS USM   2019-6-3 12:17:38   16ms   100   f/5.6
M03-1221.MLV      220   yes   1800 x 1012   30.012   00:07   Canon EOS M   2ADA60C98D   EF24-105mm f/4L IS USM   2019-6-3 12:21:04   16ms   100   f/3.5
.fseventsd   
M03-1218.MLV      1248   yes   1736 x 976   30.012   00:41   Canon EOS M   2ADA60C98D   EF24-105mm f/4L IS USM   2019-6-3 12:18:31   16ms   100   f/4.5
M03-1219.MLV      2017   yes   1736 x 976   30.012   01:07   Canon EOS M   2ADA60C98D   EF24-105mm f/4L IS USM   2019-6-3 12:19:24   16ms   100   f/4.5
M03-1137.MLV      118   yes   1736 x 976   30.012   00:03   Canon EOS M   2ADA60C98D   EF24-105mm f/4L IS USM   2019-6-3 11:37:31   16ms   100   f/5.6
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 03, 2019, 03:27:35 PM
It's movie crop mode getting confused with crop_rec regs. Use the latest build. Shouldn't happen in recent builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 03, 2019, 04:12:03 PM
Thanks for that. I will download the crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jun03 1.EOSM202

thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Apxub on June 05, 2019, 10:01:48 PM
Hello people!
5d mark ii has theese maximum mlv resolutions for 4:3 aspect ratio and continuous rec:
                    standart mode  = 1664x1248 1.12x
crop1920 1:1 not centered = 1024x768   5.48x
       crop3.5k 1:1 centered  = 1600x1200 3.51x

Could someone write here the same max.with "x factor" for 4:3 ratio continuous rec on EOS M ?
All crop modes centered?
Actual correct framing only possible in ml grayscale preview?
Its also a frozen frame while recording with ml grayscale?
Moire and aliasing are strong without crop mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 05, 2019, 10:10:14 PM
1600x1158 mv1080p mode
X3 digital zoom same
X5 zoom, probably a little more depending on height and coninuous or not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 06, 2019, 10:16:42 AM
Something I noticed that changed between the 2nd June and 4th June builds.

2nd June MCM rewire 16:9, the max res is 1800x1012 when I thought it should be 1736x976
4th June the res goes back to what it should be but the live view preview shows wrong for resolutions that aren't the max 1736x976. The crop goes in from the side but the full height remains until you lower it to around 1392x794 and then the top starts cropping. but it looks like the wrong aspect ratio.

Keep up the good work danne and everyone. I'm very much enjoying this community and the amazing results.

Thanks
Dan
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 06, 2019, 10:53:47 AM
Quote from: dokipen on June 06, 2019, 10:16:42 AM
Something I noticed that changed between the 2nd June and 4th June builds.

2nd June MCM rewire 16:9, the max res is 1800x1012 when I thought it should be 1736x976
4th June the res goes back to what it should be but the live view preview shows wrong for resolutions that aren't the max 1736x976. The crop goes in from the side but the full height remains until you lower it to around 1392x794 and then the top starts cropping. but it looks like the wrong aspect ratio.

Keep up the good work danne and everyone. I'm very much enjoying this community and the amazing results.

Thanks
Dan

It should always be 1736x976. If not just press canon menu and the reg will correct itself.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 06, 2019, 11:05:03 AM
Yes the canon menu does refresh the res, but after a second or so it jumps back to the 1800x1012 res. In the 4th June build that doesn't happen but it has the preview crops display height thingy.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 06, 2019, 11:10:25 AM
Oki, I noticed this too now. That has probably been there all along. It seems to work if you set ratios to off in crop mode sub menu. Then you can use RAW video resolution changes. WIll take a look later on this. And yeah, use 4th june build. I was experimenting a lot before that with a few things trying to fix refresh stuff.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 07, 2019, 03:00:01 AM
for some reason fps override doesn't work in 3k. is there a fix for this?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 07, 2019, 06:53:46 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Adressed 30fps when recording in mcm rewired mode(16:9 and 2.35:1 ratios). More robust timing. Should work also with global draw enabled
Could you test @berechiah?

This fix will need two new focus pixel maps which dfort kindly enough built already:
https://bitbucket.org/daniel_fort/ml-focus-pixels/commits/31f8b131007f6f7281dd5e9e3d4e93c5c29b0d26

Put following two map files inside Mlv App:
80000301_1872x1060.fpm
80000301_1872x1059.fpm

Find map files here(download whole repo):
https://bitbucket.org/daniel_fort/ml-focus-pixels/downloads/

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 07, 2019, 09:17:02 AM
Thanks for this Danne
I'll download it now and will use it later today

I'll get back to you tonight with the results.

Your a star!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 07, 2019, 10:13:45 AM
hi danne, that june 07 file doesn't seem to be in the downloads section yet :)

I'll be happy to give it a whirl as soon as its up though.

Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 07, 2019, 10:20:40 AM
Uploaded now!

EDIT: Yet another upload right now. Refined timers 30fps mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on June 07, 2019, 03:45:35 PM
I'm starting to classify my documentary filmed with eosm 4.5k 2.35: 1 in davinci, setting the project in 4k dci but the closest option is 2.39, how do you work? do you leave the black bands and then cut them on delivery?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 07, 2019, 03:58:12 PM
Quote from: marcelolippi on June 07, 2019, 03:45:35 PM
I'm starting to classify my documentary filmed with eosm 4.5k 2.35: 1 in davinci, setting the project in 4k dci but the closest option is 2.39, how do you work? do you leave the black bands and then cut them on delivery?
Interesting. Have not looked into post production issues. Maybe I should include a 2.39:1 preset in there s well as it seems what is used for cinema these days rather than 2.35:1.

Your issue, could you describe more in detail, maybe upload a few screen grabs?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on June 07, 2019, 04:03:50 PM
Maybe tomorrow, now work :(...THANKS
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 07, 2019, 11:23:38 PM
Quote from: Danne on June 07, 2019, 03:58:12 PM
Interesting. Have not looked into post production issues. Maybe I should include a 2.39:1 preset in there s well as it seems what is used for cinema these days rather than 2.35:1.

Your issue, could you describe more in detail, maybe upload a few screen grabs?

Hey buddy
I tried the latest build and I recovered for 3min
with out global draw checked
so normal mode

and its PERFECT

I just mlvfs and put files directly into Davinci

Your a serious dude when it comes to this
I have to say
WELL DONE
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on June 08, 2019, 03:38:43 AM
@berechiah Sounds good! Can you give your settings?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 08, 2019, 08:53:01 AM
Thanks, great to hear it´s working.
@henricusmaria
He´s using mcm rewired mode, canon meny set to ntsc and 30fps. Global draw on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 08, 2019, 01:55:49 PM
may be a strange idea but anyone thought about shooting with two Eos m at the same time. Wouldn't you get 5 k for the cost of the two cameras which would be around 300 dollars these days.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whitelight on June 08, 2019, 06:59:10 PM
Quote from: lightspeed on June 08, 2019, 01:55:49 PM
may be a strange idea but anyone thought about shooting with two Eos m at the same time. Wouldn't you get 5 k for the cost of the two cameras which would be around 300 dollars these days.

Mmhhhh... That reminded me a friend who said "If you need a 3D printer, why don't you just use two 2D printers together so you get a 4D print and then get rid of 1D?"
Jokes aside, how do you imagine this would be feasible?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on June 08, 2019, 08:00:57 PM
Do it as a panorama, always wanted to try that. It's a very good idea.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 08, 2019, 09:43:09 PM
Or shoot 2000x2000 and then when you combine it will be 4000x2000
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 08, 2019, 10:46:18 PM
Why 2 ? Cinerama did it with 3 cameras for widescreen
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 09, 2019, 12:09:43 AM
Now we're talkin'.
I got 4 eos m's. Just sayin'...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whitelight on June 09, 2019, 12:31:52 AM
You should find a way to arrange three cameras similarly to this

http://stanleylivingston.com/sitebuildercontent/sitebuilderpictures/CINERAMA_CAMERA_3_LENSES.jpg

Maybe three eos M with 22/2 in vertical configuration could do the trick
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 09, 2019, 01:39:48 AM
My thoughts as well. You could connect 2 by the tripod mount and shoot vertically
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 09, 2019, 04:05:59 AM
Quote from: lightspeed on June 08, 2019, 09:43:09 PM
Or shoot 2000x2000 and then when you combine it will be 4000x2000
I don't think this would be optimal. You will have some vignetting and distortion in the corners/edges. You would need to correct these in post, otherwise you will have darker lines/blobs in the middle of your video (like in the example video above) and also the stretched/distorted corners will meet in the middle of your frame and you will get a weird looking picture. Also, how about sharpness decrease in the corners? For this reason when making panoramas you always overlap shots by about 30%, maybe this won't be a problem with low res videos..

Quote from: Danne on June 09, 2019, 12:09:43 AM
Now we're talkin'.
I got 4 eos m's. Just sayin'...
Gosh, and I thought my 3 were an excess. How did you come to own 4?!

All in all, this is a neat idea, I need to try it out.. I imagine a custom mounting plate should be used - cameras either looking away or towards each other.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 09, 2019, 09:10:53 AM
They sell sometimes for no money over here. A1ex unbricked one of them and them so here I am with 4 beuaties. But selling one. Three is enough ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 09, 2019, 11:27:20 AM
Quote from: henricusmaria on June 08, 2019, 03:38:43 AM
@berechiah Sounds good! Can you give your settings?

So sorry I didn't see this
I'll write the full list of info on here later for you

But there is a guy on YouTube called zeek
Just type "eos m zeek" and he has some seriously good videos on all this info
I'd be lost without his help also its extremely informative

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on June 09, 2019, 05:39:47 PM
Quote from: Danne on June 09, 2019, 09:10:53 AM
Three is enough ;)

Make sure to make room for an M2 and an M50 -- and get a few of those shutter-bugged lenses too.

(https://live.staticflickr.com/65535/48030710436_935438cbb2.jpg) (https://flic.kr/p/2gbiWRb)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 09, 2019, 06:31:49 PM
You miss the silver version dfort ;)

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

- Added the more up to date cinema ratio 2.39:1 into the preset menu in crop mode sub menu. Works on all presets:
- Updated the lua cinema script to enter 4K anamorphic rewired 2.39:1 mode as starting point

2.39:1
(https://i.postimg.cc/x8Vhjy5g/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on June 09, 2019, 11:23:43 PM
Quote from: Danne on June 09, 2019, 06:31:49 PM
You miss the silver version dfort ;)

My first EOSM was silver.

(https://live.staticflickr.com/1607/24557694310_136815b315.jpg) (https://flic.kr/p/Dq5AWA)

Did a lot of experiments on that camera.

(https://live.staticflickr.com/1594/24485578289_afa133e3ea.jpg) (https://flic.kr/p/DiGZmV)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 09, 2019, 11:37:35 PM
Those rig days. Almost broke my back   :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 10, 2019, 01:58:45 AM
I've been looking through the forums but can anyone tell me if turning off sound and kill global draw will result in longer recording times? does setting to greyscale have any effect?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 04:54:27 AM
Quote from: lightspeed on June 10, 2019, 01:58:45 AM
I've been looking through the forums but can anyone tell me if turning off sound and kill global draw will result in longer recording times? does setting to greyscale have any effect?

From my experiments turning off sound and killing global draw will definitely help to either make a recording a bit longer or if it is borderline continuous become one. Not sure what you mean by greyscale, if you mean setting preview to Frozen LV, it will help a bit as well, but not as much as turning LV off altogether.

From my experiments, the biggest improvement comes from changing bitrate from 14 bit to 12 bit - improvement of almost 11% in terms of reducing generated data. Strangely, going from 12 bit to 10 bit reduces data by only 7.5% - still a good improvement though. Turning off sound and killing global draw has much smaller effect than reducing bitrate. I never measured it but I would say maybe 2-3%.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 06:42:32 AM
Kill global draw will have a bigger impact than turning off wav. Tested grayscale preview but couldn't see any speed difference. Frozen liveview will have a big impact, even if using halfshutter to get framing preview too.
Workaround when using 10bit for example in crop mode sub menu is doing the same as when reducing to 12 or 11 bits in RAW video section. Not as sophisticated but works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on June 10, 2019, 08:54:10 AM
Quote from: berechiah on June 09, 2019, 11:27:20 AM
So sorry I didn't see this
I'll write the full list of info on here later for you

But there is a guy on YouTube called zeek
Just type "eos m zeek" and he has some seriously good videos on all this info
I'd be lost without his help also its extremely informative

Thanks. I am familiar with Zeek's videos. Mcmrewire still gives me too much aliasing/moire. Maybe it's the lenses I'm using (ef-m lenses) or something in the settings. But I have a feeling it's the lenses. When I shoot in moviecrop mode it's much better, but the crop factor..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 09:34:21 AM
Anamorphic or zoom modes. There's no other way killing aliasing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 09:37:53 AM
Quote from: Danne on June 10, 2019, 06:42:32 AM
Workaround when using 10bit for example in crop mode sub menu is doing the same as when reducing to 12 or 11 bits in RAW video section. Not as sophisticated but works.
Are you saying changing bitrate in crop mode sub menu is different from doing the same in RAW video section?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 10:07:41 AM
Yes. It's not working from RAW video section. Workaround is changing analog gain regs directly in crop mode submenu. So, always stay in 14bit lossless then change bitdepth in crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on June 10, 2019, 10:09:39 AM
Thanks Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 10, 2019, 12:30:18 PM
Hi everyone

Following Danne's advice im trying anamorphic mode (1x3 pixel binning), i start the lua script and then select 4k anamorphic and select 25fps but i get a zoomed in video, is this correct? Also when i select to autorun the lua script it says "cinema script is now disabled" everytime i turn on the eos m, autorun is supposed to be the oposite?

Thanks for any help/info.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 12:44:11 PM
Yes, no autorun with this script. You run the script once and it sets you up with all you need for filming in anamorphic mode. All settings persists.
Real time(cropped) preview while pressing half shutter, otherwise framing preview.
Download latest version, will get you into anamorphic rewired mode, slightly better real time previewing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 10, 2019, 01:04:15 PM
Thanks Danne,im using the latest version, my doubt was about the zoom in effect, is it normal? when i started to use magic lantern some modes had a zoom effect but by reading the forum tought that 1x3 mode didnt have the zoom in effect, also in orden to use 1x3 binning i need to select 4k anamorphic? When "hovering" 4k anamorphic it says it uses it, the other modes mcm rewire etc dont use that method?



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 01:34:45 PM
Not sure what you are asking here. To verify you recorded a file in anamorpic mode simply drop it in Mlv App and export a still file. Check resolution, should be upsampled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 02:20:12 PM
ricardopt

You are correct, when using anamorphic mode you only get a crop of the sensor. In fact, the only mode that gives you full sensor picture is mv1080p varieties, all other modes only read a part of the sensor, hence what you call a zoom in effect. The difference between 1x1 and 1x3 (anamorphic) modes is that the latter is able to capture a larger part of the sensor. With 1x1 mode you get around x3 crop, with 1x3 you get around x1.5-1.6 (crop depends on the resolution chosen, the higher the res, the larger the crop,  the smaller the crop factor).

Does it make sense?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 10, 2019, 02:32:32 PM
In theory 1x3 mode must not have a crop factor (okay, very little crop: 1664 columns from 1736). We just crop it slightly to not get too much corrupted frames and to be able to record longer clips.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 02:37:16 PM
I think you meant to say 'doesn't have to have a crop'. Obviously we crop because the cameras don't keep up with capturing and recording full sensor readout even in 1x3 mode, so we are bandwidth limited.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 02:47:39 PM
I implemented it on 5D3, runs something like 5.5k 16:9, Can´t fully remember but it was quite the difference. Surprised nobody started recording anamorphic with this cam as well.

Also just uploaded a version for eosm which can record anamorphic rewired 1736x1900(5208x1900) when ratios is set to off in crop mode sub menu.
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jun10.EOSM202.zip

Continuous, hell no  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 03:20:44 PM
Thanks Danne

Should try this new build and see if it is pink frame free. With your April builds I got continuous at 1120 x 1890 24fps 12bit, but it was pink frame hell.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 03:25:21 PM
Quote from: baladev on June 10, 2019, 03:20:44 PM
Thanks Danne

Should try this new build and see if it is pink frame free. With your April builds I got continuous at 1120 x 1890 24fps 12bit, but it was pink frame hell.

If you set ratios to 16:9(crop mode sub menu) and 12bit in 4k anamorphic rewired mode it sets resolution to 1064x1800. Tested that?(Don´t forget to press canon menu and back when changing bitdepth by the way)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 10, 2019, 04:36:06 PM
The April 11 build that I used for a while allowed me to set resolutions up to 1890 vertical in 4k Anamorphic Rewired. Lower resolutions, around 1800 vertical in 16:9 gave almost pink frame free footage with kill GD on. The lowest I tested was 1072 x 1810 24fps 14bit. And yes, I'm in the habit of going to Canon menu now every time I change something.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on June 10, 2019, 04:37:08 PM
Quote from: Danne on June 10, 2019, 03:25:21 PM
If you set ratios to 16:9(crop mode sub menu) and 12bit in 4k anamorphic rewired mode it sets resolution to 1064x1800. Tested that?(Don´t forget to press canon menu and back when changing bitdepth by the way)

I've tested it with one of the latest builds. It worked fine, no pink frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 10, 2019, 04:38:03 PM
Quote from: henricusmaria on June 10, 2019, 04:37:08 PM
I've tested it with one of the latest builds. It worked fine, no pink frames.
Yes, tested as well, seemed to work fine also with global draw on. Cool.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 10, 2019, 06:11:03 PM
Quote from: baladev on June 10, 2019, 02:20:12 PM
ricardopt

You are correct, when using anamorphic mode you only get a crop of the sensor. In fact, the only mode that gives you full sensor picture is mv1080p varieties, all other modes only read a part of the sensor, hence what you call a zoom in effect. The difference between 1x1 and 1x3 (anamorphic) modes is that the latter is able to capture a larger part of the sensor. With 1x1 mode you get around x3 crop, with 1x3 you get around x1.5-1.6 (crop depends on the resolution chosen, the higher the res, the larger the crop,  the smaller the crop factor).

Does it make sense?

Thanks for the explanation, i follow the eosm subforum, untill recently i didnt have time to test the builds, so all my "following" was done by reading comments and reading other people results, i probably misread something about the 1x3 as i tought it didnt have any crop.

Thanks once again for the explanation.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on June 10, 2019, 08:02:36 PM
Quote from: Danne on June 09, 2019, 06:31:49 PM
You miss the silver version dfort ;)

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

- Added the more up to date cinema ratio 2.39:1 into the preset menu in crop mode sub menu. Works on all presets:
- Updated the lua cinema script to enter 4K anamorphic rewired 2.39:1 mode as starting point

2.39:1
(https://i.postimg.cc/x8Vhjy5g/VRAM0-PPM-scaled.png)
Grazie Danne, will be mine settings for the next documentaries
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 10, 2019, 10:25:31 PM
here's a few clips, 4k anamorphic, only changed aspect ratio to 16:9 and set 25fps, 1064x1800 resized to 4k, very "clean" videos only selected 3x3 smooth in mlvapp and it was ready to go, @Danne where's the aliasing now? :)
watch in 2k or 4k resolution
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 11, 2019, 12:04:44 AM
Oh yes. Clean as clean can be. Very nice looking. Good colors too.
Yes, chroma smooth 3x3 needed. Notified dfort on pixel maps for these new anamorphic modes. Hopefully he finds time soon.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on June 11, 2019, 11:42:39 AM
Quote from: ricardopt on June 10, 2019, 10:25:31 PM
here's a few clips, 4k anamorphic, only changed aspect ratio to 16:9 and set 25fps, 1064x1800 resized to 4k, very "clean" videos only selected 3x3 smooth in mlvapp and it was ready to go, @Danne where's the aliasing now? :)
watch in 2k or 4k resolution


Nice clips!
4K anamorphic works nice. For people and plants it works great. However with buildings I sometimes get wobbling/aliasing on vertical lines.
Edit: the wobbling is due to the IS lens
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 12, 2019, 12:29:53 AM
I like that 4k anamorphics 16:9, I was trying to do something like that myself the other night.

Is there a definitive list somewhere of what the differences are between the different crop_rec modes? I know that mv1080p is 3x3 binning and anamorphic is 1x3 binning but I don't fully understand all the modes and what exactly they do (ie what do 4k anamorphic and 5k anamorphic do differently?). If I haven't searched properly in this thread then please point me in the right direction.

Cheers
Dan
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 12, 2019, 12:00:08 PM
i dont think anyone did that cause menu in ML kinda describes it well.
First modes are for 5x5 zoom,
2.5k zoom modes  are the ones without aliasing but zoomed in and with full shutter speed control
3k and 4k  zoom modes are similar but you cant choose shutter speed above 30 and fps is low so its for timelapses maybe.
next modes arewithout zoom until anamorphic modes on bottom - 4k and 5k modes which have full vertical resolution (every pixel rom sensor is captured) and horizontal binning(every third) So image is stretched but its best quality, comparable to full size photo with full shutter speed and fps control unlike previous 3k and 4k modes.
https://www.magiclantern.fm/forum/index.php?topic=9741.msg215467#msg215467
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aulden on June 12, 2019, 05:52:55 PM
Would an anamorphic 3:1 mode in the display tab work with the anamorphic croprec mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 12, 2019, 06:17:07 PM
Not sure what you mean but what is stopping you from testing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aulden on June 12, 2019, 07:13:10 PM
Quote from: Danne on June 12, 2019, 06:17:07 PM
Not sure what you mean but what is stopping you from testing?

For correcting the real time preview of the rewired anamorphic modes. It only goes up to 2:1, would it be hard to implement a 3:1 mode aswell?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 12, 2019, 07:19:56 PM
I tried some of that a while ago. Seemed not so straightforward. Besides it's also cpu hungry so corrupted frames would occur. Didn't look any further myself.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Nibby99 on June 12, 2019, 07:58:01 PM
Quote from: dpjpandone on August 09, 2015, 05:13:11 PM
when you plug in an external monitor, the touch screen stops working, therefore, there is no way to navigate ml menu when external monitor is attached.  Same problem if you're using a screen loupe viewfinder on the eosm screen, u have to remove the loupe to navigate, pain in the butt...

Just wondering if this has every been addressed. I want to be able to change shutter speed and possibly aperture in ML menus (so I can see my changes real-time). I want to buy a viewfinder LCD magnifier as I find it impossible to shoot in direct sun.

(ie:MagiDeal 2.8X 3.0'' LCD Screen Viewfinder Magnifier V6)

I was hoping to be able to access ML without popping off the hood everytime.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 12, 2019, 10:28:24 PM
You can access ML menu without touchscreen, just with the buttons. Use trash button and play button. So no need to pop off the magnifier.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on June 13, 2019, 06:17:25 PM
Quote from: aulden on June 12, 2019, 07:13:10 PM
For correcting the real time preview of the rewired anamorphic modes. It only goes up to 2:1, would it be hard to implement a 3:1 mode aswell?

I've previously compiled a version with a 3:1 anamorphic mode. It's pretty straightforward in the code.

The issue is currently that that rewired anamorphic mode is not showing the full height of the image. It feels like it's only showing approximately half of the 1866 height (of the 1488x1866 4k anamorphic rewired).

@Danne, I've been through your previous repository, but I couldn't find how the MCM rewired happens/takes place/is controlled or even if it could be. If you have any pointers for trying to rewire the full height of the 4k anamorphic mode that would be great.

We could then look to test a 3:1 anamorphic liveview mode (and see the effect on CPU/pink frames) or I have an external monitor which can be set to anamorphic desqueeze, so that could also be an option.

Another couple of questions/thoughts

At the moment I'm getting continuous - Orange marker for most of the record, then green for a portion. But records over 5mins (with a sandisk extreme pro). This is, obviously, AMAZING (props to you Danne)
But my thought is that 4k 2.39:1 is normally thought of as 4096x1728 - which means we *could* lower the res to 1365x1728

@Danne - again if you could point me in the direction (of the raw code) that controls the height/resolution on the preset that would be great

Then potentially if we can get the whole image rewired to the liveview in realtime, means we can then figure out the desqueeze.

Interested to hear your thoughts. Feels like this could be another (ANOTHER) big leap for the EOS M.

cheers all
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 13, 2019, 06:51:38 PM
You can modify resolution with skip offsets like following. Enter crop mode sub menu, enter following:
(https://i.postimg.cc/d0YDMgs4/VRAM0-PPM-scaled.png)

ML code will round to this:
(https://i.postimg.cc/wjJ3G9p1/VRAM2-PPM-scaled.png)

Now go to this part in crop_rec.c and add the new numbers if you want to hard code resolution presets. Starts like this:
case CROP_PRESET_anamorphic_rewired_EOSM:
/* see autodetect_black_level exception in raw.c */
  if (ratios == 0x0)
  {
    skip_right      = 58;
    break;
  }
/* 2.39:1 */
  if (ratios == 0x1)
  {
        skip_bottom = 54;
        skip_right = 186;
        skip_left = 190;
   if (bitdepth == 0x4)
   {
        skip_bottom = 54;
        skip_right = 266;
        skip_left = 270;
   }
        break;
  }


Hard code numbers in this part:
/* 2.39:1 */
  if (ratios == 0x1)
  {
        skip_bottom = 54;
        skip_right = 186;
        skip_left = 190;


Becomes:
/* 2.39:1 */
  if (ratios == 0x1)
  {
        skip_bottom = 192;
        skip_right = 248;
        skip_left = 252;


Personally I wouldn´t do this since I record a smaller area of the sensor. Instead I´d scale down to propr standards in post.

What do you want to know about CROP_PRESET_anamorphic_rewired_EOSM preset? You can follow all registers added by searching keyword:
CROP_PRESET_anamorphic_rewired_EOSM
Or:
reg_override_anamorphic_rewired_eosm
to get the capture registers


One interesting workaround with the rewired modes is that it starts out in movie crop mode(x3digital) since then eosm will work in regular mv1080 readout in liveview. I then alter cmos and adtg regs so that we get back into non crop mv1080p mode. If you want to understand code from here you´ll need adtg_gui etc but even so it´s not like one can just copy paste the regs and get the mv1080p liveview working outside x3 zoom.
I call movie crop mode here in crop_rec.c:
/* always disable Movie crop mode if using crop_rec presets, except for mcm mode, Only eosm and 100D */
if (is_EOSM || is_100D)
{
/* always disable Movie crop mode if using crop_rec presets, except for mcm mode */
    if ((crop_preset == CROP_PRESET_mcm_mv1080_EOSM) || (crop_preset == CROP_PRESET_anamorphic_rewired_EOSM) || (crop_preset == CROP_PRESET_anamorphic_rewired_100D))
    {
     if (is_EOSM || is_100D) movie_crop_hack_enable();
    }
    else
    {
     if (is_EOSM || is_100D) movie_crop_hack_disable();
    }

}


If you can share a version also with 3x1 anamorphic and how you alter it it would cool.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 01:27:03 AM
Hey guys

Just wondering if its possible to get 45fps in rewire view (not stretched view)

I have been playing with it a lot since danne made it 10x better (THANKS SO MICH BY THE WAY)
I just love shooing slo motion video of my children
I think it is a big feature for me. Even though its scaled down a lot. Its seriously cool.

Thanks again guys

You guys are seriously the best I ever saw
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 09:20:18 AM
Quote from: berechiah on June 14, 2019, 01:27:03 AM
Hey guys

Just wondering if its possible to get 45fps in rewire view (not stretched view)

I have been playing with it a lot since danne made it 10x better (THANKS SO MICH BY THE WAY)
I just love shooing slo motion video of my children
I think it is a big feature for me. Even though its scaled down a lot. Its seriously cool.

Thanks again guys

You guys are seriously the best I ever saw
I´m pretty sure you got an answer when you pm:ed me the very same question.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on June 14, 2019, 11:27:10 AM
Quote from: Danne on June 13, 2019, 06:51:38 PM
If you can share a version also with 3x1 anamorphic and how you alter it it would cool.

So it's pretty straightforward for the 3x1 desqueeze.

The code is stored in tweaks.c, around line 3545 you'll see this:

.name = "Anamorphic",
        .priv     = &anamorphic_preview,
        .update = anamorphic_preview_display,
        .max = 7,
        .choices = (const char *[]) {"OFF", "5:4 (1.25)", "4:3 (1.33)", "7:5 (1.4)", "3:2 (1.5)", "5:3 (1.66)", "9:5 (1.8)", "2:1"},
        .help = "Stretches LiveView image vertically, for anamorphic lenses.",
        .depends_on = DEP_LIVEVIEW | DEP_GLOBAL_DRAW,


So we have to a) update the max number of options, and add one to the choices. So it would look like

.name = "Anamorphic",
        .priv     = &anamorphic_preview,
        .update = anamorphic_preview_display,
        .max = 8,
        .choices = (const char *[]) {"OFF", "5:4 (1.25)", "4:3 (1.33)", "7:5 (1.4)", "3:2 (1.5)", "5:3 (1.66)", "9:5 (1.8)", "2:1", "3:1"},
        .help = "Stretches LiveView image vertically, for anamorphic lenses.",
        .depends_on = DEP_LIVEVIEW | DEP_GLOBAL_DRAW,


so we've updated the menu, but now need to add the actual maths for the desqueezing.

if we goto line 2833 we see:

#ifdef FEATURE_ANAMORPHIC_PREVIEW

static int anamorphic_ratio_num[10] = {5, 4, 7, 3, 5, 9, 2};
static int anamorphic_ratio_den[10] = {4, 3, 5, 2, 3, 5, 1};


which is the array for how things get tweaked, so we just need to add another choice like this:

#ifdef FEATURE_ANAMORPHIC_PREVIEW

static int anamorphic_ratio_num[10] = {5, 4, 7, 3, 5, 9, 2, 3};
static int anamorphic_ratio_den[10] = {4, 3, 5, 2, 3, 5, 1, 1};



The only thing that I've found in terms of getting it to work on the liveview is you have to turn it to realtime and turn off the crop-rec preview.

@Danne, I'm going to have a play with the registers for the raw video size. I think I actually typo'd the dimensions for 4k 2.39:1. According to this site: https://blog.chameleondg.com/post/111891072017/resolution-aspect-ratio-cheat-sheet

it's 4096x1716, so we can probably adjust down the 3x1 to: 1366x1716 which will probably be continuous.

I'll also have a look at the register values for the MCM rewire and see what I can start to figure out, but I may come back with some more questions about what is going on. My knowledge of the EOS M registers is still very low, so it would be great to get some more pointers once I've had a dive in.

Cheers

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 11:32:36 AM
Sorry Danne
No matter how I try to understand it seems not to get through lol
I spent hours and hours with the camers just some things seem to be hard go get.

So I only see 30fps in 1080 mcm rewire mode

I changed all the settings I could
But the only option was to set my max to 30fps

If i was in mc1080p 46/48fps mode
I see the option to set the max fps to 45fps

Am I going wrong somewhere

I'm sure it's simple but I am missing something

Sorry to be such a novis
It's not for the lack of time I am spending on learning or just being lazy
I really appreciate any advice
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 11:52:20 AM
No problems. You can set FPS override to maybe 38 in mcm modes.

@Pacerx999
Thanks. Will look into this later.
Good luck on regs and just ask anything if needed. Learn to use adtg_gui is my tip right now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 01:24:41 PM
Hey again

Im wondering if you don't mind to shed some light again please.

I am in ml menu my settings are

fps override: 38 (from 30)

Crop mode: mv1080p MCM rewire
Crop mode Sub menu: bit depth = off
Crop mode Sub menu: ratios 16:9


Raw video:
Aspect ration: 16:9
kill global Draw: on

every thing else is normal
But I can't seem to allow my shutter speed past 60-70 or so.
should                        ((((((((((fps override: 38 (from 30)))))))))))
not say something like ((((((((((fps override: 38 (from 38)))))))))))
Am I doing it right


So I did 38fps and it works and 2.35:1 works too no pink frames
sorry to be a pain just hoping to get a grip on it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 01:49:16 PM
Just a quick update

I ended up leaving the fps to 36
and I can't make my shutter speed go past 74

its the almost double fps so seems to be the sweep spot.

I am lost likely doing it wrong LOL but as they say in Ireland
Im doing it arse ways
LOL

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 01:49:41 PM
TEsted and reproduced. Something maybe conflicitting with fps override and shutter blanking. One need to take a look in crop_rec.c and maybe also fps-engio.c code.

EDIT: Found the issue. Will check into it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 01:58:13 PM
Fair play Danne

But even if I can't go past 36fps its still ok
there is is no pink frames

and if I got to 8-11bit lossless I can get about 30 - 60 sec from it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aulden on June 14, 2019, 05:10:18 PM
@Danne,
Is there anything us users can do to help develop a larger real time preview for the 4k rewired anamorphic?
Also, can we help test regs for eliminating the focuspixel field? Or is that a lost cause?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 05:46:53 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

@berechiah
A little bit better regarding FPS override. It will still show wrong when set in mcm mode but it will apply faster canon shutters anyway.

Quote from: aulden on June 14, 2019, 05:10:18 PM
@Danne,
Is there anything us users can do to help develop a larger real time preview for the 4k rewired anamorphic?
Also, can we help test regs for eliminating the focuspixel field? Or is that a lost cause?
You tell me what you can do to help?
If you don´t know how to use adtg_gui I suggest you start learning how to use it. If you ask for what to look for, I don´t know. If I knew it would already be fixed right?
There´s no shortcut into this. If you mean serious help please spend a year or so trying to solve this, starting with what already has been discussed on the topic. Good luck!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 14, 2019, 06:37:03 PM
Greg here wrote something about being able to find focus pixels table https://www.magiclantern.fm/forum/index.php?topic=23086.msg209902#msg209902
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 14, 2019, 08:25:07 PM
is there anyway to fix fps override in 3k mode. When ever I set it to 18 fps the preview is scrambled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 09:06:48 PM
Increase reg_6014 in crop mode sub menu, select framing preview. Report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 14, 2019, 10:48:50 PM
Yes it works when you do it that way. And that's how I have been doing it but I have to change it every time I turn on the camera. If I could use FPS then it would save the setting I believe
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 14, 2019, 10:58:04 PM
Find this part in crop_rec.c:
  if (ratios == 0x1 || ratios == 0x2)
  {
    switch (reg)
    {
/* will change to 19fps for continous action */
        case 0xC0F06804: return 0x5190310 + reg_6804_width + (reg_6804_height << 16); /* 3008x1280 19fps  x5 Mode(2.35:1) */
        case 0xC0F0713c: return 0x519 + reg_713c;
        case 0xC0F07150: return 0x514 + reg_7150;
        case 0xC0F06014: return 0x7cd + reg_6014;
    }
  }

Change:
        case 0xC0F06014: return 0x7cd + reg_6014;
to:
        case 0xC0F06014: return 0x839 + reg_6014;
Then comppile for your camera.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 14, 2019, 11:02:22 PM
Thanks Danne for that today. It works perfectly now. Really appreciate your help.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 15, 2019, 05:02:39 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/7f1e2337ec69f259bffe378c512fb407f0d7f45b
https://bitbucket.org/Dannephoto/magic-lantern/commits/485593fabdf978710105603b2432e5148ada4586

- Reworked 4k, increased height
- Timelapse presets. Only active in conjuction with 4k preset. Timelapse option allows also for 5k.

(https://i.postimg.cc/L4t5m8GS/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/L538Dxj5/VRAM1-PPM-scaled.png)

(https://i.postimg.cc/ZnSq6GBX/VRAM2-PPM-scaled.png)

On eosm timelapse or reduced fps works also with FPS override and then you´ll get shutter blanking included too. This works through crop rec with 100D straight in crop_rec.c but not with eosm, go figure. So eosm timelapse from crop rec will be slow shutter only. If you have no idea what I´m talking about just grab a beer and start playin´ 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 16, 2019, 01:58:06 AM
Quote from: ricardopt on June 10, 2019, 10:25:31 PM
here's a few clips, 4k anamorphic, only changed aspect ratio to 16:9 and set 25fps, 1064x1800 resized to 4k, very "clean" videos only selected 3x3 smooth in mlvapp and it was ready to go, @Danne where's the aliasing now? :)
watch in 2k or 4k resolution


I'm on 7th June build and 4k anamorphic mode at 16:9 gives a res of 1064x1975. I could only get that resolution (1064x1800) when setting the aspect ratio to 5:3. Did something change between builds?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 06:08:27 AM
1120x1900 when set to 16:9
Above mode becomes 1064x1800 when bitdepth is set to 12bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 16, 2019, 09:47:53 AM
Quote from: dokipen on June 16, 2019, 01:58:06 AM
I'm on 7th June build and 4k anamorphic mode at 16:9 gives a res of 1064x1975. I could only get that resolution (1064x1800) when setting the aspect ratio to 5:3. Did something change between builds?

Never mind, i seem to be getting good results with setting the ratio to 1:2 in raw vid module and 16:9 in crop rec. I get 1120x1900 which expands to 3360x1900 which i guess is '4k'.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on June 16, 2019, 09:48:40 AM
Quote from: Danne on June 16, 2019, 06:08:27 AM
1120x1900 when set to 16:9
Above mode becomes 1064x1800 when bitdepth is set to 12bit.

ah just saw your reply too. :) cheers danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 09:55:15 AM
4k with 2.35:1 preset.

Don't touch the ratio tab in raw video. Instead set it to maximum or run the cinema lua script and then choose the ratio presets in crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 16, 2019, 03:53:31 PM
Quote from: Danne on June 15, 2019, 05:02:39 PM
On eosm timelapse or reduced fps works also with FPS override and then you´ll get shutter blanking included too.  8)

Hey Danne
many thanks for the shutter speeds which were not available with fps override before!
I've noticed this by accident in some may version. I could then for the first time use FPS override with shutter speeds much quicker (1/100 sec for example) at 2.5 fps.
This is awesome!
I've tested the June 04 version extensively and have not had a single corrupt frame in some 70+GB of footage.
Many many thanks for Your incredible efforts and work!

p.s. made with Danne's experimental build
https://www.magiclantern.fm/forum/index.php?topic=24252.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 04:51:21 PM
No corrupted frames. Sounds great. Keep up the good work and tests.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 16, 2019, 07:43:43 PM
Hi Danne
Just did some video today.
I can set any shutter speed now regardless what ever u set my fps to.

But it seems if I go past 36 of 30fps i see a distorted liveview

I did every other type if setting to see if it went away
But the live view is pinky and messed up if I go past 36fps

Any ideas ?
Its not so important it is just an update
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 08:09:04 PM
If you refer to mcm rewired mode set to 16:9 in crop mode menu and canon fps set to 30fps I can over here set FPS override to 42fps with good liveview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 16, 2019, 10:01:26 PM
Yes I am in 1080p rewire and I am 37fps all the way to 42fps (40 or 30fps)

and I still see the bad live view
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 16, 2019, 10:03:39 PM
I have a bit issue

I used my camera today for a cake smash for my 1year old

I am am looking at the video an I see the focus dots

I had them gone before but they seem to be back again

I am doing my best to find old posts to try to fix it

can anyone help me I am totally at a lost I am 1 hour searching and testing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 10:54:33 PM
What preset used? If you're not using dfort's pixel maps try chroma smooth 3x3.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 16, 2019, 11:04:09 PM
Dose 3x3 soothing make is softer?

I got the files dfort uploaded
I downloaded the Download repository

I copy all the files in focus_pixel_map_files folder its full of .fpm files

I just pasted them into

/Users/admin/Library/Services/mlvfs/contents

I am most likely doing it wrong but it seems to have made it a bit better
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 16, 2019, 11:36:06 PM
Use your eyes and tools to actually look at the file and be your own judge about softness.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 17, 2019, 12:03:15 AM
Ok ill do that.
Thaksn
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 01:03:23 AM
Quote from: Danne on June 16, 2019, 11:36:06 PM
Use your eyes and tools to actually look at the file and be your own judge about softness.

Got it figured out after all.
I went trough the whole form and found step by step instructions how to put the .fpm files in the mlvapp and mlvfs

Also I looked an 3x3 in the mlvapp dose not take away any quality from what I noticed

Sorry its very simple stuff for you guys but it was a great to finally get time to get it sorted.

Thanks for the advice
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 18, 2019, 10:00:31 AM
Quote from: berechiah on June 18, 2019, 01:03:23 AM
Got it figured out after all.
I went trough the whole form and found step by step instructions how to put the .fpm files in the mlvapp and mlvfs

Also I looked an 3x3 in the mlvapp dose not take away any quality from what I noticed

Sorry its very simple stuff for you guys but it was a great to finally get time to get it sorted.

Thanks for the advice
Could you tell, what exactly the problem was? Regarding MLVApp I really don't know how to make it more clear and easier... so would be cool to hear what the problem was. In MLVApp: Help->Help you find this:
(https://i.ibb.co/PgCYJYF/Bildschirmfoto-2019-06-18-um-09-56-07.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 11:44:53 AM
No you did explain it perfect

But I was able to use the mlvapp and mlvfs to remove focus dots before.

But it seems one day after updating my eos m firmware the focus dots came back
In mlvfs the focus dots was always there from what i remember until months later I found out I can ad the fpm file to mlvfs and remover focus dots.
But it also came back once I updated

But the mlvapp was perfect until I updated the eos ml update

So Danne suggest to update the Dfort pixel map when he updated the ml file

So I needed to find the files
I did and I put them in the app and mlvfs
I found it in the end

Look I am kinda tec savvy when using it and troubleshooting but some of these things go way over my head.

Hope I explain it ok

But its working now 100%

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 18, 2019, 01:25:39 PM
Just passing trough just to say that im trying out the latest version with the 4k anamorphic mode and the video quality that this "old/small mirrorless" camera can produce with its specs... just  fu... blows my mind ... thanks everyone :)
(https://i.ibb.co/rypYqmV/mlscreen.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 18, 2019, 02:29:37 PM
Hey all, I've been really impressed with the ML Build June 14th. No crazy focus dots, no need to enable chroma smooth, maps, fix bad pixels or even focus dots in MLV App.

Crop Mode
- MCM Rewire
- Bitdepth = 10bit
- Ratios = 16:9 or OFF (to increase max resolution in 1:2)

RAW Video:
- Resolution - 1736x976
- Aspect Ratio - 1:2 (16:9)
- Card Warm-Up 64 MB
- Small Hacks - af on
- Sound Recording - OFF

Just thought I'd share. Surprised there are "zero" focus pixels and that no chroma smooth etc. is needed. Just drop and edit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 02:52:32 PM
Great. Looking forward to your next movie :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 18, 2019, 02:59:42 PM
Been testing 4K Anamorphic Rewired, no focus pixels either or need for chroma smooth. Thanks for the builds! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 18, 2019, 03:00:46 PM
I've uploaded it, work limits the time i have available, it was a short test.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 04:53:18 PM
It's fine

U did a good Job


I am not that good at these things but I'm learning
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 04:54:34 PM
Hi guys

How to I get the mini menu up on the eos m

Like the photo on the website
https://www.magiclantern.fm/img/eosm.png
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 18, 2019, 05:22:18 PM
Press the Menu button while in ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on June 18, 2019, 05:39:53 PM
Guys, working with 4.5k 2.35: 1 aspect I can apply the mask of focus points of dfort or only with the formats rewired, mcm, 16: 9 etc. Help me, maybe I don't understand, thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 05:44:19 PM
Quote from: baladev on June 18, 2019, 05:22:18 PM
Press the Menu button while in ML.

Actually, that exits menu and back to liveview. Not sure why it´s not working. Feel free to investigate this issue further.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 18, 2019, 06:08:22 PM
Quote from: Danne on June 18, 2019, 05:44:19 PM
Actually, that exits menu and back to liveview. Not sure why it´s not working. Feel free to investigate this issue further.
Crap. Sorry, you are right! 4 cameras with ML working slightly differently on all of them can get a man confused  ::)
This explains my annoyance when I get this screen on my other cameras - I expect to exit ML as with EOS M but instead I get this...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 06:13:30 PM
What´s that menu even called? Also, what compilation works differently with the menu button?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 06:15:23 PM
Lol
It looks like a handy menu

But I pressed evry botton every way but dotn know how to get it up

It's not important though but it would be nice to have
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 06:29:47 PM
CHecked some. Seems to be called junkie menu. It´s supposed to be defined in features.h. However. Defining it doesn´t get it to work. I guess one needs some digging here.
https://www.magiclantern.fm/forum/index.php?topic=8741.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 18, 2019, 06:34:08 PM
Quote from: Danne on June 18, 2019, 06:13:30 PM
What´s that menu even called? Also, what compilation works differently with the menu button?

Hmm.. just checked. 5Dm3 exits ML upon pressing Menu but 7D goes into this menu, which has two different screens - one with fewer bigger buttons and the other one with more buttons of smaller size. Pressing Menu cycles ML - sceen 1 - screen 2 - ML. The build is https://bitbucket.org/ArcziPL/magic-lantern/downloads/magiclantern-Nightly.2019Mar07.70D112_crop_rec_4k_mlv_lite_lossless.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 06:55:12 PM
Nice. I'll have a look later. Probably onle needs to bbe defined in features.h in eosm platform so if you can compile try and define it there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 18, 2019, 09:55:00 PM
Added a possibility to add back junkie menu into the eosm:
https://bitbucket.org/Dannephoto/magic-lantern/commits/d283181580d93c04acf86c57ee9093ebef182afc

Inside the platform folder for eosm define this in features.h then compile your own version or ask for someone to help you out on this. I will not include it to my ongoing builds for the time being:
#define FEATURE_JUNKIE_MENU
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 18, 2019, 11:00:58 PM
Brill
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 19, 2019, 01:46:00 PM
was trying the new timelapse option in 4k anamorphic, let the eosm record for 6 minutes, choose 3fps, when opening the mlv in mlvapp it showed that the video has a duration of 6 minutes, it seems i need to speed up the video after.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 19, 2019, 02:13:07 PM
Quote from: ricardopt on June 19, 2019, 01:46:00 PM
was trying the new timelapse option in 4k anamorphic, let the eosm record for 6 minutes, choose 3fps, when opening the mlv in mlvapp it showed that the video has a duration of 6 minutes, it seems i need to speed up the video after.
Right. In MLVApp's export settings dialog, choose fps override and export to whatever you need. Then the clips becomes shorter.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 19, 2019, 02:31:42 PM
I know a camera is not a smartphone, on my phone it records @30fps, i select to take a pic every 3 seconds, if i do this for 6 minutes i'll have a 5 second video @30fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 19, 2019, 02:46:34 PM
Yes, the preset is designed like this. It will use a 7fps wrapper if I recall correctly. This is because we then don´t need the major lag that otherwise will happen. Only when recording the fps is changed to the lower one but still with the 7fps wrapper. If you experiment some in Mlv App you should be able to get what you want in post.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 19, 2019, 02:52:47 PM
i dont have much time now (work starts in a bit) but the final timelapse video is the same as a normal video recording for 6min, no difference at all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 19, 2019, 02:54:46 PM
hehe, ok, I will have to take a look at this. Maybe a bug.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 19, 2019, 03:07:09 PM
Quote from: ricardopt on June 19, 2019, 02:52:47 PM
i dont have much time now (work starts in a bit) but the final timelapse video is the same as a normal video recording for 6min, no difference at all.
Sure, if you don't setup fps override in MLVApp this is expected. Type e.g. 25fps in this field and you'll get what you want.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 19, 2019, 03:07:36 PM
Just tested. Seems to work as I told you. Recorded a 3fps file for a minute and about 174 frames. Turned it off and then 7fps and around 500 frames after a minute. So speeding up the timelapse i the solution to your problem.
Maybe I can set a different metadata tag when ending recording. Will have a look on this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 19, 2019, 03:17:23 PM
But to what framerate do you set then? Some person like 24, some other 25, the next guys love 30...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 19, 2019, 03:18:25 PM
True, Either set to the same fps as set 3fps or just leave at the wrapper 7fps one.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on June 21, 2019, 12:24:01 PM
it seams that last link doesn't work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 21, 2019, 02:05:19 PM
You can download everything directly for Danne's repo:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sirminder on June 22, 2019, 11:38:44 AM
Hi everyone, new guy here.  After seeing some of Zeek's videos, I was motivated to jump on the MLV bandwagon and got me a used EOS M.

I loaded it with Danne's ML from early in June (thanks for your work and dedication Danne!).  Also, I went ahead and got the Viltrox EF-EOS M2 Speedbooster, so I can use some of my EF lenses.

I have been doing some tests using the Canon 50mm 1.8 and I am very pleased with the results so far, but still need to go through all the settings and menus.  However, I seem to be having a battery drain issue...only when the SD card with ML is inserted.  I have been going through some of the 116 pages that are now in this thread, but I cannot find the answer to fix this.  Some people had said upgrading the firmware on the Viltrox to 1.4 fixed their problem, so made sure fw1.4 was on mine.  Still, if I leave the battery in the camera along the Viltrox attached and the ML SD card, the battery will be drained while the camera is off.

To test what the problem could be, I did the following:
- Camera Off, Viltrox w/50mm 1.8 attached, 64G ML SD Card inserted, I switched from AF to MF on Lens and back - led on camera flashes a few times = battery drain.
- Camera Off, Viltrox w/50mm 1.8 attached, NO ML SD Card inserted, I switched from AF to MF on Lens and back - NO led at all and battery keeps its charge.

Unfortunately, I do not have an EOS lens to test without the Viltrox.

Is there a menu setting that covers this? Sorry if this has already been covered before, but I am still reading through everything here.

Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 23, 2019, 01:45:42 PM
It has nothing to do with the SD Card + ML. It's merely the Viltrox Focal Reducer that's causing the issue here (or a faulty battery). I haven't experienced the issue myself 'ever' and I own (x2) Viltrox Focal Reducers [EF-M2].

The battery draining issue caused by the Viltrox is identified here by other users of the adapter:
https://www.dpreview.com/forums/thread/4350743
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 23, 2019, 02:48:24 PM
My Viltrox speedbooster drains the battery too... sometimes. No idea what I could have done differently when it is drained or when not. Also the speedbooster sometimes sends wrong metadata to the EOS M. So for the EF 50mm 1.4, mostly it sends 35mm and f/1.0, bot sometimes 50mm f/1.4.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uEOSM on June 23, 2019, 03:46:37 PM
Quote from: sirminder on June 22, 2019, 11:38:44 AM
...only when the SD card with ML is inserted...
The same problem, the battery is discharged. I do not have a speedbuster, a standard 18-55 lens. From the first day I installed ML, a year ago.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 23, 2019, 03:52:19 PM
When the Viltrox sends the wrong signal, you just detach and retach the lens and it should automatically adjust to the correct information. I cant say much on the battery draining issue as I only have one AF lens (Canon 50mm STM) and use mostly manual focus lenses. I have one Canon EF zoom with IS coming in soon so I'll see how that performs...

It is expected that any lens with electronic connection or signals sent to the  camera will decrease battery quicker than dumb adapters with manual lenses. Even my Zeiss Milvus which is full time manual focus drained the battery quicker than anything I've seen as it has electronic connections.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 23, 2019, 04:28:05 PM
Yes, detach and retach helps. But even then, without changing the lens: when using the cam next time it might be wrong again...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on June 23, 2019, 04:53:30 PM
Quote from: uEOSM on June 23, 2019, 03:46:37 PM
The same problem, the battery is discharged. I do not have a speedbuster, a standard 18-55 lens. From the first day I installed ML, a year ago.

To troubleshoot this problem, try the current lua_fix build from the download page. In case of incomplete shutdown, it should keep the SD LED always on, so you should notice it right away.

That change doesn't seem to be included in Danne's builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 23, 2019, 04:59:27 PM
Hm, I will try and merge lua fix here.
If cam was not shut down over here it showed a red light though so never had those issues. On eosm2 however...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on June 23, 2019, 05:32:17 PM
With the old codebase, ML turns on the LED when receiving the shutdown message. If anything turns off the LED meanwhile (such as, from a SD card write finished afterwards), the LED will remain off, even if the camera doesn't shut down completely.

This happened to me a lot more often than I've expected. During development, I've noticed that - after the shutdown signal - the LED was sometimes turned off for 1-2 seconds (and then, turned back on for a split-second, until power down). Those 1-2 seconds were long enough to make me think the shutdown was complete, when it wasn't, so I was removing the card too early. Result: corrupted filesystem, had to format the card, prepare it from scratch, yadda yadda. Eventually, that became pretty annoying, so I made this change (https://bitbucket.org/hudson/magic-lantern/commits/99301f4fe05beddde611a1a8746aac52bf9e29f1).

With the new codebase, ML turns on the LED every 20 ms, in background, since receiving the shutdown signal. That is, as long as DryOS is still alive (and it normally is, until the MPU cuts off the power), the LED will stay on, even if some other tasks will try to turn it off.

Besides revealing incomplete shutdowns, with the new method, one is no longer tempted to remove the card before the shutdown completes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 23, 2019, 05:52:27 PM
Aight, sound very good. Will test tonight.

Speaking corrupted files I had some of that related to sd_uhs before adding back reconfiguration fix yesterday. I had to try really hard though to force patch and it was only on one card, only on 100D.

Removing card and being real abusive to my eosm testing stuff shutting it on and off, pulling card too early is rather mandatory here. However abusive there hasn't been one time a battery pull didn't fix it. I'm pretty amazed about how this works all of the time. The safety level i consider to be very high...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on June 23, 2019, 09:18:21 PM
QuoteHowever abusive there hasn't been one time a battery pull didn't fix it.

Heh, I could count at least two (https://www.magiclantern.fm/forum/index.php?topic=9741.msg212273#msg212273) times (https://www.magiclantern.fm/forum/index.php?topic=24224.msg217222#msg217222) just from your side :)

Add at least one SD card damaged by sd_uhs and one CF card damaged by my own code (https://www.magiclantern.fm/forum/index.php?topic=12862.msg199680#msg199680) (which I thought to be harmless before running it).

And a bunch of other similar events that happened to other developers (dfort's EOS M, chris_overseas' 5D3 and Greg's 500D are just the ones I remember right now). In all these cases, the issue was from faulty ML code (invalid value for some property). These were recovered.

Yes, the probability of things going wrong is low, but quite a bit above zero. That applies to all ML builds.

Quote
Speaking corrupted files I had some of that related to sd_uhs before adding back reconfiguration fix yesterday.

With all the recent testing, I still consider sd_uhs extremely unreliable (based on my own experience with it). There are two major issues: one is thread safety (https://www.magiclantern.fm/forum/index.php?topic=12862.msg201773#msg201773) during card reconfiguration, and the other is signal timing likely on the edge (I've got benchmarks running in LiveView, but failing outside, or viceversa, on some cards).

QuoteThe safety level i consider to be very high...

I disagree - there are so many things that could go wrong. This article (https://marcan.st/2011/01/safe-hacking/) gives some pretty good background info, although it's not specific to our project. This one (https://www.magiclantern.fm/forum/index.php?topic=3624.0) was written back in 2012, when I didn't really know what I was doing.

The worst issue comes from the way DryOS is designed - any task can write anywhere into RAM (even on memory belonging to other tasks). Then, at shutdown, Canon code writes stuff into their persistent memories - one of them being the main ROM (that's right, they reflash the ROM at every shutdown). It's not hard to imagine a sequence of events that would result in garbage written into ROM, resulting a camera that doesn't boot. Wait, it actually happened - two years ago I've bricked quite a few 5D3's with early crop_rec_4k builds (luckily recovered all of them, to my knowledge).

So, one of my unfinished quests is to find a way to prevent Canon code form reflashing the ROM (https://bitbucket.org/hudson/magic-lantern/pull-requests/825/prevent-canon-settings-from-being-saved/). Ideally, by disabling ROM writes at hardware level, to keep the camera safe even from reflashing code called by mistake. Current status: if you end up calling e.g. EraseSectorOfRom (https://chdk.setepontos.com/index.php?topic=5503.0) (even indirectly or unintentionally) with the wrong arguments, you might end up erasing the bootloader, and I won't be able to recover the camera. That didn't happen yet, to my knowledge, but it is theoretically possible.

Another thing I've started to think about lately, is how to prevent data loss in the case of hard crash, power cutoff or other stuff like that. For example, ML could create some backups of the FAT tables. I might even be able to completely undo a card format, after the fact. Or, if you record a long MLV file and there is a crash / power cutoff / whatever the middle of recording, ML should be able to recover that file at the next reboot (currently it doesn't). Or, even while transferring the files to PC, a flaky USB connection could result in data loss (it happened to me some years ago, and a backup of the FAT would have saved the day).

Sorry for the off-topic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 23, 2019, 10:32:27 PM
Quote from: a1ex on June 23, 2019, 09:18:21 PM
Heh, I could count at least two (https://www.magiclantern.fm/forum/index.php?topic=9741.msg212273#msg212273) times (https://www.magiclantern.fm/forum/index.php?topic=24224.msg217222#msg217222) just from your side :)

This article (https://marcan.st/2011/01/safe-hacking/) gives some pretty good background info, although it's not specific to our project.
Eh, two times messing with crop mode regs  :P
Besides those two mistakes no persistent damage.
Great article shared by the way. Should be read by users, recommended.

Yes, sd_uhs is a golden gem but could need some polishing. I try to but it's all pragmatically based slow understanding of how it works. Thankful for all info shared from yourself here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sirminder on June 24, 2019, 05:24:41 AM
Thanks for the help and feedback. I will troubleshoot further as suggested and report back my findings.

Sent from my SM-G930F using Tapatalk

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 24, 2019, 07:16:46 AM
is it possible to get a 3.5 k mode with a 16 fps. obviously wouldn't be continuous but would be nice to have the option. 9 fps is just too low.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 24, 2019, 09:54:29 AM
If you manage to decrease reg_6014 and get higher fps then it works. Or else not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 24, 2019, 04:19:06 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/72d33da5618f5ce1d8ebfbbb5d7d897de11079c9
https://bitbucket.org/Dannephoto/magic-lantern/commits/d1672795e552aac3ce74f6155027c97faf8591ac

- Shutdown routine from lua_fix(Thanks a1ex)
- 4k timelapse preset. Added shutter blanking when working wiht 4k timelapse presets. Works like this:
Select 4k preset. In sub menu add a 4k timelapse fps preset. Now shutter blanking is applied but preview is also very slow.
Select Slow shutter on top of above and as it says shutter will be slow as the fps selected. Shutter blanking will be off. Preview will be in around 7fps so faster and easier to set up due to some workaround foolishness  :P.
Tip: 4k timelapse mode will work very good with Rec trigger set to Half-shutter: start/pause

EDIT: Noticed lua isn´t compiling. Will take a look. Stay tuned.
FIXED!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 24, 2019, 05:53:46 PM
Great work ! Im planning to buy M-EF adapter to use electric AF lenses(i have manuals ATM) i know that M was kinda failure for canon because of problems with slow autofocus but ive seen some videos with magic lantern that improved autofocusing with auto lenses a lot, is that true ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baladev on June 24, 2019, 06:58:18 PM
Auto focusing with original firmware was very slow, but then Canon improved it a lot with a firmware upgrade. But, it is still CDAF which breathes a lot when focusing, so quite useless for serious work. If you need good AF, 70D is the best in this regard, it has DPAF, which is very smooth and doesn't breathe in good to moderate light.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 24, 2019, 07:35:10 PM
Thanks, ive seen this exact video and its not that bad
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sirminder on June 25, 2019, 07:59:02 PM
Quote from: a1ex on June 23, 2019, 04:53:30 PM
To troubleshoot this problem, try the current lua_fix build from the download page. In case of incomplete shutdown, it should keep the SD LED always on, so you should notice it right away.

That change doesn't seem to be included in Danne's builds.

Quote from: Danne on June 24, 2019, 04:19:06 PM
New version:

- Shutdown routine from lua_fix(Thanks a1ex)
.
.
.
EDIT: Noticed lua isn´t compiling. Will take a look. Stay tuned.[/s] FIXED!

I did a few tests with Danne's JUN25 build and there is still some battery drain when the camera is set to OFF.

For the record, the issue that I am having does indeed seem to be with the Viltrox speed booster, AND NOT ML as I previously stated.  Even though I have the latest FW on the Viltrox, I am still having this problem and I seem to be the only one.

Other than removing the battery or even the Viltrox, does anyone have any other suggestions?

Thnx

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 25, 2019, 08:14:00 PM
Quote from: sirminder on June 25, 2019, 07:59:02 PM
For the record, the issue that I am having does indeed seem to be with the Viltrox speed booster, AND NOT ML as I previously stated.  Even though I have the latest FW on the Viltrox, I am still having this problem and I seem to be the only one.
You're not alone. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 25, 2019, 08:20:58 PM
Quote from: Danne on June 24, 2019, 04:19:06 PM
- Shutdown routine from lua_fix(Thanks a1ex)
- 4k timelapse preset. Added shutter blanking when working wiht 4k timelapse presets. Works like this:
Select 4k preset. In sub menu add a 4k timelapse fps preset. Now shutter blanking is applied but preview is also very slow.
Select Slow shutter on top of above and as it says shutter will be slow as the fps selected. Shutter blanking will be off. Preview will be in around 7fps so faster and easier to set up due to some workaround foolishness  :P.
Tip: 4k timelapse mode will work very good with Rec trigger set to Half-shutter: start/pause

EDIT: Noticed lua isn´t compiling. Will take a look. Stay tuned.
FIXED!

Does this lua_fix routine work automatically?
For the timelapse preset: with slow shutter OFF it works here with 2..5fps, for 1fps the screen gets black and stays black until I go into photo mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 25, 2019, 09:14:28 PM
Lua_fix is automated.
1fps works both 4k and 5k and slowshutter off but it's very slow. What we want is liveview to run 7fps when not recording and change to 1fps when recording like it's working with 100D. On eosm this workaround disables shutter blanking. No idea why.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 25, 2019, 09:21:22 PM
Now I was waiting long enough... the cam seems to be frozen for around 30sec here. But then it awakes to life again and works with 1fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 25, 2019, 11:32:54 PM
Yeah, I guess you could preview in 4k without selecting timelapse or slowhutter and just before recording timelapse fps. It shouldn´t be 30 seconds, more like 4-5 s. Delays is very high upon restarting cam though...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 26, 2019, 12:17:17 AM
thanks. just seems odd that 9 fps works ok and is continuous but it won't let you do 10 or 11 non continuous
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 26, 2019, 07:33:37 AM
It's more odd that this cam can film 4k anamorphic 24fps.
There are limits, believe it or not ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 27, 2019, 02:39:09 AM
Does anyone know how to download video through the usb micro cable? I can only download photos.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2019, 06:09:16 AM
@lightspeed
Try to use search more. Both your recent questions have been asked and answered many times before.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on June 27, 2019, 09:08:53 PM
Hello everyone here I am a silent user of ML since its inception. I remember talking to Alex in a videoconference about the possibility of cropping the sensor center to avoid alaising. The days of the t2i were relegated when I bought a bmpcc, camera with which I have been working for 6 years. I have closely followed the evolution of the EOS M, here and on YouTube, amazed at the results you have achieved. I got one of these little giants, and I was doing several tests. The first thing that surprised me is the ease with a few basic adjustments to get results in colorimetry that would take me a lot more work in the Blackmagic!
The MCM Rewire mode is beautiful to use, but I can not avoid the alaising even with old manual lenses.
The 2.5K CROP and 4k Anamorphic Rewire modes are simply incredible. For specific cases such as macros or teles, having the option of 5x Crop is great.
For the rest of the cases I was trying to get shots, free of pink frames in the 4k anamorphic rewire mode. Try all possible combinations.
The most stable mode is still with the 2.35 aspect ratio, I got a 2 minute clip with 0 pink frames indoors with few lights and one outside in the middle of the day with trees and sun of 4 minutes 13 seconds with only 6 pink frames.
The settings were:
12bit Losless
GD Kill ON
1280x1632
in a Sandisk Extreme Pro 95 MB / s
with the version crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jun20.EOSM202

I just wanted to share my experience, and thank you for this incredible work. I will certainly use this camera for some future project.
I could upload later a test of what I was seeing about the behavior of these unwanted guests, the pink frames if you think it could be of some help.
Greetings to all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 27, 2019, 09:32:09 PM
Quote from: lightspeed on June 27, 2019, 02:39:09 AM
Does anyone know how to download video through the usb micro cable? I can only download photos.
I can download mov and photos connecting camera with mini usb cable on win7, just plug and play.PEople wont help if you wont specify your Operating system.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 27, 2019, 10:05:42 PM
On Mac OS x
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: john5788 on June 28, 2019, 01:37:10 AM
Quote from: Danne on June 24, 2019, 04:19:06 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/72d33da5618f5ce1d8ebfbbb5d7d897de11079c9
https://bitbucket.org/Dannephoto/magic-lantern/commits/d1672795e552aac3ce74f6155027c97faf8591ac

- Shutdown routine from lua_fix(Thanks a1ex)
- 4k timelapse preset. Added shutter blanking when working wiht 4k timelapse presets. Works like this:
Select 4k preset. In sub menu add a 4k timelapse fps preset. Now shutter blanking is applied but preview is also very slow.
Select Slow shutter on top of above and as it says shutter will be slow as the fps selected. Shutter blanking will be off. Preview will be in around 7fps so faster and easier to set up due to some workaround foolishness  :P.
Tip: 4k timelapse mode will work very good with Rec trigger set to Half-shutter: start/pause

EDIT: Noticed lua isn´t compiling. Will take a look. Stay tuned.
FIXED!

Just curious, are these builds that I find within the forum threads going to make it to the Downloads/Main Builds page on the top of the website at some point in time? Or at least the changes merged back to the main code repo for new builds? There seems to be plenty of changes hiding within these threads but we have no new "stable" builds for 2019 on any of the ML cameras.

I'm not familiar with the official build process for ML, but I am aware that these are just user builds on independent code repos and aren't really meant for general usage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 28, 2019, 07:16:13 AM
The branch I started working on was crop_rec_4k_mlv_snd. Crop_rec developed by a1ex and audio included by g3gg0.
The way Ive been learning, experimenting, working out bugs on eosm etc are maybe not going into experimental builds etc but I consider most of my presets and fixes well tested and functioning. Mostly. Eos m is what it is. Not really a power horse in terms of cpu power.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 28, 2019, 02:57:41 PM
@Danne
new 28june build has difficulties to reach ML menu
if (after updating fw in photo-mode) starting cam in photo mode.
if one starts cam in video mode, ML menu can be reached as usual

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 28, 2019, 03:03:34 PM
Updating fw? Could you give an example I could try and reproduce here?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 28, 2019, 03:08:29 PM
sure, copied new build to card and extracted the archive
replaced the original files with the new ones
started cam in photomode and from canon menu updated the firmware
restarted cam in photomode
then wanted to enable modules from within ML menu, but it was impossible to enter ML menu
powering cam down, switching to videomode and powering back up could enter ML menu as usual
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 28, 2019, 03:47:22 PM
The update process you described changed this:
- Setting cam's bootflag (which was set before)
- Making card bootable (which is only necessary after formatting card outside cam or using a new card).
So you changed nothing at all.

Instead of replacing files (which will do in most cases) it might be a better idea to rename ML folder to avoid messing up with outdated/incompatible magic.cfg settings and obsolete modules.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 28, 2019, 04:03:39 PM
maybe, thought this is correct procedure
also fw update generates the rom files
replacing the old files with the new ones prevents imho that something can get messed up

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 28, 2019, 04:16:06 PM
ROM0.BIN and ROM1.BIN files located in ML\LOGS will not be overwritten ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 28, 2019, 04:37:01 PM
@Danne
Found the error, somehow "Touch Shutter" was Enabled (canon menu, third wrench). Somehow this got activated.
Now the 28june build behaves as expected
Sorry for this false alarm

@Walter
I'm on osx, replacing files and folders with others having the same name will delete files and directories first then write the new files and dir. In the ML dir there are no LOGS or SETTINGS folders after replacing, so there are no rom or cfg files either

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 28, 2019, 05:52:11 PM
Touch shutter, hmm, Been ages since I fiddled in the canon menus  :P
Good that you solved your issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on June 28, 2019, 06:12:36 PM
Yeah, touch shutter bit me a few times too.

Walter is suggesting renaming the ML folder before copying over the new ML download. That way you have your old settings and log files saved on the card.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on June 28, 2019, 06:32:33 PM
@Danne
Don't know how this happened. It was since months disabled in canon menu, which I used mostly to format card
@dfort
I did get what Walter suggested, but I like to setup all custom settings every time, I put a new build from Danne on the card - this way, I learn better where all the settings in ML-menu are

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 29, 2019, 01:56:25 PM
Hi all
And hi Danne

I'm using your lastest build (28 june) and i'm having issues with focusing dots...
I know there's a lot of topics about It but i spend my night reading and still struggling with It.

I tryed the Zeek settings told us working fine for him but not for me.

Settings are:
Crop Mode
- MCM Rewire
- Bitdepth = 10bit
- Ratios = 16:9 or OFF (to increase max resolution in 1:2)

RAW Video:
- Resolution - 1736x976
- Aspect Ratio - 1:2 (16:9)
- Card Warm-Up 64 MB
- Small Hacks - af on
- Sound Recording - OFF

chroma smooth x3 solve a part but not all.
Especially when i add sharpness on MLV, White dots appears on edges.
But when using crop x3 they goes away.

I downloaded the focus map files but since my MLV app is standalone with no folders i don't know where i'm supposed to put It...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2019, 04:11:50 PM
If on mac you can download the compiler in the first post:
https://www.magiclantern.fm/forum/index.php?topic=20025.0

As of lately you get a prompt to install focus pixel maps here:
https://www.magiclantern.fm/forum/index.php?topic=20025.msg217959#msg217959

Not all modes might be working with latest pixel maps so so it would be great if you could help the community out and tell us exactly what modes aren´t working and what actually works. Maybe upload short mlv files of the problematic modes. Post your findings here:
https://www.magiclantern.fm/forum/index.php?topic=16054.msg217953#msg217953
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 29, 2019, 04:28:30 PM
Thanks for the quick reply !
unfortunatly i'm on Windows 10.
So i guess the compiler will not work on my PC.

Settings are:
Crop Mode
- MCM Rewire
- Bitdepth = 10bit
- Ratios = 16:9

RAW Video:
- Resolution - 1736x976
- Aspect Ratio - 16:9
- Card Warm-Up 64 MB
- Small Hacks - af on
- Sound Recording - OFF

I'll try to upload an MLV file asap.

I'm really depressed to see Zeek videos that great and not being able to get any good quality out of the same camera, same ML and same settings...

I guess i fail somewhere !
Maybe an option on the Canon native menu.
Or in ML.

Edit: i dont mentioned all the modes i'm using cause it's just the same focusing dots on any modes.
looks like changing mode doesn't affect It.
Only x3 crop works great on any settings.
but i prefer being able to use the Rewire cause it's more a good to go on any situation imo.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2019, 04:30:51 PM
There will be focus pixels in all eosm modes. The preset you are using should work but who knows. If you search on the forum there are post about where to put the map files also on windows 10.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 29, 2019, 04:40:33 PM
Maybe it's a bug on ML.
Cause i've already like 4 roms in It and Maybe need to clear some.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2019, 04:42:18 PM
Bug? Don´t think so. Pleasy upload examples of what you look at being a problem. A MLV file, dng or something to inspect.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 29, 2019, 04:45:12 PM
Quote from: Romain182 on June 29, 2019, 04:28:30 PM

I guess i fail somewhere !
Maybe an option on the Canon native menu.
Or in ML.

Edit: i dont mentioned all the modes i'm using cause it's just the same focusing dots on any modes.
looks like changing mode doesn't affect It.
Only x3 crop works great on any settings.
but i prefer being able to use the Rewire cause it's more a good to go on any situation imo.

There is nothing in-camera, I don't think that will solve the focus pixels. I'm currently using June 14th Build and it works perfectly with the focus pixels, no chroma smooth needed at all.
- Ensure in MLV App, you have 'enabled' 'fix focus pixels' or dots which essential in removing the dots. I was frustrated as to why I was getting the red focus pixels a few weeks back and realised this was not enabled in MLV App. Now there is no issue. There has been no issue with the June 14 Build for me, I've been hesitant to update ml. Cheers :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 29, 2019, 05:19:12 PM
Hi Zeek !
Maybe i need to roll back to the previous build from 14th june.
Is It possible for you to upload your ML folder somewhere ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2019, 05:24:43 PM
No change in june 14th for the mcm modes. Could you upload a sample please?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on June 29, 2019, 05:39:26 PM
Would it be possible to toggle between 3x crop mode with a single button? E.g. the set or info button? Would be super convenient to use it like the Extended Tele Conversion on some Panasonic models. Currently I haven't built up the muscle memory to switch quickly. It takes about 5 seconds and 5 key presses to toggle.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2019, 06:01:54 PM
All the way to the right you have a triangle ´modified´and in there you can get into fast toggle presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 29, 2019, 11:36:15 PM
Quote from: Danne on June 29, 2019, 05:24:43 PM
No change in june 14th for the mcm modes. Could you upload a sample please?

Sure. What sample would you like to see? A screenshot of a clip in MLV App with no chroma smooth enabled?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 29, 2019, 11:37:27 PM
Hey Danne

I just uploaded a quick video at 36fps

But I know we talked about it before but I still can't get to 40fps with out the screen going weird

I choose 40fps then press the canon menu the go back to main screen and BOOM the screen goes weird again.
Any ideas. Its nice to go past 36fps but if I can't its fine too.

PS I didn't know about my menu option until you said there now. its great all the things I use on one page.

HANDY
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 29, 2019, 11:38:35 PM
Quote from: Romain182 on June 29, 2019, 05:19:12 PM

Is It possible for you to upload your ML folder somewhere ?

Yes I can.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 12:09:21 AM
Quote from: berechiah on June 29, 2019, 11:37:27 PM
Hey Danne

I just uploaded a quick video at 36fps

But I know we talked about it before but I still can't get to 40fps with out the screen going weird

I choose 40fps then press the canon menu the go back to main screen and BOOM the screen goes weird again.
Any ideas. Its nice to go past 36fps but if I can't its fine too.

PS I didn't know about my menu option until you said there now. its great all the things I use on one page.

HANDY

I need more info. What build version used? Exact settings. Maybe even upload you're entire ML build straight from camera. Just tested 40fps works here with mcm rewired preset modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 30, 2019, 12:26:56 AM
Quote from: Danne on June 29, 2019, 04:42:18 PM
Bug? Don´t think so. Pleasy upload examples of what you look at being a problem. A MLV file, dng or something to inspect.

https://1drv.ms/u/s!Ao7sNkSiu5ZxmgoDvEexGwXMnxIC?e=OTAESn (https://1drv.ms/u/s!Ao7sNkSiu5ZxmgoDvEexGwXMnxIC?e=OTAESn)https://1drv.ms/u/s!Ao7sNkSiu5ZxmgoDvEexGwXMnxIC?e=OTAESn

Here is the DNG file you where asking.
For remember the settings was:
Crop Mode
- MCM Rewire
- Bitdepth = 10bit
- Ratios = 16:9
RAW Video:
- Resolution - 1736x976
- Aspect Ratio - 16:9
- Card Warm-Up 64 MB
- Small Hacks - af on
- Sound Recording - OFF

Record on Sandisk Extreme Pro 95Mb/s 64GB
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 30, 2019, 12:35:03 AM
Quote from: Danne on June 30, 2019, 12:09:21 AM
I need more info. What build version used? Exact settings. Maybe even upload you're entire ML build straight from camera. Just tested 40fps works here with mcm rewired preset modes.

Using MCM 1080 Rewired (the higher frame rates one, I think 45/46fps), I can get 45fps max. The LV freezes, but you double press the menu button and then it's up and running as usual. 45fps looks really nice and I'm sure you can take it up a notch to 50fps in MLV App and slap it on to a 24p timeline. Build used 14th June.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 12:44:07 AM
Quote from: Danne on June 30, 2019, 12:09:21 AM
I need more info. What build version used? Exact settings. Maybe even upload you're entire ML build straight from camera. Just tested 40fps works here with mcm rewired preset modes.

I am on the 30fps from the canon menu
I am on the build from 4 hours ago as of this time
I am using 1080p MCM Rewire
16:9 in crop mode (But also 2:35:1)
I am using kill global draw
I am choosing the "desired FPS 40 out of 30

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 12:47:26 AM
Quote from: ZEEK on June 30, 2019, 12:35:03 AM
Using MCM 1080 Rewired (the higher frame rates one, I think 45/46fps), I can get 45fps max. The LV freezes, but you double press the menu button and then it's up and running as usual. 45fps looks really nice and I'm sure you can take it up a notch to 50fps in MLV App and slap it on to a 24p timeline. Build used 14th June.

True that mode works fine.

But Danne mentioned before that in the normal 1080p MCM Rewire mode
I can set the fps higher and still work out ok

I just like the normal view in the MCM Rewire mode

if it is posable to get to 40 COOL but if not its a class job so far.

Hope I am not being a pain by asking this question
but it is a great job how advanced the Eos m is now. thanks for all the hard work Danne and to those other people too
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 12:54:35 AM
Quote from: berechiah on June 30, 2019, 12:44:07 AM
I am on the 30fps from the canon menu
I am on the build from 4 hours ago as of this time
I am using 1080p MCM Rewire
16:9 in crop mode (But also 2:35:1)
I am using kill global draw
I am choosing the "desired FPS 40 out of 30
This too works on my cam at 40fps. Probably missing a setting if something's not working. If you want to go to the bottom here we would need you to film when you are setting up your cam. It could also be something affecting in canon menu. Who knows.
If you can send me your ml build from sd card after you have it all set I could test it here.
Also. Since you set 2.35:1 why not just select the 48 fps preset instead? It will be more or less the same quality.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 01:15:20 AM
Quote from: Danne on June 30, 2019, 12:54:35 AM
This too works on my cam at 40fps. Probably missing a setting if something's not working. If you want to go to the bottom here we would need you to film when you are setting up your cam. It could also be something affecting in canon menu. Who knows.
If you can send me your ml build from sd card after you have it all set I could test it here.
Also. Since you set 2.35:1 why not just select the 48 fps preset instead? It will be more or less the same quality.

I'll do that
Ill take a video tomorrow and upload it to YouTube so you can see exactly what is happening

I can use the 48fps crop mode but it is the stretched view but iits fine anyway

Thamks Danne your life saver

U too zeek really appreciate all your utube videos
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 30, 2019, 01:54:45 AM
I know what you mean with the stretchy live view, i can live with it. But it would be nice to have the normal live view like in MCM Rewire. Like they say, the EOS M is what it is..at least for now. Got an EOS M2 coming in (^_^)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 02:09:35 AM
Quote from: ZEEK on June 30, 2019, 01:54:45 AM
I know what you mean with the stretchy live view, i can live with it. But it would be nice to have the normal live view like in MCM Rewire. Like they say, the EOS M is what it is..at least for now. Got an EOS M2 coming in (^_^)

I just got a 5d2 its top class but the eos m is way more advanced I think.
Love all the features

Is ml available for the m2?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 30, 2019, 02:20:14 AM
Quote from: berechiah on June 30, 2019, 02:09:35 AM
I just got a 5d2 its top class but the eos m is way more advanced I think.
Love all the features

Is ml available for the m2?

5D2 is nice indeed.
Dfort has some test builds up on his site. But I believe they still need a bit of work. I think some stuff freeze, not too sure. Just bought in hopes that a good build will come out for the eos m2 like the EOS M. The eos m2 has WiFi, slightly better autofocus, slightly better dynamic range (11.2 vs 11.4) and 8% smaller.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 10:53:03 AM
I have a version for eosm2 that kind of worked with rewired and anamorphic mode. A bit buggy. Let me know if you want to test it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 11:22:14 AM
Hi danne
Here is a link to what I see on my screen
https://youtu.be/SkJJD4a6HS4
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 11:49:34 AM
Try to press canon menu and go back when you see the blink. This is common procedure especially around rewired modes since regs are changed in more places.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 12:03:05 PM
I did that I tried pressing the canon menu and every different setting

Like every bit rate
Fine tune on and off
Global draw on and off
Change the fps in the canon menu
Every different way I can think I spent a long time trying all different setting to make it go away

But it's still there

It's ok tho it would be nice to have it but if it odnt work its fine
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 30, 2019, 12:31:54 PM
Quote from: Danne on June 30, 2019, 10:53:03 AM
I have a version for eosm2 that kind of worked with rewired and anamorphic mode. A bit buggy. Let me know if you want to test it.

Would love to test it out, though the EOS M2 hasn't arrived yet. Should come in later this week. I'll give a shout out to you once it arrives and see how the build goes (fingers crossed).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 30, 2019, 12:50:15 PM
Update on focus dots
Still have them on x3 crop
Same settings has before, only x3 crop enable

(https://image.noelshack.com/minis/2019/26/7/1561891687-m30-1257-00-00-00-00-image-fixe001.png) (https://www.noelshack.com/2019-26-7-1561891687-m30-1257-00-00-00-00-image-fixe001.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 01:50:45 PM
Quote from: berechiah on June 30, 2019, 01:15:20 AM
I'll do that
Ill take a video tomorrow and upload it to YouTube so you can see exactly what is happening
Reproduced. Most likely you have AF method set to tracking. Go into photo mode and set canon menu to FlexizoneAF. Then reinstall magic lantern and start fresh. When I set AF method to tracking it starts to flicker but it still would flicker even after changing back to FlexizoneAF so a reinstall or cleaning the config file would eventually cure the issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Romain182 on June 30, 2019, 03:25:17 PM
Quote from: Romain182 on June 30, 2019, 12:50:15 PM
Update on focus dots
Still have them on x3 crop
Same settings has before, only x3 crop enable

(https://image.noelshack.com/minis/2019/26/7/1561891687-m30-1257-00-00-00-00-image-fixe001.png) (https://www.noelshack.com/2019-26-7-1561891687-m30-1257-00-00-00-00-image-fixe001.jpg)

I tryed the 14th June build i found somewhere in my download folder
Still the same...

I'm desperate

Zeek,
Is there anything special you does on your build settings ?
I totally remove the 28th June build before installing the 14h June,
just tweaking to get the same settings has yours and BOOM focus dots appears.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 03:35:33 PM
Dots they still can be there with x3crop mode and other modes. These maps needs updating every once in a while since resolutions and tweaks occur all the time at the time being...
Best way is for you to learn how they are build over at the focus pixel thread and then you can create your own maps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 04:01:26 PM
Quote from: Danne on June 30, 2019, 01:50:45 PM
Reproduced. Most likely you have AF method set to tracking. Go into photo mode and set canon menu to FlexizoneAF. Then reinstall magic lantern and start fresh. When I set AF method to tracking it starts to flicker but it still would flicker even after changing back to FlexizoneAF so a reinstall or cleaning the config file would eventually cure the issue.


Thanks Danne.
I did uninstall ml and I your right it was on focus tracking but it is still giving the weird preview

I dont mind its 36 fps perfect
It's not the end of the world if it dose not work for me. Maybe I'm doing something wrong. I didn't spend a load of time.Trying to figure it out. But I'm sure its something simple I'm missing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 30, 2019, 04:01:49 PM
focus pixels can be removed in mlvapp if you use chroma smooth in raw corrections if focus pixels removal options in mlvapp wont work.For me sometimes they wont and i have to use chroma smooth, nothing to be worried about but good to know, if it works it works.
I dont believe there was build without focus pixels, sometimes they just arent visible that well depending on what you shoot and they appear again with the same build and settings if you shoot something else.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 04:05:59 PM
Quote from: Danne on June 30, 2019, 01:50:45 PM
Reproduced. Most likely you have AF method set to tracking. Go into photo mode and set canon menu to FlexizoneAF. Then reinstall magic lantern and start fresh. When I set AF method to tracking it starts to flicker but it still would flicker even after changing back to FlexizoneAF so a reinstall or cleaning the config file would eventually cure the issue.


But really 48fps woth stretch view is fine

And 36fps normal view is perfect too

It is most likely working and I'm making a mess of something. I'll continue to spend time on it but of I can I'll do all I can to get it going

Thanks man
Your d best
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 04:06:26 PM
Quote from: berechiah on June 30, 2019, 04:01:26 PM

Thanks Danne.
I did uninstall ml and I your right it was on focus tracking but it is still giving the weird preview

I dont mind its 36 fps perfect
It's not the end of the world if it dose not work for me. Maybe I'm doing something wrong. I didn't spend a load of time.Trying to figure it out. But I'm sure its something simple I'm missing
Well, I still think it´s related to this issue. Try uninstall and reinstall magic lantern in photo mode maybe after you have switched to flexizone. Like I said. It´s very stubborn.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 04:44:53 PM
Hey so I just happened to stumble upon something

I am in 42fps and if I change the shutter speed to 64 I get clear view on the screen  if I go over 64fps
and if I go to 40fps I get clear view to 70fps if I go over 70fps it goes all wonky

Dose this sound right?
I think it is one step closer to finding the issue
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 04:56:47 PM
Let's check you shutter blanking regs.
1 - disable all modules
2 - enable adtg_gui.mo restart camera
3 - find ADTG Registers and turn it on
4 - go into ADTG Registers and go to the bottom part until you find ADTG2[805F]N. Now stand on that register. Write down what it says at the bottom. Evf:33 and so on.
Do the same with register below ADTG2[8061]N.

You could probably use the Screenshot function if you are quick enough.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on June 30, 2019, 05:09:21 PM
Quote from: Danne on June 29, 2019, 06:01:54 PM
All the way to the right you have a triangle ´modified´and in there you can get into fast toggle presets.
This menu is quite useful, but when the 3x mode is disabled, it won't show up in this menu. And toggling from here still isn't very quick. I thought maybe it's possible to trigger a Lua script when pressing the set or info button that would toggle the 3x crop setting and also enter and exit the canon menu.

I could try to base a script on your cine.lua script if there's a way to run a script from the set or info button.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 05:13:41 PM
Probably works. Good luck :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 05:53:08 PM
Quote from: Danne on June 30, 2019, 04:56:47 PM
Let's check you shutter blanking regs.
1 - disable all modules
2 - enable adtg_gui.mo restart camera
3 - find ADTG Registers and turn it on
4 - go into ADTG Registers and go to the bottom part until you find ADTG2[805F]N. Now stand on that register. Write down what it says at the bottom. Evf:33 and so on.
Do the same with register below ADTG2[8061]N.

You could probably use the Screenshot function if you are quick enough.

Unfortunately I am not home yet I will be in about 2 hours I will definitely check it once I'm home and let you know straight away
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on June 30, 2019, 07:18:04 PM
Quote from: Danne on June 30, 2019, 05:13:41 PM
Probably works. Good luck :)

Made this script. Allows me to toggle between 3x crop mode with 2 key presses, info button and immediately after the menu button. Switching takes about 1 second. Didn't find a good way to exit the Canon menu after the first key.press(KEY.MENU). Tried adding msleep up to 2000 but it just didn't exit out of the Canon menu. What would be a reliable way to immediately exit the Canon menu?

Have this script set to autorun, but then it shows the console output: "[Lua] all scripts loaded." Any way to hide this?


-- ETC 

-- Toggle between 3x crop mode

-- end this script if not eosm
if camera.model_short ~= "EOSM" then
    display.notify_box("Script not working on this cam")
    msleep(2000)
    return
end
   
-- warnings
while camera.mode ~= MODE.MOVIE do
    display.notify_box("enable MOVIE mode")
    msleep(1000)
end   

function toggle_x3crop()
    -- crop mode
    if menu.get("Crop mode", "x3crop") == "x3crop" then
        menu.set("Crop mode", "x3crop", 0)
    else
        menu.set("Crop mode", "x3crop", "x3crop")
    end
   
    key.press(KEY.MENU)
end

event.keypress = function(key)
    if key == KEY.INFO and menu.visible == false then
        toggle_x3crop()
        return false
    end
end
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 07:30:46 PM
Nice. Will try it later. It would be nice to actually have a menu item base on lua which lines up a bunch of presets for fast acces. Still on todo list. Seems you are fast learning here so feel free to keep it up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 09:09:20 PM
Quote from: Danne on June 30, 2019, 04:56:47 PM
Let's check you shutter blanking regs.
1 - disable all modules
2 - enable adtg_gui.mo restart camera
3 - find ADTG Registers and turn it on
4 - go into ADTG Registers and go to the bottom part until you find ADTG2[805F]N. Now stand on that register. Write down what it says at the bottom. Evf:33 and so on.
Do the same with register below ADTG2[8061]N.

You could probably use the Screenshot function if you are quick enough.

ADTG2[805F] N  0x588 Shutter ... x40/f
Evf:33be8:40481b20 v=1868(0x74c) nrzi_dec=1416(0x588).

ADTG2[8061] N 0x425 Shutter ... x56/f
Evf:33be8:40481b24 v=1591(0x637) nrzi_dec=1061(0x425).

here is a link to the photo I took

(https://i.postimg.cc/5HL8gD1y/20190630-195821.jpg) (https://postimg.cc/5HL8gD1y)

(https://i.postimg.cc/k6CKpwXc/20190630-195900.jpg) (https://postimg.cc/k6CKpwXc)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 09:11:05 PM
hope you can figure it out

You are a serious man if you have half an idea what this means
id love to know these things but they got way past me unfortunately
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2019, 11:18:56 PM
Thanks. Numbers are good so problem lies elsewhere. But where...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on June 30, 2019, 11:33:45 PM
Quote from: Danne on June 30, 2019, 11:18:56 PM
Thanks. Numbers are good so problem lies elsewhere. But where...

Seems similar to the issue before
Hight the frame rate the lower the shutter speed

But I have not a clue

Dont worry about it
I can beg 40fps thanks to u
And a shutter of 70
This is perfect tbh

The eos m is so advanced thanks to u
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 01, 2019, 08:46:16 AM
Is anybody using the SanDisk Extreme PRO - 256 GB - SDXC UHS-I - 95 MB/'s card? And is it any good for continuous recording?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on July 01, 2019, 10:07:03 AM
Quote from: Jip-Hop on July 01, 2019, 08:46:16 AM
Is anybody using the SanDisk Extreme PRO - 256 GB - SDXC UHS-I - 95 MB/'s card? And is it any good for continuous recording?

Thata the exact one I have
I get continuous record no problem

Handles video very well
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 01, 2019, 12:01:50 PM
Good to know! My 64gb card fills up way to quickly obviously.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 01, 2019, 05:33:41 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

- x3crop toggle switch in Crop mode sub menu. Works for all mv1080p modes(including mcm rewired mode that is)

3xcrop toggle
(https://i.postimg.cc/tRh0Z3mw/VRAM1-PPM-scaled.png)



What´s it all about:
Often thought about a way to toggle between regular and x3crop mode sort of not missing the opportunity to record zoomed and non zoomed without having to dig deep in menus. Jip-Hop recently also asked about this and built a lua script here so I´d thought I´d take a look at it but c-code wise:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg218100#msg218100

Borrowed some code from mlv_lite.c and mixed it into a few places in crop_rec.c and it works fairly well.
1 - Enable x3crop toggle
2 - Press halfshutter for around a second and it will will switch mode
3 - Press record

Wouldn´t use autofocus on this one ;) If so you need to put in a msleep after this part:
if (get_ms_clock() - last_hs_unpress > 500 && (crop_patch && get_halfshutter_pressed() && x3toggle == 0x1))

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 01, 2019, 05:37:50 PM
@Danne and @Jip-Hop

You may wish to look at and adapt by Cycler script.

https://www.magiclantern.fm/forum/index.php?topic=23679.0

This allows me to use keys as normal and extend them.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 01, 2019, 06:15:34 PM
Thanks for looking into it Danne! I was out today shooting with my script and found it super convenient to quickly toggle the 3x crop mode.
Just tried out your new build and it toggles the 3x crop mode nicely :)

Some feedback:
Toggling with longpress of half shutter button feels a bit less responsive than what I experienced with my script today.
Before toggling it goes into the slow black and white live view first, and sometimes stays there a second or two.
Also I have Magic Zoom assigned to half shutter press, so for me this conflicts at the moment.
I find the info button a good choice because I don't really use that one.

I guess I could stick with your neatly integrated solution, and instead make a script which toggles Magic Zoom always on/off with the info button instead.
For this I'd definitely look at the Cycler script made by garry23!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 01, 2019, 06:20:23 PM
Let me know what you come up with.
Response with a delay since it's the halfshutter button. Maybe not the best button. If you get a script working with info button I could include it.
He, your script already does that. Well, gonna check into that later...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 01, 2019, 06:45:22 PM
Nice thing about your solution, which doesn't seem to rely on Lua api, is that there's no need to enter and exit the Canon menu to get the x3cropmode to come into effect.

If there'd be a way to refresh the regs from Lua, like you do without enter and exit Canon menu, then it would become a lot easier to switch between different modes from Lua scripts.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 01, 2019, 07:19:11 PM
@Jip-Hop

All ML menu items cam be controlled from Lua  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 01, 2019, 08:04:11 PM
I know and that's awesome! But for toggling the 3x crop mode, or switching between modes like mv1080 and anamorphic mode, you need to enter the Canon menu (not ML menu) and exit it. It's a workaround so the settings will actually take effect.

But this workaround doesn't work so nicely in Lua. Nice thing about Danne's method now is that he doesn't seem to rely on the workaround (enter/exit Canon menu). If we'd be able to call Danne's method of applying these settings from Lua, then we could make custom scripts to quickly change between different raw recording modes.

Or perhaps I'm misunderstanding how all this works :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 01, 2019, 08:10:04 PM
Ok, I get it now.

Remember, I don't do 'that video' stuff  ;) :)

Just a simple photographer.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on July 01, 2019, 08:42:20 PM
WHAT A GREAT IDEA

The x3 toggle
I never knew I needed it until now
It's so handy
And the shutter botton is fine its handy to have there

Well done danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 02, 2019, 03:05:35 AM
Cheers Danne, looks good! 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 03, 2019, 10:05:39 PM
I improved my previous script with inspiration from Danne's latest build.
Now you can choose three buttons (INFO, SET or HALFSHUTTER) to toggle between normal and 3x crop in mv1080.
Or you can disable this functionality.

It's a LUA script which should be set to autorun.
It adds a menu entry in the ML video section.

(https://i.ibb.co/0Bg91gb/signal-2019-07-03-215218.jpg)

(https://i.ibb.co/RzB45xS/signal-2019-07-03-215234.jpg)

No need to enter and exit the Canon menu anymore.
I'm pausing and resuming Live View, which I spotted Danne doing in his latest commit.
But I find my way of switching is a more responsive.
This solution switches instantly whereas with the latest build I need to keep the halfshutter pressed for a bit before it toggles.
Plus you get the choice to use other keys.

The script is on GitHub: https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0 (https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0).

I found it quite tricky to get the menu working like I wanted.
Tried to mimic how "RAW video" menu item works (SET button to toggle on and off and Play Button for submenu).
But couldn't figure out how to do that (for me it would always enter the submenu and never toggle with SET...)
So the menu isn't perfect, oh well...

By the way Danne, in the cine.lua script you forgot to replace the last occurrence of cinema 2:35.1 with cinema 2.39:1.
Now the code in first if statement would not work I think.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 03, 2019, 10:38:17 PM
Quote from: Jip-Hop on July 03, 2019, 10:05:39 PM
By the way Danne, in the cine.lua script you forgot to replace the last occurrence of cinema 2:35.1 with cinema 2.39:1.
Now the code in first if statement would not work I think.
Nice. Thanks. Updated my script.

Nice to see your lua implementation in progress. Lua is very powerful and has come a long way since dmilligan and a1ex refined api etc immensely.

I keep a few early scripts here by the way. Very basic stuff:
https://bitbucket.org/Dannephoto/lua_magic/src/default/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 03, 2019, 11:16:32 PM
@Jip-Hop
Lovely script man. Very responsive and super useful. What a nice way to be able to choose button to. Most likely I´ll inlcude this script into my coming builds. Good and inspiring work!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 04, 2019, 02:58:32 AM
@Danne, the EOS M2 arrived today, so when you're ready just upload a link to the EOS M2 build you want me to test out. Cheers :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2019, 09:10:33 AM
@ZEEK
If you want to test here´s a version:
https://www.magiclantern.fm/forum/index.php?topic=15895.msg218233#msg218233

Don´t expect much here. I do not own the camera and there´s groundwork issues that I cannot fix that needs attention. I also no longer have the camera myself to play with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 04, 2019, 10:13:43 AM
Quote from: Danne on July 04, 2019, 09:10:33 AM
Don´t expect much here. I do not own the camera and there´s groundwork issues that I cannot fix that needs attention. I also no longer have the camera myself to play with.

Thanks for that. No problem, I'll give it a go see how it plays out! Cheers :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 04, 2019, 04:57:27 PM
I updated my script. It should now restart movie recording more or less as quick as it can when you toggle x3crop while recording.
https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0 (https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0)

Haven't addressed Danne's comments yet about also allowing normal use of the chosen button.
Right now the button you choose loses it's normal function for as long as my toggle menu is activated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 04, 2019, 05:05:29 PM
@jip-hop

I've scripted dual functionality via a long press feature, ie short press activates the augmented functionality and a long press gives you normal functionality.

Just a idea.

Cheers

Garry
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 04, 2019, 05:08:34 PM
Thanks Garry, sounds like a good way to do it.
Is it in your Cycler B script?
Would like to include that functionality in the next version of the script.

Also I made this Automator workflow for developing scripts on MacOS.
https://www.dropbox.com/s/kv13hoajbnjerej/ML%20script%20development%20without%20any%20script%20specified.workflow.zip?dl=0 (ftp://www.dropbox.com/s/kv13hoajbnjerej/ML%20script%20development%20without%20any%20script%20specified.workflow.zip?dl=0)
- You need to open it in Automator first (not Automator Installer).
- Choose the .LUA script(s) your working on in the first "Get Specified Finder Items" block.
- Save the workflow.
- Double click the workflow file in Finder to open with Automator Installer.
- Click Install.

Now every time you insert the SD card from your camera it will copy the scripts you're working on to the SD and unmount the SD.
So it's as easy as pop it in the SD card reader, wait 1 second (until you see in Finder that it mounted and unmounted instantly) and take it out of the reader and insert back into the camera to test the script :)

I hope it speeds up script development :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2019, 05:13:04 PM
Quote from: garry23 on July 04, 2019, 05:05:29 PM
@jip-hop

I've scripted dual functionality via a long press feature, ie short press activates the augmented functionality and a long press gives you normal functionality.
Exactly what´s needed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2019, 05:15:45 PM
Quote from: Jip-Hop on July 04, 2019, 04:57:27 PM
I updated my script. It should now restart movie recording more or less as quick as it can when you toggle x3crop while recording.
https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0 (https://gist.github.com/Jip-Hop/688253710f25d3a0ff008f908241d1b0)

Haven't addressed Danne's comments yet about also allowing normal use of the chosen button.
Right now the button you choose loses it's normal function for as long as my toggle menu is activated.
Great. On my side I removed the delay when x3crop toggle is enabled in Crop mode sub menu. Response right away. Better...
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul04.EOSM202.zip

Edit: One nice addition is that if RAW video is disabled but you leave Crop_rec on it will record h264 mov both x3crop or non cropped...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 04, 2019, 05:28:24 PM
@Jip-Hop

The long press approach is in my hand held helper script.

Another approach I have tried is multiple presses within given time window.

Yet another approach is to use one key to modify another.

Bottom line: loads of options, but, some become camera specific. Which is why I caveat my scripts, ie they are written for me on my cameras  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 04, 2019, 05:39:00 PM
Quote from: Danne on July 04, 2019, 05:15:45 PM
Great. On my side I removed the delay when x3crop toggle is enabled in Crop mode sub menu. Response right away. Better...
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul04.EOSM202.zip

Cool!

Quote from: garry23 on July 04, 2019, 05:28:24 PM
@Jip-Hop

The long press approach is in my hand held helper script.


Do you mean this one https://gist.github.com/pigeonhill/3c351242740c84f0581fa57ac27e0656 (https://gist.github.com/pigeonhill/3c351242740c84f0581fa57ac27e0656)?

There you distinguish between long and short press of half shutter button.
But INFO button only has one state right? Not a separate one for pressed and unpressed.

So can it also be done with INFO button?
Say, short press INFO for the enhanced functionality and longpress for the normal functionality?
Seems unlikely at first thought.

The SET button does have an unpressed state, so maybe that one is better. Also these keys have unpressed state: UNPRESS_UDLR and UNPRESS_FLASH_MOVIE. But don't know if EOS M has them xD
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 04, 2019, 06:31:12 PM
@Jip-Hop

No, you are right. You can only do the long press trick on certain keys.

That's why sometimes I also use two keys, ie

Key1 followed by Key1 = normal Key1

Key1 followed by Key2 = modified Key2

Key2 followed by Key2 = normal Key2

Key1 followed by Keyn, but not (Key1 or Key2) = Keyn
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on July 04, 2019, 06:39:55 PM
Plus

You can use pseudo long presses by detecting a key press of key1, say, and starting a timer, then test the timer if key1 pressed next, say x seconds later.

I've used this approach as well, but you need to use shoot_task event as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 04, 2019, 11:32:04 PM
Thanks for the tips garry23! Will keep it in mind when I continue to work on my script.

Having used the EOS M for a bit now, I'm super excited about it :)
But I also got a couple of things I wish it had.

I'd like to be able to switch easily between various RAW recording modes.
Have some modes preconfigured so I can easily toggle between e.g. mv1080 MCM rewire 14bit with 3x crop and 4k anamorphic 10bit.
Or toggle between 2.5k and mv1080 MCM rewire 3x crop.
This could also help with focus before recording since the preview in 2.5k and anamorphic is not great.
And then just toggle and hit record.
I hope I can make this possible with a LUA script and will look into it next week.

Other things I wish it had are:
- Working auto white balance in RAW recording. Currently it doesn't log the actual measured white balance (kelvin, tint/shift). I don't know anything about how WB works, but I feel like this should be possible. To me this thread from 2013 seems relevant: https://www.magiclantern.fm/forum/index.php?topic=6779.0 (https://www.magiclantern.fm/forum/index.php?topic=6779.0).
- A button which auto sets exposure (ettr) in shutter speed priority mode. So leave the shutter speed alone, but adjust aperture first and if necessary ISO.
- Better live view for 2.5k and anamorphic modes, but this is probably only possible in my dreams :P
- Full time manual focus, with the possibility to autofocus by pressing a button. The default Canon behaviour is either no autofocus, or very limited manual focus (MF only after AF while keeping half shutter pressed). I guess this could be easily fixed with LUA too, just leave focus set to manual in Canon menu and map half shutter press to autofocus with LUA.

Danne do you have any plans for the camera you wish to share?
What do others feel like could be added/removed/improved?

Magic Lantern is really awesome stuff :) thanks devs and contributors!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 05, 2019, 02:08:16 AM
It's a shame the EOS M2 doesn't receive much attention as the EOS M. I just played around with the M2 files on MLV APP and I can recover highlights much better than I can with the EOS M. I just turned a white sky into a blue sky simply by pulling down the highlights in mlv app and it didn't turn pink as it would sometimes with the EOS M. The image quality is obviously the same, just the M2 lacks the EOS M resolution. If it had the proper resolution/modes, I would pick the M2 any day of the week. It's got Wi-fi, slightly better low light, slightly better AF, Better DR (11.2 M VS 11.4 M2). Guess most are just focusing on the dream cameras, M50, 7DII, EOS R. Bought an M50 by the way just for future proof Magic Lantern (before the price rises you know ;))
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 05, 2019, 07:36:30 AM
I also invested in an M50 xD
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 05, 2019, 02:10:13 PM
Quote from: Jip-Hop on July 05, 2019, 07:36:30 AM
I also invested in an M50 xD

Nice one! The future looks bright ahead... 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Naviddabest on July 05, 2019, 06:04:46 PM
I have just bought a Samsung Evo plus 128gb the faster version and I want to benchmark it in camera. But I don't have the benchmark module using danne build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on July 05, 2019, 11:17:22 PM
Quote from: ZEEK on July 05, 2019, 02:08:16 AM
It's a shame the EOS M2 doesn't receive much attention as the EOS M.

There aren't as many M2's as there are original M's. It was only distributed to a few territories when it first came out.

I thought this would be a good camera for a first crack at porting ML but if you go through the EOSM2 topic (https://www.magiclantern.fm/forum/index.php?topic=15895.0) you'll see it wasn't that easy and it isn't quite there yet. A couple of others guys messed around with M2's and Danne tried adding some of his EOSM settings to the M2. We do have it running on Danne's experimental branch though it isn't completely integrated yet.

If you want a challenge by all means get an M2 and see if you can figure out how to shake out the last few bugs and get this camera onto the main repository.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 06, 2019, 01:28:01 AM
Quote from: dfort on July 05, 2019, 11:17:22 PM
See if you can figure out how to shake out the last few bugs and get this camera onto the main repository.

Yeah I have an EOS M2 in my hands. I'm no scientist, but I'll see what I can do. 📽
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on July 06, 2019, 03:48:48 AM
Cool. I've got some test builds on my downloads page (https://bitbucket.org/daniel_fort/magic-lantern/downloads/). A few features are working fine but others are quite broken. Give it a test drive and report back on the EOSM2 topic (https://www.magiclantern.fm/forum/index.php?topic=15895.0).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 06, 2019, 11:07:20 AM
@dfort Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on July 06, 2019, 09:36:13 PM
Hi Danne and other friends. I uploaded the July 5th version after a few weeks of stopped shooting and I can't get to the bottom of a myriad of bugs, display errors, when I try to see a timelapse it freezes and then open error 07 sign, solution so far restart, remove batteries, open in photo mode and then switch to movie. Not even the lua 4.5k 14 bit lossless cinema workflow looks the same, with the same parameters the info color seems to compress less, so I barely can record 2 or 3 frames before it locks. The workflow that I had standardized no longer works. I deleted early June builds, where can I find them? I attach the crash files

https://drive.google.com/open?id=1mfC9M_6W9LInI13NB7y-CmaP9IzSXg1T
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 06, 2019, 09:49:52 PM
Older builds you have to compile yourself. Check relevant compiler threads.
Maybe you have some canon menu setting interfering? Tried formatting card? I don't experience your issues. I would need more reports and clear steps how to reproduce to be able to help.
What are others experiencing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 06, 2019, 10:46:24 PM
I am using the version of July 5 without problems. I did not do timelapse, I mostly use mv1080p MCM rewire and 4k Anamorphic Rewired modes. In 10bit 2.35 1280x1700 it is quite stable, although it gave me a couple of pink frames in a 2 minute clip. I'm using a Sandisk Extrem PRO 128gb 95Mb/s. I also think that due to the 10bit there is a greenish tone with grain in the shadows near the black.
I did another test yesterday of 4k anamorphic rewire in 12 bit, iso 800. Today I will convert to see if there are pink frames. I chose this mode because in addition  to get a better resolution and less alaising than in mv1080p, note to my surprise that it responds a much much better in noise levels with high ISO, I will try to upload a comparison later.

On the other hand it is amazing the option of 3x crop Toggle! I found myself using it a lot. With the 24-70 it is like having the 70-200 mounted at the same time with the plus that the image has less artifacts in the 3x Crop mode. Beautiful.
Very grateful to Danne, Jip Hop, and all that make it possible. :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 01:35:35 AM
Quote from: guerchi on July 06, 2019, 10:46:24 PM
I am using the version of July 5 without problems. I did not do timelapse, I mostly use mv1080p MCM rewire and 4k Anamorphic Rewired modes. In 10bit 2.35 1280x1700 it is quite stable,

On the other hand it is amazing the option of 3x crop Toggle! I found myself using it a lot. With the 24-70 it is like having the 70-200 mounted at the same time with the plus that the image has less artifacts in the 3x Crop mode. Beautiful.
Very grateful to Danne, Jip Hop, and all that make it possible. :)
Thanks for the feedback.
1280x1700? Not a resolution I´m familiar with. Are you using the ratios presets?
3xcrop toggle. Agree. Since available from a push on a button it´s a breeze to go in and out of close up using the same lens.
By the way. Greenish tone is only visible in liveview preview not on the recorded footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 01:37:44 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x3crop toggle will also work with anamorphic modes. It´s a ittle different. By keeping halfshutter pressed it will temporarily enter x3crop for focusing purposes. Releasing the button will enter back to anamorphic mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 09:04:24 AM
Reuploaded a new build. Was testing out a new preview reg which dodn´t work in x5 zoom so redownload above version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 07, 2019, 10:05:39 AM
Cool stuff Danne! Can't try right now so I'll have to ask. Temporary x3crop in anamorphic as focus helper works only when not recording right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 10:26:20 AM
yup
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 02:57:45 PM
New upload again. Reverted back to older registry aorund preview brightness.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 07, 2019, 04:13:36 PM
Hi guys, with the new Danne build, 7 july, all come back right...I didn't even install the new build ... mysteries, I don't ask for anything and I'm going to enjoy the recordings. Thanks and good job!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2019, 05:58:48 PM
Yet another fix for metadata. New build uploaded:
https://www.magiclantern.fm/forum/index.php?topic=15895.msg218381;topicseen#msg218381
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 07, 2019, 06:06:53 PM
will it be possible that the timecode of each single clip can be set or at least, follow the camera clock? to avoid that every clip starts from 0 that confuses the passage between AVID and DAVINCI RESOLVE? Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 08, 2019, 08:16:58 AM
Quote from: Danne on July 07, 2019, 01:35:35 AM
1280x1700? Not a resolution I´m familiar with. Are you using the ratios presets?
Good Question  :o I'm not sure how I get to that resolution. From what I see, it is the resolution of option 2.20 when it is 2.35 in crop mode. I converted  that videos(4 videos of one minute approx.) And there is not a single pink frame! This is one still of these shots in 800ISO 12bits:
http://www.guerweb.com/pics/M06-2236_frame_101.png (http://www.guerweb.com/pics/M06-2236_frame_101.png)

Quote from: Danne on July 07, 2019, 01:35:35 AM
By the way. Greenish tone is only visible in liveview preview not on the recorded footage.
I did not see it in the liveview, which only becomes a bit magenta. I noticed it from the MLV APP:
http://www.guerweb.com/pics/M06-1738_frame_62.png (http://www.guerweb.com/pics/M06-1738_frame_62.png)
Anyway, it seems that i could shoot in 12bits even more stable than in 10bits.
Today I test a video in aspect ratio 2.1 (with aspect ratio OFF in crop mode), 12bit,  1280x1820 res, 1:12 duration, without corrupted frames too! I do not know what you did with your latest version but it seems to have done wonders about the pink frames.

The only problem in this mode is the preview,  framing is very slow and realtime, I can deal with the narrow, but there is a significant cut in the frame, only shows the top part.
This is what it captures:
http://www.guerweb.com/pics/M08-2111_frame_285.png (http://www.guerweb.com/pics/M08-2111_frame_285.png)
and this is what I see:
http://www.guerweb.com/pics/IMG_20190707_205900.jpg (http://www.guerweb.com/pics/IMG_20190707_205900.jpg)

There is also a magenta bar in the middle that becomes notorious especially in the shadows that I don't know if it is possible to draw from the MLV App:
http://www.guerweb.com/pics/M09-0013_frame_736.png (http://www.guerweb.com/pics/M09-0013_frame_736.png)

Thanks Danne for answering and for all the work you are doing, let me know if you need to test more options. Despite these details, it is incredible what this little camera is already capable of.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 08, 2019, 08:22:54 AM
Run the lua cinema script and then use the ratios in crop mode sub menus instead of in RAW video section.
Or experiment but who knows where it takes you :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on July 08, 2019, 01:00:35 PM
Hi!

I'm Miklos, from Hungary, and have been following ML development, especially for the Eos M lately. First of all, wanted to thank everyone's contribution, its truly amazing stuff.

I started using a Liliput A5 field monitor, and it works great in MCM Rewire mode.
4K Anamorphic is partially working with HDMI out. Liveview is stuck just 1 step before the 7fps correct framing view that works with internal screen, thus it is live, but squeezed.
Records countinously in 1488x1866, but gives half pink frames quite often.

Can I help to investigate what causes it? Can I make a log maybe with adtg_gui with and without the HDMI out enabled to help the process?

I'll do my research about it meanwhile, I'd like to contribute as I can. : )

Cheers
Miki
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 10, 2019, 03:23:31 PM
The only difference between "2.5K 1:1 centered" and "2.5K 2520x1418" is the centering right? No other differences that affect quality, like possible resolutions and bit-depths? If no other differences, I'm wondering why anyone would want to record off-center...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2019, 04:11:55 PM
Greater height, centre is the same.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 10, 2019, 04:56:31 PM
So what does centered mean then?
And bot both are 1:1 crops right?

With ratios set to off the 2.5K 2520x1418 mode indeed has greater hight.

2.5K 1:1 centered records max 2520x1080.
2.5K 2520x1418 records in 2520x1416.

In 16:9 aspect ratio 2.5K 1:1 centered records max 1920x1080.
2.5K 2520x1418 records in 2192x1234.
So not only greater hight, but also greater width.

In 2.39:1 ratio both record in 2520x1054.
In 2.35:1 ratio both record in 2520x1072.

So there's no difference at all between these modes in these ratios?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2019, 05:48:42 PM
True.
I added this centred preset as good practice following 5DIII code from a1ex. Not really much difference except the one you pointed out.
By the way. Working on x10zoom reach while focusing as an alternative to x3crop modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 10, 2019, 08:26:30 PM
Looking forward to it!
I'm working on a (hopefully useful) script myself.

By the way, when half pressing the shutter button in MCM rewire.
The live view becomes slow.

It overrides the real time live view and replaces it with worse live view.

I find it annoying when using autofocus because then you need to keep the halfshutter pressed and the laggy live view kicks in.
Is it possible to disable this live view override on half shutter press?

Maybe only for modes that already have proper live view?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2019, 09:00:05 PM
Yes possible. It activates in mlv_lite.c when in real time preview and long halfshutter push. I will check into this parallell to working with x10 preview modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 11, 2019, 01:28:23 AM
Very nice ^^

I've been working on a script (https://gist.github.com/Jip-Hop/75fe128091e82938836ab565066f2a27). Would be great if you could take a look.
Script should be set to autorun.

Then each time you press the PLAY key in Live View, a menu pops up.
From there you can choose one of the RAW recording presets (HD, HD crop, 2K and 4K).
Next time you press PLAY it will default to the previous preset.
So you can quickly toggle between two modes just by pressing PLAY a couple of times.

You'll always toggle between the two most recent presets.
The presets have some global options (FPS, ratio) but can also have individual settings (like bitrate).
I like to record in 14 bit for HD and 12 or 10 in 2k and 4k.

If you press PLAY and you want to go to the playback menu, it's only a couple of clicks away.

I tried before to use the INFO key, but that one has already a pretty complex toggle behaviour.
Also the PLAY button is commonly used in the ML menu so thought it would be a good fit to toggle stuff with.

Currently still many issues so it's a first proof of concept.
Hope you find it interesting.

P.S. make sure the resolution dropdown in the in "RAW video" submenu is set to the highest resolution.
All presets will then take the highest resolution possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 11, 2019, 01:41:03 AM
Also according to aprofiti there's a bug in the config.lua library. And it seems like there's a fix for it (https://www.magiclantern.fm/forum/index.php?topic=21220.msg218505#msg218505).
Maybe a good idea to include the fixed config.lua library in the next build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 11, 2019, 04:39:36 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

Having ideas from theBilalFakhouri here:
https://www.magiclantern.fm/forum/index.php?topic=24288.msg218221#msg218221

As the pictures points out as a focusing aid while in idle mode halfshutter holding will enter x10 zoom. Releasing button will get camera back into the menu preset. Should work for all presets(mv1080p,x5 modes,mv720p etc)

Will work(hopefully) for all included cameras(100D,5D3,700D,650D,EOSM)

(https://i.postimg.cc/pdQNYxQy/VRAM0-PPM-scaled.png)

Also adressed and fixed this(Jip-Hop)
Quote from: Jip-Hop on July 10, 2019, 08:26:30 PM
By the way, when half pressing the shutter button in MCM rewire.
The live view becomes slow.

Quote from: Jip-Hop on July 11, 2019, 01:41:03 AM
Also according to aprofiti there's a bug in the config.lua library. And it seems like there's a fix for it (https://www.magiclantern.fm/forum/index.php?topic=21220.msg218505#msg218505).
Maybe a good idea to include the fixed config.lua library in the next build?
If a bug it should go into lua branch. Do a pull request?


EDIT:
Took it down. Have to check for corruption. Maybe regs need resetting after usd in x10 zoom. Stay tuned...
Up again. Fixed!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 11, 2019, 10:05:35 PM
Good stuff Danne! Briefly tried it out just now and autofocus in mv1080 MCM rewire is a lot nicer to use now that live view stays snappy. It's becoming more polished every time  :D

Also the 10x crop, working for all presets, is a nice way to check focus before recording with manual lenses. Well done!

But so many options mean there's a lot of different ways to configure. They're all in different places: Crop mode dropdown and Crop mode submenu, RAW video submenu. And once you've got all set up, e.g. how you like to shoot with mv1080, these settings will be gone once you setup how you like to shoot in 2.5K mode. Personally I'd like to shoot with 14-bit in mv1080 in 16:9, and use a lower bitrate, e.g. 10, and narrow aspect ratio for 4k.

For me that would be a great win for RAW recording: if I could just setup how I like to use each mode before a shoot, and quickly toggle between them during the shoot. Without a need to change many settings in different places, having to remember each and watch out for misconfigurations.

We now basically have global options, that apply always. Regardless of the selected preset in Crop mode. I think we could use a couple of global settings (maybe FPS and aspect ratio). But in addition to that for each preset I'd like to be able to set local settings, which don't apply to the other presets (bitrate, if I want to use x3 crop toggle or x10 crop toggle, or none, maybe even the option to override global settings such as FPS or aspect ratio).

Would love some feedback on the script I posted yesterday. However I'm away from my camera and computer for three weeks. Would have loved to make it usable, but at the moment it's incomplete.

Quote from: Danne on July 11, 2019, 04:39:36 PM
If a bug it should go into lua branch. Do a pull request?

There should already be a pull request that fixes the Lua issue according to dfort.
https://bitbucket.org/hudson/magic-lantern/pull-requests/940/manual-lens-info-support-to-crop_rec_4k/diff#comment-108992157
https://bitbucket.org/hudson/magic-lantern/pull-requests/939/dynamic-length-elns-block/diff#chg-scripts/lib/config.lua

But fortunately I can just replace the config.lua with the fixed one myself and get the benefits without having to wait for a merge or compile ML myself  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 11, 2019, 10:30:15 PM
Just tested out the playkey.lua script. I see some nice ideas going on here.

What I did to simplify stuff myself was that running the cinema 2.39:1 script will set base for all coming presets. So once it is set choosing any of the other presets should work out of the box adjusting preview fps etc. Now of course all will be 2.39:1 and in 10bit and no extras so next step will be to add additionals.
Next step from this as I see it would be like are doing now. Personalized luascripts. Maybe a dropdown menu with 10 most useful presets. Who knows. I spent a year simplifying but as you see yourself more can be done. So just keep it going and you´ll reach your goals sooner than later. Or never  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 12, 2019, 12:26:56 AM
has anyone had experience of SD durability working in overclocking? SD died after 4 hours shots ... sandisk, 128gb, 170mbs :'(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kitor on July 12, 2019, 08:20:42 AM
Quote from: marcelolippi on July 12, 2019, 12:26:56 AMdurability working in overclocking
Overclocking and durability, choose one. It's all about silicon lottery. (https://forums.tomshardware.com/threads/what-is-the-silicon-lottery.1442554/) Info that somebody's card survives OC means nothing about other cards even from the same batch.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 12, 2019, 11:03:53 AM
Refined centering for most presets when using x10toggle. Download at the usual place...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 12, 2019, 01:28:03 PM
I have strange issue, my screen is flashing magenta and green when i enable raw recording mcm rewire,shutter 250 and fps override.
I thought my cam sensor is dying but it does not happen with older builds but im not sure, i didnt used shutter above 100 too much.
I did not take pic or video but i started to lower my shutter speed to 50 and it fixed itself.
Cant figure out how to reproduce it now but its there somewhere.Maybe its related to high shutter , i usted 40-50 most of the time and i used 250 today.
--
Ok i reproduced it, enable mcm rewire, croprec, bits 12,fps override 23.976 exact, shutter 200 (most important i think to get this screen flashing issue) then hit record
stop recording and there it is, screen is flashing magenta.Disabling fps override and pressing menu twice fixes it as well.fixes itself when i lower shutter to 112 and press menu twice.Overall it starts to happen from shutter 130 and higher.
Btw. half shutter toggle for x3 and x10 is very useful! Great idea.x5 toggle would be nice too, or pressing halfshutter once for x5,pressing again for x3 and again for x10 but i dont think we can record in x10.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 12, 2019, 02:44:51 PM
Something is affecting shutter when using fine tuning in fps override. Don´t know exactly what. But I don´t see how you can´t use native canon 24fps as it is set to now? It will then record either 23.970 or 23.980. Close enough i´d say.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 12, 2019, 04:06:50 PM
I can use native but i prefere fps override with exact , footage looks different with it and gives me much less rolling shutter , without fps override its not the same because i tested this extensively and i do see the difference, if native would use the same rolling shutter settings as override with exact then id use it.
I dont normally use fast shutter speed with 24fps , it was just a test so it doesnt really bother me, im not a fan of 24fps and stuttery images with high shutter.
I didnt tested how it affects 48fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 01:53:46 AM
sd sandisk pro 128gb, read speed 170, four hours of shooting with the sd overclocking module, no longer reads the magic lantern firmware. Record normally from the canon menu. I've tried everything, deep format, old builds ... ideas? Anybody has the same problem?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 13, 2019, 02:15:07 AM
Quote from: marcelolippi on July 13, 2019, 01:53:46 AM
no longer reads the magic lantern firmware

There are fake SanDisk Extreme Pro Cards out there, hopefully you haven't landed on one in this case. A card I used to have wouldn't allow the camera to read ML on it until I blew inside the camera card slot and it started to work again. Otherwise, format to exFAT on a pc/Mac. I use Lexar Professional 128GB and it works amazing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 02:42:07 AM
I checked all the indicators just arrived from amazon: true sd sandisk. It worked until we had this problem, I shot a documentary, 4 hours of recording
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 13, 2019, 09:38:48 AM
Sounds like you formatted the card with a cardreader or inside a cam without ML or inside an ML cam with Q option activated -> card no longer bootable.
Easiest workaround: Reinstall ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sirminder on July 13, 2019, 11:23:03 AM
Quote from: Walter Schulz on July 13, 2019, 09:38:48 AM
Sounds like you formatted the card with a cardreader or inside a cam without ML or inside an ML cam with Q option activated -> card no longer bootable.
Easiest workaround: Reinstall ML.
So are you suggesting to format a card Twice? Once prior to installing ML and then again after installing ML?

Sent from my SM-G930F using Tapatalk

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 13, 2019, 12:07:59 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x10 zoom aid now also works with photo mode if kept enabled in crop mode while in photo mode
- renamed the preset "focus aid"

In photo mode if pushing halfshutter for longer than 0.5s it goes into x10 zoom. Releasing gets you back into x1 mode. Then simply push halfshutter to take a photo. Nice to have this with manual lenses. Eosm isn´t exactly fast working getting into x10 zoom...

Curious if it´s possible to pause autofocus somehow?

Also feel like a travelled around the globe to get x10 function working when all that was needed was this:
set_lv_zoom(10);

(https://i.postimg.cc/B6DXQ20X/VRAM0-PPM-scaled.png)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 13, 2019, 12:20:19 PM
Quote from: sirminder on July 13, 2019, 11:23:03 AM
So are you suggesting to format a card Twice? Once prior to installing ML and then again after installing ML?

Sorry, where in my answer did I suggest to format a card even once?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sirminder on July 13, 2019, 04:21:16 PM
You are correct. Nowhere in your statement did you suggest that.

However, you hinted that a possible reason for the problem was that he formatted the card "inside a cam without ML".

That left me wondering if reformatting the card after installing ML was a little known secret or just good practice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 04:45:30 PM
I have another card I make comparisons with it, I formatted the bad one from the pc, then from the eos and finally loaded the build of 12 July, 11 July and 7 June. Nothing, with the other card works well, as always
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 13, 2019, 04:51:11 PM
Well. Important now is to know if you got the card working again following Walters suggestion or not?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 13, 2019, 07:24:32 PM
Quote from: sirminder on July 13, 2019, 04:21:16 PM
That left me wondering if reformatting the card after installing ML was a little known secret or just good practice.

Looks like world record for long jump to conclusions is actually broken.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 08:48:04 PM
the eos m with this card does not start anymore: first I thought about the camera, I remove the battery but nothing to do, it doesn't start. I remove the sd and format the sd in the card reader, in the meantime I start magic lantern with the other card: ML starts again. Load the defective sd reformatted on the eos and formated into eos. I remove the card and load the latest version of ML, eos m turns on, I can record from the canon menu, take photos, etc .: ML but no signs of life, the screen that would be arranged for it is empty, only the two horizontal lines of 16: 9. I have redone everything changing versions, with the other card it works, with this card nothing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 13, 2019, 09:41:36 PM
But did you reinstall by updating firmware with the included ml fir?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 09:46:29 PM
yes, but not from the card that seems damaged, I installed the firmware with three different builds from the card that works
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 13, 2019, 09:56:49 PM
To enable the card (=make it bootable again) you have to run install from that card or you have to use EOScard/MacBoot/makebootable.sh.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 13, 2019, 11:21:12 PM
Thanks...I have used magic lantern since 2012 but Alzheimer is progressing quickly... :) :)   :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nydahl98 on July 14, 2019, 01:05:16 AM
I have only had Nightly. 2018Jul03.eosm202

tested crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul13.EOSM202
And there is missing some modules like ettr.
How do i include more modules?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on July 14, 2019, 01:11:57 AM
For those that are new to ML or old timers, just a reminder there is a dedicated facebook group for MLV on EOS M with plenty of knowledgeable users that can help answer a majority of basic troubleshooting questions.  I'm only posting this reminder to let people know there are other ways to find an answer that doesn't involve clogging up the development discussion.  Of course, if it's a possible bug needing to be reported, the ML forum would be the right place.  If facebook isn't your thing, disregard this post. lol

https://www.facebook.com/groups/375018026655820/?ref=bookmarks (https://www.facebook.com/groups/375018026655820/?ref=bookmarks)   
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 14, 2019, 07:12:33 AM
And there is a reddit and Petapixel and there are DPReview forums and Miranda forums andandand. Sounds legit to open a few more, they are all clogged.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 14, 2019, 01:11:22 PM
Quote from: Danne on July 13, 2019, 12:07:59 PM
Curious if it´s possible to pause autofocus somehow?
If that is impossible... how about the other way: are you able to read the state of the AF/MF switch of the lens, or if the lens has AF at all? So "if( !afActive | mfLens ) do x10zoom..." could be an option...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 14, 2019, 01:36:37 PM
Pause autofocus. When an EF-M lens or other AF Lens is attached, you can go into the second RED tab in the original canon menu of the Eos M and set AF+MF to MF Only which will get rid of AF for good.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 14, 2019, 01:46:58 PM
Manual is working and also af is working with x10 focus aid when in photo mode. It starts to get tricky when in crop_rec with all registry changes going on. I´checking into a function which will work same as in photo mode. I already has it working in 5D3 I believe since I short circuit reg  patches while working with x10 focus aid so should work. Now add mcm rewired round truip to the mix for eosm and 100D and it´s not as simple getting it to work again ;).
There´s af property code checking which is implemented here and there but It seems crop_rec isn´t fast enough to see if af is running or not so might be a race condition...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 14, 2019, 06:11:50 PM
Is it at all possible to record 10x image ? OR its digital zoom from x3  and not really useful ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 14, 2019, 06:17:56 PM
Stream is still x5 zoom, only preview window is changing so I think not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on July 14, 2019, 06:42:07 PM
Quote from: Walter Schulz on July 14, 2019, 07:12:33 AM
And there is a reddit and Petapixel and there are DPReview forums and Miranda forums andandand. Sounds legit to open a few more, they are all clogged.

I use none of those forums.  PetaPixel is more or less click bait now days, I've never even heard of Miranda.  Can you upload videos to any of the above sites or would it require linking to YouTube or Vimeo? I'll also go out on a limb and say the response to a question on facebook is quicker than all of the above.  Like I said earlier, if facebook isn't your thing, disregard the post, unnecessary sarcasm has never solved a problem.  Forgive me for trying to leave this topic open to more advanced users and developers,  I personally don't like to scroll through 20 questions of somebody trying to load ML on an SD card when all I'm really looking for is the latest build's discussion and the changes pertaining to that build.  If I myself have a basic question, I would hate to ask it on here just to get some kind of sarcastic response...it solves nothing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 14, 2019, 07:21:55 PM
Could you make the group open?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 14, 2019, 07:23:01 PM
I made this from current builds, recorded video in x3 and x5 modes then placed on frame from uncropped video, overlayed with sensor chart on top
One is with crop modes non centered , how they actually are right now, and other one is with crop modes centered by me
From the chart you can figure out it will vignette with 16mm camera lenses in x5 mode but might work in x3 mode , also it will vignette with regular camcorder or 8mm camera lens on both x5xand x5 modes.
Is it somehow possible to crop x5 mode in camera to get non vignetting image from 16mm cam lenses or 8mm cam and still get hd resolution  or nobody done that before and its just better to crop in post ?
(http://picplus.ru/img/1907/14/8ad6cf95.gif)
(http://picplus.ru/img/1907/14/c072f113.gif)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on July 14, 2019, 08:16:21 PM
Quote from: Danne on July 14, 2019, 07:21:55 PM
Could you make the group open?

Yes, but I'd prefer not to for a few different reasons.  Main reason is to keep spam/advertising bots from being a nuisance, along with real people trying to promote junk or scams.  Another reason is occasionally when a post is made within an open group, it will show up on non members timelines saying "_____ posted in the group MLV on EOS M".  I'm sure that's facebook's automatic way of trying to help the groups population grow, but then the next thing you know peoples grandmothers will be posting in the group asking how to fix her TV, or somebody's friend popping in just to be a troll to some degree.  I could come up with a couple other reasons, but those are the main ones.  One other reason would be if somebody is wanting feedback on a project they're working on, they may want to try and keep it private from public viewing until it's complete. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 14, 2019, 08:55:43 PM
Could be open for reading but not posting if not a member.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 15, 2019, 06:30:48 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

- Remapped x3toggle button so now it works by pushing garbage can button shortly instead. Doing a long_press on garbage can button still enters magic lantern menu same as before

(https://i.postimg.cc/wBT9vJv5/VRAM0-PPM-scaled.png)

Now it would be nice to be able to do a long_press on INFO button to toggle x10 mode and normal usage of info button otherwise. This way we can leave halfshutter alone for focusing etc...

Question: Maybe this x3crop toggle with trash can button should be default permanent in these builds?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 15, 2019, 07:47:28 PM
I like the idea's. I used the shutter key solution this weekend and accidentelly full pressed sometimes. This leaded 50% to frozen cam. This can't happen now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 15, 2019, 07:55:43 PM
Yeah. It's way more intuitive this way. Tried defining long_press of thrash can for 5D3 in menu.c but won't work as with eosm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 15, 2019, 08:13:16 PM
Do we need this for other cams? The DSLRs have a "+" button to toggle...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 16, 2019, 12:26:15 PM
There's something else with eosm sharing trash can with pressing down. Not sure buttons are "longpress" sensitive.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 16, 2019, 08:14:01 PM
One finding with July16 version: focus aid gets very bright when active, sometimes too bright (all white). When releasing halfshutter normal preview is also too bright, but after a second it normaizes again. Tested in MCM rewire.
Edit: moaaah... found it. Auto-ISO is the reason.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 16, 2019, 08:18:54 PM
Haha, autoiso. Second time you fall into that trap ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 16, 2019, 08:22:18 PM
Yes, right. It works too good in MCM rewire mode. Only for x10zoom it doesn't.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 17, 2019, 12:39:06 PM
Quote from: Danne on July 16, 2019, 12:26:15 PM
There's something else with eosm sharing trash can with pressing down. Not sure buttons are "longpress" sensitive.

I think you can find which keys are long press sensitive in the Lua api docs: https://builds.magiclantern.fm/lua_api/modules/constants.html#KEY

Keys that have the unpress state can be used for long press.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 01:03:47 PM
Yes sure but not behaving as smoothly as halfshutter press  :P. If you can build a function that we can use please let me know.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 01:05:38 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- focus aid "dark mode" preset. For when being in darker areas. Will brighten preview when in x10 zoom)

(https://i.postimg.cc/7ZHFR57f/VRAM1-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on July 17, 2019, 07:26:51 PM
Hi!

Just an observation, when using HDMI out, and 4K Anamorphic mode, I get slightly less pink frames, if I just do a clean install, set it to 4K ANA in crop mode, exit ML menu, enter Canon menu, exit, rather then running the cinema script. Just thought, maybe worthy to look at. I'd love to use a field monitor when doing 4k : )))
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 07:36:50 PM
Do you mean you select the 5k anamorphic mode instead after running the script? Should be a little better regarding pink frames and it's the same resolution.

We could test out a resolution which could aim for corruptionfree hdmi out recording. Let me know if interested. First tell me exact setting for the preset you got better recordings with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 17, 2019, 08:48:18 PM
Tried your new darkmode. Works fine here. How is it done? Activating Auto-ISO? :P muhaha. When activating the zoom, preview framerate seems to be lower than normal... looks like ~10fps?!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 17, 2019, 09:09:17 PM
That's how it works I think! Lower shutter speed, lower fps. Not auto iso for sure  :P

By the way how do you post process auto iso recordings? I read that the transition looks smooth on screen while recording but isn't smooth when playing back in DaVinci Resolve.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 09:14:02 PM
Auto iso is a nogoooo  :P
I reduce fps to 7fps. There´s also display regs that can push preview so I do both:
static inline uint32_t reg_override_x10_eosm(uint32_t reg, uint32_t old_val)
{

/* dark mode */
   if (zoomaid == 0x2)
   {
*(volatile uint32_t*)0xc0f06014 = 0xc71;
*(volatile uint32_t*)0xc0f140c0 = 0xb0;
   }

    return 0;
}
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 17, 2019, 09:20:20 PM
AutoISO was just a joke. Okay, interesting. Nice tool.
I had never an issue with AutoISO in MCM rewire regarding bad footage... so I use it here and there. But some features in camera don't like it, as we see  ;D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 09:34:49 PM
Just tested autoiso. It´s only auto when not recording right? Once starting ro record it statys in whatever iso was selected?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 17, 2019, 09:37:21 PM
Correct. It is auto when preparing, but is fixed while recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 17, 2019, 09:45:13 PM
Yeah, also noticed how it jumped to iso 6400 when doing the x10 zoom. I guess the workaround closing and opening liveview with rewired mode confuses autoiso a bit  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 18, 2019, 12:14:48 AM
In the normal Canon menu, you can set your Max ISO to 400 and it won't go above that, even with the x10 zoom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 18, 2019, 12:18:16 AM
Cool, where exactly? Being lazy here, can´t find the setting. Got it. Needed to be done in photo mode.
EDIT: hm, doesn´t seem to work with movie mode though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 18, 2019, 02:05:12 AM
Yeah, that's odd. A few months back I was practicing vlogging with this camera and in auto ISO, it would adjust the ISO Accordingly in the video mode but wouldn't go above ISO 400 as Max. Looking at it now for some reason, Auto ISO won't even work in video mode :(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on July 18, 2019, 04:08:03 PM
it possible to have in cam monitor when external monitor is connected?
3k and 4k there isn't any preview?

anyway, bravi ragazzi  8) , i'm gonna shot a short movie with this piccola beast in the next month
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 18, 2019, 04:22:14 PM
Monitor will steal cpu. Most likely cause pink frames.
3k and 4k only framing preview.
Good luck on filming
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 18, 2019, 07:35:49 PM
Tried latest build today. Can't do extensive testing from my vacation, also won't have access to computer for two weeks so only briefly played back some recordings in camera. Noticed some pink frames but not too many.

Noticed camera freezing quite a lot with 4k rewire preset and the 10x focus helper on half shutter press. Both standard and dark mode. Had to disable the feature. Seems to work much better in 2.5k mode.

Also had the camera get stuck on shutdown a few times. Would be stuck at sensor cleaning and only opening the battery door would actually shut it down.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 18, 2019, 07:41:42 PM
Manual focus on or autofocus? X10 only with manual mode especially with rewired mcm stuff.
If you could find what's causing the issue it'd be great.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on July 18, 2019, 07:51:58 PM
I was using vintage M42 lenses on Viltrox speedbooster. Sorry can't be of much help for the next two weeks. Don't have my camera with me either starting today.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 18, 2019, 08:09:38 PM
Aight. No rush. Maybe the viltrox affects something.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 18, 2019, 11:57:28 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x10 focus aid working with autoiso set

What can I say. a1ex(ML) code includes so much functions to play around with...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on July 19, 2019, 08:30:11 AM
Anyone seen this before? I am getting it randomly in 2.5k mode, both in day and night shots. Its a straight green / red line that runs vertically on the right side of the video. Its always at the same spot.

I am using a viltrox (non speedboosted) adapter with canon 35mm IS lens if that matters. mlvapp cant seem to get ride of it.

https://imgur.com/wjEVt4J
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 19, 2019, 09:21:36 AM
Please upload a sample mlv with this issue. Could a number of things affecting. Which one of the 2.5k modes by the way?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on July 19, 2019, 10:59:41 AM
Quote from: Danne on July 19, 2019, 09:21:36 AM
Please upload a sample mlv with this issue. Could a number of things affecting. Which one of the 2.5k modes by the way?

2.5k 2520x1418

Thank you Danne

https://drive.google.com/file/d/1S6JWVK6XaaHHt2IE6inFN8aPKCWRamLy/view?usp=sharing (https://drive.google.com/file/d/1S6JWVK6XaaHHt2IE6inFN8aPKCWRamLy/view?usp=sharing)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 19, 2019, 12:08:18 PM
Very strange indeed. Maybe sensor is broken? Probably not. Could you do test with and without the viltrox adapter? Also try to find a way to safely reproduce the issue if possible. Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 19, 2019, 12:52:27 PM
I've never seen something like this before. But with "Pattern noise" in MLVApp the stripes go away. On the other side, Pattern Noise brings "funny" textures...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 19, 2019, 06:46:23 PM
Quote from: ngemu on July 19, 2019, 08:30:11 AM
Anyone seen this before? I am getting it randomly in 2.5k mode, both in day and night shots. Its a straight green / red line that runs vertically on the right side of the video. Its always at the same spot.
Yes, I also obtained similar (not the same) vertical lines in that mode, randomly in night shots. If the shot was long enough it tended to slowly disappear completely, I did not experience the problem again with Danne's latest versions, but I did not do many night shots lately in that mode either.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 19, 2019, 07:22:53 PM
Quote from: Danne on July 18, 2019, 11:57:28 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x10 focus aid working with autoiso set

What can I say. a1ex(ML) code includes so much functions to play around with...
So good Danne! Thank you! AND: AutoISO now works also in 5K anamorphic! MaxISO @800 is also a great addition! So many great new stuff again and again! ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 19, 2019, 08:29:30 PM
Thanks man! One thing in autoiso is metadata reports not always what ml display shows. Maybe my build. Didyou notice this too?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 19, 2019, 08:39:28 PM
With this maxIso thing it seems to work. Tried 2 clips, OFF->ISO3200 (shown in liveview and in clip) and ON->ISO800 (in both).
But if I remember right, I saw that in past - the liveview showed e.g. ISO800 and it was ISO640 or something. It seems it shows just the 100,200,400,800,1600,3200,6400 in liveview. Is it that what you mean?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 19, 2019, 08:49:35 PM
Gotta check some more. I tested when iso was at 800+ then at iso 200, both came out iso 800.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 19, 2019, 08:57:51 PM
Okay... no, haven't see this so far.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on July 19, 2019, 10:20:57 PM
Quote from: ngemu on July 19, 2019, 10:59:41 AM
2.5k 2520x1418

How are you achieving continuous recording in that resolution? I've never got more than a couple seconds before it stops.  The sample you posted is 1920x1080
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 19, 2019, 10:26:40 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Max iso preset. Restrict autoiso to iso 800 instead of cnot controlling iso skyrocketing to up to 6400

(https://i.postimg.cc/0Ns16J5P/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Bob Bell on July 19, 2019, 10:50:00 PM
I have several EOS DSLRs but bought a Canon EOS M3. I have found that it is useless for studio work. You cannot turn off exposure simulation. This means that with studio flash (where the lighting is by the studio flash and you set manual exposure mode) the viewfinder image is black. Exp sim turns off for a split second to give AF a chance but then the exposure simulation kicks in and you get a near black image - you cannot see to compose or shoot. A typical studio setting would be f/8.0 @ ISO 200 @ 1/200s  - excellent for studio flash but lousy for the EOS M3. Exposure sim switches off if you pop up the tiny on camera flash, but that's as stupid as buying a car and then pushing it. Canon acknowledges this problem but, despite their "Pro" claims for the EOS M3 is the only maker who has not provided an option to switch off exposure sim. Canon's great advice - buy an EOS R because that has it.
Does anyone know how to fix the problem or has a Magic Lantern app that can disable exposure simulation?

I think that Magic Lantern is not available for the EOS M3.

Any help that anyone can give will be appreciated. I bought the M3 to do high speed photography where high speed flash (1/40,000 s) is the main light source.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 20, 2019, 12:15:40 AM
https://builds.magiclantern.fm/ -> "Your camera is not listed?" -> Last item
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 20, 2019, 01:29:24 AM
Quote from: Danne on July 19, 2019, 10:26:40 PM
- Max iso preset. Restrict autoiso to iso 800
(https://i.postimg.cc/0Ns16J5P/VRAM0-PPM-scaled.png)

Brilliant work! I just installed the July 18 ml build last night. It's fantastic, especially with the x10 focus aid. I think the only issue for that is as mentioned previously, in non MCM Rewire modes where you need to half press the shutter to preview correct frame e.g. on 2.5k or 4k mode. Unless I've missed something..
The auto ISO tool max 800 is definitely great! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on July 20, 2019, 01:47:42 AM
today I did some quick tests with the eos M (4.5k 10bit lossless) and the red helium 16 bit in 4 and 8k. Luminous scene, ettr ... the eos has made a good figure working with 6bit less and compressed, the thing that struck me negatively was the alias, practically I saw a scale for the 3x1, maybe something I didn't set well in the mlvapp?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 20, 2019, 06:21:24 AM
Examples please @marcelolippi.
@ZEEK Not quite following you here, x10 xoom works the same with all presets. Press halfshutter to activate it. Could you elaborate?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 20, 2019, 09:27:14 AM
I think he's trying to say that on 2.5 and 4k the half press shutter is also used to preview the correct framing, how will it do both functions on half press?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 20, 2019, 09:38:17 AM
Did you test?
If you start off in framing preview x10 zoom will work nicely. If you start off in real time preview then you loose the framing preview but only when not recording. Once recording camera acts without x10 zoom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 20, 2019, 12:15:39 PM
New build, usual place:

- Autoiso now have a few friends
(https://i.postimg.cc/nVwhrspj/VRAM0-PPM-scaled.png)

EDIT: uploaded new build again. Fixing automation conflict.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 20, 2019, 03:43:25 PM
This is great, i wanted it since the beginning of ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 20, 2019, 09:04:52 PM
Refined autiso some more. New upload just now:
Commit:
https://bitbucket.org/Dannephoto/magic-lantern/commits/51341243ad8726cf8facc8cd969c9b013e8ea244
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 20, 2019, 10:42:06 PM
3x halfshutter toggle doesnt work in this and previous one.But i get the message that photo is not possible in zoom mode when i press shutter button all the way.
With build from july 11 toggle 3x works fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 20, 2019, 10:48:56 PM
x3zoom works with trashcan. x10zoom with halfshutter.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 20, 2019, 10:57:16 PM
thanks, i forgot it was changed
How i can map ISO selector to one of the buttons on camera, i had it as trashcan from canon menu, now i cant change iso that easily cause im locked out of it by 3x trashcan toggle, my -/+ button is unused.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 21, 2019, 01:35:34 AM
Quote from: Danne on July 20, 2019, 06:21:24 AM
Examples please @marcelolippi.
@ZEEK Not quite following you here, x10 xoom works the same with all presets. Press halfshutter to activate it. Could you elaborate?

I just mean when you want real time preview in 2.5k, 4k or 5k modes through a half press shutter to view the correct framing, it will instead go into x10 zoom. Unless there is an alternayive key that can be set. No big deal here, though great stuff with the auto ISO.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 21, 2019, 01:57:57 AM
Yeah, I guess one has to start off in framing preview mode when using x10 zoom in x5 modes. Or else no correct framing at all.

I put up a new build again. Refined previewing(autoiso)
Starting to dig autoiso quite a lot...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 21, 2019, 02:15:58 AM
Hi everyone

Ive been unable to get rid of the pink frames using the 4.5k lua script, 16:9, 2.35 or 2.39 doesnt matter which resolution i choose, is it possible for anyone that had sucess at this resolution to share their settings, i purchased a 128gb sandisk extreme pro sdcard thinking the card i was using was at fault but same thing happens, i have kill global draw enabled, some kind of log shows up with codec error etc, in 1080 rewired theres no pink frames.

(https://i.imgur.com/K8AUSXH.jpg)

Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 21, 2019, 02:30:12 AM
Run the lua script. Once it´s done swith to the 5k anamorphic preset instead. Now you should be in 2.39:1 but not in rewired mode. Don´t enable the Kill global draw option since you won´t have framing preview to work with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 21, 2019, 02:50:51 AM
Thanks, just done a quick test with 5 short recording, 4 were clean, 1 had kind of strobing pink frames, 2am here, will format and clean install ml in the morning.

thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 21, 2019, 10:51:24 AM
Quote from: 2blackbar on July 20, 2019, 10:57:16 PM
thanks, i forgot it was changed
How i can map ISO selector to one of the buttons on camera, i had it as trashcan from canon menu, now i cant change iso that easily cause im locked out of it by 3x trashcan toggle, my -/+ button is unused.
How are you accessing magic lantern menu if trash can button is assigned to iso?
I guess set button is a good alternative to trash can when it comes to x3 zoom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on July 21, 2019, 01:04:05 PM
Hello, I'm new I would like to know if you can install the firmware 2.0.2 if the machine when it comes with version 2.0.3 of canon to install the latest magic latern, thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on July 21, 2019, 01:10:00 PM
Quote from: Danne on July 20, 2019, 12:15:39 PM
New build, usual place:

- Autoiso now have a few friends
(https://i.postimg.cc/nVwhrspj/VRAM0-PPM-scaled.png)

EDIT: uploaded new build again. Fixing automation conflict.

Super nice Danne, tack så jäkla much for your work. You're the man.

//Chris
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 21, 2019, 01:32:52 PM
Im using 2 finger tap to enter ML but once i set everythin in ML menus i dont need to enter that often, so i just adjusted ISO with trashcan button because thats the only one i can map to iso selector in canon menu, set
or +/- would be good for me, where i can change that ?
Id prefere not to change iso from within ML menu cause once i enter ML menu i have to go to video settings, then go down to enter iso and then adjust... too many steps, trashcan for changing iso was quite convenient. So i was wondering why theres no maximum iso setting in autoiso and there it is, it works fine but sometimes handy button to set iso manually helps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on July 21, 2019, 02:51:35 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 21, 2019, 04:32:41 PM
Quote from: 2blackbar on July 20, 2019, 10:57:16 PM
thanks, i forgot it was changed
How i can map ISO selector to one of the buttons on camera, i had it as trashcan from canon menu, now i cant change iso that easily cause im locked out of it by 3x trashcan toggle, my -/+ button is unused.

Selectable button:
(https://i.postimg.cc/zBDbsndB/VRAM0-PPM-scaled.png)

New build posted:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 21, 2019, 04:41:42 PM
Works great, just tested it ! Thanks a lot !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on July 21, 2019, 07:34:04 PM
Quote from: berechiah on July 21, 2019, 02:51:35 PM
.

this isn't FB with notifications, so you'll have to check back from time to time ;) Just thought i'd let you know rather than you wait for info updates that never come.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hokinari on July 22, 2019, 02:19:39 AM
hi guys! I have some artifacts in all my footages, how to fix that??
There is no problems in live view when i grade it in MLV app, but when I render it's appear. screenshot of my settings and test footage are linked bellow
I shooted on eos m
mv1080p MCM rewire profile RAWvideo on
Bit Rate(CBR) up to 1.2x
memory card -  SDXC 64Gb Kingston Canvas React UHS-I U3 V30 A1 (100/80 Mb/s)
there is some footages - drive.google.com/open?id=1gPLcpOIqcCvMoTxocV2MjxyJip3bXaJF (http://drive.google.com/open?id=1gPLcpOIqcCvMoTxocV2MjxyJip3bXaJF)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on July 22, 2019, 08:27:54 AM
@hokinari why do you have the bitrate at 1.2x?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 22, 2019, 09:57:30 AM
@hokinari: could we get the MLV for analysis?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 22, 2019, 11:49:34 AM
New upload:

- Fast iso access through INFO(eosm)/SET(100d) button. Push it to quickly walk through iso starting from 100 to 3200

(https://i.postimg.cc/13hLC3Jb/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hokinari on July 22, 2019, 05:15:43 PM
@henricusmaria Cause I thing it gives me higher bitrate
Actually problem was solved by changing debayer mode LMMSE to Receipt configuration
@mask Ml file in folder directed from he link - drive.google.com/open?id=1gPLcpOIqcCvMoTxocV2MjxyJip3bXaJF
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 22, 2019, 06:49:47 PM
Quote from: hokinari on July 22, 2019, 05:15:43 PM
@henricusmaria Cause I thing it gives me higher bitrate
Actually problem was solved by changing debayer mode LMMSE to Receipt configuration
@mask Ml file in folder directed from he link - drive.google.com/open?id=1gPLcpOIqcCvMoTxocV2MjxyJip3bXaJF
Bitrate is for compressed (H.264) recording. Using RAW it has no effect.
Ah, you used LMMSE (your screenshot showed AMaZE)... that explains all: LMMSE & EOS M RAW file is a bad combination (whyever). It is a known bug, but I have no idea why it happens. If someone else has an idea, please let me know. It seems to come out of the LMMSE "library"/source code file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 24, 2019, 08:58:35 AM
Uploaded a new version. Bugs was happening with iso climb preset so took it out for the time being. Recommended to redownload the latest.

EDIT: Workaround isoclimb hopefully working for eosm and 100d. 5D3, todo.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on July 25, 2019, 04:04:34 AM
Quote from: Danne on July 19, 2019, 12:08:18 PM
Very strange indeed. Maybe sensor is broken? Probably not. Could you do test with and without the viltrox adapter? Also try to find a way to safely reproduce the issue if possible. Thanks.

Hi Danne. I was able to reproduce the same vertical line using the efm 18-55mm kit lens. I originally had this while using a canon 35mm is lens with viltrox adapter.  It seems to only appear when I use the 2.5k mode.

With this example, the lines disappear using the '''pattern noise on'' feature but it also induces other artifacts into the footage. This did not work with some other videos I had with these vertical lines though.

Settings
fps - 23.976
crop mode - 2.5k 2520x1418
x3 crop toggle - on
set 25fps - on
raw - 1736x976
aspect ratio - 16:9
data format: 14-bit lossless

Screenshot
https://i.imgur.com/ednpgDP.jpg

MLV sample link
https://drive.google.com/file/d/1WM0aihrhb5Xx2Iq0aANcRrzDSPF1GEDb/view?usp=sharing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 25, 2019, 07:37:49 AM
Interesting. Is it happening on every recording with this set up? If so you could test to find what is causing this. Maybe the villtrox, fps or something else.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: KlausH on July 25, 2019, 08:39:23 AM
I had these thin vertical lines also for a while in various crop modes after start up the camera. They disapeared after entering the Canon menue. Different leneses didn't have an effect. Exemerimenting with the settings in the Overly tab made it dissapear. My settings are Global Draw: LiveView and Waveform: Small. All else switched off.

With the new awesome feature of the 10x magnification I get vertikal green tinted areas after using it. It is recorded on the file. It disappears after entering the ML menue. This also in crop mode. For me the 10x display is essential to focus so I am using it anyways.  Before I had to change in photo mode and back...

It's anyways amazing what you are getting out of this small camera!






Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 25, 2019, 10:02:06 AM
Quote from: KlausH on July 25, 2019, 08:39:23 AM
With the new awesome feature of the 10x magnification I get vertikal green tinted areas after using it. It is recorded on the file. It disappears after entering the ML menue. This also in crop mode. For me the 10x display is essential to focus so I am using it anyways.  Before I had to change in photo mode and back...

It's anyways amazing what you are getting out of this small camera!
Thanks for reporting. Probably all regs are not falling into place after usage, not sure but will look into it.

Edit: also. Could you upload a file which shows the issue? I want to see if it's not simply 10bit lossy bitdepth affecting recordings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: KlausH on July 25, 2019, 08:16:11 PM
Yes, here's a link to a MLV file that was recorded after using the 10x magnification:

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

Forgot to mention that I am mostly using 14bit lossless and reduced framertes (12-20fps). As mentioned before the recorded image is clear after entering the ML menue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 25, 2019, 08:24:02 PM
Thanks. Is this happening with 3k preset? Maybe it´s an issue only with x5 zoom modes in conjunction with x10 focus aid? Do this happen with x1 modes too? Or maye it´s related to fps override? Working better with fps override to off?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: KlausH on July 25, 2019, 08:48:29 PM
The sample was recorded with the following video settings:
PS override: 16 fps
Crop mode 3k, 3032x1436 (Is this 3k preset?)
RAW video: ON, 2736x1244

I tested a bit more with lower resolutions in both 2.5k modes with fps override on and off and it looked both clean. In 3k mode fps override off, didn't even showed a preview (only white screen). With fps override I get a frame preview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 25, 2019, 08:59:03 PM
Hm, test should be done in 3k and with preview set to framing. If something is strange a restart should help. It seems the issue can´t be reproduced all the time? Is this correct?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 25, 2019, 09:29:49 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Pushed a few x5 zoom fixes when using x10 focus aid.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IkerKovach on July 25, 2019, 10:05:11 PM
hi everyone! i am new here, sorry for language, i'm from russia.
i'm using Danne's magic lantern configuration from 23th of July on my eos m, and when i'm recording 24fps mv1080 2.35:1 12bit raw, loading this to mlvapp in order to get cDNG, after this i am loading this to after effects to make "detail preserving upscale" and colorgrade, after this i'am using final render to h.264 for youtube and i am getting video track and audio track the same lenght, but audio isn't synchronized with picture. I need to make video track with 80% speed and move my audio track a little bit. Its very annoying. Of course, i'am not using this audio in final video, but i need it to synchronize with my other micro and a few other cameras. In every step i'am using in settings 24 fps (from mlvapp to AE, from AE cDNG to h.264).
what should i change? what's my misstake?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Apxub on July 26, 2019, 03:26:09 AM
Quote from: Danne on July 25, 2019, 09:29:49 PM
New version:
Danne, please make fast on/off waveform with a button push (up/left/right)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on July 26, 2019, 04:24:38 AM
Quote from: Danne on July 25, 2019, 09:29:49 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Pushed a few x5 zoom fixes when using x10 focus aid.


Hi Danne, just played around with the latest build and wow, lines are still there but greatly improved.  :)


before
https://imgur.com/ednpgDP

after
https://imgur.com/Z4HYsiT

MLV
https://drive.google.com/file/d/1Ly6kXM9noiQNhdSSoCvL_BK0asHhlMwy/view?usp=sharing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 26, 2019, 08:03:29 AM
A few people are mentioning line streaks across the live view during 2.5k. I haven't experienced it myself. Maybe menu is to be double pressed each time before recording to set configuration.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2019, 08:41:40 AM
Quote from: ngemu on July 26, 2019, 04:24:38 AM

Hi Danne, just played around with the latest build and wow, lines are still there but greatly improved.  :)


before
https://imgur.com/ednpgDP

after
https://imgur.com/Z4HYsiT

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

Did you try this suggestion? I really can´t say what´s causing your issue.
Quote from: Danne on July 25, 2019, 07:37:49 AM
Interesting. Is it happening on every recording with this set up? If so you could test to find what is causing this. Maybe the villtrox, fps or something else.

Uploaded a new build with a few small changes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2019, 09:30:19 AM
Quote from: KlausH on July 25, 2019, 08:48:29 PM
The sample was recorded with the following video settings:
PS override: 16 fps
Crop mode 3k, 3032x1436 (Is this 3k preset?)
RAW video: ON, 2736x1244

I tested a bit more with lower resolutions in both 2.5k modes with fps override on and off and it looked both clean. In 3k mode fps override off, didn't even showed a preview (only white screen). With fps override I get a frame preview.

Problem is fps override with no ratio set under crop med sub menu.
Expect unexpected results when using fps override and messing with reolutions in RAW video menu along with my presets in crop rec. I did not account for these conflicts but choose to keep fixed presets in crop rec.c.
In KlausH case building a fixed preset would be better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: KlausH on July 26, 2019, 09:34:08 AM
Yes, 10x focus aid works fine now in 3.k mode  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2019, 09:56:40 AM
Quote from: IkerKovach on July 25, 2019, 10:05:11 PM
but i need it to synchronize with my other micro and a few other cameras.
Filming with a micro?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2019, 10:52:21 AM
Quote from: KlausH on July 26, 2019, 09:34:08 AM
Yes, 10x focus aid works fine now in 3.k mode  :D
Fixed now. New upload.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on July 27, 2019, 11:44:58 PM
anyone experience dark bands across the image. Only noticeable in dark areas.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on July 28, 2019, 05:21:07 AM
@lightspeed Not here using ML build July26
Downloaded it yesterday without testing
Shot some footage today
I'll post some test footage
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on July 28, 2019, 07:02:57 AM
Test footage shot earlier today with my EOS-M anamorphic run & gun rig
New to ML, motion and anamorphic
But slowly getting there
Have to say that the EOS-M is an impressive performer
And thanks @Danne for all the effort
Impressive what you are doing !
This was shot using ML Build July26 in mv1080p rewire and upscaled to 4K
Plain RAW footage
Just added some sharpness


https://youtu.be/c3vNkkTXNRU
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 28, 2019, 11:24:32 PM
Hi everyone, running the latest version here as of today, im having issues with 4.5k rewired or not, i followed some suggestions by Danne but i still cant have 16:9 or 2.39 clean footage without pink frames, can anyone share any "trick", some users said to use 2.35 aspect ratio, to me 2.35 is more of a "cinematic aspect ratio" not a "daily aspect ratio"

Thanks for any help with this
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 28, 2019, 11:40:03 PM
Use 5k anamorphic preset and set it to 2.39:1 ratio.
Also a fast sandisk card freshly formatted. Extreme pro or similar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on July 29, 2019, 05:32:55 AM
Problem of red dots solved !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 29, 2019, 07:51:25 AM
Quote from: DarkCAL on July 29, 2019, 05:32:55 AM
The rest has the red dots
Never had problems with those before
Without a short sample (MLV) nobody can tell something about your red dots.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on July 29, 2019, 09:34:14 AM
Quote from: DarkCAL on July 28, 2019, 07:02:57 AM
Test footage shot earlier today with my EOS-M anamorphic run & gun rig
New to ML, motion and anamorphic
But slowly getting there
Have to say that the EOS-M is an impressive performer
And thanks @Danne for all the effort
Impressive what you are doing !
This was shot using ML Build July26 in mv1080p rewire and upscaled to 4K
Plain RAW footage
Just added some sharpness







https://youtu.be/c3vNkkTXNRU

Hey, and what lens do you on this shot
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 29, 2019, 10:43:12 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- startoff preset function to get fast into a working recording state(thanks Jip-Hop for feedback)

todo: Need help to assign a shortcut button into the preset menu. For instance select menu and open up the startoff menu by pushing INFO button. Any help here would be welcome.

Also: When assigning a startoff preset a few Crop mode menu items are modified. Exactly which check the Crop mode section before and after selecting or check in crop_rec.c code.

(https://i.postimg.cc/cJvXMDxq/VRAM0-PPM-scaled.png)

(https://i.postimg.cc/cJPTDQCv/VRAM1-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on July 29, 2019, 07:29:24 PM
Quote from: ctfire on July 29, 2019, 09:34:14 AM
Hey, and what lens do you on this shot
EOS-M
Helios 44
Schneider Cinelux ES 2x
SLR Magic Rangefinder

Rookie in motion and ML
But we need to get going anyway
Steep learning curve
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 31, 2019, 04:55:48 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Enabling kill global draw when pushing halfshutter and using framing preview while recording. Hopefully helps a little when it comes to corrupted frames

This feature is automated and will be used whenever framing preview mode is enabled. @ricardopt might wanna try anamorphic modes with this version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on July 31, 2019, 06:20:15 PM
                     @ DarkCAL

"Helios 44
Schneider Cinelux ES 2x
SLR Magic Rangefinder"

           So which of these Pieces were used in this Vid example ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 31, 2019, 09:45:54 PM
QuoteNew build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Enabling kill global draw when pushing halfshutter and using framing preview while recording. Hopefully helps a little when it comes to corrupted frames

This feature is automated and will be used whenever framing preview mode is enabled. @ricardopt might wanna try anamorphic modes with this version.

If I understood correctly, with this version, can I, even with kill global draw on, see the framing preview by pressing halfshutter while recording? That sounds really good.
I was still using the Nightly.2019.Jul05.EOSM202 version
Because I use the 4k Anamorphic Rewired mode a lot and with the halfshutter I can have a Framing preview. And when shooting with kill global draw, I avoid the pink frames and I have real time preview to be able to focus, although I have to imagine the bottom part of the frame. In addition, that firmware version gave me a lot of stability with those modes.
Here is a video testing the modes and their versatility:

Amazing how it handles noise at ISO 800. No noise reduction was applied.
All tested modes are the most stable I have found.
The best in my opinion considering: crop factor, resolution, alaising, stability, is by far 4k ANAMORPHICS REWIRED

mv1080p 1736x976 46 / 48fps MODE is the only one that gave me 2 pink frames between all the shots.

The vignette is caused by the Crop lens added to the Viltrox speedbooster: Tamron 17-50mm F / 2.8
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 31, 2019, 10:11:23 PM
Hi everyone, using the latest version as of today, selected the cinema 2.39:1 script, after the script finished i went on the the crop mode menu and recorded several videos using 2.35, 2.39 and 16:9 videos and all ofthem were pink frames free, i only previewed them om mlvapp but so far in over 20 videos none had pink frames.

i only changed the aspect ratio setting everything, all teh other settings were left as they were by default.

TOP QUALITY STUFF DANNE!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 31, 2019, 10:11:58 PM
@guerchi. It actually works as before but while pressing halfshutter it enables kill global draw. I just wanted to know if it gives some more headroom.
Also automated is kill global draw in high speed modes. 48fps really need kill global draw on.

@ricardopt
Good to hear :) They probably comes back when least expecting it ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 31, 2019, 10:29:08 PM
Quote from: Danne on July 31, 2019, 10:11:58 PM
....They probably comes back when least expecting it ;)

Keep this build locked in a safe :)  heres a quick sample of the 5k anamorphic, 16:9 aspect ratio, link expires after 7 days

https://send.firefox.com/download/eb960b5b6aa25568/#0IHJdtqHgKw7MNg4opO2Aw
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on August 01, 2019, 06:24:20 AM
Quote from: OlRivrRat on July 31, 2019, 06:20:15 PM
                     @ DarkCAL

"Helios 44
Schneider Cinelux ES 2x
SLR Magic Rangefinder"

           So which of these Pieces were used in this Vid example ?
All 3
First the Helios
Than the Schneider mounted to the Helios with a clamp
And on the front of the Schneider sits the SLR
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: shueibdahir on August 01, 2019, 08:35:19 AM
Hey, I need help with ML for EOS M. Mv1080p MCM Rewire is causing me problems with the image. There are pink horizontal lines in the center of the sensor showing up only when using MCM Rewire mode and disappears when using 2.5k/3k and 4k. Can anybody help with this?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on August 01, 2019, 04:52:30 PM
                     @ RicardoPT

       Would like to see Your 5K but My FireFox won't allow ~
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on August 01, 2019, 10:19:15 PM
Quote from: Danne on July 31, 2019, 10:11:58 PM
@guerchi. It actually works as before but while pressing halfshutter it enables kill global draw. I just wanted to know if it gives some more headroom.
Also automated is kill global draw in high speed modes. 48fps really need kill global draw on.
Thanks Danne!
I tried the latest version (fresh install) and at the beginning it was frozen 3 times while testing, having to take out the battery. But then I could record without problems and best of all without pink frames. I only have a preview in 5k Anamorphic when in the crop menu the ratio is 2:39. I run the cinema 2.39 script for that.
The optimal configuration for me at this moment is:
5k anamorphic
bitdeph: 12 Bit
Crop Mode/ratio: 2.39
Resolution: 1280x1866
Aspect Ratio: 2:1
Kill global draw always on

The quality in this mode is amazing and I am pleased with the aspect ratio, I don't miss 16:9 at all.

The difficult thing is to imagine the framing with only the top half. I am training in that by filming some neck with a little air up. :) But yes, this limitation is the only one that prevents the use for professional projects. Would an external montior help somehow? or not and could it be worse to keep pink frames away?

The Iso Climb function is very useful! can you only go up right?

And the focus aid is very useful too, I am not using it in this mode because I use the halfshutter to alternate between real-time and framing preview.

Thank you very much for all your work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 02, 2019, 08:45:02 AM
Thanks for feedback.
Resolution: 1280x1866
How´s that resolution working? Not 2.39:1 any more.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on August 02, 2019, 05:38:09 PM
Quote from: Danne on August 02, 2019, 08:45:02 AM
Thanks for feedback.
Resolution: 1280x1866
How´s that resolution working? Not 2.39:1 any more.
Yes, you are right.
I used 4k Anamorphic rewired. Without selecting any ratio in Crop Mode, bitdepth always 12bit, and I found that the setting to get the highest possible height was with the aspect ratio in 2:1 and the resolution in 1280x1820.I thing this result in a aspect ratio between 2.20:1 y 2:1. This mode turned out to be incredibly stable, I'm filming with it a low budget video clip.

Now with this latest version, thanks to cinema 2.39:1 script, I realized that I have a 5k Anamorphic preview if I select the ratio at 2:39 in Crop menu. And by selecting the same configuration as before in Raw video menu I get that resolution 1280x1866. I gain 46 pixels in height :) and so far it is also very stable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 02, 2019, 09:01:26 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 03, 2019, 12:03:43 AM
Thanks for files and demoing issues. Are you sure you have no ideas yourself here? Plenty discussed around issues in many places but well.
1 - 30fps will go hard on the cpu. If you really need it I recommend Kill global draw on. You set it in RAW video menu. Or else just run 24 or 25 fps if possible. This should fix your frame corruption.
2 - Extreme cases pointing at the sun. No good answer
3 - Flicker from train window. Looks like som highlight issue but can´t be sure. Probably something in post(Mlv App)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 03, 2019, 02:02:20 AM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on August 03, 2019, 04:45:13 PM
I came across a black sun fix in DaVinci Resolve if I remember correctly. Maybe Google that?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 03, 2019, 06:16:54 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 04, 2019, 09:52:28 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

New branch as well(Thanks to Jip-Hop):
https://bitbucket.org/Dannephoto/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_JH

- Startoff preset section reworked and replaced thanks to Jip-Hop. It´s now called Switch menu
(https://i.postimg.cc/g069mqWq/01.png)


Thanks to ml user and developer @Jip-Hop some really cool things are now working to speed up preset versatility. By setting up two Slots, Slot A and Slot B it´s possible to toggle between two predefined presets by a simple INFO push. Below presets are set per default:
(https://i.postimg.cc/gJ9CJXc9/02.png)

Slot A and Slot B are possible to modify by the way:
(https://i.postimg.cc/k4xktJD2/03.png)

So what to do with the SET button. Well , whenever using either slot a or b by pushing SET we go straight into mv1080p MCM rewired mode, so now we actually have three predefined presets within reach of INFO and SET button:
(https://i.postimg.cc/6qSZCX8v/VRAM0-PPM-scaled.png)

Ok, so once mv1080p MCM rewired or any other mv1080p mode is on SET button will also work with x3crop modes so add a few more presets cropped presets here.
Icing on the cake are the high framerate modes. Two quick pushes on the SET button will get us straight into 45/46/48 fps modes so this means we can now select almost any preset super quick. If we want the other presets just enter Crop mode sub menu normally.

Oh, and double pushing INFO button quickly will take you straight into the Switch drop down menu if you feel you need to modify or quick select something from the drop down menu.

Shortcut:
Ok, so by now you might think there´s a lot to think about so my advice if you want to learn the more pragmatic way. Install this latest build and simply push INFO button and SET button around and learn what happens. Took me five minutes to learn.

Big thank you to Jip-Hop who is working on some cool ideas so feedback and ideas are very welcome from users out there. If anyone wants to do a video tutorial on this feel free to share it...

Jip-Hop source:
https://bitbucket.org/Jip-Hop/magic-lantern/branch/crop_rec_4k_mlv_snd_isogain_1x3_presets_toggle
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: plucas on August 05, 2019, 01:19:40 AM
Hi all,

What are your best-recommended settings for the MV1080 46/48fps mode?

I'm using a recent Danne built and I start with the following base Canon settings:
24fps, 1080p

If I set ML camera to then "Kill Global Draw," let the resolution sit at 1736x976, and set the bitrate to 14-bit lossless, I get about 2.5 seconds on MV1080 46/46 and some corrupted pink frames.

I've tried to lower the resolution to 1600x900 but found that the "pink frames" increased, and when I then set it to 12-bit lossless, the whole image became corrupted.

Should I try changing the aspect ratio from 16:9 to something else to help avoid the pink frames? Or should I lower the bitrate to 10 bit? Or something else?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 05, 2019, 08:50:56 AM
It's not as hard as it seems. If you select high speed framerate from Switch menu and set ratio to 2.39:1 kill global draw will be applied automatically.
If you set parameters from Crop mode sub menu select your preset then set bitdepth to 10bit and ratio to 2.39:1.

As this is a workaround you should always stay in 14bitlossless under RAW video menu. Then select 10bit in Crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: plucas on August 05, 2019, 09:03:51 AM
This could be really helpful. I'm going to try it. Thanks Danne.

And thanks for your work and the great EOS M builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 05, 2019, 11:01:26 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

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

- Jip-Hop finalized autoenabling modules on installing magic lantern

Would be great getting feedback on the button shortcuts published here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg219475#msg219475

cons and pros, is all working etc? Much changed so let´s not miss anything...

EDIT: Missed to update preset index in Switch menu. Fixed. New version is up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 06, 2019, 06:56:41 PM
I now played around with the new switch menu, but I must say this is overkill.
Normally I switch the preset once a day or even less. Now all those important HW-buttons just toggle between presets, what I normally never do when recording scenes.
Also having another whole new screen... why? I have to scroll through the whole ML menu to get there, or use the INFO button... therefor I have no chance anymore to get into the shortcut Canon menu (normal use of INFO button). Having the presets in this small menu under crop mode, beeing able to call it with a few clicks was more sexy IMO. So, nice idea, but I prefer the july 31 build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 06, 2019, 07:20:16 PM
Hi, I can't record with 1280x1866 sound in any way in 4k anamorphic and 24 frames 12 bits uncompressed, what should I do? thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 06, 2019, 08:04:20 PM
Quote from: rinski on August 06, 2019, 07:20:16 PM
Hi, I can't record with 1280x1866 sound in any way in 4k anamorphic and 24 frames 12 bits uncompressed, what should I do? thank you.
Borrow my camera, works over here. At least presets set to 12bit and crop mode ratios to what´s in Crop mode sub menu. I don´t mix with RAW video ratios.
Also, some more info would be welcome here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 06, 2019, 08:45:56 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Original branch

- Various bug fixes. Cherry picked stuff coming from Jip-Hop
- Autoenables modules on install and starts in mcm rewired mv1080p 16:9 preset
- This version kept startoff preset menu in Crop mode sub menu
- Fixed a long time bug which sometimes recorded wrong white level when changing presets
- isoclimb working while recording

Quote from: masc on August 06, 2019, 06:56:41 PM
I now played around with the new switch menu, but I must say this is overkill.
Normally I switch the preset once a day or even less. Now all those important HW-buttons just toggle between presets, what I normally never do when recording scenes.
Also having another whole new screen... why? I have to scroll through the whole ML menu to get there, or use the INFO button... therefor I have no chance anymore to get into the shortcut Canon menu (normal use of INFO button). Having the presets in this small menu under crop mode, beeing able to call it with a few clicks was more sexy IMO. So, nice idea, but I prefer the july 31 build.
I think it´s ok for now to keep two versions. The one in this post is a bit more modest and then we can focus on some more experimental progressive stuff that Jip-Hop is working on.
Long story short. Mainly using the reassignment button build from Jip-Hop gives fast acces to a number of presets. Some shooters use a lot of presets and then this will be very handy. Run and gun stuff etc. The other branch has it all but it will take some more preparing time to change presets so this will probably work for most users.

Regarding the longwalk into the Switch menu. It´s not easy to get into a deep submenu with one or two buttonpresses so this is  a workaround getting that to work. I agree all should be coming from Crop mode sub menu so let´s hope for some progress in that direction soon...

Thanks for the feedback.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 06, 2019, 09:33:31 PM
New builds:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Both versions updated:

- Iso climb feature now works both increasing iso(up) and decreasing(down) by pushing, yes of course, either up or down buttons. Also enabled while recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Dmytro_ua on August 06, 2019, 09:47:54 PM
Danne, is there a possibility to add this "experimental" preset button to 5d3 branch?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 06, 2019, 09:57:12 PM
Yes it is. Only needs some time and tinkering. Maybe Jip-Hop could prep a build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 06, 2019, 10:23:46 PM
Yay... now climbISO is really cool!

@Jip-Hop: I hope you're not sad about my words... I think it is really cool that someone else spends time and brings new features! There will be many users who like what you did! ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 06, 2019, 11:40:43 PM
Yeah, iso feature works nicely. Could work with auto iso too. When recording we could make use of the buttons the same as with static iso. Auto iso while recording isn´t working right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on August 09, 2019, 09:09:37 AM
Been using the mcm rewire mode but getting a ton of aliasing. I was told to use an anamorphic mode instead and I'm blow away. I ran the 2:39:1 script to help me select the settings and footage came out great.

Do you know what resolution / settings I can change to achieve footage like this though? (black bars on side rather than top and bottom)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 09, 2019, 09:24:08 AM
Black bars or changing ratio? Seems more like 16:9, you can select this in Crop mode sub menu under ratios.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 09, 2019, 12:09:23 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Addressing this(thanks Veerle for reports and a1ex for pointers):
https://www.magiclantern.fm/forum/index.php?topic=9741.msg219439#msg219439

Commits:
https://bitbucket.org/Dannephoto/magic-lantern/commits/e52c3acab4d6cf685997a04d534438a8e541f81d
https://bitbucket.org/Dannephoto/magic-lantern/commits/172284f6166b84f6996c089eb4b7b291fcb6a1b0

- Highlight issue(black dot in sun) fixed
- Fast shutter speed handling mcm rewired 24fps fixed
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on August 09, 2019, 08:36:03 PM
wow, that's a nice fix :)  Shame BMD never could in earlier cameras. lol although to be fair, there are other cinema cameras plagued with it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on August 09, 2019, 08:41:43 PM
Hey all, I'm a relatively new user. Last time I had ML was on a 550d 6 years ago, and I must say, the M is really surprising me thanks to the hard work that's one into it. Thank you all so much!

I do have just one question though, is it possible to adjust aperture with the scroll wheel? At the moment, when I turn it, I'm changing the shutter speed, but ideally, I'd like to set that on one speed and leave it there forever (1/50) So the wheel could be put to better use on the aperture, which has more of a meaningful manipulation on your footage.

Hopefully I'm just missing the setting, but if not, Danne, is that something that could be added?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 09, 2019, 09:16:51 PM
Yay... black sun behaviour is way better now. But something minor thing still happens. No problem to get it invisible, but anyway intersting: what happens here?! When lowering highlights I get a "pink sun" now. Lowering RAW White Level does not really help here - the pink is a little different from the "Pink highlights". (Just don't lower highlights and the pink sun is away again.) Here, a lamp, you see the little pink dot.
(https://i.ibb.co/PZ627PK/Bildschirmfoto-2019-08-09-um-21-13-04.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 09, 2019, 09:28:17 PM
Haha, always the pink.
Well maybe cmos 4 can be tweaked to fix even this?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 09, 2019, 09:37:29 PM
Quote from: ngemu on August 09, 2019, 09:09:37 AM
Been using the mcm rewire mode but getting a ton of aliasing. I was told to use an anamorphic mode instead and I'm blow away. I ran the 2:39:1 script to help me select the settings and footage came out great.

Do you know what resolution / settings I can change to achieve footage like this though? (black bars on side rather than top and bottom)


That is my footage, missed your question on yt.. It is shot in 1.66:1, great aspect ratio imo..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 10:35:30 AM
ello, I would like to ask for help I don't know how to fix the double split and flickering image on the back with 4k rewired 1120x1890 12 bits.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 10, 2019, 11:36:00 AM
Please do a recording of what you do. Description is not easy to understand.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 12:32:13 PM
img
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 12:41:37 PM
Hi, I can't insert an image, only the upper half records me and the lower half is distorted and blinking.(//)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 10, 2019, 01:03:45 PM
Sorry. Need more info. Maybe upload to dropbox or similar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 01:55:30 PM
[email protected]
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 10, 2019, 02:03:03 PM
?
Look. Looking in my crystal ball. Do following:
1 - set RAW video to 14bit-lossless
2 - in Crop mode sub menu set 10bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 02:03:44 PM
I'm a novice at this and find no other way to share the captures o the problem.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 10, 2019, 02:13:13 PM
Thank you so much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on August 10, 2019, 05:52:52 PM
Quote from: ngemu on August 09, 2019, 09:09:37 AM
Do you know what resolution / settings I can change to achieve footage like this though? (black bars on side rather than top and bottom)

you can do it on your video editor, after exporting the video with MLVAPP load it into your video editor and then decrease the width of the video and the black bars will show up, tweak the width value to your liking.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 10, 2019, 06:07:54 PM
Quote from: ricardopt on August 10, 2019, 05:52:52 PM
you can do it on your video editor, after exporting the video with MLVAPP load it into your video editor and then decrease the width of the video and the black bars will show up, tweak the width value to your liking.

Or you just shoot in 1.66:1
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on August 10, 2019, 06:11:06 PM
How can I change aperture without going into the ML menus? The scroll wheel defaults to shutter speed, which I don't want to change. (my up and right buttons don't work which is annoying and probably the way to switch modes - if it is, can I reprogram which button can change aperture?)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on August 10, 2019, 06:16:23 PM
Quote from: henricusmaria on August 10, 2019, 06:07:54 PM
Or you just shoot in 1.66:1

Sorry for prolonging the off topic... the way i described offers more "room" to play with the width of the black bars.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 10, 2019, 06:25:36 PM
Quote from: ricardopt on August 10, 2019, 06:16:23 PM
Sorry for prolonging the off topic... the way i described offers more "room" to play with the width of the black bars.

I just think it is (far) better to decide beforehand in what aspect ratio you will be filming. And not alter the image afterwards to make it more or less "cinematic".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on August 10, 2019, 09:40:24 PM
Any way to fix the rolling shutter in 3k mode. Even if I set the resolution to 2500 x 1080 in 3k the rolling shutter is twice as bad as in 2.5k mode. would like to use 2.7k
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 11, 2019, 04:05:41 AM
Quote from: Anaconda_ on August 10, 2019, 06:11:06 PM
How can I change aperture without going into the ML menus?

*Press the "info" button until the EOS M Dashboard Appears. Adjust the F-Stop from there on the right side of the Shutter Speed. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 11, 2019, 09:29:53 AM
Or just push right button once and you're in f-stop mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 11, 2019, 09:59:24 AM
This is what happens when you mess around with vintage lenses for "too long" :P
The latest builds are working nicely by the way on the M and can't believe how far this camera has come compared to the other ML Cameras out there. Haven't encountered any issues yet on the latest build, though will keep an eye out. Thanks a lot :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on August 11, 2019, 12:38:04 PM
Quote from: Danne on August 11, 2019, 09:29:53 AM
Or just push right button once and you're in f-stop mode.

Thanks Danne, but as I noted, my up and right buttons aren't working. I guess I'll stick with the INFO route, at the expense of losing multiple LV presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 11, 2019, 12:49:25 PM
Push right then use scroll wheel. Works here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on August 11, 2019, 12:57:15 PM
Quote from: Danne on August 11, 2019, 12:49:25 PM
Push right then use scroll wheel. Works here.

I'm sure it does, but my right and up buttons do not work.  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 11, 2019, 01:34:35 PM
Aha, broken completely :)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 11, 2019, 01:45:22 PM
I have the same issue on my black EOS M...
The up and right button don't  work when pressed. Thankfully the wheel does. It's a common issue with some EOS M Cameras.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 11, 2019, 02:38:06 PM
Anyone has issues with 'wobbling' vertical lines in the anamorphic modes? What can be done about it?

https://www.youtube.com/watch?v=NXo9vvASRKI&feature=youtu.be
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on August 11, 2019, 02:52:43 PM
Quote from: Danne on August 11, 2019, 01:34:35 PM
Aha, broken completely :)?

Yeah, they click but dont do anything. So far I've been able to work around it, especially as I've been using FD lenses. I just picked up the Viltrox booster and realised I cant adjust aperture as easily as I expected.

Quote from: ZEEK on August 11, 2019, 01:45:22 PM
I have the same issue on my black EOS M...
The up and right button don't  work when pressed. Thankfully the wheel does. It's a common issue with some EOS M Cameras.

Mine is also the black one. Thanks for your INFO tips though!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lurker on August 11, 2019, 11:29:55 PM
Hello, I'm using the 8/9/19 build and it seems I am only able to shoot in ISO 100 in crop mode mv 1080p MCM rewire (changing the ISO in video mode seems to do nothing).  I tried playing around with the bit dept, but can't seem to figure it out.  Sorry if this has already been answered (I tired searching for it).  First time poster, long time lurker.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on August 12, 2019, 02:53:19 AM
anyone experience odd effects when setting to 9bit or 8bit? video became very pixelated. I don't believe should be so bad.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on August 12, 2019, 05:40:49 AM
Quote from: Anaconda_ on August 11, 2019, 02:52:43 PM
I just picked up the Viltrox booster and realised I cant adjust aperture as easily as I expected.
the button with the expo icon, the right of the wheel, toggle between shutter and aperture, At least in my camera, and with blocking the shutter speed change from the ML menu, you can't go wrong!

Today I had a shooting day with the eos M. Good shots in 5k anamorphic to film semi blind. Pink frames free! It seems we left them behind! Thanks Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 12, 2019, 07:23:42 AM
Quote from: lurker on August 11, 2019, 11:29:55 PM
Hello, I'm using the 8/9/19 build and it seems I am only able to shoot in ISO 100 in crop mode mv 1080p MCM rewire (changing the ISO in video mode seems to do nothing).  I tried playing around with the bit dept, but can't seem to figure it out.  Sorry if this has already been answered (I tired searching for it).  First time poster, long time lurker.

It is because you have "Iso climb" on in crop mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lurker on August 12, 2019, 09:01:35 AM
Quote from: henricusmaria on August 12, 2019, 07:23:42 AM
It is because you have "Iso climb" on in crop mode.

Thank you very much. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on August 12, 2019, 11:48:58 AM
Bug warning. What happens with this latest version, I can't get it started. Once started I see half of the screen, I enter the menu to change something but all menus are locked and I have to disconnect the battery. Photos and logs

https://photos.app.goo.gl/DpTB9eEjeYtR7rXL7

SSERT: !IS_ERROR(semErr)
at ./EekoApp/Color/WB/LV/LvWbAlgorWrap.c:522, CLR_CALC:ff41d49c
lv:1 mode:3

CLR_CALC stack: 1b8368 [1b84d8-1b44d8]
0xUNKNOWN  @ c380:1b84d0
0xUNKNOWN  @ 22194:1b84a8
0x00021E8C @ ff0fb064:1b8490
0xUNKNOWN  @ 21ebc:1b8480
0xUNKNOWN  @ 21f44:1b8460
0xFF41CF50 @ ff272c78:1b8448
0x00001900 @ ff41d498:1b83a0
0x0009E558 @ 9e864:1b8368

Magic Lantern version : Nightly.2019Aug09.EOSM202
Mercurial changeset   : e52c3acab4d6 (crop_rec_4k_mlv_snd_isogain_1x3_presets) tip
Built on 2019-08-09 10:06:50 UTC by daniel@Daniels-MBP.
Free Memory  : 210K + 1890K
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 12, 2019, 11:58:23 AM
Reinstall? I can´t reproduce and from pictures it seems you actually started camera?
Also try disable histogram etc and see if that could be causing something? Need more info.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on August 12, 2019, 05:09:48 PM
I reinstalled, the problem show up only when I enable 5k
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 12, 2019, 05:12:09 PM
Well, I need a way to reproduce this issue. Steps described in detail.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on August 12, 2019, 05:21:50 PM
Quote from: marcelolippi on August 12, 2019, 05:09:48 PM
I reinstalled, the problem show up only when I enable 5k

I had a similar problem as in the Canon menu I had set 1280x720 for the movie.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 12, 2019, 05:48:28 PM

Hello, I would like to know how with the mlv app you can export the 4x anamorphic 1x3 by recovering the grouped columns, in the davinci resolve cinemadng, so as not to keep the grouping with compressed image in the center.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on August 12, 2019, 06:56:08 PM
Quote from: Danne on August 12, 2019, 05:12:09 PM
Well, I need a way to reproduce this issue. Steps described in detail.
Few minutes
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ygadinthesix on August 12, 2019, 09:19:36 PM
Hi Everyone!

I'm using my Canon EOS M more and more for stills, and I've run into the problem that when I go into burst mode, the camera freezes up.

I'm using a slightly older version of the Danne Build (July 31), and a Sandish Extreme Pro 95MB/s SD Card.

Is my card too slow or is there something in the settings that I haven't accounted for. I've spent more time in video mode the last few months, so I'm not sure if there's something special about picture mode I'm missing. I have the SD Overlock thingy activated.

The pictures it takes are beautiful, but the inability to predict when it will freeze is proving to be a challenge.

Any ideas?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: walter_schulz on August 12, 2019, 09:47:30 PM
I'm not sure what you expect.

Burst mode for EOS M is 4.3 images per second. I suppose you are shooting RAW. Because of compression RAW sizes differ between (about) 22 and 33 MByte. There is no chance you can use burst continuously. Basic math IMO.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on August 12, 2019, 09:59:41 PM
Quote from: Danne on August 12, 2019, 05:12:09 PM
Well, I need a way to reproduce this issue. Steps described in detail.

Sorry Danne, not to find a sequence that reproduces the error. Initially it seemed to be 5k and 4k resolutions but changing the resolution the problem disappeared. Instead, by changing the resolutions to test them, I get to a "freeze" without any operating buttons and I have to remove the batteries. Unfortunately I can't say anything else at the moment.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 12, 2019, 10:08:41 PM
Changing resolutions how? If you get a reproducable freeze we have something look at here, otherwise it´s just normal buggy eosm behaviour ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on August 12, 2019, 10:41:58 PM
Quote from: rinski on August 12, 2019, 05:48:28 PM
Hello, I would like to know how with the mlv app you can export the 4x anamorphic 1x3 by recovering the grouped columns, in the davinci resolve cinemadng, so as not to keep the grouping with compressed image in the center.
Thank you.

It's not recovering anything , it's only stretch the image (see the Transformation tab in MLVApp) , you can stretch it in Davinci Resolve too .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 13, 2019, 12:48:06 AM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 13, 2019, 01:07:46 AM
Best would be to use the latest Danne builds which don't have this issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 13, 2019, 01:48:36 AM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 13, 2019, 08:14:00 AM
Where is that document about how to report bugs someone?
I really need some deeper info around any bug reported. For instance. Most often it has to be reproduced or how else can we try and fix?
If you tested around and safely know how to reproduce the bug then tell me canon settings, especially around focus. Then maybe do a short screenrecording publish your exact settings used, preset and so on...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on August 13, 2019, 12:15:47 PM
Quote from: Danne on August 12, 2019, 10:08:41 PM
Changing resolutions how? If you get a reproducable freeze we have something look at here, otherwise it´s just normal buggy eosm behaviour ;)

nothing to do, this latest version, July 9th, in my eos m is completely crazy
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 13, 2019, 12:51:17 PM
Quote from: marcelolippi on August 13, 2019, 12:15:47 PM
nothing to do
Couldn't agree more...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 13, 2019, 01:16:37 PM
Quote from: Veerle on August 13, 2019, 01:48:36 AM
09 aug build is the latest build

Yes, sorry that's correct...hmm, just haven't experienced this issue with the build. Focus aid (Default Mode) works perfectly when the shutter is half-pressed or even if you hold the left wheel button.
Just ensure all the correct modules are enabled, otherwise uninstall ML, format the card in the camera and install it again..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 13, 2019, 05:52:33 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: walter_schulz on August 13, 2019, 06:24:25 PM
What is "above" to you? Faster or slower? Does it happen in movie (which Canon movie mode selected?) or/and still mode?
Have you already tested to reset ML to defaults and retried?

Please! Keep in mind offering a way to reproduce your error step by step! With info as given above it is just guesswork.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on August 13, 2019, 07:01:04 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: walter_schulz on August 13, 2019, 07:02:16 PM
Again: Have you already tested to reset ML to defaults and retried?
Again: In which Canon mode are you? 720p50/60, 1080p24/25/30?

Does it happen starting without ML, too?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 13, 2019, 07:27:26 PM
Hello, does anyone know how to get horizontal lines that don't oscillate from top to bottom as interferences, after stretching the image?
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 13, 2019, 07:59:57 PM
Troll...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on August 14, 2019, 07:53:51 AM
I recorded this image in 8 bit. anyone know what I'm doing wrong. don't think should be so bad.

https://we.tl/t-lNtzjZhSwo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 14, 2019, 05:12:05 PM
Hello, please could you tell me how to decrease the horizontal oscillation of lines after stretching 4k 1x3
1280x1866, 24 frames thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 14, 2019, 05:17:18 PM
Why don't you show a picture or MLV with your problem? Never saw oscillating lines in a clip...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 14, 2019, 05:47:33 PM
Are small yellowish undulations in horizontal oscillating, can it be because of the frames?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on August 17, 2019, 03:20:01 AM
hi! made some test videos yesterday and made footage to test black sun issue, found that it not gone, there is some gray colors, that turn to pink if you try to move highlights even few steps down.
there's video about issue to show you what i mean
august 09 build, raw mcm rewire, 14 bit lossless
https://youtu.be/3jTvtAewCyo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 17, 2019, 03:44:05 AM
Quote from: kuchka94 on August 17, 2019, 03:20:01 AM
hi! made some test videos yesterday and made footage to test black sun issue, found that it not gone, there is some gray colors, that turn to pink if you try to move highlights even few steps down.
there's video about issue to show you what i mean
august 09 build, raw mcm rewire, 14 bit lossless
Well, could you upload a sample file? Also, is this happening in for instance ACR? Did you compare other NLE;s?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on August 17, 2019, 11:10:43 AM
Quote from: Danne on August 17, 2019, 03:44:05 AM
Well, could you upload a sample file? Also, is this happening in for instance ACR? Did you compare other NLE;s?
sorry, can't understand meaning of ACR and NLE with my english)))
uploaded 3 mlv files, all of them have same issue, so i think in every footage with direct sun it can appear.
https://drive.google.com/open?id=1YT88ZvEZdTb7PB6Z-C5Rt4lyiEzUP2hX
https://drive.google.com/open?id=17ImK5GuA-LCBS48zpiBsbli1e-FfAg9n
https://drive.google.com/open?id=13s0fGs5W2E_bSuRolxJLYuw2iLVAqpPG
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 17, 2019, 11:26:54 AM
Ok, did some fast testing. Set white level to 14000 on Mlv App. It´s now 16200. This issue also appears in acr(adobe raw engine).
So these shots are done under iso 100. Is this problem also happening in iso 200 or iso 400? Might be the same issue as described here:
http://www.magiclantern.fm/forum/index.php?topic=16040.msg191131#msg191131

By the way. is 16200 a good default value for eosm? I probably should know this but if anyone can find a more correct white level default please tell...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: walter_schulz on August 17, 2019, 11:35:54 AM
Quote from: kuchka94 on August 17, 2019, 11:10:43 AM
sorry, can't understand meaning of ACR and NLE with my english)))

Adobe Camera Raw: Raw converter used by Adobe. Embedded in Lightroom, too.
Non-Linear Editing system (https://en.wikipedia.org/wiki/Non-linear_editing_system)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 17, 2019, 12:17:52 PM
Quote from: Danne on August 17, 2019, 11:26:54 AM
is 16200 a good default value for eosm?

16200 for almost all cases is absolutely fine! The EOS M has only a RAW Dynamic Range of 11.2 EV, so pushing it around a lot won't help. My 6D has 12.1 EV and doesn't suffer much from these issues as the DR allows for better highlight/shadow recovery.
An ND Filter & good exposure is the key here to somewhat avoid these pink highlights and a bit of tweaking with the highlights and white levels in MLV App to which I have found 14444 or 15000 to be my go-to, although not always the best options.
Attempting to recover blown-out highlights is going to cause some issues, especially with a camera that has decent dynamic range, although good enough for most cases.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 17, 2019, 12:41:25 PM
For 100D safety margin is 13400 and for the rest isos 15200. I will eventually put in 15200. Would like to differ iso 100 to 13400 but my iso_climb function and other anomalies will make it better for an overall 15400 white level in 14 bit:
#if defined(CONFIG_100D) || defined(CONFIG_700D) || defined(CONFIG_EOSM) /* other models? */
    /* http://www.magiclantern.fm/forum/index.php?topic=16040.msg191131#msg191131 */
    /* 100 units below measured value = about 0.01 EV */
    /* due to iso_climb routines this value has to be set to a compromise */
     default_white = 15200;
   // default_white = (lens_info.raw_iso == ISO_100) ? 13400 : 15200;
#endif
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 17, 2019, 12:48:06 PM
Thanks Danne. Yeah, a default White Level of 15200/15400 would help. The ISO climb function is genius.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 17, 2019, 03:29:42 PM
Quote from: Danne on August 17, 2019, 11:26:54 AM
By the way. is 16200 a good default value for eosm? I probably should know this but if anyone can find a more correct white level default please tell...
From my experiments most stable were 12 bits with white leve because it wasnt jumping to different values from clip to clipl, its 5138 for me,  i have to dial it manually in MLVApp , in 10 bits white level jumped to different value between clips from the same shoot , it was not one number most of the time, with 14bits i did not test this extensively so i settled for 12.
Tested this with highligt reconstruct and adjusted white level until i had it reconstructed without pink or magenta shift of pure white.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on August 20, 2019, 01:36:12 AM
made tests for different iso, 100-800, on direct sun.
in every shoot black sun problem appears with white level 16200.
white level 13500 solve everything in every shoot.
for another shoots without sun white level 16200 is good.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Fadis on August 20, 2019, 05:53:47 PM
Good day to all.
I am very glad that I have such a good camera,   such a tiny size with 22mm!
I have one question - I can not achieve long, stable video recording (especially with a bright day or room) in the 1080p\rewire\14bit to the Samsung EVO 2 128g card. Are there any  settings that affect the stability of recording to the card without sacrificing quality?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 20, 2019, 06:24:50 PM
12bit, turn on kill global draw.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 20, 2019, 07:45:09 PM
Hello, please could you guide me how to decrease the 4 or 5 lines of small red horizontal dots that come out permanently after recording 4k anamorphic 1280x1866 1x3 12 bits in clipping, 2.39 format.
Thank you very much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 20, 2019, 08:25:40 PM
https://www.magiclantern.fm/forum/index.php?topic=9741.msg219832#msg219832
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Naviddabest on August 21, 2019, 12:26:19 AM
Quote from: Fadis on August 20, 2019, 05:53:47 PM
Good day to all.
I am very glad that I have such a good camera,   such a tiny size with 22mm!
I have one question - I can not achieve long, stable video recording (especially with a bright day or room) in the 1080p\rewire\14bit to the Samsung EVO 2 128g card. Are there any  settings that affect the stability of recording to the card without sacrificing quality?

i used to use the samsung evo plus 128gb the faster model there is 2 versions apparently. and at times i got upto 45MBps it was not stable at all somethings did help such as using the card warmup, using prerecord and using a differnet sd apapter as mine was a micro sd. anyways best advice just get the sandisk extreme pro. the annoying thing for me was that i bought the evo plus specifically for ML as my research showed it was "good enough" but i guess i was wrong.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on August 21, 2019, 06:01:27 AM
Quote from: Naviddabest on August 21, 2019, 12:26:19 AM
i used to use the samsung evo plus 128gb the faster model there is 2 versions apparently. and at times i got upto 45MBps it was not stable at all somethings did help such as using the card warmup, using prerecord and using a differnet sd apapter as mine was a micro sd. anyways best advice just get the sandisk extreme pro. the annoying thing for me was that i bought the evo plus specifically for ML as my research showed it was "good enough" but i guess i was wrong.

https://www.magiclantern.fm/forum/index.php?topic=12862.msg208719#msg208719
https://www.magiclantern.fm/forum/index.php?topic=12862.msg201519#msg201519
https://www.magiclantern.fm/forum/index.php?topic=12862.msg201547#msg201547
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Fadis on August 21, 2019, 08:05:31 PM
Quote from: yokashin on August 21, 2019, 06:01:27 AM
https://www.magiclantern.fm/forum/index.php?topic=12862.msg208719#msg208719
https://www.magiclantern.fm/forum/index.php?topic=12862.msg201519#msg201519
https://www.magiclantern.fm/forum/index.php?topic=12862.msg201547#msg201547

I am using MB-MC128GA. The card is fast enough, recording in the card reader is about 83 megabytes per second, but for some reason the recording is interrupted periodically in bright light. This is especially aggravated when the memory card is full more than 70 percent.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: walter_schulz on August 21, 2019, 08:14:17 PM
File system used: exFAT or FAT32?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Fadis on August 21, 2019, 09:08:10 PM
Quote from: walter_schulz on August 21, 2019, 08:14:17 PM
File system used: exFAT or FAT32?

exFAT
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on August 22, 2019, 11:02:02 PM
Can someone tell me how to activate a 3k setting in mv_lite without using crop_rec. I have noticed a conflict between the two when shooting in reduced bit rates.

Would I have to do it with a Lua script as that is how I activate 2.5k now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Hmm on August 23, 2019, 07:30:42 AM
Hello everyone, I have the same problem as Fadis, same samsung 128gb, exfat. On my PC it gives very good read/write speeds but on EOSM it's very unstable and typically gives about 25mb/s.
BUT, if I reformat this card in camera then I get stable max possible speed for EOSM. What's the reason for this to happen? Why formatting helps, but after some short time card starts underperforming? Even tho on PC speeds are stable all time.

This is my old post https://www.magiclantern.fm/forum/index.php?topic=9741.msg211051#msg211051
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on August 23, 2019, 01:16:34 PM
Quote from: lightspeed on August 22, 2019, 11:02:02 PM
Can someone tell me how to activate a 3k setting in mv_lite without using crop_rec. I have noticed a conflict between the two when shooting in reduced bit rates.

Would I have to do it with a Lua script as that is how I activate 2.5k now.

It would be nice if more scripts were included in that menu with various working settings at different resolutions, crop modes, or aspect ratios. It would definitely make the camera easier to use, especially with my peanut brain.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DarkCAL on August 26, 2019, 12:23:38 AM
@Hmm Guess that's why we all use the Sandisk Extreme Pro SD card just because of the issues you're having right now
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on August 26, 2019, 08:10:18 AM
Quote from: Hmm on August 23, 2019, 07:30:42 AM
Hello everyone, I have the same problem as Fadis, same samsung 128gb, exfat. On my PC it gives very good read/write speeds but on EOSM it's very unstable and typically gives about 25mb/s.
BUT, if I reformat this card in camera then I get stable max possible speed for EOSM. What's the reason for this to happen? Why formatting helps, but after some short time card starts underperforming? Even tho on PC speeds are stable all time.

This is my old post https://www.magiclantern.fm/forum/index.php?topic=9741.msg211051#msg211051


Why You Shouldn't Use MicroSD Cards In DSLR Or Mirrorless Cameras
https://www.howtogeek.com/398225/why-you-shouldnt-use-microsd-cards-in-dslr-or-mirrorless-cameras/

"This is an interesting subject, and I started digging into the SD protocol a little bit to figure out why his is happening.

One thing I've discovered is that the SD interface is a serial interface, but with a twist. Devices can use one or four wires for data. The choice of single-wire SPI vs 4-wire transfer obviously is going to make a huge difference in transfer speed. It's possible that the SD adapter you were using didn't have all of the wires connected, or there was a defect in the card, leaving a wire disconnected and causing the camera to fall back to 1-wire SPI.

A little reading on this article has also illustrated that a high number of I/O operations per second and fast sustained throughput are not the same thing, and cards can be optimized for one or the other.

Finally, I looked up the SD protocol, just to see if there's a limitation in µSD cards that I'm not aware of. Electrically, the only difference seems to be that SD cards have two ground pins, while µSD only has one.

Finally, just for fun, I opened up one of my µSD adapters to see what's inside. It's entirely a passive adapter, with no circuits or electronics - just flat, metal traces connecting the pads on the SD plug to the pins on the µSD socket.

It's possible the bridge connecting the two VSS pins (notice it up at the top) might be causing issues with the CLK or VCC line, but since VCC is the power supply and CLK is the clock, a short on either one of those would cause the card to fail a lot more spectacularly, so I don't think that's the issue."

(https://discuss.howtogeek.com/uploads/default/optimized/3X/f/3/f3af7e19a7dcf2790bceac4f718230270d4a5093_1_410x500.jpeg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 27, 2019, 01:43:00 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

branch:
https://bitbucket.org/Dannephoto/magic-lantern_jip-hop/branch/crop_rec_4k_mlv_snd_raw_only

Been working hard with Jip-Hop to refine presets and all around movie handling approaching the eosm more like a movie cam. Some of the things done recently:

- reworked Movie tab menu(Jip-Hop)
- fast preset access by simply tapping display
- corruption free 4k anamorphic modes(slightly reduced height in raw.c)
- shutter coherency. Same shutter across all presets(fixed a bug introduced by myself)
- Movie Restart for raw recordings(Jip-Hop)
- autoenabling modules(refined by Jip-Hop)
- gain buttons up for higher iso. push down for lower iso, also working while recording
- aperture + ISO(up/down buttons will open or close aperture when max/min iso is reached)(Jip-Hop)
- h264 mov preset, working with x3 digital gain(SET button) and gain buttons(up/down)
- toggling between photo and movie mode working better

Upon install buttons will be reassigned as follows:
SET x3 crop and back to x1.6 mode
Up/Down gain increasing/decreasing(iso)
Tap display startoff preset list
Halfshutter press x10 zoom aid(release for normal view)

For newcomers and for people who just wants to get down to recording do following:
1 - Install above build onto your eosm and start film. Camera will be set to mv1080p 2.39:1 24 fps
Or...
2 - Set your camera into manual focus mode and tap your display to get into the fast access preset list:

Select a preset after tapping your display. Done!:
(https://i.postimg.cc/vBKbCF5x/VRAM10-PPM-scaled.png)

Reworked Movie tab menu(thanks Jip-Hop):
(https://i.postimg.cc/X7CYSJHj/VRAM0-PPM-scaled.png)

Movie Restart feature(thanks Jip-Hop)
(https://i.postimg.cc/kgNMGHPL/VRAM2-PPM-scaled.png)

customize buttons:
(https://i.postimg.cc/cJXsM8Hm/VRAM7-PPM-scaled.png)

h264 mov. Select it from tap display options:
(https://i.postimg.cc/YjKkq6np/VRAM6-PPM-scaled.png)

Missing 3K, 4K? Still there. Reach them by tapping "presets" from Movie tab section:
(https://i.postimg.cc/FK9rLx9z/VRAM4-PPM-scaled.png)

cine 2.39:1 script still there(refined by Jip-Hop)
(https://i.postimg.cc/4yhsgL1L/VRAM9-PPM-scaled.png)

Enjoy hard open source work!

As always greatful for a1ex sharing his architectural magic lantern code work. Of course g3gg0 and others not mentioned too...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on August 27, 2019, 02:03:39 PM
My highest commendation  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 28, 2019, 08:34:56 PM
Thanks Danne and Jip-Hop!

That Gain/Aperture adjustment is sweet!

Edit: just tried the Gain/Aperture adustment, when I press down I come into the Canon iso menu. What am I doing wrong?
Also when enabling AF, autofocus doesn't work that great anymore in mcmrewire mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on August 29, 2019, 02:27:08 AM
Bless you both!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 29, 2019, 03:11:38 PM
New upload:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fixed a bug around auto iso. It should also handle x10 zoom aid better now.

EDIT: Yet another small bugfix...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on August 30, 2019, 08:00:05 AM
Quote from: henricusmaria on August 28, 2019, 08:34:56 PM
Thanks Danne and Jip-Hop!

That Gain/Aperture adjustment is sweet!

Edit: just tried the Gain/Aperture adustment, when I press down I come into the Canon iso menu. What am I doing wrong?
Also when enabling AF, autofocus doesn't work that great anymore in mcmrewire mode.

Can you check if you have set the down button to ISO setting in Canon menu? I think that setting is in the yellow menu somewhere.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dnr on August 30, 2019, 01:40:10 PM
Sorry, if I'm too blind or too stupid to find it, but is there any way to use half-shutter to start/stop recording in Aug30, as in the previous builds?
I found "Rec trigger" in the raw video settings, but that seems to be only for start/pause within a clip.
I did turn off focus aid within the customized buttons, so I think it doesn't interfer with that.
The reason why I need that function is quite simple; my REC button doesn't work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on August 30, 2019, 03:06:30 PM
That's some nice work Danne and Jip-Hop. Thanks. Can't wait to get a EOS M to play with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 30, 2019, 03:20:26 PM
Cool @Luther. And thanks others posting about testing and so on. All reports ar of value. Good and bads.

Uploaded a new build containing preset shortcuts. Goes like this:
Hold halfshutter(usually this gets you into x10 zoom) Now also tap display and it selects either to 4k anamorphic or 2.5k mode depending on what is set already. Release halfshutter button and it changes preset.
Next shortcut:
Hold halfshutter and also push SET(short push) Gets you into mcm rewired mode or higher fps mode depending on what is set already. Release halfshutter button and it changes preset.

Also centred 4k modes...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 30, 2019, 05:48:44 PM
Quote from: Jip-Hop on August 30, 2019, 08:00:05 AM
Can you check if you have set the down button to ISO setting in Canon menu? I think that setting is in the yellow menu somewhere.

Thanks, that's working now!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on August 30, 2019, 07:25:36 PM
Hello, could someone inform me how to overcome the 1836 rows of high in anamorphic 4k or 5k 10 bits 2.39 proportion, cut 16.9, I have the card estreme pro 95 mbs, in the previous versions alcazaba 1866 and I do not know how to approach the 2000 high as I saw in some video.
Downloading the file 1736x1916 and this file as it is installed in the camera? like the other 3 files of the ML firmware?
Thank you.

Translated with www.DeepL.com/Translator
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 30, 2019, 09:30:55 PM
Great work with the new Movie tab! First it is so different, but then it is so much easier than before! ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 30, 2019, 09:38:28 PM
You'll get used to it ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 31, 2019, 12:20:15 AM
I dont know about it, i get weird stuff happening, locking up, like half shutter magic zoom not working, then 3x crop not wantring to switch off, i feel like this new functionality will scare some people off, it scares me off and i just prefere to downgrade.
I dont know how others feel, i was in more control in previous builds and now im forced to use these new auto modes, i would prefere to have them somewhere as an option and not having to use them as default.2 fingers press doesnt work and i accidentally go to ML menu switching random things by accident like crazy, its convoluted too much , not really simplified for me, i know it was made to make the life simple but i wish it would not be forced but available somewhere if we want to use it occasionally.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 31, 2019, 12:40:33 AM
Just turn off what you don't want under customize buttons. Not that hard is it?
Also would help if you gave more datails of freezes etc. Vague descriptions based on feelings won't do.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 31, 2019, 01:40:52 AM
Ok, gave it a go again with newest build, just disabled that first menu so i have 2 fingers tap again, and everything works well.I can go into magic zoom and its not locking up.
I dont know why it was locking up on me so much previously.
So far its looking good and i see some menu items are moved to different locations, maybe its better this way, one location for changing bit modes  instead of two like before.This way is more polished.
Also kept that dropdown list but under info button, in case i need it cause its handy.Strange how little change can make you perceive something differently.
---
I really dig that new relocation of stuff and dropdown list under info button, finally i dont have to enable all modules and go through menus, i wish it would enable fps override with exact fps when i choose mcm rewire but not a big deal, just my personal preference cause footage looks more snappy with it and less rolling shutter is present.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 31, 2019, 01:58:18 AM
Yes, I know what you mean. I tested an older build before and it felt like I missed that too ;).
I only recently noticed there was a two finger button push. Never knew it opened ml menu. I don´t know why it doesn´t work with one finger press relocated. But INFO button fixes it so that´s good.
The fps stuff might be possible to do something about but the few tests I did before was pretty problematic. Good part with this latest build is shutter speeds are now coherent through all of the presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 31, 2019, 02:16:52 AM
Ah about shutter, i see that this old issue with screen flashing in fps override if you go to shutter above 200 is still there, simple to reproduce i guess, just im mcm rewire enable fps override 23.976 go to shutter above 200, its 258 here and screen starts flashing.Not sure if a lof of pople film with such high shutter speeds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 31, 2019, 02:37:48 AM
I don't use fps override so don't have the issue. I'm surprised it works even since there are so many places in crop rec where timers are changed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on August 31, 2019, 02:57:04 PM
Autofocus is not working as smooth as in former builds (in mcmrewire). Would be great if that returned to normal.
The Iso/Aperture adjustment is a great addition!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 31, 2019, 03:35:53 PM
Tell me exact preset used in older build and what settings used etc. If you have the build working better check date and name.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 01, 2019, 04:06:18 AM
The last build I have used where AF worked normal was the aug06 non jip-hop one. Basically AF worked in all builds up to this last one. AF in the aug06 JH build also worked fine when I deactivated the switch menu.
Settings I use is mv1080p mcmrewire (with x3 crop mode) 16:9 14 bit lossless.

Normally when using AF in mcmrewire you get a big focus box square. In the last build when focussing it switches to a different screen with a small focus box square. With the occasional error like this:

(https://i.postimg.cc/h43WbXfk/4-pic-hd.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 01, 2019, 08:07:48 AM
Well it works over here when deactivating focus aid which been the case ever since this function was introduced.

EDIT: Unrelated. Uploaded a version which won´t reset customize buttons when switching presets form startoff preset list. Means if you chnage one of the customized buttons the stay changed until reseting them again or running the default reset preset from the list.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 01, 2019, 11:25:45 AM
I always deactivate the focus aid when I use my AF lenses. But in the aug31 build I can deactivate all I want but it automatically gets switched back to default mode when I exit the ml menu.

The new build fixes the problem. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 01, 2019, 06:32:49 PM
Thanks @Danne for the quick fix and prompted a quick download. Because of your work ethic on this project I have bought yet another EOSM body for at a decent deal. $80 on OfferUp. Scored!

Four in total so far. In fact, I'm digging the new quick ISO adjustment feature big time! I'll try my best to get back into this forum while I'm at it. Signed on after seeing your recent PM re: MLV App. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 01, 2019, 06:33:40 PM
Welcome back deafeye!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uEOSM on September 01, 2019, 07:55:04 PM
Hi guys. Share if anyone has firmware crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jun10.EOSM202
Can be earlier or later
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 02, 2019, 12:07:41 AM
Any particular reason(s) specifically why you're asking for this build @uEOSM?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on September 02, 2019, 11:45:15 AM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 02, 2019, 12:03:51 PM
Disable focus aid if using autofocus. The other issues are probably related to this too. If you follow other posts you see that recently this was discussed as well.
Shutters should work the same for all presets now. Not sure what build you are using but be sure to use the latest.

Unable to take photo could be the famous shutter bug issue. It´s unrelated to the build itself. Do some searching on that if you want to know more here.
Thanks for feedback.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on September 02, 2019, 02:53:33 PM
Quote from: uEOSM on September 01, 2019, 07:55:04 PM
Hi guys. Share if anyone has firmware crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jun10.EOSM202
Can be earlier or later

I have copy from 7 and 11 Jul.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 02, 2019, 03:09:49 PM
Quote from: DeafEyeJedi on September 02, 2019, 12:07:41 AM
Any particular reason(s) specifically why you're asking for this build @uEOSM?

He is asking for any build ("Can be earlier or later"). Maybe he is not aware of Danne's Bitbucket download folder location?
https://bitbucket.org/Dannephoto/magic-lantern/downloads
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ygadinthesix on September 02, 2019, 03:28:17 PM
Hello Everyone!

Is there a build that is optimized for photography for the EOS M? I've recently been using it more and more for photos (and very happy with the results.)

In particular, is there something that provides crop modes for photos?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 02, 2019, 03:31:59 PM
Quote from: ygadinthesix on September 02, 2019, 03:28:17 PM
In particular, is there something that provides crop modes for photos?

Why?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uEOSM on September 02, 2019, 05:42:44 PM
Thank you all for your answers.
Quote from: yokashin on September 02, 2019, 02:53:33 PM
I have copy from 7 and 11 Jul.
Sent PM

Quote from: DeafEyeJedi on September 02, 2019, 12:07:41 AM
Any particular reason(s) specifically why you're asking for this build @uEOSM?
Yes, in the last builds I have a lot of pink frames, in that build there wasn't one. But unfortunately I did not save the old version and updated to the new one.

Quote from: Walter Schulz on September 02, 2019, 03:09:49 PM
He is asking for any build ("Can be earlier or later"). Maybe he is not aware of Danne's Bitbucket download folder location?
https://bitbucket.org/Dannephoto/magic-lantern/downloads
Thanks for the link, I searched there, but unfortunately old versions are already deleted there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 02, 2019, 06:41:49 PM
Please tell me what version is causing you corrupted frames. Also what preset are you using getting corrupted frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on September 02, 2019, 06:59:56 PM
Hello, I would like to know if you really record at 24 fps or at 13 in 4k anamorphic 10 bits 2.35 with a sd extreme pro sandisk 95 mbs and if in the latest versions is no longer present the SD UHS overclock hack module, with 13 fps has not generated any pink box in a test I have done.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: uEOSM on September 02, 2019, 10:58:45 PM
Quote from: Danne on September 02, 2019, 06:41:49 PM
Please tell me what version is causing you corrupted frames. Also what preset are you using getting corrupted frames.
crop_rec_4k_mlv_snd_raw_only_2019Sep01.EOSM202 and previous from this series
there were no such problems on crop_rec_4k_mlv_snd_isogain_1x3_presets_*** series


(https://image.prntscr.com/image/9VeyL10hTnqW-qjlyYv6gA.jpg)(https://image.prntscr.com/image/9paojs4gSIuwKOchb-m7yw.jpg)(https://image.prntscr.com/image/ne8FpMefSNSHEvntrvpBFw.jpg)(https://image.prntscr.com/image/g1FKjEJAS0ysSnaEjkEagQ.jpg) (https://image.prntscr.com/image/g1FKjEJAS0ysSnaEjkEagQ.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dnr on September 02, 2019, 11:07:31 PM
Quote from: dnr on August 30, 2019, 01:40:10 PM
Sorry, if I'm too blind or too stupid to find it, but is there any way to use half-shutter to start/stop recording in Aug30, as in the previous builds?
I found "Rec trigger" in the raw video settings, but that seems to be only for start/pause within a clip.
I did turn off focus aid within the customized buttons, so I think it doesn't interfer with that.
The reason why I need that function is quite simple; my REC button doesn't work.
Sorry to bring this up again, but i feel like it went unnoticed. I play around with Sep02, but I didn't get it to work either.
Any workaround for my problem?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 03, 2019, 01:13:02 AM
For that set up I would recommend switch over to 4k anamorphic rewired preset. i never had much luck with the 5k anamorphic mode set to 16:9.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 03, 2019, 11:53:06 AM
The latest build is working great!
Well done guys!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 03, 2019, 03:06:56 PM
Hi!

Did some testing with Sept03 build, however, with a HDMI monitor hooked up.

Default, first start up with 1080p rewired works flawless, records well, no pink frames, etc.

2.5K: preview is live and framing is not correct, (its on the Canon 5x zoom view), ill link images in a bit. Right half of the screen is basically the last refreshed pixel in the middle tiled till the edge if it makes sense.
Recording OK, with whole images, but plenty of pink frames(50-70%), playback works.

4K ANA Rewired: preview is live, and framing is not squeezed (its on the Canon 5x zoom view), Preview is with full images, no bug like 2.5K.
Recording OK, with whole images, but plenty of pink frames (10-20%), playback works, but shows black screen (see the LED blinking, reading accordingly), both on internal and external screen.

I'll test w/o a monitor, just wanted to see how much funcionality has progressed with it since I'm very keen to use only External monitors with it. Love 1080p already, and occasionally do use without to get nice 4, and 2,5K results. Thanks a lot for your hard work, beautiful to see the M becoming a cine camera even with its brutally slow cpu : )

Cheers
Miki
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 03, 2019, 03:42:09 PM
Quote from: mix_vfx on September 03, 2019, 03:06:56 PM
4K ANA Rewired: preview is live, and framing is not squeezed (its on the Canon 5x zoom view), Preview is with full images, no bug like 2.5K.
Recording OK, with whole images, but plenty of pink frames (10-20%), playback works, but shows black screen (see the LED blinking, reading accordingly), both on internal and external screen.
Could you do a screenrecording of what your monitor gives when using it with 4k anamorphic modes?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 03, 2019, 04:50:18 PM
I've tested the 4k an rewired and mv1080p mcmrewire modes. Works smoothly. The build feels very intuitive now. Also when changing between the two modes.
With mv1080p mcmrewire I see some flickering in the footage. But that's maybe because of the higher iso (400)?
https://youtu.be/vlLJpDnakls
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 03, 2019, 04:59:03 PM
Can´t see any flicker?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 03, 2019, 05:27:31 PM
It is visible in the reds. Maybe it's just noise? Although I don't see it in the 4K an rewired footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 03, 2019, 06:17:27 PM
Now I see. Seems some codec export issue. Did you shoot in 10bit? Could be that too. Or post production steps.
Thanks for sharing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 03, 2019, 07:34:04 PM
Test ReDone!



Quote from: Danne on September 03, 2019, 03:42:09 PM
Could you do a screenrecording of what your monitor gives when using it with 4k anamorphic modes?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 03, 2019, 08:42:57 PM
Thanks.
Hard to say what we see here. But the main question is if you real time preview with the full image resolution or is only showing part of the image(aka cropped preview)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 03, 2019, 09:19:10 PM
I'd say its cropped, and looks stretched too. I've redone, and reuploaded in a bit better quality:



Pause for preview frame at 0:11
Pause for playback frame at 0:50

Hope its more recognizable. Had to switch back to 1080p rewire to have playback working as well, but you know : )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 04, 2019, 03:53:38 AM
Quote from: Danne on September 03, 2019, 06:17:27 PM
Now I see. Seems some codec export issue. Did you shoot in 10bit? Could be that too. Or post production steps.
Thanks for sharing.

It was shot in 14 bit, 16:9, 24p 1/48 fps.
When I open the file in mlv app the flickering is visible.
The 4K an rewired is shot in 10 bit, 16:9, 24p 1/48 and has no flickering.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 04, 2019, 04:10:09 AM
Could you upload  the mlv file?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 04, 2019, 04:29:52 AM
https://drive.google.com/file/d/1_R6eI6dGzBCqHnyQIclJSmBcYVZQeYWI/view?usp=drivesdk
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 04, 2019, 07:18:52 AM
I´d say it´s light flicker.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 04, 2019, 07:27:51 AM
Quote from: Danne on September 04, 2019, 07:18:52 AM
I´d say it´s light flicker.

Could be. Maybe because I shot in 1/48 fps? But the 4K ana rewired didn't exhibit the flicker with the same settings.
Anyway, I just left on a journey through China. And the Eosm will do a big part of the video capturing!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 04, 2019, 01:40:19 PM
The flicker is 100% caused by fine-tuning to 1/48fps. 1/50 is always fine. I believe there is flickering in 1/48 perhaps becuase if you go into the Canon Menu, Movie Mode FPS is automatically set to 25fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 04, 2019, 02:36:10 PM
Quote from: ZEEK on September 04, 2019, 01:40:19 PM
The flicker is 100% caused by fine-tuning to 1/48fps. 1/50 is always fine. I believe there is flickering in 1/48 perhaps becuase if you go into the Canon Menu, Movie Mode FPS is automatically set to 25fps.

Thanks Zeek, I came to the same conclusion. Should have known better..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on September 04, 2019, 02:38:35 PM
Quote from: Danne on September 04, 2019, 07:18:52 AM
I´d say it´s light flicker.

Hi Danne,i was tested new build 02/09 today,please add 2.5k 1x1 centered mode back,so i can shot 2.5k 2.35:1 in 32FPS
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 04, 2019, 03:19:10 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x5 zoom centered added back. Only reachable from regular preset menu, not from the startoff preset list(tap display)
- Added a focus aid option called "sticky push". It´s under customized buttons. Works as follows:
Push halfshutter until x10 zoom is reached. Release button and x10 zoom is still on. Push halfshutter again and it goes back to normal preview.
On a sidenote I also added a function so that if tapping display while in x10 mode you will be able to reach three different presets here. Or you can be in x10 zoom and push SET button and this will let you reach different 3k, 4k presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on September 04, 2019, 08:50:56 PM
Good, please know if you can record more than 47 mbs with the sd .
Thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 04, 2019, 10:46:29 PM
Ok, this is great : )

Sept 04 build.

Still with External monitor, with Preview set to Frozen LV, 4K Anamorphic Rewired works very good. Preview is still cropped, like mentioned earlier, but live, and gives no corrupt frame (yet). Playback works as well.

All bit modes work, only thing is 12, and 10 bits give quite dark preview, with greenish tint.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 05, 2019, 01:54:00 AM
Great Work Danne, keep it up

I've an issue with Dual Iso in viedo mode
file here - link will expire after one week from now, also notice the X
httpx://we.tl/t-pDRW1htNPh
it consist of a mlv-dualiso video and the corresponding MLV APP receipt, version 1.7

August 30 version

as Zeek mentioned, there are changes going on in reported framerates from canon menu. in my case, on NTSC preset have without card the canon setting at 24FPS, but with Danne's build it it's changed to 30fps. Maybe Zeek is Pal and did set from there 24FPS (which by the way seems strange in it self to me)

best




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 05, 2019, 02:13:26 AM
in Sept 04 build, the sticky function of 10x zooms works great, unless you hit record while in that mode
please try to reproduce
mv1080 rew., ratio-off

many thanks to Danne Jip-Jop and macs and others!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on September 05, 2019, 06:26:19 AM
Quote from: Danne on September 04, 2019, 03:19:10 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- x5 zoom centered added back. Only reachable from regular preset menu, not from the startoff preset list(tap display)
- Added a focus aid option called "sticky push". It´s under customized buttons. Works as follows:
Push halfshutter until x10 zoom is reached. Release button and x10 zoom is still on. Push halfshutter again and it goes back to normal preview.
On a sidenote I also added a function so that if tapping display while in x10 mode you will be able to reach three different presets here. Or you can be in x10 zoom and push SET button and this will let you reach different 3k, 4k presets.

New build works well,very appreciate for that!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 05, 2019, 08:57:45 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Quote from: AF-OFF on September 05, 2019, 02:13:26 AM
in Sept 04 build, the sticky function of 10x zooms works great, unless you hit record while in that mode
Fixed.

@AF-OFF
About your dualiso issues. I have no idea what you are talking about.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 05, 2019, 10:02:32 AM
@AF-OFF — if you don't mind me asking would you please elaborate on what do you mean by having issues w Dual-ISO?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 05, 2019, 02:34:56 PM
@Danne & DeeafEyeJedi
did you look at my MLV file?
-its full with weird focuspixels, which dont go away even with 3x3 smothing
-colour changes / shifting
hard to describe, therefore the sample mlv file, please check it, link in my previous post
thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 05, 2019, 02:50:14 PM
Nothing related to firmware. Post production tools.
You mention framerates, what's wrong with those?

New build up: bugfixes not related to above though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 05, 2019, 03:09:10 PM
ok will try the same dualiso test with your new build and use MLV APP 1.8.
regarding the framerate - this was related to the Zeek post, its the framerate which is set in CANON menu - you choose either Pal or ntsc, for example if you have ntsc there (CANON menu) you can choose 30p or 24p.
will report later

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 05, 2019, 04:44:40 PM
Quote from: Danne on September 05, 2019, 02:50:14 PM
Nothing related to firmware. Post production tools.

just checked dualiso video files with MLV APP 1.8 - then everything looks like it should be. Checked again with 1.7 version and there seems to lay the problem, cannot remove there any of the focus pixels

couldn't reproduce the colorshifting in the Sept 05 build.
the 10x zoom now works as one would expect, thanks Danne!

finaly did update the laptop with MLV APP 1.8 and the pixelmaps from dfort

Apologies for the false alarm!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on September 05, 2019, 04:57:04 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on September 06, 2019, 12:50:04 AM
Quote from: Veerle on September 05, 2019, 04:57:04 PM
A few suggestions for EOS M (and ML in general)

There is undoubtedly a big difference in experience between ML users (in terms of technical knowledge and/or years of usage), which is why I would suggest the following (for both ease of use, and to try and avoid getting the same questions again and again):

Startup modes
If technically possible (and I would assume so), I would suggest creating 'startup modes'. Three perhaps:

  • Simple
  • Intermediate
  • Advanced
These would basically be pre-set customised menus (with default set at simple).
Simple = would show as little as possible: main feature being the presets scripts, some photo options (bracketing for example) etc.
(Makes ML easier to use, and avoids changes that cause issues..)
Intermediate = would obviously show more features. To be discussed...
Advanced = would show everything.
(+ The build zip files should perhaps include a small 'install & how to' txt/pdf file to ensure the canon menu is set the right way).

maybe in an alternative build, but I wouldn't want this extra stuff in a main build
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 06, 2019, 12:58:09 AM
Its fine as is, pleasing lazy users who dont want to learn what all functions do should not be the aim of development IMO, shortcuts to work faster are fine but simply hiding some options and functions in 3 different modes is a waste of developers time.
Anyway how i can change raw to be uncompressed instead of lossless? Cant find it anywhere anymore.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 06, 2019, 07:16:12 AM
Quote from: 2blackbar on September 06, 2019, 12:58:09 AM
Anyway how i can change raw to be uncompressed instead of lossless? Cant find it anywhere anymore.

I believe the reason why the uncompressed Raw modes were removed is because there wasn't a visible difference between uncompressed and the lossless counterparts. The older builds will have uncompressed Raw, otherwise Danne I believe can add it. Don't think they're worth it though. I did comparisons between them a while ago but could not find a difference except that lossless had better record time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 06, 2019, 08:32:21 AM
Yes, uncompressed option removed.  Lossless is key to get continuous on eos m. There was also lossless options in RAW video menu but this was confusing to say the least since I do my workaround stuff added on top of solely 14bit lossless.

Other suggestions. Always welcome but not always useful.

My main intent was and is to treat eosm as a 2.39:1 cinematic tool. This ratio is more or less working corruptionfree on all presets. So logically to me I start out in this ratio. Using tap display presets I can switch real quick between the most useful movie presets without doing anything else after selection. I often mix these presets and in the end I just throw them in mlv app and export them in same resolution. Done. Will this style of shooting fit everyone? Hardly  :P. But still. Most settings can be tweaked to fit most users so I don't really see the issue here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on September 06, 2019, 10:41:31 AM
Quote from: Veerle on September 05, 2019, 04:57:04 PM

Presets
These have already been introduced but I would suggest different (simple) names perhaps? Like:
- 1080 HD (16:9)
- 1080 HD 48fps...
- 1080 Wide (2:1)
- 2.5K ??
etc..

I think you have some good suggestions. One of the first things I did when working on the menu, is experiment with more universal preset names (what it does, instead of how it does it from a ML implementation perspective). I still think it could be nice, but after some talks with Danne I'm also fine with the names as they are right. At least now they're consistent across both preset sections.

Quote from: Veerle on September 05, 2019, 04:57:04 PMAnd why is the "mv1080p MCM rewire" widescreen? Why does the "Mv1080 1736x976" have a ratio of 2.39:1? (though it doesn't show). Why are the start off presets different from the regular presets?..

The start off presets have their settings maximised while still allowing continuous recording. It's supposed to be an easy, no fuss way, of getting all the settings right (upper limit) for a specific recording mode (preset) without having to worry about which combinations of settings would still allow continuous recording. Therefore the "mv1080p MCM rewire" is widescreen and 14 bit. It can still record continuous at those settings. But in 2.5k or anamorphic 14 bit 16:9 won't get you much time at all, so it's defaults to lower bitrate and narrower ratio. Of course you can still drop the bitrate or make the ratio in "mv1080p MCM rewire" wider after applying the preset, but it's supposed to be a sensible default 'base'.

We're working on making the menu better, but I think we must embrace the fact that there'll always be questions, no matter how we make the menu. I don't think we should make different startup modes for Simple, Intermediate and Advanced usage. I think ML users are curious people. So if it defaults to a 'Simple' mode, people want to see what's possible in 'Intermediate' or 'Advanced' and will have questions. Also it will be a lot of work to make this, and I don't think it will result in more clarity and less questions.

What did help me a lot when just starting out with ML on EOS M are the video's from ZEEK! Even better than PDF documentation if you ask me :)

Veerle, you could if you like take a look at the Cine.lua script from Danne. It's actually very easy to make a couple of scripts with custom presets and naming like you suggest.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on September 06, 2019, 03:58:45 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Veerle on September 06, 2019, 04:01:27 PM
.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 06, 2019, 04:47:29 PM
Hi!

Testing Sept05 build, works very well so far. Playback sometimes gives black screen, not a big concern.

Just a suggestion, could the wheel function be switched and locked by default to Aperture? Shutter lock is already quite neat.

5K ANA gives pink frames when used with "set to 25fps" ON, also not a concern, quite edge case, may be worthy to include force 25fps off in the preset.

Maybe HDMI out could be detected, and be forced to use RealTime preview in 4K Ana, or worked out, why Framing preview gives black output there. If there's anything I can do to help debug, let me know. (Even a release with force logging what you need for it ?)

Thank you a million times
Miki
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 06, 2019, 05:31:16 PM
I am happy with the use ability of the present build. I also prefer 16:9, but that is easy to change. Then the mv1080p rewire 14 bit and 4K ana rewired 10 bit presets work like a charm!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 06, 2019, 05:51:35 PM
Quote from: Veerle on September 06, 2019, 04:01:27 PM
It's not much extra stuff, in 'this' scenario you would just choose advanced and so you wouldn't notice any difference.

Maybe it should, maybe it shouldn't. Either way, I do think it'll prevent issues.
I believe it´s already in easy mode. Install, start camera, start shooting. Want other presets, just tap display and select, keep on shooting. It´s not getting any easier than that imo.


Quote from: mix_vfx on September 06, 2019, 04:47:29 PM
Hi!

Testing Sept05 build, works very well so far. Playback sometimes gives black screen, not a big concern.

Just a suggestion, could the wheel function be switched and locked by default to Aperture? Shutter lock is already quite neat.

5K ANA gives pink frames when used with "set to 25fps" ON, also not a concern, quite edge case, may be worthy to include force 25fps off in the preset.

Maybe HDMI out could be detected, and be forced to use RealTime preview in 4K Ana, or worked out, why Framing preview gives black output there. If there's anything I can do to help debug, let me know. (Even a release with force logging what you need for it ?)

Thank you a million times
Miki
- Don´t know how to default into aperture
- Use 4k anamorphic rewired instead. Stable.
- Force 25fps OFF? Just set the preset to off and it´s in 24fps default
- Turn off Crop rec preview auto mode then select real-time preview for realtime previewing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 06, 2019, 06:11:44 PM
Thank you, that's what I do, just thought, maybe worthy to suggest to default these options, if the aim is to make the presets work as good as possible.

Nice release, I'm actually waiting each day's upload more then the next season of Rick and Morty : DD
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 06, 2019, 06:30:09 PM
Quote from: mix_vfx on September 06, 2019, 06:11:44 PM
Thank you, that's what I do, just thought, maybe worthy to suggest to default these options, if the aim is to make the presets work as good as possible.

Nice release, I'm actually waiting each day's upload more then the next season of Rick and Morty : DD
lol!
Defaulting around hdmi out is not a priority to me. Maybe you or someone else could download the code and find out what to do here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 06, 2019, 06:39:11 PM
lol back : )

I usually have good insights, but am fairly stupid in programming. I'm checking sources in my free time, but quite hard to digest without proper programming background. : ) Till I do, I highly appreciate every little improvement, wether it is important for me or not, and humbly accept all changes basically, while I don't want to upset anyone with these suggestions.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 07, 2019, 07:36:51 PM
I cant find third crop mode anywhere, i know there was 3x3 (1x1 readout from sensor with smaller window) but there was other crop before that , even before raw video working on EOS M, where i can find that crop mode ? I preferred it because its closer(more zoomed in) than 3x3.
Id love it set button would allow us to go to that mode ,3x3 mode and uncropped mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 07, 2019, 07:49:56 PM
If you select mcm rewired and turn ratios off it should get you there by pushing SET button.
The same can be done with h264 when selected from tap display menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 07, 2019, 08:31:51 PM
I see it,  got it mixed up and it was the other way around, bigger crop was closer to 1080p and other one was from 2.5k.
Still it would be interesting to switch between different cop modes with set but maybe not by default cause it has to go 10bit 2.5
Sorry for confusion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 08, 2019, 09:19:30 AM
I cant figure out why I'm getting pink frames still. I've uploaded pictures of all my settings, is something conflicting with one another?

https://photos.app.goo.gl/D62t9DypA9rGfdiEA
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 08, 2019, 09:33:26 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- sticky push set to default when installing. Seems more stable than the default focus aid default option.

@ngemu
I would suggest to skip 5k anamorphic and record with 4k anamorphic rewired instead. They will achieve practically the same but (hopefully) corruption free. I really should rename 4k to 5k anamorphic rewired but low priority atm.
I never use the global draw options so if you still are getting pink frames try turning those options to off as well, but first try with them on as I want to see if 4k anamorphic still holds up with them on. Please report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 08, 2019, 10:40:13 AM
 :) will do!

Quote from: Danne on September 08, 2019, 09:33:26 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- sticky push set to default when installing. Seems more stable than the default focus aid default option.

@ngemu
I would suggest to skip 5k anamorphic and record with 4k anamorphic rewired instead. They will achieve practically the same but (hopefully) corruption free. I really should rename 4k to 5k anamorphic rewired but low priority atm.
I never use the global draw options so if you still are getting pink frames try turning those options to off as well, but first try with them on as I want to see if 4k anamorphic still holds up with them on. Please report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 08, 2019, 01:03:39 PM
Hi!

Just tested Sept 8th build briefly. All presets record corruption free out of the box. I even got 256 frames of 4K Ana in 14bit before it stopped. 10bit is Continuous.
5K Ana is also corruption free, but you are right to suggest using 4K Ana preset.

Sticky zoom works well, just one needs to press it long enough to stick : ) 200ms?

playback mostly works, but sometimes it stays on a black screen, while playing in the background, like mentioned earlier. Upon exiting playback with half shutter press, sometimes I get 1/3 preview, with bottom 2/3 of the LV remaining white. Texts on the bottom are rendered. Half Shutter press resolves it.

Thank you for your hard work once again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on September 08, 2019, 02:03:42 PM
Quote from: mix_vfx on September 08, 2019, 01:03:39 PM
...Just tested Sept 8th build briefly. All presets record corruption free out of the box...Upon exiting playback with half shutter press, sometimes I get 1/3 preview, with bottom 2/3 of the LV remaining white.... Half Shutter press resolves it.

Altough not a big issue, the same happens here, i find myself pressing several times halfshutter to get it right, i noticed that sometimes the preview gets static/frozen when i press record button but switching to photo mode and back to video fixes it.

Thanks for all the work you guys do.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 08, 2019, 07:04:12 PM
Thanks for feedback. Halfshutter routines has changed but I need to think through some other ways here later on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 08, 2019, 07:34:16 PM
I put back a delay to the halfshutter push button. Might help some at least when leaving mlv_play...
New build up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on September 09, 2019, 09:58:51 AM
I recently updated the build and seem to have lost the ability to turn off any overlays when switching to stills mode. Can someone point me in the right direction?

Essentially, I want to turn off the Cropmarks when taking photos.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 09, 2019, 10:14:57 AM
Turn off global draw?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on September 09, 2019, 10:28:52 AM
Sure, but previously, switching to photo mode did that automatically, and back to video would put the cropmarks etc. back. There was a setting to make this happen, but now I can't find it.

EDIT: found it. in the Cropmarks submenu 'Show in photo mode: On/Off
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: EOS M user on September 09, 2019, 11:57:49 PM
Hey Danne, the build you uploaded today is lagging on our EOS M (build: crop_rec_4k_mlv_snd_raw_only_2019Sep09.EOSM202.zip).
Did clear all custom functions, uninstalled previous build, low level formatted the SD card (Sandisk Ultra 128GB 95mb/s).

Could others please confirm if the latest build is working as intented for them? We are forced to use a much older build due to interface lag as we are not sure what is causing it.
The lag has disappeared upon several restarts. Very strange.

Thank you very much for your work, wonderful what you had achieved with ML on this one!
Peter
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jonasbø on September 12, 2019, 06:48:41 PM
I'm blown away by the possibilities you get with an EOS M right now and the results you can achieve with it.
For everyone interested: I was trying to use this little beast of a camera to shoot an entire wedding. Everything was still shot on an older build back in april this year and in a few shots I've found some corrupted frames, but overall it turned out great. 4.5k anamorphic mode was used in all shots. It's on YouTube: /watch?v=IkxYXnYvJlo
From my standpoint as a user of Magic Lantern, I really appreciate the hard work you guys put into the development. Maybe this can serve as an appreciation...
https://youtu.be/IkxYXnYvJlo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on September 12, 2019, 07:11:42 PM
Buenas tardes, quisiera saber si el 5k anamorfico es continuo con 10 bits para la sd sandisk 95 mbs extreme pro, no he conseguido mas de 2 segundos de grabación con 1664x2225, con mas de 52 mbs de velocidad se para y con mucho errores.
Gracias.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on September 12, 2019, 07:12:09 PM
Good afternoon, I would like to know if the anamorphic 5k is continuous with 10 bits for the sd sandisk 95 mbs extreme pro, I did not get more than 2 seconds of recording with 1664x2225, with more than 52 mbs of speed stops and a lot of errors.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 12, 2019, 08:35:24 PM
No it isn't. I use it at 2.35:1, because then it gets continuous (at 1464x1870 (4K anamorphic rewire)).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 13, 2019, 04:35:37 AM
While shooting in 4k mode, I like to use auto focus to set everything up.

However, sometimes it gets stuck in the preview (?) screen. I have to get into the ml menu or restart the camera to reset it. Anyone else experience this?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 13, 2019, 04:52:02 AM
Turn off focus aid. Otherwise aurofocus is nogo. You could maybe switch to photo mode, do af, then go back to movie mode. Might work with focus aid stil on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 13, 2019, 09:44:01 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- added x3 crop modes into tap display list
- full sensor readout anamorphic mode in 14fps continuous. 12fps if set to 14 or 12bit.
Make sure to set ratios to OFF to get this activated. Works with the anamorphic modes.
Also note that if you set shutter range to Full range you can go down to 1/14s shutter...

MLV file:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/full_readout.MLV

1736x2996(10bit 14fps continuous) Equals 5208x2996
(https://i.postimg.cc/cLSyMMZ9/Ska-rmavbild-2019-09-13-kl-09-33-39-png-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 13, 2019, 06:48:28 PM
Hi Danne , hi guys
the latest Sept13 build doesn't record audio in 4k, 5k and 2.5k presets
EDIT - strange, now sound working again

very nice new 5k ana 14/12 FPS mode !

did some testing and have had pink frames only at two occasiones - 1-changing presets from 4k ana to 2.5k, started recording with the auto-set 2000x14?? res.  & 2. when pushing the 40+ FPS mode too hard, there were some one or two bad pics at the end

2.5k centered preset works great with 2520x1080, even with focus peaking in realtime preview
Other resolutions I found well working are 1920, 2048, 2160 & 2320x1080

2.5k cent, 4k 5k and mv1080p all working with GD overlays


FRSP together with intervalometer in photomode switches the display and all buttons off
when recording a limited frames, one can activate the LV by pressing the HShutter
Otherwise need to power of the cam in order to stop recording

best

EDIT - forgot to mention the crash while used the latest build for the first time , error 70
restarted the cam and everything back to normal. a log was generated



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on September 13, 2019, 09:37:38 PM
Would there be a chance to create a timelapse setting for 1 fps or 2 fps?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 13, 2019, 09:44:37 PM
Actually there are. You can reach them by doing this. While in x10 zoom mode (sticky push mode) push SET button until you reach the 1fps modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 09:33:48 AM
Hey Danne, really enjoying the 5K Rewired mode.
As I was using it, I was just wondering if a button (e.g. trashcan) could be amended to allow the alternation between preview modes e.g. Framing & Real-Time and allow these two framing modes to be "sustained" rather than just "half-pressed" for actual framing. Thanks! 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2019, 09:45:22 AM
Sustained as not affected by halfshutter press when selected? Realtime stays realtime when halfshutter pressed and framing stays framing even when hs pressed?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 10:04:37 AM
When you "half-press" shutter, it shows you "framing" as long as you hold down the shutter half-way.
I mean I want "Realtime" liveview to change to "Framing" with a click of a button and stay like that, instead of going all the way into the menu to change from realtime preview into framing and then back again, if that's possible. Thanks! 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2019, 11:38:20 AM
Quote from: ZEEK on September 15, 2019, 10:04:37 AM
When you "half-press" shutter, it shows you "framing" as long as you hold down the shutter half-way.
I mean I want "Realtime" liveview to change to "Framing" with a click of a button and stay like that, instead of going all the way into the menu to change from realtime preview into framing and then back again, if that's possible. Thanks! 
Not sure why this would be useful. Would be nice if you could explain how you use this? Anyway. INFO button is the only button left to be used here so here we go. Build below


New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Toggle between Real-time and framing preview mode if assigning INFO button
(https://i.postimg.cc/Dz8v1PT4/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 12:09:06 PM
Legend! Thanks :)
The reason is I like to shoot stills on a tripod of landscape using 2.5k and anamorphic modes. The thing is that they obviously have a cropped live view which can be difficult to frame on the go and at times half-shutter wouldn't show framing when half-pressed. Therefore, switching quickly between realtime and framing modes with the touch of a button helps heaps.
1. I focus on the landscape in realtime, then switch to framing mode to ensure framing is correct in those cropped LiveView modes.
Thanks a lot!  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2019, 12:14:58 PM
Yes, those are valid points. But why not start out with framing mode as default suggests :)? Pushing halfshutter and you´ll gett x10 zoom focus aid. Then back to framing...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 12:37:29 PM
Because when I start with framing mode, it would be hard to pull focus while recording at the same time, since the fps is really low in framing. But I just tested the build now and it's MAGIC. Thank you 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2019, 12:59:17 PM
Hm, but when holding halfshutter while recording gets you into realtime preview. Well, now we have more ways of doing things...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 01:15:37 PM
I just kept accidentally taking photos whilst half-pressing shutter and sometimes it would glitch to a half-screen with a white bottom half in halfshutter and then require a camera restart. It feels much better now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 15, 2019, 02:21:51 PM
P
Quote from: ZEEK on September 15, 2019, 01:15:37 PM
I just kept accidentally taking photos whilst half-pressing shutter and sometimes it would glitch to a half-screen with a white bottom half in halfshutter and then require a camera restart. It feels much better now.

Pressing MENU twice tends to help with that. I love your request. Ultimately, it would be nice to be able to assign all buttons custom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 02:58:53 PM
I mean while you are in halfshutter x10. You can't double press menu whilst in x10 halfshutter . Once you let go, at times I would get a black screen after letting go of halfshutter and have to battery pull. It's seems solved now and am very happy with what the ML Team have done with the M.  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2019, 03:02:41 PM
Use sticky push. More reliable. It's hard running workarounds with movie crop mode enabled and disabled in the background, that's what causing conflicts with x10 zoom. As long as you don't rush things sticky push seems to work reliable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 15, 2019, 03:18:56 PM
Sure thanks, I'll give it a go.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 16, 2019, 11:24:09 AM
@danne I just upgraded to the sept 15 build and tried dual iso and set base to 100 and recovery to 400 but when I leave magic lanter menu, it shows 400/400 ISO in live view. I also tried setting iso to 100 in canon menu but it doesnt work. Thank you in advance
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: m300 on September 17, 2019, 02:50:00 AM
I've been playing with the 13th September build which is nice but I have a few problems.

Is it possible to turn off the x10 zoom focus aid? It's useful but if I'm shooting photos with auto-focus it can be a little annoying and doesn't seem to work with some of the video presets either.

Is it possible to change the h264 video quality?

Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on September 17, 2019, 03:00:51 AM
in the nightly build how do you set the bitrate? I tried looking through the forums but could not see. I want to select 8 bit. but it will only let me select 11.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2019, 06:46:44 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fix stuck iso(canon menu) when turning of gain.

Quote from: earlph on September 16, 2019, 11:24:09 AM
I also tried setting iso to 100 in canon menu but it doesnt work. Thank you in advance
Fixed.

Quote from: m300 on September 17, 2019, 02:50:00 AM
Is it possible to turn off the x10 zoom focus aid?
Is it possible to change the h264 video quality?
Yes, customized buttons
No, h264 bitrate was removed in this build. We choose to focus on mainly raw. I decided later to still reach h264 by choosing it from tap display list or simply turning raw video to off
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 17, 2019, 02:13:51 PM
Danne, just downloaded and installed the new build you posted. Certainly fixed the issue I reported but the drop-down menus in the movie tab cannot be accessed while drop-downs from other menu like shoot, expo and the others works as intended. The only affected menus are those from movie - presets, ratio, bit depth, set 25fps, max iso, custom buttons (even with touch screen) but the other toogle options from movie works as it should like raw video, and sound recording ( both have drop down menus and works as well when using touch screen), shutter lock, etc. sorry if i complain a lot I just have some time to actually test the new build. Thanks!

what I tried; format, reboot, reinstall fw.

also, I noticed there's a red circle beside the "memory patches" from debug tab. In the description (bottom) says; cache is locked down (not exactly clean) in yellow color. Also shows 3 Rom beside the memory patch. I don't know if this will be helpful info but still decided to add here
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2019, 03:21:21 PM
Quote from: earlph on September 17, 2019, 02:13:51 PM
Certainly fixed the issue I reported but the drop-down menus in the movie tab cannot be accessed while drop-downs from other menu like shoot, expo and the others works as intended. The only affected menus are those from movie - presets, ratio, bit depth, set 25fps, max iso, custom buttons (even with touch screen) but the other toogle options from movie works as it should like raw video, and sound recording ( both have drop down menus and works as well when using touch screen), shutter lock, etc. sorry if i complain a lot I just have some time to actually test the new build. Thanks!
I can´t really follow what´s going on here. Could you do a screen recording showing the issue?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 17, 2019, 04:57:18 PM
Here
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2019, 05:27:08 PM
Seems modules aren't loaded properly. Could you test completely uninstalling and then reinstall again. Disabling, then enabling bootflag again maybe fixes the issue.
What specs do you have on your sd card by the way?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 17, 2019, 05:36:10 PM
QuoteSeems modules aren't loaded properly
regarding that, i dont see the module tab... was it removed by default?

QuoteCould you test completely uninstalling and then reinstall again.
I just did this, uninstall firmware via format, then copy and paste file then install, still not working, I will try to re download the files.

QuoteDisabling, then enabling bootflag again maybe fixes the issue.
sorry, i dont know how to do this  :D :'(

QuoteWhat specs do you have on your sd card by the way?
Normal sandisk extreme pro card 95mb/s I have used it a lot of times with this camera and shot a lot of raw but I guess it's failing now??
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 17, 2019, 05:41:44 PM
Quote from: earlph on September 17, 2019, 05:36:10 PM
regarding that, i dont see the module tab... was it removed by default?

Default is: If shutdown is not properly done -> Don't load any module and do not show modules tab.
If you are unable to perform a proper shutdown you may change this to
Debug tab -> Modules debug -> Load modules after crash ON

Quote from: earlph on September 17, 2019, 05:36:10 PM
sorry, i dont know how to do this  :D :'(

Reinstall and wait for timeout -> Bootflag gone.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2019, 05:42:53 PM
Fixed now. Crop_rec.mo wasn´t compiling. Happens sometimes after writing some commit which python can´t decipher. Not sure what´s going on.
Should be fine now though. Please test and report back.

Edit: Thanks Walter but enabling modules are excluded in this build as it´s enabled upon installing firmware.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on September 17, 2019, 05:55:51 PM
Hello, I would like to comment that in the 16 sept. program I don't find the way to configure 1280 x 1890 4k anamorphic 24 fps by default or not, as in the 8 sept. version; only 5k 14 or 12 fps works well by default.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 17, 2019, 06:14:49 PM
Tested dual iso, 5k ana, 1080 mcm, and info button preview, all works as intended. Thanks!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 17, 2019, 09:18:06 PM
Quote from: rinski on September 17, 2019, 05:55:51 PM
Hello, I would like to comment that in the 16 sept. program I don't find the way to configure 1280 x 1890 4k anamorphic 24 fps by default or not, as in the 8 sept. version; only 5k 14 or 12 fps works well by default.
Thank you.

You get 1464 x 1836 10bit 24fps at 2.39:1 ratio. As mentioned by Danne, if you turn off ratio, you get the 14fps mode, with full sensor readout, and 1736 x 1890.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 18, 2019, 07:00:04 PM
I'm diggin' the new 5K ana in 14p mode big time @Danne. Especially with the full-shutter feature enabled, dial it down to 1/14th. Throw a Circular Profiler Polarizer on and you're golden!  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 19, 2019, 05:33:19 AM
Quote from: DeafEyeJedi on September 18, 2019, 07:00:04 PM
Throw a Circular Profiler on and you're golden!  8)

What's a circular profiler?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 19, 2019, 06:56:38 AM
Circular Polarizer.
Because there is no mirror in EOS M design a linear polarizer will do, too.
But I think what he is trying to say is named "Variable ND".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 19, 2019, 07:09:00 AM
Quote from: Walter Schulz on September 19, 2019, 06:56:38 AMCircular Polarizer.

Thanks for the correction to my typo @Walter Schulz!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 19, 2019, 07:38:35 AM
Quote from: DeafEyeJedi on September 19, 2019, 07:09:00 AM
Thanks for the correction to my typo @Walter Schulz!

8)

You got some test footage I can see of the 14fps? Doesn't it look choppy at that speed?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 19, 2019, 01:09:39 PM
Quote from: henricusmaria on September 19, 2019, 07:38:35 AM
8)

You got some test footage I can see of the 14fps? Doesn't it look choppy at that speed?





: ) 17mm f4 ISO 400 shutter 1/14 5K Ana, downscaled to HD but originally 5208 x 2996, Sept 19th build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2019, 02:06:20 PM
I consider 14fps anamorphic as a photo burst mode or timelapse mode more than a movie mode preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 19, 2019, 02:49:16 PM
Quote from: Danne on September 19, 2019, 02:06:20 PM
I consider 14fps anamorphic as a photo burst mode or timelapse mode more than a movie mode preset.

It's a very right path though. Many movies use 12 or even 6 fps shots for certain dreamy sequences or plates. I already have one in mind, that needs a low fps plate.

Just out of curiosity, where's the bottleneck in allowing full sensor readout to be recorded with 24fps? I mean, could we achieve a few frames at all (250?) And, can anything be done with the dark liveview while recording 1080p with a bitrate lower than 14bit?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2019, 03:54:50 PM
Quote from: mix_vfx on September 19, 2019, 02:49:16 PM
It's a very right path though. Many movies use 12 or even 6 fps shots for certain dreamy sequences or plates. I already have one in mind, that needs a low fps plate.

Just out of curiosity, where's the bottleneck in allowing full sensor readout to be recorded with 24fps? I mean, could we achieve a few frames at all (250?) And, can anything be done with the dark liveview while recording 1080p with a bitrate lower than 14bit?
Timer registries are connected with readout. I don´t know the full story but increasing fps reduces with(black border) or we get corrupted frames and so on.

Don´t know about darkened output? Could you share examples? A bit darker but that comes with the territory reducing analog gain registers. Liveview brightness reg is pushed quite a bit to compensate for 10bit so it shouldn´t be a big issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nmzszs on September 19, 2019, 04:57:45 PM
Hello to all, I've a problem that after I download the latest version(seb.19) of ML, and I found that I can neither change my ISO nor shutter speed. this's my first time using the ML. Maybe my seeting was wrong. plz help me! :o
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 19, 2019, 06:06:27 PM
Quote from: Danne on September 19, 2019, 02:06:20 PM
I consider 14fps anamorphic as a photo burst mode or timelapse mode more than a movie mode preset.

Agreed. Try using both Dual-ISO & Circular Polarizer together for decent results. Indeed, it's such a killer combo!  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: earlph on September 20, 2019, 04:47:16 AM
@danne Ml fails to load after turning on camera without the card then inserting back the card with ml (haven't tested putting card without ml)
1. Remove card with ml
2. turn on camera without card
3. insert card back
4. turn on then no lcd, led blinking yellow green
5. tried the battery pull and switching with and without card first two times worked after more or less 5 tries. Third time worked after like 15 times of it (different random combinations of pull from battery pull and on without card, battery pull on then insert card, on with batt and card then pull battery). After booting it displayed the "skipping loading modules"

I don't know if this matters, maybe someone may accidentally turn the camera on without the card or something. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 06:47:29 AM
I tried to reproduce but removing card and starting camera simply starts it saying there´s no card present. So then I turn off the camera and put the card back in and restart and everything is back to normal again. Couldn´t reproduce the hang up. Then again I didn´t test very hard. I think one shouldn´t. It´s better to uninstall ml if not using it or removing the card etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 20, 2019, 07:07:06 AM
Quote from: mix_vfx on September 19, 2019, 01:09:39 PM



: ) 17mm f4 ISO 400 shutter 1/14 5K Ana, downscaled to HD but originally 5208 x 2996, Sept 19th build.

Thanks for the example. I think it can be quite useful in some situations.

It would be nice to have an optimal preset for 18 fps silent (audio) film.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 08:44:48 AM
Quote from: henricusmaria on September 20, 2019, 07:07:06 AM
Thanks for the example. I think it can be quite useful in some situations.

It would be nice to have an optimal preset for 18 fps silent (audio) film.

New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 18 fps 1736x2180 (2.39:1) anamorphic mode

If ratios are set to OFF and you then enable set_25fps in anamorphic rewired mode fps will have a boost to 18fps and set resolution to 1736x2180. Don´t forget to push MENU once to refresh regs.

This mode is continuous in 10bit. It´s actually possible to push to 20fps but not continuous.
The 14fps mode can be pushed to 16fps but will only record shortly. If you want to push these limits go into the registry section and decrease reg_6014 and/or reg_6008.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on September 20, 2019, 12:32:58 PM
Quote from: earlph on September 20, 2019, 04:47:16 AM
maybe someone may accidentally turn the camera on without the card or something

When you turn on the camera without card, it loads the original firmware. This procedure (starting without card) is the first thing one should do if the camera doesn't boot (see the Troubleshooting section on the main download page), so warning others not to do this, doesn't make any sense to me.

Quote"skipping loading modules"

This one appears after a bad shutdown while you were running ML. That is, after removing the ML card, the camera was not fully turned off, and when you started it without card, it was actually running from the previous (ML) session. I've seen Canon firmware canceling a shutdown in the past (if you power the camera back on before the shutdown completes, or if something goes wrong with DryOS). So, yeah, I can see a way for this to happen after a crash.

If the camera doesn't boot, remove the battery and retry. The power button doesn't actually cut the power; it's just a soft button, so it's not going to bypass a software lockup. Same for the battery/card door.

Quote from: Danne on September 20, 2019, 06:47:29 AM
I think one shouldn´t. It´s better to uninstall ml if not using it or removing the card etc.

Sorry, but that's nonsense. Using a formatted card, or removing the card, are preferred ways to start the camera without ML (see FAQ and install guide). One shouldn't have to run the installation procedure back and forth.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 12:41:28 PM
Bootflag reset is always good if not using ml.
Also formatting a sd card with ml ongoing often seems to be a cause of issues restarting etc. Walter mostly comes to the rescue here ;). Seems uninstalling properly will take care of most issues that's all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on September 20, 2019, 12:44:13 PM
Bootflag has no effect on the issues discussed above. Other than a small delay at startup, when the bootloader is checking the contents of the SD card (see this flowchart) (https://www.magiclantern.fm/forum/index.php?topic=23641.msg213338#msg213338), there's absolutely no effect on camera functionality.

Quote from: Danne on September 20, 2019, 12:41:28 PM
Also formatting a sd card with ml ongoing often seems to be a cause of issues restarting etc.

Links, please...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 20, 2019, 01:02:11 PM
Quote from: Danne on September 20, 2019, 12:41:28 PM
Also formatting a sd card with ml ongoing often seems to be a cause of issues restarting etc. Walter mostly comes to the rescue here ;).

Don't remember any such issues after reformatting. After format the card is clean and there may be a problem with diagnostics like portable display autoexec.bin and lost ROM.BINs (if needed).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 01:13:37 PM
Ok,ok. I only vaguely base my assumptions. Could be erasing not formatting causing issues.
I would like to rewrite my former message.
Please don't seek ways to break start up routines removing card or other ways in my ongoing builds. I don't have the time or enough knowledge to provide more than bleeding edge experimental builds. And in this case many presets includes heavy use of movie crop mode property regs. Other automations might also become problematic if for some reason interrupted.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 20, 2019, 01:34:55 PM
Quote from: Danne on September 20, 2019, 08:44:48 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 18 fps 1736x2180 (2.39:1) anamorphic mode

If ratios are set to OFF and you then enable set_25fps in anamorphic rewired mode fps will have a boost to 18fps and set resolution to 1736x2180. Don´t forget to push MENU once to refresh regs.

This mode is continuous in 10bit. It´s actually possible to push to 20fps but not continuous.
The 14fps mode can be pushed to 16fps but will only record shortly. If you want to push these limits go into the registry section and decrease reg_6014 and/or reg_6008.

That's great, thanks! I normally record in 16:9 but will try this out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 01:42:34 PM
I want the full width so the compromise to get 18fps is 2.39:1.
I guess full width could be kept an 24fps if we want to use a more narrow ratio than 2.39:1. Could be interesting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 20, 2019, 07:08:50 PM
Quote from: Danne on September 20, 2019, 01:42:34 PM
I want the full width so the compromise to get 18fps is 2.39:1.
I guess full width could be kept an 24fps if we want to use a more narrow ratio than 2.39:1. Could be interesting.

So we have:

1464x1836 at 24p (64,509,696 pixel / sec)
1736x2180 at 18p (68,120,640 pixel / sec)
1736x2996 at 14p (72,814,784 pixel / sec)

So maybe 24p's width could be pushed till about 2072(?), with height and fps unchanged. And / Or full width and lowered height of course, may be a variable for setting its ratio between limits?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2019, 07:29:46 PM
Changing cmos 7 to 280 allows for higher fps but only tested some. Even if we could reach 24fps here it's not continuous without highly reduced height so maybe just stop at 18fps until we see some actual use here  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 22, 2019, 10:39:06 AM
@Danne -- I just wanted to let you know that while I appreciate your hard work on fine-tuning this mighty beast nevertheless recently I couldn't stop puzzling myself at why occasionally if I were to 'abuse' the half-shutter to check focus in x10 zoom and back to normal viewing thus forcing me to either turn off cam and back on (not very often requiring a battery pull) just a simply shut-down and back on seems to do the trick.  :-X

Atm I'd give this Sticky Push about a 75-85% reliability rate (if not better) which is far more than what we can ask from you. Regardless I'll continue to abuse this bad boy to try and find a way to reproduce this so called phenomenon since this is indeed an useful feature.

Rather than the usual double press Menu button which would normally refresh the registers but apparently I'm pushing this a bit over the edge, right?  ;D

Also I just realized you can't really combine Magic Zoom with the Half-Shutter Sticky Push together (unless you turn off Global Draw completely while in recording mode) which to me is a dealbreaker. While I enjoy the newly sticky half-shutter feature... we know we shouldn't fix what's not broken re: Magic Zoom. All about compromise!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 22, 2019, 11:41:52 AM
Are you using sticky push? If not do that and see to it that halfshutter is pushed until reaching x10 zoom.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 22, 2019, 08:04:06 PM
In the Sept20th build I have a bug at Playback
this happens seeningly if the ratio is set to off This doesn't happen with 2.5k 1:1 or Ana modes
2. maybe the 3x also an issue there

So if I set ratio to OFF and record mv1080p rew. and go in Playback, the LED is on and the screen black. The cam doesn't freez or something, I can reach the Record mode just  with a tap on the screen .

Just a report. Please check anyone.
Many thanks to Danne and pthers

Best
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 22, 2019, 09:39:07 PM
There's often playback issues with eos m. The only cam I used which works robust with mlv_play is the 5d3. Any hints to if this is fixable is most welcome.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on September 22, 2019, 10:25:17 PM
Didn't know this
Not that big playback user anyway, actually found the "fast" playback option just some days ago, which is neat

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 22, 2019, 10:28:03 PM
When shooting outdoors, I don't need to change my iso that much.

Was wondering if possible to create in the customized hotkey tab to just change aperture up and down. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on September 23, 2019, 09:50:42 AM
Could be added. But iso will stay at 100 until aperture is all the way open. So basically when you want to shoot at iso 100 outdoor you'll only be changing aperture when using the existing iso + aperture hot keys.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 23, 2019, 10:04:16 AM
Quote from: Jip-Hop on September 23, 2019, 09:50:42 AM
Could be added. But iso will stay at 100 until aperture is all the way open. So basically when you want to shoot at iso 100 outdoor you'll only be changing aperture when using the existing iso + aperture hot keys.

maybe "Right" button could switch between ISO / Aperture for Up/Down buttons, like it does with Aperture/Shutter (given that Shutter is locked).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 23, 2019, 10:04:20 AM
It could be added as an independent setting leaving iso completely alone? A third option in customize buttons. Iso can still be changed normally in canon menu.

EDIT: Right/left buttons are not assignable for all know.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 24, 2019, 05:49:43 AM
Quote from: Jip-Hop on September 23, 2019, 09:50:42 AM
Could be added. But iso will stay at 100 until aperture is all the way open. So basically when you want to shoot at iso 100 outdoor you'll only be changing aperture when using the existing iso + aperture hot keys.

Quote from: Danne on September 23, 2019, 10:04:20 AM
It could be added as an independent setting leaving iso completely alone? A third option in customize buttons. Iso can still be changed normally in canon menu.

EDIT: Right/left buttons are not assignable for all know.

  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2019, 08:30:01 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- aperture only mode possible. Check under customized buttons.

EDIT: refined function. Skipping fine tuning steps and also reversed buttons when it´s aperture only.

EDIT 2:
Decided to add yet another switch in there:
(https://i.postimg.cc/Vv8G0pT2/VRAM2-PPM-500px.png)

Will assign INFO button and now it will toggle between ISO and aperture button. Also works while recording
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 24, 2019, 12:44:30 PM
Very nice, one thing. It skips wide open (3.5) on the kit 15-45. Maybe not jumping to f22 when reaching wide open? And / Or option to choose stepping (full vs large steps like now)?

Thanks in advance : ))
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2019, 01:41:25 PM
I tested both suggestions and they are possible. However I can´t use it that way. I really need aperture steps to be pushed faster. If I want finer increments I simply use the scroll wheel instead. The stops could be added but seems they will be skipped if not reaching the correct max or min number and this could happen since I took out the finer increments. So if it´,s at 2.2 instead of 2.0 it will skip the stop and go to f22. So I skip stops too.

If you want to you can add this piece of code into crop_rec.c and compile and you get what you want. Replace following:
    if (key == MODULE_KEY_PRESS_UP && lv && !gui_menu_shown() && is_movie_mode() && (gain_buttons == 3 || info_switch))
    {
        aperture_toggle(0, 2);
        return 0;
    }
    if (key == MODULE_KEY_PRESS_DOWN && lv && !gui_menu_shown() && is_movie_mode() && (gain_buttons == 3 || info_switch))
    {
        aperture_toggle(0, -2);
        return 0;
    }

With:
    if (key == MODULE_KEY_PRESS_UP && lv && !gui_menu_shown() && is_movie_mode() && (gain_buttons == 3 || info_switch))
    {
        int a = lens_info.raw_aperture;
        if (a == lens_info.raw_aperture_max) return 0;
        aperture_toggle(0, 1);
        return 0;
    }
    if (key == MODULE_KEY_PRESS_DOWN && lv && !gui_menu_shown() && is_movie_mode() && (gain_buttons == 3 || info_switch))
    {
        int a = lens_info.raw_aperture;
        if (a == lens_info.raw_aperture_min) return 0;
        aperture_toggle(0, -1);
        return 0;
    }
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on September 24, 2019, 07:32:30 PM
Hello Danne and community, catching up with the latest modifications!
The possibility of switching between realtime and framing with the INFO button seemed to me incredibly useful. Being that framing is essential to think the framing, but with Kill Global draw, at the time of recording you has to become familiar with what should be framed in that view. It's a bit intricate, but it's the way to get the best out of EOS M at the moment.

On the other hand, is there a chance to easily customize the presets? and could these already include the ratio, resolution and bitdeph?
I know something about programming, but I don't remember anything about C.

After trying the possible configurations, the ones I use the most are:
- mv1080p MCM Rewire, in 14 bit, with aspect ratio in 4:3 and resolution 1736x1158, to capture the highest resolution and have that crop margin if the final video is in 16:9.
- 5k anamorphic, in 12 bit, with a ratio of 2.35:1, with aspect ratio 2:1 and resolution 1280x1900, to minimize the crop factor. And 12 bit always gave me much better results in the shadows than 10 bit.
Both modes give me continuous recording and free of pink frames! I use the popular sandisk extreme pro 170MB/s.

Of course, the way it's now, the EOS M has already become an incredible tool for experimenting in cinemetography.
Thank you very much for all your work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2019, 08:33:05 PM
What exactly do you want to customize? And easy? It depends on what you're after. But it sounds like you should start checking into crop_rec.c.
Compiling? If not, I suggest you start there. Compiler.app for mac is what I use. There are guides for windows here as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on September 24, 2019, 09:27:48 PM
Quote from: Danne on September 24, 2019, 08:33:05 PM
What exactly do you want to customize?
at first It would only be to see if it is possible when choosing the mv1080p MCM Rewire and 5k anamorphic presets, automatically change ratio, aspect ratio, resolution and bitdeph, to those of my preference.

I will see if I can go inside and understand what you mention.
Ideally I would try to include the possibility of saving the current configuration as a preset, but I guess that would not be easy.

Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on September 24, 2019, 09:52:31 PM
Quote from: guerchi on September 24, 2019, 07:32:30 PM
I use the popular sandisk extreme pro 170MB/s.

Any proof for this? Been hesitated at buying Extreme Pro 170 MB/s over the ever so popular 95 MB/s regardless of the latter (95 MB/s) costing more than the higher write speeds (170 MB/s).

If this card is doable then I'll definitely go out and grab a bunch of Extreme Pro's in 170 MB/s just to be future-proofed and because they are cheaper online.

The reason why I'm asking is we obviously know that the faster Extreme Pro 280 MB/s is actually slower for the EOSM and is unable to do continuous recording at all. However, this seems to be not the case for EP 170 MB/s, correct?  :o
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 24, 2019, 10:13:37 PM
First generation Extreme Pro UHS-III (280 MByte/s) actually were good for < 50 MByte/s writing in UHS-I mode. Those 170 MByte/s are a tad slower than Extreme Pro 95 MByte/s in non-Sandisk devices (those supporting proprietary overclocking mode).
See https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-pro-170mbs-uhs-i-u3-v30-128gb-sdxc-memory-card/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on September 24, 2019, 11:09:49 PM
Quote from: DeafEyeJedi on September 24, 2019, 09:52:31 PM
Any proof for this? Been hesitated at buying Extreme Pro 170 MB/s over the ever so popular 95 MB/s regardless of the latter (95 MB/s) costing more than the higher write speeds (170 MB/s).

If this card is doable then I'll definitely go out and grab a bunch of Extreme Pro's in 170 MB/s just to be future-proofed and because they are cheaper online.

The reason why I'm asking is because we obviously know that the faster Extreme Pro 280 MB/s is actually slower for the EOSM and is unable to do continuous recording at all. However, this seems to be not the case for EP 170 MB/s, correct?  :o
Like Walter said, the 95MB/s version has more room to play near 57 MB/s. I had a couple of that for my BMPCC (the 170 MB/s version don't work on the pocket) and work perfect on my EOS M.
I just did a test with both cards recording in 5k anamorphic, ratio 2.35:1, aspect ratio 2:1, resolution 1280x1900, 14 BITS LOSLESS! at an average of 55 MB/s and both cards did a good job giving about 2 minutes of continuous recording with changing light environments between inside and outside. Maybe the 170 MB/s version showed the red camera warning more often, but both stopped at a similar place and time, and it seems that neither generated pink frames.
This makes me think that maybe in controlled light environments I can go to 5k anamorphic in 14 bits! That in MLV APP means you can raising the RAW white Level to the maximum and recover more data in the highlights or at least achieve a more pleasant Highlight Rolloff.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 25, 2019, 04:26:20 AM
Did You tested highlight detail with14 and 12bits ? I did multiple times and result shown similar amount of info in highs, not that much different.Tiny bit in shadow, if you call more visible black spots and noise a "detail in shadows".Difference between h264 and raw is amazing tho, like totally new camera and every lens shows its real character that i did not seen at all wehen filming in h264 , it was crushed by canons default contrast and gamma algos.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 25, 2019, 03:58:08 PM
[EDIT] Tested with 15-45, works very nicely, great build.

I'll test today's build for the Aperture control! Thanks a lot for considering : )))

Also, quite interesting insights from guerchi. I'd say, the long term easiest way would be to introduce a few variables, that store each preset's values.

Lets say, we could have two presets that are customisable, and save themselves, maybe even export a little xml or cfg file for sharing.

Feels doable, but emphasising FEELS!! : ))
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LittleBig M on September 25, 2019, 09:22:39 PM
My first post..... So far I'm enjoying shooting with my EOS M  .Thank you Danne ,Zeek and others...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: struppi222 on September 26, 2019, 07:46:25 AM
Could anyone help me with a specific problem I have?
The AF on my EOS M seems to have stopped working when in One Shot mode.
I can usually use it when I first turn on the camera, but as soon as I switch modes (eg. from Manual to Video mode) or enter the canon menu it stops working.
Everytime I try to focus with half pressing shutter afterwards the liveview locks up and the the lens makes weird sounds,
then tries to focus until it's extended all the way trough. I'll try to post a video in the afternoon, but if anyone knows a quick fix,
I'd be super thankful.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2019, 12:03:13 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- canon MENU button now first open INFO screen then canon menu if INFO button has been remapped

INFO screen is still very useful and will be missed when INFO button has been reassigned to other stuff. To cure this canon MENU button will now open up INFO screen instead when INFO has been reassigned. Push MENU again while in INFO screen mode and it goes to canon menu. Push it a third time and it goes back to liveview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Naviddabest on September 27, 2019, 12:47:19 AM
Quote from: DeafEyeJedi on September 24, 2019, 09:52:31 PM
Any proof for this? Been hesitated at buying Extreme Pro 170 MB/s over the ever so popular 95 MB/s regardless of the latter (95 MB/s) costing more than the higher write speeds (170 MB/s).

If this card is doable then I'll definitely go out and grab a bunch of Extreme Pro's in 170 MB/s just to be future-proofed and because they are cheaper online.

The reason why I'm asking is we obviously know that the faster Extreme Pro 280 MB/s is actually slower for the EOSM and is unable to do continuous recording at all. However, this seems to be not the case for EP 170 MB/s, correct?  :o

my 2 cents, or pennies here the uk but from what i heard the 280MB/s card is slower becuase it is a UHS II card and the eos m supports UHS I so the UHS I part of the card is slower, whereas as the 170MB/s is still a UHS I card and you can only achieve thoes "read" speeds by using their proprietary card readers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on September 27, 2019, 03:20:45 AM
Quote from: 2blackbar on September 25, 2019, 04:26:20 AM
Did You tested highlight detail with14 and 12bits ? I did multiple times and result shown similar amount of info in highs, not that much different.Tiny bit in shadow, if you call more visible black spots and noise a "detail in shadows".Difference between h264 and raw is amazing tho, like totally new camera and every lens shows its real character that i did not seen at all wehen filming in h264 , it was crushed by canons default contrast and gamma algos.
The difference is subtle but exists,Much smaller than the chasm between the poor canon H264 and ML RAW!
It is not that the bitdeph increases the dynamic range, I think ML has already extended it to the limits of the sensor.
But, the 14-bit RAW, has by definition more room to retrieve information in both highlights and shadows. Better Highlight Rolloff and less noise in the shadows. I don't know if it's visible on the youtub compression, maybe it can be seen in the first shots where there is very hard sun light :https://youtu.be/dRw3Nir9awE
https://www.youtube.com/watch?v=dRw3Nir9awE

Anyway 5k Anamorphics, in 1280x1900, 14 bits works, but it is unstable,  flirting with the limits of SD card writing speed.

On the other hand, ingenious idea to be able to access the info function from the Canon menu button, Thanks once again Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on September 27, 2019, 06:56:22 AM
Sorry can't seem to figure this one out.

I am trying use my desktop monitor as an external display. However, I cant seem to get anything to display using the mv1080p MCM rewire mode.


The mv1080p 45/48/50 fps 10 bit mode & h264 bit works fine though. Popping out the ML card and using the regular canon software also works fine.

Does this have to do with my monitors display settings (resolution, hertz..) being incompatible with the mcm rewire mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 27, 2019, 07:10:25 AM
Quote from: guerchi on September 27, 2019, 03:20:45 AM
Anyway 5k Anamorphics, in 1280x1900, 14 bits works, but it is unstable,  flirting with the limits of SD card writing speed.
1280x1900, what ratio is that?
I also recommend using the 5k anamorphic rewired mode. A little less height but more stable.

Uploaded a new version just now. It contains iso max and min when using gain function. WHen reaching iso 3200 it won´t loop back to iso 100. Iso 100 not looping back to 3200.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 27, 2019, 01:36:59 PM
Quote from: Danne on September 27, 2019, 07:10:25 AM
1280x1900, what ratio is that?

2:1
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on September 27, 2019, 02:27:35 PM
Hey guys, I just registered to congratulate Danne & Zeek (and others) for pushing this little beast.

I'm also starting my channel which will be mostly using the EOS M for everything video.

I have a few questions and I think it would be great to have answers on this:
1. What is the most stable and lower file size preset we can use right now? I've been currently using MCM Rewire preset but I'm getting some dropframes here and there when using a Feelworld MA5 monitor (probably because I can't switch the feed to 480p) - so for that I think when recording it's just better to turn off the monitor, right? At least for the moment.
2. Is there a faster way to convert ML RAW to ProRes 422 LT? MLVApp seems to be taking around 10 minutes for 30 seconds of video. I'm shooting long format 5-10 minutes videos for my YouTube channel and converting 10 minutes of RAW to ProRes is taking 2 days.
3. I noticed that it's a very big difference in file size between ProRes 422 & 422 LT with not that much disadvantages. Also it seems that MLVApp doesn't care if you export 4K or 1080p, the export time for a 30 second clip is usually the same. Also MLVApp seems to freeze sometimes, a few times I exported 3 minute RAW clip and it just froze after 1.5 hours.
4. The preamps in this camera doesn't seem to be that great neither, so probably would be better off recording externally. Any suggestions on that?

Overall I am blown away at the difference between H264 and ML RAW and definitely will continue using it, I'm just trying to find a workflow that's worth it so that I'm not waiting 5-8 hours to export videos.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 743v04 on September 27, 2019, 07:17:13 PM
First just want to thank everyone (especially Danne!) for all of the hard work put into this amazing project. Does anyone have experience using the EOS-M with a Zhiyun Crane 2 by any chance? I recently picked one up to use with my 5D II, and it works perfect with that running the experimental 10-12 bit firmware.

However, trying it with my EOS-M running the most recent firmware release when I try to use it the same way it gives me a computer connection symbol on the screen. It seems like it has something to do with the fact that the M is mirrorless so doesn't have a non live view to switch out of like the DSLR 5D does, but I just figured it was worth checking in to see if anyone has any insight!

I do not have any video of this behavior to show currently, however I can get some over the weekend to show what I mean if it is something anyone is willing to look into, thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on September 27, 2019, 07:40:45 PM
Quote from: Danne on September 27, 2019, 07:10:25 AM
1280x1900, what ratio is that?
I also recommend using the 5k anamorphic rewired mode. A little less height but more stable.
With 1280x1900 resolution, the aspect ratio would be 2:1. To get this resolution, I set the ratio at 2:35:1 and the aspect ratio at 2:1.
In 14 bits it is not stable, but in 12 bits it is. And, after testing, I think I prefer to work in 12 bits rather than sacrifice some height.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on September 27, 2019, 09:58:45 PM
Not sure I understand the point of anamorphic mode. The resolution does not appear to be any better than 2.5k and in fact seems to look worse.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on September 28, 2019, 11:28:07 AM
Quote from: lightspeed on September 27, 2019, 09:58:45 PM
Not sure I understand the point of anamorphic mode. The resolution does not appear to be any better than 2.5k and in fact seems to look worse.

You get less crop. Almost full sensor width readout, and stellar resolutions when desqueezed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: henricusmaria on September 28, 2019, 12:39:16 PM
Quote from: mix_vfx on September 28, 2019, 11:28:07 AM
You get less crop. Almost full sensor width readout, and stellar resolutions when desqueezed.

Maybe he means it is less sharp..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 28, 2019, 06:38:14 PM
That is all off-topic here, but I'll answer anyway. Better asking such questions in the MLVApp thread!
Quote from: turnlemons2lemonade on September 27, 2019, 02:27:35 PM
2. Is there a faster way to convert ML RAW to ProRes 422 LT? MLVApp seems to be taking around 10 minutes for 30 seconds of video.
No. The rendering has to be done no matter which codec is selected. So the time will be the same. Fastest is when not changing an "Edit" area setting.

Quote from: turnlemons2lemonade on September 27, 2019, 02:27:35 PM
3. I noticed that it's a very big difference in file size between ProRes 422 & 422 LT with not that much disadvantages.
"Not that much", but there is a difference.

Quote from: turnlemons2lemonade on September 27, 2019, 02:27:35 PM
Also it seems that MLVApp doesn't care if you export 4K or 1080p, the export time for a 30 second clip is usually the same.
The rendering has to be done no matter which resolution is selected (original resolution is fastest). So the time will be similar.

Quote from: turnlemons2lemonade on September 27, 2019, 02:27:35 PM
Also MLVApp seems to freeze sometimes, a few times I exported 3 minute RAW clip and it just froze after 1.5 hours.
Please post into MLVApp thread, what you've done exactly to get MLVApp frozen. Best, if it is reproduceable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on September 28, 2019, 06:47:57 PM
Thanks for the clarifications masc, so pretty much this is the workflow at the moment. Appreciate it!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 30, 2019, 05:23:23 PM
My camera is crashing basically everytime i restart after filming is stoped, getting error 70.
crashlogs:
ASSERT: !IS_ERROR( TryPostEvent( this->hTaskClass, this, EV_READOUTDONE_INTERRUPT_EVF, NULL, 0 ) )
at ./Evf/EvfState.c:479, **INT-D9h**:1116c
lv:0 mode:3

CtrlSrv stack: 27bfb0 [1d9db8-1d5db8]
0x0009E558 @ 9e864:27bfb0

Magic Lantern version : Nightly.2019Sep24.EOSM202
Mercurial changeset   : 803005845230 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2019-09-24 12:27:24 UTC by [email protected].
Free Memory  : 230K + 2583K

ASSERT: !IS_ERROR( TryPostEvent( this->hTaskClass, this, EV_SETPARAM_INTERRUPT_EVF, NULL, 0 ) )
at ./Evf/EvfState.c:462, **INT-E0h**:1112c
lv:1 mode:3

debug_task stack: 27bfb0 [1ebdf0-1e9df0]
0x0009E558 @ 9e864:27bfb0

Magic Lantern version : Nightly.2019Sep24.EOSM202
Mercurial changeset   : 803005845230 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2019-09-24 12:27:24 UTC by [email protected].
Free Memory  : 229K + 2564K

ASSERT: !IS_ERROR( TryPostEvent( this->hTaskClass, this, EV_SETPARAM_INTERRUPT_EVF, NULL, 0 ) )
at ./Evf/EvfState.c:462, **INT-E0h**:1112c
lv:1 mode:3

debug_task stack: 27bfb0 [1ebdf0-1e9df0]
0x0009E558 @ 9e864:27bfb0

Magic Lantern version : Nightly.2019Sep24.EOSM202
Mercurial changeset   : 803005845230 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2019-09-24 12:27:24 UTC by [email protected].
Free Memory  : 229K + 2565K
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 30, 2019, 05:30:11 PM
I need much more info if you want help. Preset used etc. Also try to reinstall. Maybe helps.
Are you using fps override?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mesebar2 on September 30, 2019, 07:12:10 PM
First of all, I'd like to thank you Danne for the amazing work you're doing.

I finally had the chance to try the new builds you created for the EOS M. They are so much fun, and the quality is absolutely incredible, and the 5K anamorphic rewired is brilliant.
I have used the September 24th build during the earth strike day, just to try it out quickly. And wow, the image quality I got using the MLVApp is just too good. And the focus pixels using your presets are just not there.
Thank you again for the work you and all the ML developers are doing!

I have a question and am wondering if any of you could help me.

Yesterday I had to literally run to quickly record something, and while doing so I disable the presets. Long story short, I manage to record the footage but instead of using:
5k anamorphic rewired, 1088x1632 10 bit lossless
I recorded anamorphic  1120x1680 14 bits lossless

As a result, I did manage to shoot what I needed but I'm not able to remove the focus pixels in MLVApp. Is there any way for me to get rid of them?
I searched in the forums but I don't think I found (or maybe understood) how to do it either in MLVApp or through mlv_dump.

If it can help, I uploaded the preset and non-preset samples below
https://we.tl/t-jgtbxyn9NJ (https://we.tl/t-jgtbxyn9NJ)

Thanks to anyone who has the patience to help me or point me in the right direction.

And thank you again, Danne, for the amazing work you're doing!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 30, 2019, 07:29:54 PM
yes im always using fps override to 23.976
I went back to build from last august.Too much trouble with new one.I might be the only one if people dont post anything about issues but i had to pull battery so many times and got error 70 over 10 times in a row. i pick mcm rewire from that new menu , then change to 12 bits , fps override , 16:9, not much else, digic sharpening on , white balance 5000, shutter 41, histogram on.Yeah it doesnt say anything i know.I also noticed that my recording times are much weaker now, i get 20 seconds max and it stops, but i could record for longer than that it started to happen since that new menu was introduced, but i like it so im on august 30.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 30, 2019, 08:56:16 PM
It could be anything but I bet it's related to fps override in your case. If it's related to the build is hard to say but you are free to use whatever build you want so.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 01, 2019, 12:54:08 AM
Quote from: mesebar2 on September 30, 2019, 07:12:10 PM
As a result, I did manage to shoot what I needed but I'm not able to remove the focus pixels in MLVApp. Is there any way for me to get rid of them?
I searched in the forums but I don't think I found (or maybe understood) how to do it either in MLVApp or through mlv_dump.

You just download the focus pixel maps from the link below, unzip them and drag them onto the black screen on MLV App. If it's still there, 3x3 chroma smooth shouldn't hurt ;)
MASC Focus Pixel Tutorial Video found on this page towards the bottom:
https://www.magiclantern.fm/forum/index.php?topic=16054.675
Focus Pixel Maps Download:
https://www.youtube.com/redirect?q=https%3A%2F%2Fbitbucket.org%2Fdaniel_fort%2Fml-focus-pixels%2Fdownloads%2F&redir_token=XAGCeaNtGohw2MmJkXwYfOzsvPN8MTU2OTk3MDE3NEAxNTY5ODgzNzc0&v=zbOEAD9RfJ0&event=video_description
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 01, 2019, 06:06:19 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Trying a fix for this issue:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg221021#msg221021

@2blackbar
Could you test this version?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mesebar2 on October 01, 2019, 07:15:00 AM
Quote from: ZEEK on October 01, 2019, 12:54:08 AM
You just download the focus pixel maps from the link below, unzip them and drag them onto the black screen on MLV App. If it's still there, 3x3 chroma smooth shouldn't hurt ;)
MASC Focus Pixel Tutorial Video found on this page towards the bottom:
https://www.magiclantern.fm/forum/index.php?topic=16054.675
Focus Pixel Maps Download:
https://www.youtube.com/redirect?q=https%3A%2F%2Fbitbucket.org%2Fdaniel_fort%2Fml-focus-pixels%2Fdownloads%2F&redir_token=XAGCeaNtGohw2MmJkXwYfOzsvPN8MTU2OTk3MDE3NEAxNTY5ODgzNzc0&v=zbOEAD9RfJ0&event=video_description

Thank you so much, ZEEK!
I'll try and let you know if it worked as soon as I'll be back home.
Thank you again!

EDIT: Thanks ZEEK, it worked perfectly!!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 01, 2019, 08:38:43 AM
Absolutely loving the new aperture up and down custom buttons. Sometimes, clicking the buttons too fast or soon causes a glitch where the aperture shoots all the way up or down.

When it gets dark, i switch back to the iso custom buttons.

Makes shooting so much more enjoyable :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Johnny Yul on October 01, 2019, 03:41:36 PM
10bit raw is a great solution, but there is a problem, 10bit is linear right? so it does not contain enough data for mid tone and shadow area, worse than 10bit log (not raw file), i think it should be recorded in log profile, not in post-production in MLVApp (data has already lost at that time), it should be done within the progress something like cmos data to 10 bit.
i think 10bit log profiled raw is the perfect solution, it can replace 14bit linear raw in most cases, 10bit linear raw has a obvious gap to 14bit linear, especially when grading mid tone an dark area, mid tone is so important!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 01, 2019, 03:56:02 PM
Quote from: Johnny Yul on October 01, 2019, 03:41:36 PM
10bit raw is a great solution, but there is a problem, 10bit is linear right? so it does not contain enough data for mid tone and shadow area, worse than 10bit log (not raw file), i think it should be recorded in log profile, not in post-production in MLVApp (data has already lost at that time), it should be done within the progress something like cmos data to 10 bit.
i think 10bit log profiled raw is the perfect solution, it can replace 14bit linear raw in most cases, 10bit linear raw has a obvious gap to 14bit linear, especially when grading mid tone an dark area, mid tone is so important!
What is you point? 10bit is a compromise to get continuous recordings. If 12bit or 14bit works use that but we are talking eos m here. Not the most obvious cpu powerhorse  :-*
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Johnny Yul on October 01, 2019, 04:07:00 PM
Quote from: Danne on October 01, 2019, 03:56:02 PM
What is you point? 10bit is a compromise to get continuous recordings. If 12bit or 14bit works use that but we are talking eos m here. Not the most obvious cpu powerhorse  :-*
thank you for your great job, first! i am using your build.
i mean current 10bit raw is linear, right? if it is log profied, it will be almost perfect, just within the progress down sampling to 10bit, i don't know whether the cpu can afford it (i use eosm too) , just a suggestion :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on October 01, 2019, 04:13:01 PM
Quote from: Johnny Yul on October 01, 2019, 03:41:36 PM
10bit raw is a great solution, but there is a problem, 10bit is linear right? so it does not contain enough data for mid tone and shadow area, worse than 10bit log (not raw file), i think it should be recorded in log profile, not in post-production in MLVApp (data has already lost at that time), it should be done within the progress something like cmos data to 10 bit.
i think 10bit log profiled raw is the perfect solution, it can replace 14bit linear raw in most cases, 10bit linear raw has a obvious gap to 14bit linear, especially when grading mid tone an dark area, mid tone is so important!
Raw data is raw data. There's no "log" in raw. I think you have a reading to do (https://en.wikipedia.org/wiki/Bayer_sensor). As Danne said, you can use 12-14bit if you need more dynamic range.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Johnny Yul on October 01, 2019, 05:38:22 PM
Quote from: Luther on October 01, 2019, 04:13:01 PM
Raw data is raw data. There's no "log" in raw. I think you have a reading to do (https://en.wikipedia.org/wiki/Bayer_sensor). As Danne said, you can use 12-14bit if you need more dynamic range.
raw data is also numbers array in memory (a kind of voltage value? ), number can of course be remapped by a non-linear function curve (such as log), just value modification, nothing else.
A log profiled data does not need special data or treatment, only the remapped value taking place of the original one, same size and structure as the original, the only thing need to do is to let the cpu remap the value when down sampling to 10 bit, it is a kind of tiny calculation, i wish cpu can afford it, although, it can already do the down sampling calculation, right?
Anyway, thanks to all the contributors :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 01, 2019, 05:44:02 PM
My bitdepth implementation is a crude, simple one. Lowering analog gain registers from around 400(14bit) and then to 12/10bit values. If there are other values to tweak I don´t know how to do that. This modification was realized from an idea from Levas. Code in crop_rec.c:
            if (bitdepth == 0x3)
            {
                /* 10bit roundtrip only not applied here with following set ups */
                adtg_new[13] = (struct adtg_new) {6, 0x8882, 60 + reg_gain};
                adtg_new[14] = (struct adtg_new) {6, 0x8884, 60 + reg_gain};
                adtg_new[15] = (struct adtg_new) {6, 0x8886, 60 + reg_gain};
                adtg_new[16] = (struct adtg_new) {6, 0x8888, 60 + reg_gain};
            }
           
            if (bitdepth == 0x4)
            {
                /* 12bit roundtrip only not applied here with following set ups */
                adtg_new[13] = (struct adtg_new) {6, 0x8882, 250 + reg_gain};
                adtg_new[14] = (struct adtg_new) {6, 0x8884, 250 + reg_gain};
                adtg_new[15] = (struct adtg_new) {6, 0x8886, 250 + reg_gain};
                adtg_new[16] = (struct adtg_new) {6, 0x8888, 250 + reg_gain};
            }
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on October 01, 2019, 05:52:03 PM
Not sure if I'm following you guys. Isn't ML just reducing the amount of possible tones per channel from 16.384 (14-bit) to 1024 (10-bit)? How could you apply "log" into this if it's an absolute value?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 01, 2019, 05:59:22 PM
Log or not this is how it's done on my end  :-*.
Log is done in post not in cam so I only wanted to share the analog gain regs. Maybe it gives some ideas
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 01, 2019, 06:51:02 PM
just did a little testing with the actual build and noticed that photos (accidentaly) taken in videomode aren't black anymore but regular .CR2 files Which is nice
The file size of 20.4 MB is identical to a photo taken in either mode, but the resolution is different
With the 2.5k 1:! preset enabled, it's height is 2916px instead of the 3456px of the photo mode cr2, the width is the same 5184px

Thank's to Danne and others
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 01, 2019, 06:58:30 PM
Yup. Fixed that. You can get full height by changing metadata in post.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 01, 2019, 08:43:56 PM
Hey Danne! that is great
Didn't complain about it in anyway more it's the opposite
But hey, You know what is weird? I complain to myself since years, not to having an icon of .mlv files on a computer
And this could be the solution. Just autotake a photo before recording a video
Then we would have an image in "finder" to discern which clip is what..
So anyway, thanks a lot for Your work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 02, 2019, 12:41:39 AM
Danne i dont know what magic You did there but its working A LOT better now, previously i could not record for 20 seconds without stopping even if icon was green, now i recorded over 1 minute without stopping , twice in a row and no issues, ill test more but i already see a difference.
Thank You !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 02, 2019, 10:25:43 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fast access to 5k anamorphic full sensor readout
(https://i.postimg.cc/442CMPkB/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on October 02, 2019, 02:09:09 PM
Hi! Thanks for your work! Latest builds works better and better=)
But I can't find in this builds video record restart, I need to take some footage more than 30 min.
Movie restart under raw tab doesn't work, I use H264 record.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 02, 2019, 02:17:09 PM
Movie restart only for raw in this build if I recall correctly. Might add back for h264
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on October 02, 2019, 03:48:29 PM
Quote from: Danne on October 02, 2019, 02:17:09 PM
Movie restart only for raw in this build if I recall correctly. Might add back for h264
yes, please, add for h264, it will be great! thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 02, 2019, 04:45:00 PM
New version:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_raw_only_2019Oct02.EOSM202.zip

- Movie restart always enabled when recording h264. Don´t see any reason for having it disabled?

Please test @kuchka94
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 02, 2019, 04:53:06 PM
Quote from: Danne on October 02, 2019, 04:45:00 PM
New version:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_raw_only_2019Oct02.EOSM202.zip

404  :(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 02, 2019, 04:53:56 PM
Up now, sorry...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 03, 2019, 09:57:19 AM
Thank you Danne! Been testing out and putting content with your latest builds on my channel.

AWESOME WORK! Danne, give me the link to donations, I wanna return the favor for your work.

Here are a few things I noticed:
1. When recording MCM Rewire 10bit after I start recording I get some green lines on the screen.
2. Sometimes I get dropped frames (pink overlays) when recording with a external monitor - I have a FEELWORLD MA5 (which is 1080p and can't be switched to 480) - is there a way around it to reduce the amount of CPU usage so I can still use the external monitor?
3. It seems that I get dropped frames with both 14 / 10 bit MCM Rewire. That's a pity as I can't use this monitor when recording, just check framing/focus and turn it off.
4. I usually use Histogram with Exposure to the right and Kill GlobalDraw OFF (as you told Zeek) and Turn GlobalDraw OFF after 30 secs

Been pushing this little thing to create YouTube content and I have to say, the quality is better then my A6400.

Another thing that I would improve to be easier for new users (even though the presets are just amazing and makes life so much easier) would be to have a better workflow for converting RAW to ProRess directly.

Keep it up and looking forward to it!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 03, 2019, 10:11:25 AM
Quote from: turnlemons2lemonade on October 03, 2019, 09:57:19 AM
3. It seems that with 10bit I don't get that much dropped frames is this easier on the CPU?
Not to the CPU, but to the card interface.

Quote from: turnlemons2lemonade on October 03, 2019, 09:57:19 AM
Another thing that I would improve to be easier for new users (even though the presets are just amazing and makes life so much easier) would be to have a better workflow for converting RAW to ProRess directly.
There will never be a ProRes encoder in this cam. You'll always have to convert it on another machine. Use Switch, MLVProducer or MLVApp. It can't be easier.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on October 03, 2019, 03:42:38 PM
Quote from: Danne on October 02, 2019, 04:45:00 PM
New version:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_raw_only_2019Oct02.EOSM202.zip

- Movie restart always enabled when recording h264. Don´t see any reason for having it disabled?

Please test @kuchka94

Works perfect! Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 04, 2019, 04:11:10 AM


Tested out the Ikan vl35 on the 5k mode. I read how there will be pink frame drops but I was really praying it might not happen to me ....but it did. lol 

Here is a video to show what it looks like. Also, I couldn't get 'framing mode' just a live view where everything was distorted.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2019, 04:35:26 AM
Test it on 5k anamorphic rewired mode. I never use external monitors, certainly not on eosm, but try to lower resolution to a degree where it´s free from corruption. If that is what is needed I don´t know.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 04, 2019, 07:53:35 AM
Using a external monitor for either framing or recording yourself is crucial. Also it helps to know if a recording stopped so uou can just start over.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2019, 08:36:01 AM
Even more cruicial for users to do tests and reports...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 04, 2019, 10:23:19 AM
Yeah so here's what I discovered after recording 3 videos in RAW for my channel. This are more like workflow but also some small bugs that would be nice if fixed.

Exporting RAW to ProRes
It seems that when converting from RAW to ProRes makes no difference either from SD card to SSD or copying files and converting after, so don't know if this is good for SD card's life but it saves me from copying the files over the computer and just convert to ProRes. Export time seems to be the same. This might not be the best idea though and probably would be best to copy to SSD before.

Using a External Monitor (1080p feed)
Pink dropped frames are inconsistent and can't be controlled, it seems that sometimes I get NO DROP FRAMES using 14bit, but I get dropped frames using 10bit WITH external monitor.
What I do at the moment to work around this is just set the framing and exposure and turn it off while using the Canon IR Remote to do the cuts in camera. This wouldn't work in a Run & Gun scenario though so probably would be better off using a magnetic EVF.

I did get some clean 45 seconds takes using MCM Rewire 14bit 16:9 with Kill Global Draw ON, but sometimes I can't get more than 5 sec without pink dropped frames, so still better option to be safe just turn it of. In case of headshot / interview type videos, it might be ok because you could just put broll on top and fix it in post. But I hate that!

Working with MLV App
MLVApp works better for scanning the RAW video BEFORE applying corrections / processing so I can scan a video and see if it's good, if not delete it and AFTER process it for export.
I love the results coming out of this app, basically just using the Rec709 conversion and white balance picker & some sharpen. After that I pull the video in FCPX and grade it there, as FCPX is much more responsive with MOV.

Sometimes MLV App just froze when exporting clips, so better to just export 5 clips at a time if longer and quit the app and come back. Yeah, not the best experience but it is what it is.

Recording videos for YouTube
Recording videos for long format (1-3 minutes) in 14bit / 10bit is better split between cuts - using the basic Canon IR Remote works like a wonder, it also makes your job easier in editing. Even though I would prefer to have 1 long 10 minutes video and chop it up, converting a 10min RAW video in MLVApp takes like 6 hours, which is totally not doable.

I did get a 1:35 min clip using 10bit, monitor OFF without any dropframes, looking great. Exporting RAW to ProRes for this takes 45 minutes though. That would not be a problem, however sometimes after this long export times MLVApp just stops responding and you basically loose the export too. So that's why I think it's better to do the cuts in camera if possible, or at least as close as you can & keep everything short.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 04, 2019, 02:16:22 PM
Quote from: turnlemons2lemonade on October 04, 2019, 10:23:19 AM
Pink dropped frames are inconsistent and can't be controlled, it seems that sometimes I get NO DROP FRAMES using 14bit, but I get dropped frames using 10bit WITH external monitor.
What I do at the moment to work around this is just set the framing and exposure and turn it off while using the Canon IR Remote to do the cuts in camera. This wouldn't work in a Run & Gun scenario though so probably would be better off using a magnetic EVF.

I did get some clean 45 seconds takes using MCM Rewire 14bit 16:9 with Kill Global Draw ON, but sometimes I can't get more than 5 sec without pink dropped frames, so still better option to be safe just turn it of. In case of headshot / interview type videos, it might be ok because you could just put broll on top and fix it in post. But I hate that!

Recording videos for long format (1-3 minutes) in 14bit / 10bit is better split between cuts - using the basic Canon IR Remote works like a wonder, it also makes your job easier in editing. Even though I would prefer to have 1 long 10 minutes video and chop it up, converting a 10min RAW video in MLVApp takes like 6 hours, which is totally not doable.

I did get a 1:35 min clip using 10bit, monitor OFF without any drop frames, looking great. Exporting RAW to ProRes for this takes 45 minutes though. That would not be a problem, however sometimes after this long export times MLVApp just stops responding and you basically lose the export too. So that's why I think it's better to do the cuts in camera if possible, or at least as close as you can & keep everything short.

1). The EOS M2 works perfectly with any monitor in RAW, ZERO pink frames every single time: Magic ;). With the Canon EOS M, it can be a bit of "hit and miss". Try enable 16:9 if not enabled (2.39:1, 2.35:1, [16:9]), go to Display tab towards the bottom and select "advance setting", screen layout 16:9 HDMI, t/b. On your monitor select 1080i 60HZ instead of 480p. 480p was suggested a while ago when MCM Rewire wasn't around.
2). Possibility for a speedy export process: For long videos for your YT Channel, try exporting in MLV App using CDNG Uncompressed/Lossless and use other editors such as Davinci Resolve (16) to export the final product, it's free and really good.
- I'm using a Macbook PRO 2012 upgraded to 16GB Ram, 512GB SSD (this is key), i5 etc....MLV Files load really well with prores 4444. Maybe you can get an "External SSD Drive" and export .MLV files onto that. Also, the card reader spec e.g. 3.0 transfer speed is important.   
 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 04, 2019, 05:34:09 PM
Hi Zeek, thx for your feedback. Ok, will check it out and report back. Unfortunately all I have is the EOS M and wanna makw the most of it. Yeah I do have a SSD that I'm using, will try 4444 too.

Later edit:
DNG to ProRes using DaVinci is so much faster. A clip of 1:45 takes around 3 minutes to export from MLV App and 1:10 from Davinci, much better! Thanks man!

After doing some tests, I can report that it's still dropping frames. I did set the display to 16:8 t/b in advanced settings but still I'm getting dropped frames when using external monitor. It was already on 1080i 60hz.

I'm using a Sandisk Extreme Pro 170MB/s V30 version.
Here are my settings:
(https://i.ibb.co/ZYZ9CPN/IMG-3459.jpg) (https://ibb.co/jWptF2H)
how to upload an image to the internet (https://imgbb.com/)

Both 14bit / 10bit had dropped frames like this:
(https://i.ibb.co/9GPnQxx/Screenshot-2019-10-04-19-22-34.png) (https://ibb.co/R782RXX)
how to upload an image to the internet (https://imgbb.com/)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: critix on October 04, 2019, 06:17:32 PM
For those who have the latest firmware version on EOSM, 2.0.3, I put the latest version of Danne, modified for firmware 2.0.3:
https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2019Oct04.EOSM203.zip (https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2019Oct04.EOSM203.zip)

LE: I restored the archive, because something was missing ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2019, 07:27:25 PM
Quote from: turnlemons2lemonade on October 04, 2019, 05:34:09 PM
After doing some tests, I can report that it's still dropping frames. I did set the display to 16:8 t/b in advanced settings but still I'm getting dropped frames when using external monitor. It was already on 1080i 60hz.
Turn off histogram and the slightly sharper thingy.
Zeek is on to something about m2. I suspect raw_slurp vs canon native buffer which is what Zeek is using on his m2. Seems this could give a slight overhead but then all that is working for that cam is the mcm rewired mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 04, 2019, 08:47:29 PM
Quote from: turnlemons2lemonade on October 04, 2019, 10:23:19 AM
Working with MLV App
MLVApp works better for scanning the RAW video BEFORE applying corrections / processing so I can scan a video and see if it's good, if not delete it and AFTER process it for export.
I love the results coming out of this app, basically just using the Rec709 conversion and white balance picker & some sharpen. After that I pull the video in FCPX and grade it there, as FCPX is much more responsive with MOV.

Sometimes MLV App just froze when exporting clips, so better to just export 5 clips at a time if longer and quit the app and come back. Yeah, not the best experience but it is what it is.

...

I did get a 1:35 min clip using 10bit, monitor OFF without any dropframes, looking great. Exporting RAW to ProRes for this takes 45 minutes though. That would not be a problem, however sometimes after this long export times MLVApp just stops responding and you basically loose the export too. So that's why I think it's better to do the cuts in camera if possible, or at least as close as you can & keep everything short.

What are you doing? Do you use DualIso or is your PC running on extremely low power? For >450GB MLV (90min, 350 clips) my 8 years old computer needed 12h for rendering to ProRes via MLVApp... can't believe that your computer needs so long for that few seconds clips. I also never got a crash or freeze with that. If you get crashes/freezes, please post into MLVApp thread how to reproduce. Without such information it won't become better.

I would not really grade in FCPX, because quality is sooo bad in comparison.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 04, 2019, 08:57:06 PM
@turnlemons2lemonad

What is your ISO on? I would probably need to test it out more but using mcm rewire w/ my Ikan VL35 field monitor, I get no pink frame drops when iso was set to 100. When I tried it out at night at iso ~1600, I was getting pink frames like crazy.

higher iso = more cpu intensive?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: OlRivrRat on October 04, 2019, 10:11:28 PM
       @MASC

"I would not really grade in FCPX, because quality is sooo bad in comparison."

In comparison to what ? Please ~
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 04, 2019, 10:19:24 PM
Quote from: OlRivrRat on October 04, 2019, 10:11:28 PM
       @MASC

"I would not really grade in FCPX, because quality is sooo bad in comparison."

In comparison to what ? Please ~
Grading in MLVApp offers a 16bit pipeline (which should be mostly used after WB correction and tonemap). After exporting to ProRes a lot of (bitdepth) information is lost forever. When grading now in any NLE, you'll get easily artifacts and banding. Using FCPX those artifacts are visible in most cases. At least on my machines FCPX grading could never satisfy.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dfort on October 05, 2019, 06:59:10 AM
In case you haven't been following the news, Sigma announced some new EF-M mount lenses (https://www.dpreview.com/news/9007845074/sigma-announces-dc-dn-prime-lens-trio-for-canon-ef-m-mount):

(https://live.staticflickr.com/65535/48845416956_3b07d6bc50_z.jpg) (https://flic.kr/p/2hqiwHj)

All three primes will set you back about $1,000 or about 6x the cost of a used EOS M body.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 05, 2019, 07:15:54 AM
too bad they dont have image stabilization on them  :'(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 05, 2019, 08:36:06 AM
Quote from: masc on October 04, 2019, 08:47:29 PM
What are you doing? Do you use DualIso or is your PC running on extremely low power? For >450GB MLV (90min, 350 clips) my 8 years old computer needed 12h for rendering to ProRes via MLVApp... can't believe that your computer needs so long for that few seconds clips. I also never got a crash or freeze with that. If you get crashes/freezes, please post into MLVApp thread how to reproduce. Without such information it won't become better.

I would not really grade in FCPX, because quality is sooo bad in comparison.

This is what I do:
1. Copy MLVs from SD to iMac (40GB RAM, i5, SSD)
2. Drop into MLV
3. Apply basic R709 correction and white balance
4. Export into ProRes 422 LT or ProRes
5. Take around 8 min for 10 seconds and what I already wrote for longer

It seems that the workflow Zeek shared provides the quickest export. DNG Fast Pass is the fastest takes 1 minute for 4 minutes clips, while DNG Uncompressed is a bit longer with 4 ninutes.

Davinci Resolve just flies exporting takes like nothing.

Grading in FCPX is just much faster compared to using MLVApp because after you apply a grade it is much slower.

@Danne will try that too
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 05, 2019, 10:25:46 AM
@turnlemons2lemonade: it is still off-topic here (that's why I wrote "post in the MLVApp thread"). Anyway...
If I do exactly the same as you described, a 10sec clip needs 2:30min here on my 9 years old Core2Duo (dual core), on my iMac 2011 I mostly get more than the double speed as from this Core2Duo. So something is strange with your system.

"Quick" depends on what you are doing after this export. DNG export is quick, yes, but after this, processing starts and is slow again. Davinci needs more or less the same time on my computers like MLVApp (but I don't have a monster GPU - sure it would be faster if you have one). DNG Fast Pass export in MLVApp is fastest, because no RAW Correction is applied (e.g. Focus Pixels will still be there).

Sure... grading in FCPX is fast, therefor you'll get artifacts as described. I recommend to grade in one step - so from MLV to final-color or from DNG to final-color.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on October 05, 2019, 01:10:00 PM
I can confirm what @masc is saying. I have a AMD Ryzen 5 and 10s of MLV takes less than 2min (sometimes it takes less than 1min - from MLV to ProRes444).
@turnlemons2lemonade if you want, send me one 10s MLV. I can export and measure the time it takes, so you can compare. 8min for 10s is just not correct.

About the grading: what tools you have on FCPX that you can't find on MLVApp? Grading directly on MLVApp (with wide-gamut) is much better than grading on FCPX. It's not a matter of opinion on this, it is just technically better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 05, 2019, 03:06:02 PM
Hey guys, thanks for the feedback. Greatly appreciate it!

So far it seems that even with the Histogram & Peaking turned off I still get some shorter dropped frames. Best bet is just use ML without a monitor.
Also thx @Zeek for the DNG thing, it's much faster for me now to edit and I don't feel like I'm getting old while doing the export.

For this video I just color corrected and converted to Rec709, exported to DNG and cut into FCPX and that's it.

I ordered a Sigma 18-35 because I think that lens will put a lot of value into this little thing with 14bit raw it will just smash everything in it's way.

Would be great to find a way to use the external monitor though. Any other suggestions?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on October 05, 2019, 05:45:39 PM
Quote from: turnlemons2lemonade on October 05, 2019, 03:06:02 PM
Also thx @Zeek for the DNG thing, it's much faster for me now to edit and I don't feel like I'm getting old while doing the export.

For this video I just color corrected and converted to Rec709, exported to DNG and cut into FCPX and that's it.
You just ignored the reply of a main MLVApp developer. Not just ignored, but also ironized it ("feel like I'm getting old"). That's quite disrespectful, sir.
We are not selling you anything, btw. MLVApp is open source and free software. Everybody using it is encouraged to report bugs.

Quote
Any other suggestions?
You won't get anything from me anymore.

ps: This is not a place for self-promotion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on October 05, 2019, 05:53:10 PM
Quote from: Luther on October 05, 2019, 05:45:39 PM
You just ignored the reply of a main MLVApp developer. Not just ignored, but also ironized it ("feel like I'm getting old"). That's quite disrespectful, sir.
We are not selling you anything, btw. MLVApp is open source and free software. Everybody using it is encouraged to report bugs.
You won't get anything from me anymore.

ps: This is not a place for self-promotion.

+1 >:(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 05, 2019, 06:44:19 PM
Look guys, I'm not here to argue. Not that you provided any useful information @Luther.
I don't have time for that, neither I know who is what or care for the drama. I have removed the video above so there is no conflict.

Anyway, at this point this is the easiest workflow I found (for my use) using ML latest build from Danne.

MLVApp is really a great tool and it works great for conversion and grading, I was just complaining about the long export times to ProRes.
Exporting 1:45 to ProRes 422 takes more or less around 3 hours.
Exporting 1:45 to DNG (with small adjustments done to the raw) takes 4 minutes.

ISO 100 - it seems there might be something going on here, I did record around 30 secs without any drop frames at ISO 100 but we can't always do that. So, not a viable option.
At the moment only workaround I found as a conclusion is if I want 100% clean frames just turn off the monitor and it should be fine. Otherwise it's a game of luck.

I'm going to continue testing ignoring the above. My goal is to shoot continuous MCM Rewire 14bit with a external monitor and a fully build out cinema rig.

@masc I'm sorry if you feel offended in any way. That was not my intention.




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 05, 2019, 07:51:27 PM
turnlemons2lemonade let us know if you find a way to use the monitor without any problems, i was about to buy that same monitor with the DC out to power the EOS M but after reading your findings im putting that buy on hold, Zeek commented on his monitor video that he is testing another monitor, he'll share his findings later, do you get pink frames when using 5k script and the monitor at the same time?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 05, 2019, 08:11:31 PM
Didn't tried that yet, will do tomorrow. 5K Anamorphic MCM Rewire or which mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 05, 2019, 09:33:11 PM
The last build i tried was from 8th September, i choose 4k and 16:9 aspect ratio, dont know what options there are now after the "redesign", if you can try using lower iso and 180 degree shutter rule in 10,12 and 14 bit if you can, thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 06, 2019, 10:13:06 AM
Quote from: turnlemons2lemonade on October 05, 2019, 06:44:19 PM
... I was just complaining about the long export times to ProRes.
Exporting 1:45 to ProRes 422 takes more or less around 3 hours.
Exporting 1:45 to DNG (with small adjustments done to the raw) takes 4 minutes.
You mean minutes or hours (1:45)? I am back home and render my holiday clips from the last 2 weeks with my old iMac 2011: 380GB MLVs, 430 clips, rendered with some basic adjustments in 9h30min to ProRes422. I still don't think that this is extremely long for that amount of data. I still more think something is wrong with your computer or configuration.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 06, 2019, 11:21:06 AM
Yeah, sounds strange with that slow exports. Turnlemons2lemonade. If you want cpu action copy mlv app four times on desktop than start these four apps to export at the same time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 06, 2019, 11:24:16 AM
Quote from: critix on October 04, 2019, 06:17:32 PM
For those who have the latest firmware version on EOSM, 2.0.3, I put the latest version of Danne, modified for firmware 2.0.3:
https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2019Oct04.EOSM203.zip (https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2019Oct04.EOSM203.zip)

LE: I restored the archive because something was missing ...
Tested. Firmware 2.0.3 with ML Build [Oct04, EOSM203].
- Freezes in LiveView when attempting to open ml menu
- No RAW Functionality, no resolution, aspect ratio, modes etc...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 07, 2019, 04:35:15 AM
I'd like to share 2 clips using the newest build at 5k anamorphic rewired 10bit. Footage is not upscaled and is the highest I've ever recorded. If you can see from the footage, there seems to be a lag issue. I'm not sure if it has to do with my card but I do get relatively long recording times so I'm not sure whats going on. When trying to combine these 2 clips in adobe premiere, I get an "Error compiling movie" and windows is telling me I'm running low on ram (Ryzen 5 2600x setup w/ 16 gigs)

Footage is really beautiful at this resolution but I'm starting to feel bottle necked by my computer's performance.

https://youtu.be/jMhC8NbPY1A


ahh sorry, just realized I didn't select aspect ratio to any value. everything is working fine  :-X
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2019, 05:48:52 AM
Lag issue? We need more to understand your issue here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 08, 2019, 01:55:48 PM
selecting 5kAna-rew. setting doesn't show up in GD display
all other videomodes do in green typo

h264 only available from the "tap display" presets menu, not in the regular one, they are very much different
regarding h264 and the missing quality controls, could someone beside me find it usefull to have a second h264 low picture quality video with minimal res possible to be able to record mainly Audio ?
I don't know if this is easy possible

Another question regarding the name of the MLV file, - if one starts recording in h264, a name shows up in GD, could this be possible in MLV recording too?

Thanks to Danne and others for their awesome work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 08, 2019, 02:28:30 PM
Quote from: AF-OFF on October 08, 2019, 01:55:48 PM
selecting 5kAna-rew. setting doesn't show up in GD display
all other videomodes do in green typo

h264 only available from the "tap display" presets menu, not in the regular one, they are very much different
regarding h264 and the missing quality controls, could someone beside me find it usefull to have a second h264 low picture quality video with minimal res possible to be able to record mainly Audio ?
I don't know if this is easy possible

Another question regarding the name of the MLV file, - if one starts recording in h264, a name shows up in GD, could this be possible in MLV recording too?

Thanks to Danne and others for their awesome work
5k ana rew shows up in green here. That is a ratio is applied. Otherwise not.
You´re correct that h264 only can be reached from tap display menu. Or you can turn off raw video, also works. Originally the plan was to only be able to record mlv in this version so from that stand point it´s not bad.
Recording h264 in parallell wth mlv is not working. Camera freezes.
Could take a look at including name while recording. Edit: checked shortly in lens.c but no easy solution  :P. I will leave it as it is without name included.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 09, 2019, 12:53:13 AM
Thank's for clarification Danne

I dont have ratio applied in either mode, only noticed that it doesnt show up there

no problem with h264, did used it previously for audio recordings ... - highest h264 compression and wav audio with external mic
can easily use a dedicated slow card for this with ML nightly

Did try to record h264 and mlv only once, long time ago

clip name is not possible, no problem too

Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 09, 2019, 05:58:00 AM
Quote from: AF-OFF on October 09, 2019, 12:53:13 AM
Thank's for clarification Danne

I dont have ratio applied in either mode, only noticed that it doesnt show up there

no problem with h264, did used it previously for audio recordings ... - highest h264 compression and wav audio with external mic
can easily use a dedicated slow card for this with ML nightly

Did try to record h264 and mlv only once, long time ago

clip name is not possible, no problem too

Thanks
Well if only audio is wanted you might as well record in 640x480.

New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Now displaying the name anamorph MAX in display when no ratio is selected so new build up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 09, 2019, 10:53:22 AM
hey Danne,
Your new build
so now when I select h264 and then in Canon Menu, videotab, 640x480 30fps, it records in that resolution, which gives a really small filesize with bitrate of 9.8 Mbit
Thanks for the hint

selecting the 5k ana-rew preset with aspect ratio set to OFF shows now as anamorph MAX in GD
This is now very nice and more consistent
But what is really wonderfull now is the real-time preview in that mode, which is perfectly centered and not streched anymore, it's now like the 2.5k modes

Thank You very much! Will do some testing and report back if necessary
Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 09, 2019, 12:28:48 PM
Centred but 14 fps? Or do you tweak fps and ratio from max mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 09, 2019, 11:33:05 PM
@Danne
I did put Your recent build in and tested the h264 @640x480 as suggested
Did push the canonmenu button several times, did a short recording and switched cam off to check the mov file. then I restarted and selected from canon menu back to hd 24fps and activated from ML menu the 5k ana-rew preset (I have the quick menu turned off)
then I've got this realtime preview at 12bit and 12fps , I did switch several times to framing and back and it worked. it was an undistorted, not streched and centered.

Outside I started the cam and the preview didnt work no more like that

Back home tried from memory to recreate , but failed
So I really don't know what happened

Did record at 1736x2996 12bit 12fps , no audio a 60GB file on my 64gb card, did render it out with MLV App which took 3 hours on my old mac and checked the file  which was without any bad frames. the 422 exported file is 56GB

Thanks!


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mastapetz on October 10, 2019, 12:10:42 AM
So, just to be sure:

that 2.0.2 Firmware that is mentioned here and in the install FAQ is meant for ALL EOS M models right?
Is this a custom one, already changed by someone of you or something original by Canon?

I ask, because when I check the canon page itself it lists the Firmware 1.1.0 of my M10 as the most recent one, according to other pages (canonwatch) there is an official one, and those link to an US Canon Page where there even is a 2.0.3 Firmware. 

Before I install anything, I want to be sure to be on the right page with everything.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 10, 2019, 07:24:01 AM
There is no generic firmware for Canon cameras. A firmware fits exactly for the camera type it was designed to fit and nowhere else. ML project does not alter Canon firmware files.

An ML build for a camera fits exactly for that cam *and* a designated firmware version. If there is a new firmware version published you can't use ML created for the previous firmware version.

If we talk about "EOS M" this does *not* mean we talk about all cameras with an EF-M mount. From a programmer's viewpoint each cam type is unique.

And M10 won't be covered by ML project (highly unlikely) because it runs on code for the PowerShot series. Which is CHDK's area: https://chdk.fandom.com/wiki/M10
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LittleBig M on October 11, 2019, 06:07:56 PM
Just report crash....Nightly.2019Oct10.EOSM202
after restart   just crash
copy few crash log

ASSERT: !IS_ERROR( TryPostEvent( this->hTaskClass, this, EV_SETPARAM_INTERRUPT_EVF, NULL, 0 ) )
at ./Evf/EvfState.c:462, **INT-E0h**:1112c
lv:1 mode:3

PowerMgr stack: 27bfb0 [177340-176f40]
0x0009E558 @ 9e864:27bfb0

Magic Lantern version : Nightly.2019Oct10.EOSM202
Mercurial changeset   : 2cfdf6e80413 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2019-10-10 20:50:53 UTC by danne@danands-MBP.
Free Memory  : 229K + 2567K


2

ASSERT: !IS_ERROR( TryPostEvent( this->hTaskClass, this, EV_SETPARAM_INTERRUPT_EVF, NULL, 0 ) )
at ./Evf/EvfState.c:462, **INT-E0h**:1112c
lv:1 mode:3

PowerMgr stack: 27bfb0 [177340-176f40]
0x0009E558 @ 9e864:27bfb0

Magic Lantern version : Nightly.2019Oct10.EOSM202
Mercurial changeset   : 2cfdf6e80413 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2019-10-10 20:50:53 UTC by danne@danands-MBP.
Free Memory  : 229K + 2566K

before crash I film 4 clips 1080   

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on October 12, 2019, 07:02:27 AM
Quote from: dfort on October 05, 2019, 06:59:10 AM
In case you haven't been following the news, Sigma announced some new EF-M mount lenses (https://www.dpreview.com/news/9007845074/sigma-announces-dc-dn-prime-lens-trio-for-canon-ef-m-mount):

(https://live.staticflickr.com/65535/48845416956_3b07d6bc50_z.jpg) (https://flic.kr/p/2hqiwHj)

All three primes will set you back about $1,000 or about 6x the cost of a used EOS M body.


Just sold my 16-35L II and will hold on to the $ for these EF-M Primes from Sigma once they're out. Thanks for the heads up @dfort!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on October 12, 2019, 07:08:19 AM
Quote from: Luther on October 05, 2019, 01:10:00 PM
Grading directly on MLVApp (with wide-gamut) is much better than grading on FCPX. It's not a matter of opinion on this, it is just technically better.

Agreed. Spot on. Less is more.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on October 12, 2019, 07:11:50 AM
Quote from: Danne on October 06, 2019, 11:21:06 AM
Yeah, sounds strange with that slow exports. Turnlemons2lemonade. If you want cpu action copy mlv app four times on desktop than start these four apps to export at the same time.

Be sure to have a fire extinguisher ready just in case. ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: zzzeosm on October 12, 2019, 07:14:37 AM
when I use MLVApp to export 5Kf full sensor readout footage, the final exported file is just 1KB, does anyone meet this problem?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 12, 2019, 08:14:40 PM
Quote from: zzzeosm on October 12, 2019, 07:14:37 AM
when I use MLVApp to export 5Kf full sensor readout footage, the final exported file is just 1KB, does anyone meet this problem?
This is off-topic here. Post this in the MLVApp thread and describe what you did exactly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 12, 2019, 08:23:38 PM
Hey guys, did some more tests. It seems that when recording in 14bit RAW using MCM Rewire preset, with histogram turned off & lv peaking off & external monitor I still get dropped frames. HOWEVER, if I'm recording let's say a 30-60sec clip before and start recording after it seems to work. I mostly seem to get dropped frames on cold starts. Any other suggestion we can try?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on October 12, 2019, 08:51:52 PM
Interesting theory... I'll give this a test run @turnlemons2lemonade!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 12, 2019, 08:53:05 PM
Were the histogram and focus peaking from the magic lantern or the inbuilt monitor functions? Did you try with 12 or 10 bit?
Thanks for the tests.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 12, 2019, 08:56:35 PM
was trying the 10/10/19 build and when using the shutter fine tuning function it displays in green "3.5k" when using the 5k preset, all the other modes are "identified" correctly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 12, 2019, 09:19:53 PM
5k rewired? The other 5k anamorphic is not recommended to use anymore.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 12, 2019, 09:30:06 PM
i used the last one, will try the rewired one, thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 13, 2019, 08:26:07 AM
Quote from: ricardopt on October 12, 2019, 08:53:05 PM
Were the histogram and focus peaking from the magic lantern or the inbuilt monitor functions? Did you try with 12 or 10 bit?
Thanks for the tests.

From the display menu. Yes I did, same results. 14/12/10 doesnt affect too much. I still get dropped frames using a external monitor most of the times.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on October 13, 2019, 10:16:31 AM
Why was the 11 - 8 bit removed? Its nice to have the option.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 13, 2019, 05:38:36 PM
Quote from: lightspeed on October 13, 2019, 10:16:31 AM
Why was the 11 - 8 bit removed? Its nice to have the option.

Were you powering the eos-m with the monitor using a dummy eos-m battery?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on October 17, 2019, 06:44:32 AM
just nice to have if you push the resolution a bit. I can usually get like 2.7k
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 17, 2019, 10:20:49 PM
Hey guys, just wanted to point out that the last video Zeek did on FPS Override fixed the dropped pink frames.

Here's the video:
https://www.youtube.com/watch?v=5HPOKoVhPNA&t=55s

Settings:
FPS Override: 24 FPS
Optimize for: Exact FPS
Shutter fine tune -1,26ms

BOOM, perfect 180 degree shutter, no pink frames. NOW LET'S SHOOT some cinematic 14bit RAW goodness with this beast.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 18, 2019, 07:13:01 AM
Ah man...... :o
Yes, fps override does work in holding the frames per second (fps) in place and it works perfectly on my Feelworld 4K Monitor and Eyeyoyo with no pink frames (they used to be unusable on the m. However, my Fotga produces a little bit, although much, much better than it used to be.

*For some reason the fps in the Canon Menu is adjusted to 25p strictly even upon setting it to 24p. It always reverts to 25p (not sure of the reason behind that. ::))

@turnlemons2lemonade have you tested the settings to see if they work for you? (your monitor, no corrupted frames?)
- make sure your camera also has sufficient battery life too and sd card space :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 18, 2019, 09:12:44 AM
@Zeek yup, just did 4 1 minute long clips right now testing it out and no pinky frames. We're all good to go! Just bought another EOS M.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on October 18, 2019, 12:30:59 PM
Interestingly, I've had no issues with an external monitor on the EOS M.

But I'm set to 25p in the Canon menu
And MCM review set to 14 bit, 25fps, 1/50 (for 180 shutter)

But without having to do any FPS override (as my experience has been the FPS override sometimes causes odd issues).


SO potentially, it is about the shutter being EXACTLY 180, that means there is a lack of pink frames with using external HDMI.

More testing, but it seems like a reasonable hypothesis.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 18, 2019, 12:53:52 PM
Quote from: Pacerx999 on October 18, 2019, 12:30:59 PM
Interestingly, I've had no issues with an external monitor on the EOS M.

But I'm set to 25p in the Canon menu
And MCM review set to 14 bit, 25fps, 1/50 (for 180 shutter)

Does your monitor work with 5k Anamorphic Rewired or 2.5k Mode even with the 180 Degree rule? It would be good to know if it works as those modes are filled with pink frames when used with any monitor. MCM Rewire 1080 is all good with the 180 Degree Rule using Fine-Tuning. Cheers!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on October 19, 2019, 04:13:43 AM
Would it be possible to upgrade or increase the size of the image buffer memory? would this allow 3k shooting?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on October 20, 2019, 03:46:18 PM
Used this build for 2 days without problems, but no extensive testing
After starting the cam with the Oct 17 build today, it crashed.
There was a note to report the crash to ML- devs. Then Error 70 was presented and cam shut down
here are the logs and my settings folder
https://we.tl/t-IRY4rMOaYb
(link active until the Oct 27th)

@Zeek
You are on the PAL setting. I'm on NTSC @ 24fps setting, but this got changed after reboot to 30fps
ML is then reporting 23,xxx fps

Thanks to all Devs for their great work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 20, 2019, 05:46:28 PM
Thanks for logs. There is some start up log which seems pretty interesting. I can't understand what to look for or if it's important but maybe a1ex will have a look. Hopefully.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 22, 2019, 01:15:24 AM
Ive got crashes during startup as well, recent version and error 70 , and i figured out when it happens , its ISO climb feature thats causing this , i tested it right now, so:
-  i have fps override on
- lv digic peaking sharpening on
- histogram on
pretty much thats it, mcm rewire 16:9, 12 bits , shutter 41, white balance 4800,magenta 3+.
But the issue is within ISO climb feature, why? Set it to 200, record then stop, then go to ISO 100 with trash button, record, stop and turn camera off then on...
Voilla - error and crash.
It was suspicious that it happened mostly when i used iso climb to go down.Im surprised no one picked up on that yet.
- Now i tested with just histogram on (without fps override and digic lv peaking) got error again when iso climbing and powering on again.
- tested without histogram, still happened, maybe not everytime but it happens after iso climbing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 22, 2019, 05:27:39 AM
Once I had a 70 error. The same configuration inspired by ZEEK. I switched from ISO 800 to ISO 400. The error was only once after the reboot. I record the rest of the material for ISO 400 and maybe that is why the error did not return. A concert was recorded. 20-second fragments with camera off.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 22, 2019, 07:18:58 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Changed iso updating on restart. Trying to fix occasional crashes

@2blackbar, @yokashin, please test and try to crash this version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 22, 2019, 11:21:36 AM
I tested it , recorded over 20 times climbing iso up/down and had 0 errors/crashes when restarting, so it looks like You fixed it for good ! Thats great !  :D
Ah and i used this link if someone wants to test it:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_raw_only_2019Oct22.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 22, 2019, 02:00:54 PM
That's good news. Updated my broken link.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marodru on October 23, 2019, 03:34:57 PM
Hello

First of all - as a new user I'd like to really thank everybody here and especially maintainers and veterans for their tremendous efforts! This is so incredible...

I have just updated for the latest version and can also help testing stuff - I have EOS M 2.0.2 and Feelworld F6 PLUS external monitor, which does work with 1080i and different 170 and 95 speed SunDisk Extreme PRO SD Cards.
I'll test pink frames with monitor and FPS override more today and will report if they are gone as well as others say...

Stuff that clearly does not work is focus peaking (on external monitor).

I'm IT person and can do custom tests and do advanced stuff so if my input could be useful - I'd be glad for that. Going to buy a second EOS M this week )))

Thanks again!!!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Vulisha on October 24, 2019, 12:00:37 AM
Hi guys, I saw we can't use EOS M using EOS Remote because Canon disabled it :(

But is there a way to use Intervalometer, and connect EOS M to PC and just scrap content from SD card? When I connect cam to PC it goes to pPC share mode by default and shutter is disabled.  Could something like that be done with ML firmware?

Also what is best branch on bitbucket to fork from form EOS M?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on October 24, 2019, 01:13:04 AM
Is it possible to record audio on any of the raw settings? I know the more demanding presets like Ana etc. you can't, but is it possible mv1080 or 2.5k? I ask because I rarely see sound brought up in recent builds and the videos people post are silent.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on October 24, 2019, 03:57:25 AM
Yes it is, use MCM Rewire 14bit and you have sound.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on October 24, 2019, 05:04:25 AM
Quote from: Wushuliu on October 24, 2019, 01:13:04 AM
Is it possible to record audio on any of the raw settings? I know the more demanding presets like Ana etc. you can't, but is it possible mv1080 or 2.5k? I ask because I rarely see sound brought up in recent builds and the videos people post are silent.

I personally find the audio SUPERB, even just the on board mic. here is an older build test that has a lot of good raw audio, what blew me away was all the nature sounds I was capturing while not even thinking twice about it while out shooting. If I ever needed some nature sound fx, I would be comfortable with the M getting the job done. lol
 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on October 24, 2019, 05:41:04 AM
Quote from: gravitatemediagroup on October 24, 2019, 05:04:25 AM
I personally find the audio SUPERB, even just the on board mic. here is an older build test that has a lot of good raw audio, what blew me away was all the nature sounds I was capturing while not even thinking twice about it while out shooting. If I ever needed some nature sound fx, I would be comfortable with the M getting the job done. lol

Great vid, thanks. I can sympathize with Donnie sometimes trying to catch up with all the ML info ; )

thanks guys

w
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 25, 2019, 07:50:22 PM
I always hear about these 4.5k 3x anaamoprphic modes - but it seems like they are a little bit cropped, as the sensor has 5184 width resolution.

Would it be it possible to get a 5.2K or 5.1K anamorphic mode? I understand this would require some vertical crop, could it be done and still have a decent aspect ratio? @Danne

Or maybe something inbetween...

Also is is possible to move the anamorphic frame around the sensor?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 25, 2019, 08:36:15 PM
Quote from: Ilia3101 on October 25, 2019, 07:50:22 PM
Would it be it possible to get a 5.2K or 5.1K anamorphic mode? I understand this would require some vertical crop, could it be done and still have a decent aspect ratio? @Danne
Yes, there is also a full sensor anamorphic preset, but only at 18fps (if I remember right). You won't get more data on the card in time. That is also why the 23.98fps anamorphic presets don't use full sensor width: too much data, what ends in corrupted frames.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 25, 2019, 08:53:11 PM
Quote from: masc on October 25, 2019, 08:36:15 PM
Yes, there is also a full sensor anamorphic preset, but only at 18fps (if I remember right). You won't get more data on the card in time. That is also why the 23.98fps anamorphic presets don't use full sensor width: too much data, what ends in corrupted frames.

Yay! 18FPS should be fine for shots I want to use it for. It limited to 10 bit? I would like to use 12 bit if possible. And is it compressed? (I ordered an EOSM)

Also what is the widest crop mode resolution? Can it get 2880x1080 or more? I know it can do 2520x1400, so maybe it can do something like 2880x1200?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 25, 2019, 09:03:32 PM
So we can already say "welcome to the M gang"?
You can choose any bitdepth and it is compressed, but the internal memory is way smaller than in 5D2. So it stops very soon or produces corrupted pink frames when you record too much data. For maximum cropmode resolution I am not sure...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 25, 2019, 09:57:18 PM
Quote from: masc on October 25, 2019, 09:03:32 PM
So we can already say "welcome to the M gang"?
So excited to be joining the M gang. (once it arrives in the mail)

Quote from: masc on October 25, 2019, 09:03:32 PM
You can choose any bitdepth and it is compressed, but the internal memory is way smaller than in 5D2. So it stops very soon or produces corrupted pink frames when you record too much data. For maximum cropmode resolution I am not sure...

Glad you can choose bitdepth (From a recent zeek video I got the impression that it only lets you use 10 bit). And glad that it has compression. I just about the crop resolution question as I seem to remember seeing a video on youtube at 3000x1200 or something like that (could be a memory issue in my head).

Also how long does 4.5k normally record for? I'll try not to ask any more questions until I get it (too excitinnnh).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 25, 2019, 10:15:19 PM
Hehe, welcome aboard Ilia3101.
Full sensor is 14fps 10bit. 12fps when 12bit. But enable set25fps and it boosts fps to 16 or 18 can't remember atm. It will then be doing 2.39:1 though.
All modes are continuous when selected from tap display list. There are plenty presets to play around with so feel free to test and ask more once your eosm baby arrives :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on October 25, 2019, 10:37:47 PM
Hell yeah baby @Ilia3101 welcome to the club!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 25, 2019, 10:45:56 PM
Congrats Ilia on the purchase!  8)
Thanks to Danne & the ML Team, 5K rewired is awesome! 10-bit is the best if you want continuous recording using that mode with Ratio "on" @1464x1836, 23.972fps [2.39:1 or other] or ratio off @1736x2178, 18fps, 2.39:1 or other]. You can select 14 bit but you won't get as much recording time unless you dial the resolution back. Its also nice to have a full frame dslr and mirroless camera, good combo! I know MSAC also has these two which is cool!

@Danne
With ratio set to OFF in 5K Rewired @1736x2178 I can get 23.97fps using fps override, the only issue though is that it freezes in the live view.  ::) :'(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 25, 2019, 11:14:06 PM
Thanks every1!

EOS M club is very nice.

Quote from: Danne on October 25, 2019, 10:15:19 PM
All modes are continuous when selected from tap display list.

Now this is impressive! Very nice to the users.

Quote from: ZEEK on October 25, 2019, 10:45:56 PM
Congrats Ilia on the purchase!  8)
Thanks to Danne & the ML Team, 5K rewired is awesome! 10-bit is the best if you want continuous recording using that mode with Ratio "on" @1464x1836, 23.972fps [2.39:1 or other] or ratio off @1736x2178, 18fps, 2.39:1 or other]. You can select 14 bit but you won't get as much recording time unless you dial the resolution back. Its also nice to have a full frame dslr and mirroless camera, good combo! I know MSAC also has these two which is cool!

Oh yeah me and masc Have same cameras now :D 10 bit is great for continuous, but I don't shoot that kind of stuff really. I prefer 12 bit, I found 10 bit very often has shadow artifacts unless you expose perfectly. And I never really use 14 bit, 12 bit looks identical to me.

Quote from: ZEEK on October 25, 2019, 10:45:56 PM
@Danne
With ratio set to OFF in 5K Rewired @1736x2178 I can get 23.97fps using fps override, the only issue though is that it freezes in the live view.  ::) :'(

Wow this is nice to know. I don't care about liveview anyway :D I have been shooting mostly with mostly broken liveview and no playback anyway.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on October 26, 2019, 01:22:13 AM
I'm confused by the 2 ratio options, ie. One in the video tab and then the one in the raw video menu. Is there anywhere I can read up on this to help explain how they relate to each other?

I'm super stoked with the 5k full sensor readout. Have been playing around with getting some super high res time-lapses with a low fps override and setting the resolution to off on the video tab, and pushing the resolution to max and 16:9 in the raw video menu. It yields a final resolution of 5208 X 2928 in MlvApp with all focus pixels dealt with automatically. Exporting to true 5k aspect ratio of 5120x2880 to ProRes looks superb or cinema dngs for further manual processing in Lightroom. Winner!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 26, 2019, 06:38:44 AM
Most presets will work with 12bit. I reduce resolution a bit when 12bit selected. Not sure exactly which presets though.
Mcm rewired works with full 14bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 26, 2019, 08:16:52 AM
Quote from: Danne on October 22, 2019, 07:18:58 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Changed iso updating on restart. Trying to fix occasional crashes

@2blackbar, @yokashin, please test and try to crash this version.

In the new version I am not able to repeat error 70. Below is a link to my logs from this error. I worked on version crop_rec_4k_mlv_snd_raw_only_2019Oct02.EOSM202
https://drive.google.com/open?id=1y_fUl_KKP_NQxPenTIBQQS2DOlFLoatA

Thank You and best regards


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 26, 2019, 05:38:50 PM
I use 5k anamorphic with 12 bits, works as good as 10 on my M, i have a lot of receipts setup for 12 bits raw black levels so thats mostly the reason.
I dont use amamorphic fullsensor that much because fps loss is too much , i use other anamorphic 5k and use wider lens if crop is bothering me
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 28, 2019, 02:15:16 AM
IS this possible on M ? Its being done on 5DIII but can we edit ISO regs like he does it and get less noise in shadows from footage ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 28, 2019, 06:33:47 AM
Iso regs for eos m can be reached with adtg_gui.A few at least.
Personally. From my testing with the 5DIII the improvement is minor. Usually what happens when people test(including me) iso signal is pushed and camera still showing original iso. Sort of like exposing to the right ie. iso gain pushed to 400 and then lower gain back to iso 100. So this will of course reduce grain but you loose in dynamic range simply because you're still in iso 400 disguised to iso 100 display and gainwise.
Conclusion: The placebo is a fact.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on October 28, 2019, 12:51:08 PM
Quote from: Danne on October 28, 2019, 06:33:47 AM
Iso regs for eos m can be reached with adtg_gui.A few at least.
Personally. From my testing with the 5DIII the improvement is minor. Usually what happens when people test(including me) iso signal is pushed and camera still showing original iso. Sort of like exposing to the right ie. iso gain pushed to 400 and then lower gain back to iso 100. So this will of course reduce grain but you loose in dynamic range simply because you're still in iso 400 disguised to iso 100 display and gainwise.
Conclusion: The placebo is a fact.

I still think it was a shame ADTG research stopped. It had potential, if we "brute force" all possible variables.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 28, 2019, 01:53:56 PM
I cant turn off histogram and waveform when recording , i use global draw off but its switching to non framing mode with anamorphic and framing is wrong, is there some easy way to disable  histogram and waveform when it records( ideally disable everything but proper framing , i need it only before recording to check exposure.It would save some cpu power.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 28, 2019, 06:01:05 PM
not sure how much cpu power it would save to disable all but framing but if you want to test you need to get your hands dirty and get into coding/testing. zebra.c and menu.c are at least two places histogram is mentioned. A simple bmp_off(); maybe works here but I do not know if it will turn off the actual histogram task or simply remove graphics only.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Miksi on October 29, 2019, 12:28:43 PM
Nevermind
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 29, 2019, 03:46:49 PM
Am i wrong or was there an option somwhere in ML to turn on BEEP sound when you start and stop recording ? Where is it in M? Sometimes raw recording stops and id like to be notified about it with sound.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 29, 2019, 03:52:45 PM
Quote from: 2blackbar on October 29, 2019, 03:46:49 PM
Am i wrong or was there an option somwhere in ML to turn on BEEP sound when you start and stop recording ? Where is it in M? Sometimes raw recording stops and id like to be notified about it with sound.

In 70D we have a 70 error with a BEEP signal
https://www.magiclantern.fm/forum/index.php?topic=14309.msg214167;topicseen#msg214167
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on October 30, 2019, 06:01:19 AM
Is there anyway to unsqueeze the liveview on 5k mode? I dont mind if the liveview is cropped, its just mighty difficult to film in liveview when the image is distorted.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 30, 2019, 07:15:44 AM
Quote from: ngemu on October 30, 2019, 06:01:19 AM
Is there anyway to unsqueeze the liveview on 5k mode? I dont mind if the liveview is cropped, its just mighty difficult to film in liveview when the image is distorted.
Yes, MLVApp does it out of the box.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whitelight on October 30, 2019, 07:45:08 AM
Quote from: masc on October 30, 2019, 07:15:44 AM
Yes, MLVApp does it out of the box.
I think ngemu was referring to unsqueezing while filming
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 30, 2019, 11:15:16 AM
Tehre was some anamorphic mode called cinema 2.39.1, in scripts panel within ML menu maybe this will help
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 30, 2019, 09:00:22 PM
just a general question about the EOS M, i haven't installed ML on it yet (abou to).

Why is the ISO selection limited from 200 (cannot choose ISO 100), and all the ISOs have D+ written on them. Then when I take a picture shooting in raw or jpeg, it's all overexposed afterwards, compared to what liveview showed - this is so confusing. I am using manual mode and an adapted lens (no electronic lens info going to the camera)

This D+ thing is my main suspect, does anyone know how to remove it? I have completely reset the camera, it does not go awawy. sorry for filling the thread up with off topic crap.

EDIT: I have disabled highlight tone priority, it has extended the ISO range down to 100, but every photo still comes out over exposed. Only with auto ISO does it look right.

EDIT: Camera says exposure simulation is turned on, I guess it is off by about two stops. Is this a common issue?

EDIT: Also which build should I use @Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberide on October 30, 2019, 09:17:19 PM
"I have disabled highlight tone priority, it has extended the ISO range down to 100, but every photo still comes out over exposed. Only with auto ISO does it look right."

I experience this with a few lenses when taking pictures, notably my Rollei HFT 50mm f/1.8 and SMC Takumar 200mm f/4. Using the exposure compensation to make the camera "underexpose" half a stop or so sorts this out. Other lenses don't have this problem at all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 30, 2019, 10:11:52 PM
There are some settings like you mention that will interfere with exposure using manual lenses etc. I'm sure you'll pass them all in no time.
Latest build is always in this post:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Have fun :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 30, 2019, 10:14:52 PM
Thank you for the link😍

I hope the exposure preview will be correct once I use chipped m42 adapter + ef adapter (when that comes). I get accurate exposure when shooting stills in video mode, so I will use that for now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 30, 2019, 10:21:39 PM
Hm... never had much overexposed photos with the M. Did you use Av mode for your manual lenses? My PB-EOS adapter has no chip and it works wonderful.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 30, 2019, 10:24:22 PM
I used manual M mode and manual ISO, only auto ISO gave results that match display exposure, when using manual ISO the result is about two stops brighter than it showed on the screen. The adapter I am using right now is an M39-EFM - no chip at all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 30, 2019, 10:32:49 PM
Test enabling or disabling exposure stuff. There are two places I think. Exposure should match. Get a screen shot from masc camera settings ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 30, 2019, 11:08:37 PM
I will try and find all exposure settings I can. Menu is unfamiliar and a little bit intimidating. So far I only disabled highlight tone priority in custom function (what a weird place for the setting, and strange that it is enabled by defualt)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 31, 2019, 01:01:20 PM
I disabled all exposure related stuff in canon custom functions, video and photo modes have diffferent brightness even on manual and same settings, but when taking picture its good exposure (like liveview in videomode) but in photomode liveview is too dark, whjich is strange cause its full manual same iso as video mode and same shutter, same aperture, so in the end it does take picture correctly but liveview brightness is not correct when in photo mode.
Auto iso doesnt help , it actually makes things even more incorrect, liveview is still too dark in photo mode and autoiso.
taking picture when touching screen is not helpful at all, cant get into magic lantern menu with 2 fingers tap.
OK, managed to get into ML menu in photo mode, disabled ExpSim in expo panel  and then enabled ExpoOverride which is important and it fixed wrong screen brightness.IMo it should be disabled from get go and set like that.
ISO up/down buttons dont work for me in photo mode( they bring up typical shooting mode selection), too bad cause its very useful.If some people dont like it , it still would be great as an option, in ML menu photo mode ISO up/down is still enabled like in video mode but it doesnt work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 31, 2019, 04:36:37 PM
Quote from: 2blackbar on October 31, 2019, 01:01:20 PM
I disabled all exposure related stuff in canon custom functions, video and photo modes have diffferent brightness even on manual and same settings, but when taking picture its good exposure (like liveview in videomode) but in photomode liveview is too dark, whjich is strange cause its full manual same iso as video mode and same shutter, same aperture, so in the end it does take picture correctly but liveview brightness is not correct when in photo mode.

Sounds just like the issue I am having!

But I don't have the issue when I tried my 19-35 electronic lens. Only with manual lenses.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 31, 2019, 08:33:34 PM
That's what happens when switching to manual lenses. Try 2blackbar suggestion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on October 31, 2019, 09:16:46 PM
Oh wow enabling expo override and disabling expsim does fix it! Magic Lantern fixes the EOS M's broken ness.

Thanks so much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DudeSoCool on October 31, 2019, 10:14:38 PM
May I ask how I can take a picture in Manual Focus mode
with a manual lenses? The Canon EOS-M wont take a picture unless Its in auto-focus mode
with an auto-focus lenses. The Firmware 2.0.2 and 2.0.3 wont allow it but the previous
old firmwares will but they're difficult to find.

Anyone know of a fix?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on November 01, 2019, 04:24:48 AM
with 10 bit the signal is divided by 32 before compression. anyone know why that is the case?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DudeSoCool on November 01, 2019, 09:49:32 PM
CAN anyone show me a way to get Canon EOS-M to take a picture in manual mode on the firmare 2.0.2. or 2.0.3 despite the fact it only has autofocus and only takes a picture with autofocus and autofocus lenses?
IM using Manual Focus lenses and I want to take a pic!!!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: petelo on November 02, 2019, 01:11:02 AM
@Danne

I own 2 eos M and I am very happy with what you have done on magic lantern for them. I now own also an EOS 650D, do you think it is possible to have the same things in ML for the 650D, like touching the screen to directly access the setup for MCM rewire and other setup without dealing with to much setup in other ML tab. Thank you for your icredible talent.

Petelo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 02, 2019, 12:03:06 PM
DudeSC theres this dumbest useless canon setting in menu that blocks taking pics with manual lenses, its in canon menu just disable it.release shutter with manual.lens or soemthing like that , im away from cam dont remember but its enabled by default.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 02, 2019, 01:12:53 PM
Yep. It's in the "yellow wrench" settings under "Custom Function" - Enable "release without shutter" or something like that...  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 02, 2019, 01:29:21 PM
C.Fn-7 Release shutter w/o lens
Manual page 287
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelolippi on November 04, 2019, 04:55:04 AM
where can I find the canon menu to: enable AWB and to set audio levels?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on November 04, 2019, 08:42:53 AM
Jut press the menu twice to go in the Canon menu and you can find both.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on November 05, 2019, 06:56:05 PM
Quote from: ZEEK on October 25, 2019, 10:45:56 PM
Congrats Ilia on the purchase!  8)
Thanks to Danne & the ML Team, 5K rewired is awesome! 10-bit is the best if you want continuous recording using that mode with Ratio "on" @1464x1836, 23.972fps [2.39:1 or other] or ratio off @1736x2178, 18fps, 2.39:1 or other]. You can select 14 bit but you won't get as much recording time unless you dial the resolution back. Its also nice to have a full frame dslr and mirroless camera, good combo! I know MSAC also has these two which is cool!

@Danne
With ratio set to OFF in 5K Rewired @1736x2178 I can get 23.97fps using fps override, the only issue though is that it freezes in the live view.  ::) :'(

With 5K rewired and ratio OFF I get 12fps. And when I try to fps override above 15fps, the image just stops existing and I get 2.6 kilobyte MLV files. How can you get 23.976 @ 1736x2178??? I literally cannot make it work much above 12 fps

Also how do you set ISO while in video mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 05, 2019, 07:19:48 PM
Iso through info screen but really. Use up or down press for fast iso access. Works even while recording. You can turn off this iso feature if you want to use ml iso or default.
24 fps with full readout sensor is not possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on November 05, 2019, 08:54:17 PM
Thank you Danne! I like the ISO with buttons method, much faster than normal version.

I figured out that I need to enable "set 25fps" - then I get 1736x2178 at 18fps - without enabling it I only got 12. The name of the option doesn't make much sense, doesn't seem to do anything related to 25 fps :D But 18 FPS is good enough for me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 05, 2019, 09:24:21 PM
Yes, got the question about 18fps a while ago but couldn´t find a real logical way to add it so I just enabled this mode with ratios off ans set25fps. Good you found it :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 05, 2019, 09:28:00 PM
Glad to hear it's working! 8) 5K Rewired Mode is really nice. I have to say 2.5K is really amazing also. The resolution and detail you get is really noticeable and especially when you upscale it a little, looks tremendous. I don't mind the crop factor. it behaves now like the Original BMPCC with the crop factor (around ~2.9x) and works well if you have wide-angle lenses. Thanks Guys! ;D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 05, 2019, 09:37:02 PM
speaking crop I used my sigma 10-20 f3.5 and 5dIII in 3k mode and got a really nice wideangle.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on November 05, 2019, 10:16:09 PM
Quote from: Ilia3101 on November 05, 2019, 08:54:17 PM
...But 18 FPS is good enough for me.

Isn't this why we all enjoy trial and error, right? Glad you're using the full sensor read out @ 18p which is incredible for static shots!  :D

Quote from: Danne on November 05, 2019, 09:37:02 PM
speaking crop I used my sigma 10-20 f3.5 and 5dIII in 3k mode and got a really nice wideangle.

Indeed, that is super nice. Glad I held on to the Tokina 11-20 f2.8 only because of your never-ending revolution breakthroughs!  :-*
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hokinari on November 05, 2019, 11:46:31 PM
Hi everyone! Sorry for maybe not correct message for this topic but, is there any chance to see preview of mlv files on windows
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on November 05, 2019, 11:57:35 PM
Quote from: hokinari on November 05, 2019, 11:46:31 PM
...is there any chance to see preview of mlv files on windows

Yes. Please use MLV_App (https://ilia.xyz/MLV-App/).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hokinari on November 06, 2019, 06:15:39 PM
No, I mean see thumbnails, not just white icons
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 06, 2019, 06:26:12 PM
Requires an MLV codec written for Windows.
Same problem with CR3 in Windows. Canon doesn't provide any either.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on November 06, 2019, 06:48:15 PM
Quote from: Walter Schulz on November 06, 2019, 06:26:12 PM
Requires an MLV codec written for Windows.
Same problem with CR3 in Windows. Canon doesn't provide any either.

SageThumbs (http://www.cherubicsoft.com/en/projects/sagethumbs) supports many formats and is open source, although it uses GFL lib, which is proprietary (they could have just used imagemagick or something, don't know why they used GFL). Anyway, Ilia's library could potentially be integrated in one of those thumb viewers for windows...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 07, 2019, 02:21:37 PM
Thanks for another useful link, Luther!
I leave it to Ilia to decide if it is worth the effort and/or the direction he wants to take. (IANAP)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marodru on November 07, 2019, 04:45:51 PM
Hello

I have some issues with "2.5k mode". In general it works ok but
- I have a black bar at the right side of the image so it's like if it is outside of sensor
- It totally messes HDMI output

My settings are:
- ML version from Oct 22
- Preset - 2,5K 2520x1418
- RAW on - 2420x1054, Aspect ratio in RAW menu - 2.39:1, Preview - Framing (locked), Crop rec preview - Auto. Kill global draw - OFF
- Aspect ratio in Movie menu - 2.39:1
- 12 bit depth or 10 bit depth (does not matter)
- shutter lock at 1/48 with fine tuning (-0.29)
- FPS override ON at 24fps, Exact FPS priority
- Sound off
- Clear overlays - Recording (does not work as its global draw)
- Advanced screen layout - 16:9 HDMI t/b

And sometimes I start having vertical lines over right side of the image, and they GO AWAY if I reboot the camera.

Is that stuff known? What debug data/images/files should I provide?

I have two EOS M cameras now and I'm technical (working in IT for like 30 years) so can participate in testing and data collection pretty deeply.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on November 08, 2019, 11:15:02 AM
Would having a black and white only allow greater resolution?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 08, 2019, 04:30:20 PM
Quote from: lightspeed on November 08, 2019, 11:15:02 AM
Would having a black and white only allow greater resolution?
No, it is a bayer sensor, so it is just one channel per pixel.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 09, 2019, 12:19:46 AM
Quote from: marodru on November 07, 2019, 04:45:51 PM
I have some issues with "2.5k mode".
My settings are:
- shutter lock at 1/48 with fine tuning (-0.29)
- FPS override ON at 24fps, Exact FPS priority
- Sound off
*Get rid of these settings for 2.5K Mode (Especially FPS Override). I've been using this 2.5K Mode recently and haven't had these mentioned issues with the EOS M. The monitor preview is perfect as seen on the EOS M Liveview, but "too many" dropped frames to the point it's not useable. With MCM Rewire 1080 these are fine..


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on November 09, 2019, 12:42:22 PM
Quote from: Luther on November 06, 2019, 06:48:15 PM
SageThumbs (http://www.cherubicsoft.com/en/projects/sagethumbs) supports many formats and is open source, although it uses GFL lib, which is proprietary (they could have just used imagemagick or something, don't know why they used GFL). Anyway, Ilia's library could potentially be integrated in one of those thumb viewers for windows...

Is that SageThumbs thing easy to write plugins for? I can do it quickly if it's a really simple C api, otherwise I don't want to. I'll just rip out MLV App code and put it in, don't have to wait for LibMLV to be ready. (Done that many times before)

Tried to create a Mac finder thumbnail plugin before and failed, that did traumatise me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 12, 2019, 10:11:22 PM
Is it possible to center crop modes on my own by editing some reg values ? I need it for 16mm film camera lenses( they should fit in super16mm rectangle, without
centering they dont) so vignette is not visible in one corner.
Originally crop modes are shifted like this:
(http://ipic.su/img/img7/fs/senoc.1573593027.gif)
And i would like them to be centered like this :
(http://ipic.su/img/img7/fs/SENC.1573593063.gif)
Is that possible ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 12, 2019, 10:20:55 PM
You can alter width and height to some extent. Also left right. This applies not to all modes. Need more information.
There are also cmos 5 and cmos 1 or 2 I think. All above are included in the crop mode sub menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 12, 2019, 10:59:31 PM
Did You found some values that shift image in crop mode up/down or left right ? What regs i need to change and doest it update preview or i need to record it to see it ?
Im in 3x3 mode with set button, changing CMOs 1 and 2 , but without luck,  reg 6800 height and width adjustments also bring no changes to framing preview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 12, 2019, 11:11:07 PM
Two of the cmos regs moves image to some extent. Try and narrow down which ones. There's info on different places in forum posts. Can't help further atm but if you spend a week or so testing you should be getting what you want.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 12, 2019, 11:57:30 PM
Thanks, i read ML croprec source  for M and found your values, then adjusted them, so for centered 3x3 image i used :
CMOS 5  - 0x380
CMOS 7  - 0xA49
This centers the image as best as possible, CMOS 7 is adjusting up/down so value 48 is too much offcenter and also 50 is too much, not pixel perfect but its best i could do.
Also while experimenting i discovered that it is actually possible to record 10x zoom mode( but i cant reproduce it again) and move around crop window quite freely with ease if you know the values, mostly numeric values work, letters of alphabet wont work but thats not any rule , there are exceptions , but it checks out more often than not.

Is it possible to use these cmos settings for official releases so i dont have to dial them in ?

Ill try to work with 2.5K mode now and center it...
---
Got left/right centered in 2.5k mode :
CMOS(5) 0x2DF
Ill work on up.down
-ok up/down is basically what you already have set in the sourcecode:
CMOS 7 - 0xaa9
So i think thats pretty much it.
I didnt tried if anamorphic is offset yet

Its quite fun process , and not that hard if you know what values you have to adjust slightly
Compared old framing vs new :
(http://ipic.su/img/img7/fs/3x3cent.1573604275.gif)
(http://ipic.su/img/img7/fs/2.1573604369.gif)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 13, 2019, 07:38:01 AM
Great. I have been tweaking those numbers a lot bit refinements are welcome.
To exclude implementation of wrong presets I need exact name of preset and if using x3zoom mode or not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 13, 2019, 08:25:45 AM
First one cmos5 - 380 and cmos7 - a49 is for 3x3 crop mode, entered using set button in mcm rewire and started adjustments to cmos 5 and 7.
Second values cmos5 - 2df and cmos7 - aa9 are for 2.5k mode 10 bit ( i switch to 12 bit cause impact is minimal and with 10bit you get banding in darks like we used to get in old 8 bit raw mode)from selector menu and it works in 16:9 and cinemascope 2.39:1 aspect ratios
I tried to refine them more but image gets squeezed with some values and when i go for higher values to desqueeze then framing moves too much to opposite side already.
All done in 23.976 fps.recorded and tested.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 13, 2019, 09:29:21 AM
Quote from: 2blackbar on November 13, 2019, 08:25:45 AM
First one cmos5 - 380 and cmos7 - a49 is for 3x3 crop mode, entered using set button in mcm rewire and started adjustments to cmos 5 and 7.
Second values cmos5 - 2df and cmos7 - aa9 are for 2.5k mode 10 bit ( i switch to 12 bit cause impact is minimal and with 10bit you get banding in darks like we used to get in old 8 bit raw mode)from selector menu and it works in 16:9 and cinemascope 2.39:1 aspect ratios
I tried to refine them more but image gets squeezed with some values and when i go for higher values to desqueeze then framing moves too much to opposite side already.
All done in 23.976 fps.recorded and tested.

Still very cluttery. Do you mean:
mv1080p MCM rewire in x3 zoom mode cmos5=380, cmos7=a49
2.5K 1:1 centered cmos5=2df, cmos7=aa9
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 13, 2019, 09:46:12 AM
Yes i suspect this
             
           if (x3crop == 0x1 || crop_patch)
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xa6a;
                }

Could be made into this :
             
           if (x3crop == 0x1 || crop_patch)
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xa49;
                }


and this :
  case CROP_PRESET_3K_EOSM:
                if (get_halfshutter_pressed() && gain_buttons && !RECORDING && is_movie_mode())
                {
                    return;
                }
                cmos_new[5] = 0x280;             /* vertical (first|last) */
                cmos_new[7] = 0xaa9;            /* horizontal offset (mask 0xFF0) */


to this :
  case CROP_PRESET_3K_EOSM:
                if (get_halfshutter_pressed() && gain_buttons && !RECORDING && is_movie_mode())
                {
                    return;
                }
                cmos_new[5] = 0x2df;             /* vertical (first|last) */
                cmos_new[7] = 0xaa9;            /* horizontal offset (mask 0xFF0) */


up/down horizontal framing was already fine, left/right vertical was a bit off.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 13, 2019, 09:51:04 AM
I'll look into it. Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 13, 2019, 10:22:49 AM
I found centered anamorphic 5k ( anamorphic 5k set from jhop selector) cinemascope 2.39:1 ( when switching to 16:9 it works too)
CMOS7 - 0xf27
I also made this reference image for different sensors , if anyone would like to tinker with CMOS 5 and 7, its easy just display this image on monitor and zoomin to apsc or fullframe depends on your camera, then enter crop modes and adjust, you can already find some CMOS values in sourcecode .
http://ipic.su/img/img7/fs/sensors.1573634342.png
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 13, 2019, 12:13:02 PM
What's jhop selector?
Not working with anamorphic rewired mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 13, 2019, 01:28:29 PM
5k anamorphic rewired 10 bit , then i set cmos 7 - 0xf27 and its centered
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 15, 2019, 12:55:37 AM
Hi friends - long time, no chat!  I sold my two EOS M quite some time ago (bought M3 and M50), but missed ML so much that I bought a used one in perfect condition. Managed to load the 2.0.2 version in a jiffy - looks great!

Since I now have a fisheye lens (the surprisingly good-value-for-money 7artisans 7.5mm/2.8), I of course tested the "defisheye" feature, and found it perfect for this lens! I can get perfectly straight lines! I notice that the live view is rough, but then after the shot, ML re-scans it very neatly.

Hovewer, I can't find a way to store the de-fisheyed photo to the SD card... Is it impossible, or am I so dumb that I can't figure out how to do it?

Sorry if I posted this in the wrong topic, in that case please advice me, thanks!  :o


EDIT - Looks like it's not possible, found this just by chance browsing:

Features that are NOT possible - please don't request them

Things that can be done in post. - Why spending development time on things like in-camera HDR? Magic Lantern is not a replacement for Photoshop ;)

Previewing is OK (e.g. HDR preview, anamorphic preview, fisheye correction preview).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 15, 2019, 02:01:13 PM
Shot a quick test today with my old Canon TV-zoom 7.5-97.5mm/F1.4 - the reason I love the ML 3x video zoom:

https://www.youtube.com/watch?v=SNwHllhAnhM (https://www.youtube.com/watch?v=SNwHllhAnhM)

(The video is unprocessed, needs a bit of sharpening to look good...)

I think my combination of this particular lens and the EOS M might well be the only one in the world - I had to do a bit of lathe work to get a C-mount on the lens!  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 15, 2019, 02:10:13 PM
This lens? https://www.ebay.ca/itm/Rare-Japanese-lens-Canon-VCL-713BX-Macro-TV-Zoom-Lens-7-5-97-5mm-1-1-4/173972080834
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 15, 2019, 08:23:14 PM
Exactly!

Maybe I'm not the only one using it on an EOS M, then? :o
OTOH, the original lens had zoom and aperture motors which I removed, and a bayonet lens mount, which I modified to a c-mount (I have a metal workshop) - long before I got any EOS.

I also have a Canon TV zoom 12.5-75mm/F1.8 - much better quality, and with original C-mount - this one: https://www.picclickimg.com/d/l400/pict/302802742279_/Canon-TV-Zoom-Lens-J6x12-118-125-75mm-C.jpg (https://www.picclickimg.com/d/l400/pict/302802742279_/Canon-TV-Zoom-Lens-J6x12-118-125-75mm-C.jpg)

Here's a video example shot with that lens: https://www.youtube.com/watch?v=1Rq4hQGtnrE (https://www.youtube.com/watch?v=1Rq4hQGtnrE)

I started DSLR phtography with the 550D, back in 2010, now I have an M1, M3 and M50...

I needed the 550D as a second camera when shooting a documentary for YLE, the Finnish Broadcasting Co. The other camera was a HV30! A few years later, I shot another documentary with my two original M1s, plus the HV30.
It's nteresting that these consumer-grade cameras are good enough even for national broadcasting (but I didn't use these video zooms, they certainly are not good enough for that - but they sure are nice to play with... )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on November 15, 2019, 11:34:46 PM
A Betacam era lense, damn. They both seems to be "parfocal like". Great stuff.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 16, 2019, 09:57:54 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Better center preview in anamorphic rewired mode(thanks 2blackbar)

Regarding mcm rewired x3zoom and 3k mode I didn´t implement the changes. Couldn´t see the benefit in x3zoom. In 3k mode it´s already better centred than the what´s suggested.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 16, 2019, 03:23:28 PM
Quote from: cmh on November 15, 2019, 11:34:46 PM
A Betacam era lense, damn. They both seems to be "parfocal like". Great stuff.

Indeed, those lenses are from the 1980s!  And they do stay in focus during zooming. However, they are inteded only for PAL or NTSC resolution (no more than 720/756 x 486/576), so they don't look too good in full-HD. But a little sharpening in post will do wonders... ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 16, 2019, 08:23:11 PM
Quote from: Danne on November 16, 2019, 09:57:54 AM
New build:
...
- Better center preview in anamorphic rewired mode(thanks 2blackbar)
Thanks! Centering is great now!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 16, 2019, 10:46:58 PM
Awesome news, thanks!!  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: petelo on November 16, 2019, 11:55:31 PM
Quote from: Danne on November 16, 2019, 09:57:54 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Better center preview in anamorphic rewired mode(thanks 2blackbar)

Regarding mcm rewired x3zoom and 3k mode I didn´t implement the changes. Couldn´t see the benefit in x3zoom. In 3k mode it´s already better centred than the what´s suggested.

Hello Danne, on old version of Magic Lantern it was possible to access ISO 160, 320, 640, 1280 ... Is it possible with this one because I have not succeed to do ? Thanks a lot for all improvment you have all done to magic lantern on eso M.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on November 17, 2019, 11:47:23 AM
Go into the "Movie" menu, scroll down to "customized buttons", select "gain": select OFF 

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 17, 2019, 05:26:22 PM
SHORT MUSIC VIDEO

I actually had a chance to use that monster Canon TV Zoom (7.5 to 97.5 mm) yesterday - here's a little snippet of a concert recording I made with all my three EOS cameras - ML is the one with the zoom, used to shoot the singers. The M3 (behind the piano) apparently sharpens the video very strongly, and has most moiré of the three cameras...

https://www.youtube.com/watch?v=1fRATpUpIt8 (https://www.youtube.com/watch?v=1fRATpUpIt8)

In order to get decent sharpness from the zoom, I had to stop down to at least F4 or 5.6!

BTW, I used a simple Zoom H1 for sound recording - not connected to the venue's sound system, hence the rather "thin" vocals...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on November 18, 2019, 06:57:20 PM
Quote from: ZEEK on October 25, 2019, 10:45:56 PM
@Danne
With ratio set to OFF in 5K Rewired @1736x2178 I can get 23.97fps using fps override, the only issue though is that it freezes in the live view.  ::) :'(

And you also experience dropped frames with an external monitor using 5k, correct?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 18, 2019, 08:58:32 PM
Yep, correct.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 18, 2019, 09:12:40 PM
Ive got CCTV lens for 1/2'' sensor and Danne is right, current crop mode centering is spot on.I also found that 1/2'' sensor format is perfect for M's crop mode with no vignetting.
Thats what i was hopi ngfor from my measurements and im glad that math works.I can also get it to work without vignette  in 3K mode + anamorphic mode when i zoom in a bit.
4-12mm Tamron.It is a bit fisheye tho but insanely wide.
----
Ok i reshot some tests in mcm rewireset button crop and screwed in lens some more, it looks like settings i found work tiny bit better after all but id prefere if someone else would post comparison with images on CCTV / C mount lenses with M:
(http://ipic.su/img/img7/fs/vig3x.1574124845.gif)
Frame with more vignetting is current setting, the one with less vignetting is CMOS 5 - 0x400
I flipped the frame cause i compared just vignetting visually, originally current offset is shifted towards left and it vignettes on left side.
IMO it would vignette even in cinemascope quite significantly, when reduced like with second frame then it would be acceptable.
Yes this vignette is not that visible when focusing on infinity but its still visible in lowlight situations.
3K mode is centered nicely.You can film after zooming in, when you zoom in then circle of confusion gets bigger than on wide end.
What kind of anamorphic mode is it when you set CMOS5 to 0x400 ? Its zoomed in more than usual anamorphic and resolution stays the same, ah i think its cropped mode with ugly res
I found that in anamorphic 5k mode CMOS5 - 0x60 is almost perfect in center
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 19, 2019, 02:04:31 PM
I sat with camera and went through all numbers from 0 till i found perfect centering, heres what i found for 2.5k mode, centering values for 16:9 and 2.39:1 are fifferent.
Heres current centering and new values for 16:9 , resolution 2192x1234
(http://ipic.su/img/img7/fs/16-9.1574168341.gif)
Heres current centering and new values for cinemascope 2.39:1, resolution 2520x1418
(http://ipic.su/img/img7/fs/cinemasc.1574168472.gif)
I zoomed out to get vignetting visible and determine center of the lens easier, now you can just zoom in and get rid of vignetting perfectly.
Addresses are :

For 16:9:
CMOS5 - 0x2c0
CMOS7 - 0x6aa

For cinemascope :
CMOS5 - 0x2c0
CMOS7 - 0x68b

I will try to find more for oher modes when i have actual lens.
From what i see mcm rewire in 16:9 is not centerd, its shifted down a bit.Ill try to work on that.
--
So, i took RAW pic of full sensor and COC( circle of confusion) is still not centered, i dont know but it might be how canon placed mount in front of the sensor, but to be sure i would have to get another c mount lens and compare.
(http://ipic.su/img/img7/fs/cen.1574174069.jpg)
From wht i see after changing values of CMOS7 , it follows the same rule, full image, then it shifts it while revealing white overlay image, then black image then starts to shift actual sensor image with larger values and so on.So IMO it is possible to figure that patter out and make it into the menu so users could shift crop by themselves a bit easier.

---
OK, i centered 16:9 mcm rewire 1080p( not working with fullsensor because when image is shifted for 16:9 then it reveals white border on bottom in fullsenor read)
(http://ipic.su/img/img7/fs/mcm.1574178411.gif)
New address is CMOS7 - 0x802
--
OK i tried to get that centered in fullsensor ratio but theres white bar, i thought i had it but i still dont
So i have to find a way to check if eos mount is centered with sensor or my actual c mount lens is somehow shifted physically ( i doubt that a lot because when i screwin my lens then vCOC stays in teh same place, if lens would be shifted even a bit then it would hover up/down/left/righ in quite visible manner ) so i put my bet on canon mount not being exactly centered with sensor placement in body on this model.

Im still glad anyway that there is a way to center all modes but fullsensor read when your lens has vignetting.

   About consistency of useful image appearing when adjusting CMOS7 values i noticed this :
-  When you start from 0x800 and go down 32 steps to 0x7e0 then 32 to 07c1 etc then you will get good image . So there is some pattern to it that could be made into ML menu function to easily adjust framing.Hitting CMOS values blindly is definitely more time consuming.
---
Ok i did test with other lens that vignettes and conclusion is the same - canon's mount is off center and COC appears too low on fullframe photos, we can center it in 16:9 with CMOS7 addres 802 (current one is 800) and fix other aspect ratios so theres almost perfect centering.
I suspect there are some lenses that are really offcenter somehow but its 2 lenses already that show the same result.
I think its just how this camera was designed.I might try if 5DII was offcenter as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 19, 2019, 09:25:12 PM
Thanks for investigating digging out info. Note also that I often refine by modifying skip offsets(skip_left, skip_right, skip_up, skip_down). Will interfere on raw buffer.
Anyway. Will check your findings later on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 19, 2019, 09:39:50 PM
Sure, i hope You dont mind me editing and posting all images and info, i searched on forums for some CMOS[7] addresses investigation but found none so i prefere to leave them here not only on my piece of paper , maybe others will join, it is not that hard but it would go faster with more people.
Yeah i noticed skipping and tried that out in advanced menu, i also read alex's explanation about crop mode being zoom mode that lets us use bigger resolutions and what we see is what canon produces  so we cant get super pixel precise with centering.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: petelo on November 20, 2019, 11:20:05 AM
Quote from: cmh on November 17, 2019, 11:47:23 AM
Go into the "Movie" menu, scroll down to "customized buttons", select "gain": select OFF

Thank you very much cmh, it works. It is bad that it is not possible to obtain these ISO value (160, 320, ...) directly with the gain selected to ON using the up and down buton but only 100, 200, 400 ....

Have a nice day.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 21, 2019, 03:28:13 AM
I was playing with 2.5k and comparing with mcm 1080 crop mode... im wondering whats the advantage of crop mode in mcm rewire ? What i mean is that i can set  1920x1080 , 16:9 in 2.5k mode and i have basically similar crop, just slightly wider than crop mode from mcm rewire(1920 vs 1800), so is there any advantage if i still upscale 1800x1012 to 1920x1080 anyway and i basically lose FOV now that i know that true 1920x1080 mode exists ? I would prefere to use that 1920x1080 mode from 2.5k using set button than 1800 crop mode from rewire , because i have full HD , wider FOV and no aliasing + it sperfect for CCTV lenses for 1/2'' sensors it fills the frame almost up to every pixel without vignette in 1920x1080.
Main difference is preview, in 2.5k set to 1920x1080 its only framing mode, but maybe it could be worked out because its kinda identical to crop mode from mcm rewire which works in realtime preview.IT would be nice to use 1920x1080 2.5k mode but with realtime preview from crop mcm 1080.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 21, 2019, 05:31:19 AM
There´s no advantage imagewise other than greater resolution in 2.5k but as you point out you loose real time preview.
Question is why you want to enter 2.5k preset with the SET button? You only need this 1920x1080 preset with your cctv lens so why not just use the 2.5k preset set to 1920x1080? It´s not like you are going back to 3x3 mv1080p mode is it?
Maybe you could build a dedicated cctv preset reachable from the drop down list?
You could use the SET button going from mcm rewire into x5 zoom(2.5k) but it will require some workarounds leaving underlying movie crop mode and then enable next preset(x5 zoom(2.5k). I don´t see why it´s useful to most users but if you want to personalize your own build you have to tweak certain parts in code. Once you settled how you want to do I could help you out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 21, 2019, 06:01:45 AM
Im more after 1920x1080 than cctv or 16mm film mode, now that i know i can get wider FOV than 1080 mcm crop in 16:9 i will use it instead of mcm crop from now on, FOV and resolution matters IMO.
Its jus a coincidence that it fits that lens, i suspected it would cause i measured sensor sizes and footage from gh panasonic that have crop mode as well. its quite similar in size to canon m.
ID like to film in actual full HD resolution with push of set button which currently goes to 1800x1012 mode that i have to upscale in mlvapp.
I dont know if users would want cctv mode or other modes but so far im only one tinkering with crop mode for cctv lenses, my other lens for 16mm film krasogorsk 3 camera is on its way and il lprobably adjust cmos addresses for that if there woul be need.I dont have big collection of cctv lenses but i did look for ways to compile on windows but then got busy with other things.Yeah im planning to do personalised builds cause i like to tinker with settings.Your suggestion to expand jiphops list is interesting.
So there is no way to go to 1920x1080 instead of 1800x1012 in mcm 1080 crop mode ?
Or when recording 2.5k in 1920x1080 just use realtime preview from mcm 1080 crop or at least unlock it as option(still use framing as default), now realtime prev is locked in 2.5k.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 21, 2019, 06:16:15 AM
Quote from: 2blackbar on November 21, 2019, 06:01:45 AM
So there is no way to go to 1920x1080 instead of 1800x1012 in mcm 1080 crop mode ?
Or when recording 2.5k in 1920x1080 just use realtime preview from mcm 1080 crop or at least unlock it as option(still use framing as default), now realtime prev is locked in 2.5k.
Not in movie crop mode. Not working the same as x5 zoom. A few attempts been made to achieve full liveview resolution in real time. All have failed.
You can use real time but it will be cropped in x5 zoom(disable preview auto stuff in raw video section.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on November 21, 2019, 06:37:38 AM
Quote from: Danne on November 21, 2019, 06:16:15 AM
Not in movie crop mode. Not working the same as x5 zoom. A few attempts been made to achieve full liveview resolution in real time. All have failed.
You can use real time but it will be cropped in x5 zoom(disable preview auto stuff in raw video section.

Hi Danne. In 5k mode, the live preview is squeeze in so everything appears very skinny and tall. Is there anyway to unsqueeze this image? I dont mind if the live preview is cropped. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 21, 2019, 07:03:31 AM
Did anyone tried to stay in mcm 1080p crop but record 1920x1080 like its recording in 2.5k mode with 1920x1080?
Im setting up cygwin/ mingw, but as usual some issues
$ make zip
../../Makefile.inc:86: remove /home/T902/magic-lantern/platform/magic-lantern_jip-hop/magic-lantern/platform/eosm.202/zip
[ RM dir ]  /home/T902/magic-lantern/platform/magic-lantern_jip-hop/magic-lantern/platform/eosm.202/zip/
mkdir -p /home/T902/magic-lantern/platform/magic-lantern_jip-hop/magic-lantern/platform/eosm.202/zip
[ CPP      ]   magiclantern.lds
[ AS       ]   entry.o
[ AS       ]   ../../platform/EOSM.202/stubs.o
[ VERSION  ]   ../../platform/EOSM.202/version.c
[ CC       ]   version.o
[ CC       ]   boot-hack.o
[ CC       ]   fio-ml.o
[ CC       ]   mem.o
[ CC       ]   ico.o
[ CC       ]   edmac.o
[ CC       ]   menu.o
[ CC       ]   debug.o
[ CC       ]   rand.o
[ CC       ]   posix.o
[ CC       ]   util.o
[ CC       ]   imath.o
[ CC       ]   electronic_level.o
[ CC       ]   cfn.o
[ CC       ]   gui.o
[ CC       ]   picstyle.o
[ CC       ]   exmem.o
[ CC       ]   bmp.o
[ CC       ]   rbf_font.o
[ CC       ]   config.o
[ CC       ]   stdio.o
[ CC       ]   bitrate.o
In file included from ../../src/bitrate.c:5:0:
../../src/bitrate.c: In function 'time_indicator_show':
../../src/bitrate.c:400:81: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         int fnts = FONT(FONT_SMALL, COLOR_WHITE, mvr_config.actual_qscale_maybe == -16 ? COLOR_RED : COLOR_BLACK);
                                                                                 ^
../../src/bmp.h:174:13: note: in definition of macro 'FONT'
         | ((bg) & 0xFF) << 8 \
             ^
../../src/bitrate.c:405:23: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
             mvr_config.actual_qscale_maybe < 0 ? "-" : "+",
                       ^
[ CC       ]   lcdsensor.o
[ CC       ]   tweaks.o
[ CC       ]   tweaks-eyefi.o
[ CC       ]   lens.o
[ CC       ]   property.o
[ CC       ]   propvalues.o
[ CC       ]   gui-common.o
[ CC       ]   chdk-gui_draw.o
[ CC       ]   movtweaks.o
[ CC       ]   menuhelp.o
[ MENU IDX ]   ../../src/menuindexentries.h

No menuindex.txt! The "Complete user guide" menu is empty!
Run make docq to update menuindex.txt.

[ CC       ]   menuindex.o
[ CC       ]   focus.o
[ CC       ]   notify_box.o
[ CC       ]   bootflags.o
[ CC       ]   dialog_test.o
[ CC       ]   vram.o
[ CC       ]   greenscreen.o
[ CC       ]   fps-engio.o
../../src/fps-engio.c:296:12: warning: 'fps_timer_b_method' defined but not used [-Wunused-variable]
static int fps_timer_b_method = 0;
            ^
[ CC       ]   shoot.o
[ CC       ]   hdr.o
[ CC       ]   lv-img-engio.o
[ CC       ]   state-object.o
[ CC       ]   tasks.o
[ CC       ]   vsync-lite.o
[ CC       ]   tskmon.o
../../src/tskmon.c: In function 'tskmon_task_dispatch':
../../src/tskmon.c:316:1: error: number of arguments doesn't match prototype
{
^
In file included from ../../src/tskmon.c:3:0:
../../src/tskmon.h:49:6: error: prototype declaration
void tskmon_task_dispatch(struct task * next_task);
      ^
make: *** [../../Makefile.filerules:23: tskmon.o] Błąd 1



----
T902@LenovoX230Table ~/magic-lantern_jip-hop/magic-lantern/platform/EOSM.202
$ make zip
../../Makefile.inc:86: remove /home/T902/magic-lantern_jip-hop/magic-lantern/platform/EOSM.202/zip
[ RM dir ]  /home/T902/magic-lantern_jip-hop/magic-lantern/platform/EOSM.202/zip/
mkdir -p /home/T902/magic-lantern_jip-hop/magic-lantern/platform/EOSM.202/zip
[ VERSION  ]   ../../platform/EOSM.202/version.c
[ CC       ]   version.o
[ CC       ]   tskmon.o
../../src/tskmon.c: In function 'tskmon_task_dispatch':
../../src/tskmon.c:316:1: error: number of arguments doesn't match prototype
{
^
In file included from ../../src/tskmon.c:3:0:
../../src/tskmon.h:49:6: error: prototype declaration
void tskmon_task_dispatch(struct task * next_task);
      ^
make: *** [../../Makefile.filerules:23: tskmon.o] Błąd 1

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 21, 2019, 08:41:18 AM
Tried increasing resolution but not acting the same in movie crop mode. Not raw_slurp enabled? Not really sure what limits this mode. Maybe need a revisit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on November 21, 2019, 05:11:53 PM
Hello, can someone help me run a samyang 35mm f1.2 I can not shoot or record with the eos m even if I have it in manual?
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 21, 2019, 05:51:39 PM
See reply 3656, 3657.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on November 21, 2019, 05:55:38 PM
there is a horizontal line in the center of the video
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: papkee on November 21, 2019, 06:41:07 PM
Is there a good "summary post" of where RAW video is currently on the EOS-M? It's very difficult to sort through 150 pages of info to figure out the full view of where the project's at.

Seriously considering grabbing one for travel/run-and-gun videography because they're so cheap, but I haven't been able to find definitive info on what the camera can & can't do in terms of RAW right now. From reading back to around page 90 of this thread, so far I think I understand that:

Let me know if I'm dead wrong with any of those assumptions. I'm seriously amazed by the amount of work that's been put in to this camera and (assuming I can grab a camera for a good deal) I can't wait to get started playing with it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on November 21, 2019, 06:58:44 PM
Quote from: papkee on November 21, 2019, 06:41:07 PM
From reading back to around page 90 of this thread, so far I think I understand that:
  • (I think) the MCM rewire builds allow for RAW recording at higher resolutions without the huge crop factor but aren't super stable

I'm not aware of this. As far as I can tell with the recent builds, MCM stops at 1763x976.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on November 21, 2019, 07:05:43 PM
Quote from: papkee on November 21, 2019, 06:41:07 PM
Is there a good "summary post" of where RAW video is currently on the EOS-M? It's very difficult to sort through 150 pages of info to figure out the full view of where the project's at.

Take a look here:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 21, 2019, 08:23:23 PM
papkee just download lastest build and check it out, nobody will list all features for You but i can say there is mcm rewire 1080p where you can record full sensor mode or any aspect ratio you like, then theres 2.5k mode which is a bit cropped(16mm film area) , then there is anamorphic mode with highest resolution after unstretching and highest detail, about 5k.
ML on M Is getting better and better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 21, 2019, 08:31:46 PM
Quote from: papkee on November 21, 2019, 06:41:07 PM
classic MLV recording works fine but only up to liveview resolution like all other cameras

MLV (as long I can think of) was always able to use crop modes with resolutions beyond liveview.

EOS M nightly (without some serious work done by danne and dfort) had and has a serious video limit: It does mv720 and is the only ML supported cam doing so. All other cams will do mv1080. Mv720 has a major issue because it does 5x3 sampling instead of 3x3 in mv1080. Short: RAW/MLV in native liveview resolution for all other cams samples only every third line (bad enough) but EOS M does skip 4 line instead of 2. Therefore EOS M video IQ in uncropped mode was offen hampered by heavy aliasing (moire).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 21, 2019, 08:40:57 PM
Quote from: rinski on November 21, 2019, 05:55:38 PM
there is a horizontal line in the center of the video

And you want two?


Help us to help you. Ask your questions in a way giving enough information for other people (without mind reading capabilities)  to understand your problem, giving some sample of what your actual problem is, what build and settings you are using and if the problem happens with *and* without ML (if applicable), ....
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: papkee on November 21, 2019, 08:44:55 PM
Thanks for the info everyone. Can't actually install it yet because I don't own an EOS M yet (hence why I was asking for some more info - to help me in my purchasing)

I think I was blending together the anamorphic and mcm rewire modes when I said higher-resolution recording with no crop. I still can't pin down exactly what either of these modes actually do and don't do, but I'll keep reading the thread.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on November 21, 2019, 09:06:37 PM
Quote from: papkee on November 21, 2019, 08:44:55 PM
Thanks for the info everyone. Can't actually install it yet because I don't own an EOS M yet (hence why I was asking for some more info - to help me in my purchasing)

I think I was blending together the anamorphic and mcm rewire modes when I said higher-resolution recording with no crop. I still can't pin down exactly what either of these modes actually do and don't do, but I'll keep reading the thread.

My Key takeaway is:

Only Mv1080 MCMRewire can be used with an external monitor and does not involve additional cropping.

2.5k has x3 crop so lens choice must be adjusted accordingly. x5 zoomed in liveview means careful consideration of framing (maybe by using another preset first with full liveview, then switch back over the 2.5k)

5K Anamorphic requires (I think) at least 16:9 ratio setting in addition to the 'raw video' resolution and ratio setting to meet card speed requirements (so two ratio settings to adjust). Anamorphic preview is squeezed but you do get the entire image, so framing is easier.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on November 21, 2019, 09:09:40 PM
Quote from: papkee on November 21, 2019, 08:44:55 PM
I still can't pin down exactly what either of these modes actually do and don't do

I also recommend the Zeek channel
https://m.youtube.com/channel/UCCn0RQHYheA41EudwmLnYKA
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on November 22, 2019, 12:27:47 PM
Just curious, a question to all you people wanting RAW video: What's the reason, if it's going to be used with CCTV lenses? The optical quality of those  :( isn't on par with the quality you can get with Canon's own lenses.  :D

OTOH, if it's the joy of experimentation that's driving you, then go for it!  :D

I'm very happy with what I can get with Canon's own video format, enhanced with ML's cropped video, regrdless of what lenses I use.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 22, 2019, 01:32:46 PM
For photographs yes theyre not on par , for hd video theyre perfect, of course depends what shape theyre in, if glass is clean, i have new one so im happy with it, actually best multicoating i have  of all my lenses
---
SUCCESS !  :D :D :D :D :D :D :D :D :D :D :D :D :D
AFter almost 2 days of searching on internets how to solve cygwin issues with docutils being slimmed down and missing files, i won the battle  and managed to setup eveyrthing for magic lantern development.
I also in the same time with a bit of help from user cmh compiled MLVApp and changed medium quality x264 export so its a bit more data than it was = better video quality and less macroblocks visible in shadows.

I have ML build and can compile my own builds now , but i have a question, my modules that were compiled are different ones from the ones delivered by Danne, is it because its unified branch instead of crop_rec_4k_mlv_snd_raw_only ?
Is this ok?
hg clone https://bitbucket.org/Dannephoto/magic-lantern_jip-hop
cd magic-lantern_jip-hop
hg update crop_rec_4k_mlv_snd_raw_only
cd platform
cd eosm.202
make zip

So, it looks like it, now i have crop_rec
first thing id like to change is to have 12 bit modes in jip-hop menu for all settings instead of 14 and 10
bitdepth = 0x0  is 14 bits ? and bitdepth = 0x1 is 10 ? bitdepth = 0x2 is 12 bits ?
--
ok i did the changes... compiling
:D
(https://i111.fastpic.ru/big/2019/1123/c2/0d634a62c26e018ca717710a80a586c2.jpg)
I did it because i dont see meaningful difference between 14 and 12, and 10 is not looking that great like it used to( too much banding in shadows kinda like old 8-11bit mode) also i noticed that performance is not much different between 10 and 12bits.
--
Is this whre i can change ratio to 16:9( changed to 3) in mcm rewire deault reset ?
static CONFIG_INT("crop.shutter_range", shutter_range, 0);
static CONFIG_INT("crop.bitdepth", bitdepth, 0);
static CONFIG_INT("crop.ratios", ratios, 3);
static CONFIG_INT("crop.x3crop", x3crop, 0);
static CONFIG_INT("crop.zoomaid", zoomaid, 2);

I also want to change drodown menu so its starts already under info button
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 22, 2019, 11:02:16 PM
Great! Yes, you are in the right places for doing changes you mention so just keep going. I actually like the idea of having the same bitdepth but 12bit will be borderline for a few of the presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 22, 2019, 11:14:13 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- iso averaging helper(more like iso bracket but still...)


Some friday fun. To get good use of the tiff averaging workflow in Mlv App using ffmpeg tmix filter I added a function which records iso brackets containing three isos. Select a preset set exposure at lowest iso then hit record and It will record until reaching 17 or 29 files depending on what iso average preset chosen:
(https://i.postimg.cc/fRmTNXgQ/VRAM0-PPM-500px.png)

Import your bracketed mlv file into Mlv App first file will look as follows but there are two more isos included in the mlv file:
(https://i.postimg.cc/rmF8xHyq/Screenshot-2019-11-22-at-21-34-56-png-800px.png)

Now select the proper setting in Mlv App:
(https://i.postimg.cc/xdQjTCWJ/Screenshot-2019-11-22-at-21-35-17-png-500px.png)


Out comes one averaged tiff file clean as a bean:

(https://i.postimg.cc/mrSLc4sd/M22-2258.jpg)

The nice part here is that you can record this 17/29 frame bunch in any preset. Still I recommend the anamorphic full sensor readout setting as you will get a really nice and big full res tiff file. Needless to say you will need a tripod as it need s to be static for the averaging part.



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 22, 2019, 11:22:01 PM
Its exactly what i was going to ask You to maybe create cause averaging is like magic ! Great work !
Where i can find default white balance setting? I want it 4800k.
I need to read up on whats where in ML sourcecode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 22, 2019, 11:33:09 PM
Quote from: 2blackbar on November 22, 2019, 11:22:01 PM
Its exactly what i was going to ask You to maybe create cause averaging is like magic ! Great work !
Where i can find default white balance setting? I want it 4800k.
I need to read up on whats where in ML sourcecode
Tell me when you find wb settings. Also want know :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 22, 2019, 11:42:52 PM
I found some in shoot.c but i want to change default WB FLASH to my own 4800 custom
#ifdef FEATURE_WHITE_BALANCE

void kelvin_toggle( void* priv, int sign )
{
    int k;
    switch (lens_info.wb_mode)
    {
        case WB_SUNNY: k = 5200; break;
        case WB_SHADE: k = 7000; break;
        case WB_CLOUDY: k = 6000; break;
        case WB_TUNGSTEN: k = 3200; break;
        case WB_FLUORESCENT: k = 4000; break;
        case WB_FLASH: k = 6500; break; // maybe?
        default: k = lens_info.kelvin;
    }
   
    int step = KELVIN_STEP;

I changed it, compiling to see if its even change at startup
--
No thats not it, i need to find wbshift  in source, is there any tool to go thorugh all files in source searching for "wbshift" string ? Or some kind of documentation of whats where ?
I see its also in shoot.c but cant find other 6500 thats set by default or maybe wb flash is default , just need to find where to change it to sunny ot other at least
--
so its lens_info.kelvin, but its obtained somewhere else, not sure how yet
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 23, 2019, 12:40:56 AM
Awesome stuff guys @Danne & 2Blackbar. The Tiff stuff is interesting for sure, footage looks clean 📽👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 01:01:09 AM
Hey ZEEK i installed RAW after seeing Your vids ! Great work !My favourite is The Country Side !
Danne maybe it would be better to let ML menu disappear when were changing CMOS values, so we could see how its changing in realtime , without having to exit menu and reenter again to change values.Kinda like how expo menu works , it dosappears when you change iso from ML menu and only iso value stays onscreen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on November 23, 2019, 01:22:49 AM
Question: why not just use HDRMerge? Don't know if the averaging results are the same, but HDRMerge gives great results already... and not only it does averaging, but also gives you a extreme dynamic range output.
I like the idea of having more open source photo editing tools with new features, and you folks know that me and many others appreciate your work, but sometimes it feels a bit like "reinventing the wheel" or "NIH syndrome (https://en.wikipedia.org/wiki/Not_invented_here)".
Big words from someone that doesn't contribute with code, I know. I mean no offense here. I should just shut up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 01:28:49 AM
Because im loving how MLVApp outputs image, looks like film straight away , theres something to tonemapped function that made me stop using other software for CR2's when i compared, plain and simple.
Danne i just merged Your recent changes with my own by using compare in Notepad++ , averaging settings work great with fullres mlv.
btw found this
https://bitbucket.org/hudson/magic-lantern/commits/5c46a328e50c4e837e48835d5e0d42f66e6d8933

I think this is our suspect

// WB in LiveView (and movie) mode
#define PROP_WB_MODE_LV        0x80050018  // 0=AWB, 1=sun, 8=shade, 2=clouds, 3=tungsten, 4=fluorescent, 5=flash, 6=custom, 9 = kelvin
#define PROP_WB_KELVIN_LV      0x80050019

I think i founf it :
// WB workaround (not saved in movie mode)
//**********************************************************************
//~ CONFIG_INT( "white.balance.workaround", white_balance_workaround, 1);

static CONFIG_INT( "wb.kelvin", workaround_wb_kelvin, 6500);
static CONFIG_INT( "wbs.gm", workaround_wbs_gm, 100);
static CONFIG_INT( "wbs.ba", workaround_wbs_ba, 100);
static int kelvin_wb_dirty = 1;

in movtweaks.c
----
That was it !  :D :D :D :D Works, its 4800 at startup( i dont like 5000 or 5200 too warm)
--
Now im after histogram, i want it on when camera starts

#if defined(FEATURE_HISTOGRAM)

extern int FAST get_y_skip_offset_for_overlays();
extern int nondigic_zoom_overlay_enabled();

/* starting point OFF */
CONFIG_INT( "hist.draw", hist_draw,  1 );
#ifdef FEATURE_RAW_HISTOGRAM
CONFIG_INT( "hist.type", hist_type,  2 );
#else
CONFIG_INT( "hist.type", hist_type,  1 );
#endif

Worked   :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on November 23, 2019, 02:26:13 AM
Quote from: 2blackbar on November 23, 2019, 01:01:09 AM
...let ML menu disappear when were changing CMOS values, so we could see how its changing in realtime , without having to exit menu and reenter again to change values.Kinda like how expo menu works , it dosappears when you change iso from ML menu and only iso value stays onscreen.

Great idea, @2blackbar and I'm all for this!

Quote from: 2blackbar on November 23, 2019, 01:28:49 AM
Because im loving how MLVApp outputs image, looks like film straight away , theres something to tonemapped function that made me stop using other software for CR2's when i compared, plain and simple.

I'm on the same boat. Still can't believe I'm actually ditchin' Adobe for photography stuff as well!

Quote from: 2blackbar on November 23, 2019, 01:28:49 AM
That was it !  :D :D :D :D Works, its 4800 at startup( i dont like 5000 or 5200 too warm)

Booyah!!!  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 02:36:43 AM
Wow DeafEyeJedi man, are those all Your cams? Haha , nice collection.I have only 5D2 and M, but i mostly use M, for FF you need very good lenses without suspicious corners and i dont want to spend a fortune when im not making $ with my cams, thats my rule.
I might be wrong but i think this hides ML menu

    if (!menu_active_but_hidden())
    {
       
        int Tv = APEX_TV(lens_info.raw_shutter) * 10/8;
        if (lens_info.raw_shutter) MENU_SET_RINFO(
            "Tv%s%d.%d",
            FMT_FIXEDPOINT1(Tv)
        );
    }

Hidin ML menu during CMOS tinkering is like the first thing i would do ,then exporting addresses to txt file on shutdown
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 23, 2019, 02:59:12 AM
Quote from: Luther on November 23, 2019, 01:22:49 AM
Question: why not just use HDRMerge? Don't know if the averaging results are the same, but HDRMerge gives great results already... and not only it does averaging, but also gives you a extreme dynamic range output.
I like the idea of having more open source photo editing tools with new features, and you folks know that me and many others appreciate your work, but sometimes it feels a bit like "reinventing the wheel" or "NIH syndrome (https://en.wikipedia.org/wiki/Not_invented_here)".
Big words from someone that doesn't contribute with code, I know. I mean no offense here. I should just shut up.
I tested hdrmerge in a lot of ways. Even built a dedicated compiler for this program. It's not really relevant comparing the averaging workflow outlined so I'd say if you don't see the use simply go on without using it.
Cons with hdrmerge regarding other uses. Output is dng deflate. Tonemapping works on per frame basis(very sensitive frome scene to scene). Hdr movie sequences will not work here for instance. Test go from a dark to bright scene, output will flicker heavily.
Numerous occasions where hdrmerge will output badly merged files. Occasionally big issues in lows(crushing blacks), before highlights were messy too but seems fixed. Sidenote. Tried replacing enfuse merging cr2(well tiff intermediate) files only with a hdrmerge workflow but results were never as reliable as with enfuse. Bulk work not reliable.
Conclusion. For most cases this open source tool works mostly ok, even can give stellar results, but there's more to wish for, format and stability wise.
Feel free to test out hdrmerge, ffmpeg averaging and enfuse in my program Switch. I include a beasty bash script the compares all three of them. Just for fun. Clear winner as always, enfuse. By far.
I think your last words in your post pretty much sums it up pretty perfectly ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 03:44:10 AM
Looks like my Avast antivirus deleted some mingw libraries from cygwin folder... wow...
Have to reinstall again.Dont recommend that piece of shitware , previously i had avira which probably interfered as well.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 23, 2019, 03:55:03 AM
Quote from: 2blackbar on November 23, 2019, 03:44:10 AM
Looks like my Avast antivirus deleted some mingw libraries from cygwin folder... wow...
Have to reinstall again.Dont recommend that piece of shitware , previously i had avira which probably interfered as well.
Too bad :(
By the way. Thought you wanted the actual liveviev output to start out in 4800k :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 03:59:15 AM
Yeah i wanted it to be 4800 right away after install and it is now, I just recall what are the changes that i do when i run your builds and i mostly modified all to what i wanted, now i would like to get that ML menu hidden when changing CMOS values so i can see in realtime how image is changing...
--
Ok got it up and running again, wow... but this time im ready.
This line saved me, all docutils
"%UserProfile%"\Downloads\setup-x86.exe -s http://cygwin.mirrors.pair.com -q -P mingw64-i686-gcc-core,gcc-core,make,mercurial,python27,python27-docutils,python37,python2-docutils,python3-docutils,python2-docutils,perl,wget,unzip,zip,diffutils
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 23, 2019, 10:35:41 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Added a frame burst mode.
Will stop recording when specified amount of frames have been recorded. Good to have control when averaging a file sequence in post. Should work with all presets.

(https://i.postimg.cc/NFtyvvQH/VRAM1-PPM-500px.png)

(https://i.postimg.cc/B6H8znf3/VRAM2-PPM-500px.png)


And of course we all know what a little averaging can do(24 frames recorded at iso 100. Developed in Mlv App:
(https://i.postimg.cc/7Z8fCQb6/Screenshot-2019-11-23-at-11-34-14-png-500px.png)

(https://i.postimg.cc/fT0VRhzp/Screenshot-2019-11-23-at-11-33-56-png-500px.png)

(https://i.postimg.cc/C59dscNc/Screenshot-2019-11-23-at-11-32-35-png-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 01:48:30 PM
Great work, ill test how much is the difference between 24 and 94
--
Ok i did some tests and my conclusions are :
- 24 and 96 and single iso there is quite big difference, i wouldnt really want to use 24.
- With mcm reqwire resolution mlv files with 200/800/3200 come out nice, you can see dark and bright frames but...
- with fullres anamorphic, the time that isos are changing is too fast, mlv gets recorded but none of the frames are brighter, i think in fullres isos need to be changed slower , or just slow them down in all resolutions.in 24fps mode with fullres i got 17 frames and this one recorded different iso brightness nicely.
I would leave just 96 frames mode by default and maybe slowdown iso change , but i admit 96 frames for fullres is overkill for my laptop, memory bumps up with ffmpeg to almost 3gb.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 23, 2019, 02:57:57 PM
Frame burst is single iso only. Should be.
Iso average  only works with frame burst set to off.
Should work exactly the same for all presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 23, 2019, 03:19:36 PM
Ah i see now, its 17 frames in fullres and brightness is correct, so i probably did not switch off frame burst previously.
-----------

Im starting to center 2.5k mode, i know what the issue is with correcting all crop modes and framing being offcenter in 16:9 and cinemascope etc.
Its because when you skip left right up down then youre skipping more from one side, so what i did is change that, now it doesnt skip left 40 and right 0, it skips left 20 and right 20, so when you change aspect ratio, it all stays perfectly centered.
Why ? BEcause then you can use the same CMOS addresses for 2.5k and don thave to change them again if you want centering working in different aspect ratios

So far my values for 2.5k are:
  case CROP_PRESET_2K_EOSM:
   cmos_new[5] = 0x2c0;             /* vertical (first|last) */
                cmos_new[7] = 0x6ca;    /* pink highlights without this */
                break;



i basically made skipping to be the same from both sides( while respecting actual aspect ratios like You did) , so there is no issue with centering when changing aspect ratios:
        case CROP_PRESET_2K_EOSM:
            /* set ratio preset */
            if (ratios == 0x1)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 23;
                skip_bottom     = 23;
            }
            if (ratios == 0x2)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 14;
                skip_bottom     = 14;
            }
            if (ratios == 0x3)
            {
                skip_left       = 197;
                skip_right      = 197;
                skip_top        = 106;
                skip_bottom     = 106;
            }
            break;
           


This works, i can see in camera that it helps a lot.
I would of do that for all skipping in croprec by default and in rare cases i would not if something would be off in liveview.
At first i would get skipping from all sides, sometimes i see left skipping or down skipping is ommited which i would not do, i would take half of it and add new line to skip that half from opposite side, and avoid skipping just one side.
This would help getting correct CMOS addresses for different modes because skipping will be uniform from opposites sides ,thre is less variables to take care of.

I suspect You skip sides in 2.5k mode when doing cinemascope so it records mode time ? Isnt it better to leave full 2520 ? So its not overkill for card reader.
CAuse there is 2520x1480 which is already highes 2.5k  preset and its 16:9 but you can also choose 16:9 from other place in menu which crops it to lower 2192x1234
--
Now i see that i i think i know whats up, its stays at 950, so you have to skip sides to get to that 2.39:1
Well... maybe not, its working strange maybe its being changed in other places, also im using aspect ratio calculator and ML gives me different resolutions for 2.39:1 than this calculator
https://www.digitalrebellion.com/webapps/aspectcalc
1920x804   and 2520x1054 is 2.39:1   1920:816 and 2520x1072 is 2.35:1 and i wanted that but i see that i can get 2592 pixels width if i turn off skipping sides on 2.39:1 ratio ( i had 2592x950 maximum recorded wgich is 2.7:1) so i wanted 2592x1084 for 2.39:1 or 2592x1104 for 2.35:1 but i dont know if thats possible.
Ah.. that one aspect ratio in menu (above ratio ) gave me 2592 when i skipped 0 on all sides..
Does this mode wirks ?
  case 0xC0F06804: return 0x5b90319 + reg_6804_width + (reg_6804_height << 16); // 3000x1432 24fps x5 Mode;
With my own CMOS value for 2.5k that aspect ratio in raw video menu with resolution changing above it, with Your value it crops uniformly like it should, maybe because i added CMOS5 as well not just CMOS 7  it has centering all over the place when i adjust aspect ratio and resolution, where i can look it up so its not so unpredictable and center whatever i can ? I set aspect to 4:3 and resolution much lowe so i should not vignette but i do, because it shifts the frame whenever i adjust aspect and resolution, its not trying to skip from both sides at the same time but from one side more than from other.

It is hard at the moment figuring out CMOS values to center crop modes, when i press menu then everything gets shifted anyway, so there are multiple places where framing gets changed.
--
In Your build ISO climb doesnt work in 2.5k mode, 45/50/48fps mode crop and noncrop, works fine in other modes  .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 23, 2019, 10:53:23 PM
Quote from: 2blackbar on November 23, 2019, 03:19:36 PM
In Your build ISO climb doesnt work in 2.5k mode, 45/50/48fps mode crop and noncrop, works fine in other modes  .
Did you turn off iso average setting? Will set you in iso 100. Iso climb work with all presets over here.
Resolutions have been outlined one by one mainly to deliver continuos recording. However, feel free to refine and customize. Doubt I will have much time to throw into my build any time soon but I keep looking ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on November 24, 2019, 03:43:46 AM
Hey guys any one know how to get rid of 3 or 4 red pixels in my raw video

I have a different eos m
And it has some bad pixels
I did the bad pixel fix in mlvfs
But is there an easier way
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on November 24, 2019, 05:22:16 AM
Bad pixel fix in MLV_App does wonders, actually!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on November 24, 2019, 11:09:54 AM
Quote from: DeafEyeJedi on November 24, 2019, 05:22:16 AM
Bad pixel fix in MLV_App does wonders, actually!
Seconded, almost too easy
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on November 24, 2019, 12:48:56 PM
Thanks true

Look guys thanks a mill
I sold my eos m about 6 months back
And I had a 70d then a 6d then a 5d 3 and last of all a 5d4

An I am back at the most trusted camera I ever owned
Eosm

I have a 24 to 70 f4 and I am loving it

Thanks again
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 24, 2019, 10:28:42 PM
I found this works great for cctv lens and mcm rewire crop without any vignetting from sides
                 
                             case CROP_PRESET_mcm_mv1080_EOSM:
                cmos_new[5] = 0x20;
                cmos_new[7] = 0x800;
                if (x3crop == 0x1 || crop_patch)
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xaaa;
                }
                if (ratios == 0x0 && (x3crop == 0x1 || crop_patch))
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xaaa;
                }
                break;
               


I also have this that works fine for 16:9 1920x1080p resolution(dialed down from 2520x1418) in 2.5k mode 
But... I would like to also center image in 2520x1418 but i only see this for 2.5k mode and cmos settings that i centered while being in dialed down 1920x1080 resolution, its still not centered in 2520x1418:
            case CROP_PRESET_2K_EOSM:
      cmos_new[5] = 0x2c0;             /* vertical (first|last) */
              cmos_new[7] = 0x6a9;    /* pink highlights without this */
                break;
               

What should i add if i want to have different centering after i dial down resolution to 16:9 -1920x1080 and different when i use 16:9 2520x1418 ?
I also noticed that after recording mlv it goes back to liveview after slight pause and then framing is wrong , i have to enter playback mode, then press exit in corner, when it comes back to liveview then framing is correct, so after recording there is something thats changing CMOS value again messing up framing.
I also discovered that in 2.5k mode you can actually press small triangle arrows to move your framing around like during zoom, but i tried to get it centered when white zoom box is at the center.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 25, 2019, 12:09:29 AM
Thanks. Hope to get a look at this soon.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on November 25, 2019, 09:50:35 PM
Quote from: Danne on November 23, 2019, 02:59:12 AM
Output is dng deflate.
So what? This is a pro not a "con". Preserving it in raw format gives you much more flexibility.
Quote
Hdr movie sequences will not work here for instance.
Neither ffmpeg tmix.
Quote
Numerous occasions where hdrmerge will output badly merged files. Occasionally big issues in lows(crushing blacks), before highlights were messy too but seems fixed.
I use it for years. Never once this happened.
Quote
Bulk work not reliable.
This point I agree.
Quote
Clear winner as always, enfuse. By far.
I'll test it.
Quote
I think your last words in your post pretty much sums it up pretty perfectly ;).
Maybe. But criticism is necessary sometimes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 26, 2019, 12:45:02 AM
I prefer coders and deeper know how around modifying/refining actual functions menus etc since my own knowledge is very limited in those areas. Unfortunately they don't grow on trees lately, if ever. Jip-Hop took a short but very useful dive but quickly ran out of time and I have very little time atm myself.
Regarding HDRmerge my points are valid to me and in this case, for the averaging workflow in Mlv app, not at all relevant. If you want to use hdrmerge please do. I won't, for now at least.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on November 26, 2019, 10:46:46 AM
ML is a bit of fun but it is so unreliable. It constantly deactivated the shutter release so I unable to start recording or taking a photograph without restarting sometimes multiple times.

I have many other questions but I don't know if it's worth noting them all here. I would like to know how to record higher resolutions with some stability, or record more FPS than 30. Having the ability to record 50fps at 1080 would be incredible and seems realistic as people are recording 2.5K at 48fps.

The crop/zoom mode that removes the aliasing and moire always deactivates when I restart the camera and I have to go into the menu and reactivate it. Again makes it kinda useless for anything serious.

One more, can I manually control the audio levels without entering into the menu? maybe set up the dial to control the gain?

Many thanks for any help! :-)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 26, 2019, 04:44:15 PM
Sourcecode is out there, its very possible to fix a lot of stuff , everyone can give it a try and Danne is very supportive.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 26, 2019, 06:20:20 PM
Quote from: Disease on November 26, 2019, 10:46:46 AM
ML is a bit of fun but it is so unreliable. It constantly deactivated the shutter release so I unable to start recording or taking a photograph without restarting sometimes multiple times.

I have many other questions but I don't know if it's worth noting them all here. I would like to know how to record higher resolutions with some stability, or record more FPS than 30. Having the ability to record 50fps at 1080 would be incredible and seems realistic as people are recording 2.5K at 48fps.

The crop/zoom mode that removes the aliasing and moire always deactivates when I restart the camera and I have to go into the menu and reactivate it. Again makes it kinda useless for anything serious.

Here it is very reliable. I can record in 5K anamorphic mode all over the day without one single corrupted frame, without one single crash. Same for 45fps at a little less than 1080p. 2.5K at 48fps is not possible with EOS M (and will never be): card interface is way too slow - that is simple math.

What's the problem with shutter release? Absolutely don't know what you mean. I can take pictures at any time in picture mode and can record video at any time in video mode - without changing anything in settings.

For zoom mode in 1080p you have to press exactly one button after start.

Don't write ML is useless and unreliable if you don't know what you do, or if you don't know if you're doing it right.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on November 26, 2019, 06:46:12 PM
Quote from: masc on November 26, 2019, 06:20:20 PM
Here it is very reliable. I can record in 5K anamorphic mode all over the day without one single corrupted frame, without one single crash. Same for 45fps at a little less than 1080p. 2.5K at 48fps is not possible with EOS M (and will never be): card interface is way too slow - that is simple math.

What's the problem with shutter release? Absolutely don't know what you mean. I can take pictures at any time in picture mode and can record video at any time in video mode - without changing anything in settings.

For zoom mode in 1080p you have to press exactly one button after start.

Don't write ML is useless and unreliable if you don't know what you do, or if you don't know if you're doing it right.

+1
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: srsa on November 26, 2019, 08:25:54 PM
Quote from: Disease on November 26, 2019, 10:46:46 AM
It constantly deactivated the shutter release so I unable to start recording or taking a photograph without restarting sometimes multiple times.
That's probably the "shutter bug". You can read about it here (https://bitbucket.org/hudson/magic-lantern/issues/1893/eos-m-shutter-bug) and also search in the print view of the current thread (https://www.magiclantern.fm/forum/index.php?action=printpage;topic=9741.0).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on November 27, 2019, 07:49:40 AM
Quote from: masc on November 26, 2019, 06:20:20 PM
I can record in 5K anamorphic mode all over the day without one single corrupted frame, without one single crash.

How? I've been trying for the last few days and often get half a pink frame throughout my recordings. I've tried the preset options and run the script thinking it'll set everything up for me.

Also, do you typically shoot in framing or real-time (or mix between both with the INFO button)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 27, 2019, 08:03:57 AM
Enough to install a fresh version, tap display, select 5k anamorphic rewired, start to record.
You need a good sd card, external monitor is a nono, and 24fps recommended. You do not mention your set up so hard to tell what parameter might be wrong at your end.
INFO button is not at all needed imo. Leave preview setup it as is(framing). While recording push halfshutter to get into realtime liveview, release button to get back into framing again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 27, 2019, 10:48:35 PM
Anamorphic 4k 5k isless demanding than 2.5k, did anyone recorded 1 minute of 2.5k in 2520x1416? What card if Yes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LittleBig M on November 27, 2019, 11:58:51 PM
Quote from: 2blackbar on November 27, 2019, 10:48:35 PM
Anamorphic 4k 5k isless demanding than 2.5k, did anyone recorded 1 minute of 2.5k in 2520x1416? What card if Yes.
2blackbar
I try multiple cards  all sandisc extreme pro  64g and 128g  on 2.5k in 2520x1416 all just seconds
2192x1234 1min 10sec 1710frames
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on November 28, 2019, 04:46:14 AM
Anyone experience footage that is too dark, pitch black pretty much, when imported into mlvproducer?

I filmed some stuff to test mcmrewire, and the anamorphic settings,
imported the footage and it was black.
Confused, I decided to boost the exposure and gamma to max.
Saw my footage.

Felt like, I read about this a while back

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: mix_vfx on November 28, 2019, 07:39:34 AM
Quote from: keel on November 28, 2019, 04:46:14 AM
Anyone experience footage is way too dark, pitch black pretty much, when imported into mlvproducer?

Try using MLVApp, available for Windows and MacOS as well, and very well supported, plus latest just came out. Never tried MLVProducer, but last update is from 5/2019.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on November 29, 2019, 12:38:06 PM
Can someone confirm the crop in 2.5k

is it 2.9 x 1.6? or just a 2.9 crop.

I have a 12.5 mm but it looks wider then a 58 to me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LittleBig M on November 29, 2019, 08:35:46 PM
Quote from: lightspeed on November 29, 2019, 12:38:06 PM
Can someone confirm the crop in 2.5k

is it 2.9 x 1.6? or just a 2.9 crop.

I have a 12.5 mm but it looks wider then a 58 to me.
Hi lightspeed
My video comparing 12mm on 2,5k mode(2520x1416 and 2256x1270) and 50mm on 1080 mode, both lenses with and without focal reducer.

https://youtu.be/xTaXc64_zLc
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on November 29, 2019, 10:49:42 PM
So it's wider then the 50 mm. So you don't add the 1.6 in crop mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Panz on November 30, 2019, 11:28:30 AM
With the latest versions of danne's ml for eos-m, I can't find how to switch off modules.

I have 2 sandisk cards and 1 sony. The sony doesn't work with sd hack, it's speed is cut down by half(40mb/s to 20mb/s).
40mb is okay for 1080p rewired though.

Did i miss something? Is the toggle removed and is it easy to add it back again?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on November 30, 2019, 09:56:56 PM
Hey guys need a little help

I am using my eos m and I cant figure out
How do I change the bit rate to 12bit lossless and 10bit lossless

I dont seem to be able to find it anymore
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 01, 2019, 05:56:45 AM
It is named bitdepth and should be under your nose in your Movie menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on December 01, 2019, 01:13:25 PM
hi everyone, there is a question , is it possible to make  a 60 fps  raw preset even if it will be 720p , but without  framedrops?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 01, 2019, 01:18:00 PM
I commented out the mv720p preset from the list in crop_rec.c You can start with enabling that and then start reducing height and increase fps from where its at now. Think it's 50fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on December 01, 2019, 09:40:55 PM
Quote from: 2blackbar on November 24, 2019, 10:28:42 PM
I found this works great for cctv lens and mcm rewire crop without any vignetting from sides
                 
                             case CROP_PRESET_mcm_mv1080_EOSM:
                cmos_new[5] = 0x20;
                cmos_new[7] = 0x800;
                if (x3crop == 0x1 || crop_patch)
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xaaa;
                }
                if (ratios == 0x0 && (x3crop == 0x1 || crop_patch))
                {
                    cmos_new[5] = 0x380;
                    cmos_new[7] = 0xaaa;
                }
                break;
               


I also have this that works fine for 16:9 1920x1080p resolution(dialed down from 2520x1418) in 2.5k mode 
But... I would like to also center image in 2520x1418 but i only see this for 2.5k mode and cmos settings that i centered while being in dialed down 1920x1080 resolution, its still not centered in 2520x1418:
            case CROP_PRESET_2K_EOSM:
      cmos_new[5] = 0x2c0;             /* vertical (first|last) */
              cmos_new[7] = 0x6a9;    /* pink highlights without this */
                break;
               

What should i add if i want to have different centering after i dial down resolution to 16:9 -1920x1080 and different when i use 16:9 2520x1418 ?
I also noticed that after recording mlv it goes back to liveview after slight pause and then framing is wrong , i have to enter playback mode, then press exit in corner, when it comes back to liveview then framing is correct, so after recording there is something thats changing CMOS value again messing up framing.
I also discovered that in 2.5k mode you can actually press small triangle arrows to move your framing around like during zoom, but i tried to get it centered when white zoom box is at the center.

Did you manage to center the view?:)
I would like to do the same in the mkiii since its sometimes hard to know what i am focusing on.

Cheers
S
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 02, 2019, 11:22:15 PM
Yes i did, works with my cctv lenses thare are for 1/2'' sensors, they fit precisely 1920x1080 framing in 2.5k mode so im happy, i dont get continuous but im glad it works.
You have to modify CMOS 5 and CMOS7 , sometimes only 7.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on December 03, 2019, 10:54:15 AM
When shooting in the 5k modes, is it possible to change which part of the frame the real-time preview shows? For example, if I know I want someone framed on the left, I'd like to see the left side of my frame to keep focus etc. But then the next shot might need them on the right so I'd like to change that.

Of course, I can check my shot in the framing view, but if they're moving around or it's a walking shot, the framing will change during the actual recording. If I can see the edge of my frame, then at least I know I'm keeping them in the shot the whole time haha.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 03, 2019, 05:04:54 PM
Its what framing preview is for.
If You want  digital panning to keep subject in frame , its not currently possible to do pixel precise digital panning, CMOS values lets us only use the ones that work for magnifier/ loupe.It would stutter, its like moving every 5 pixels  not every 1 pixel.Changing crop area on frame by frame basis is possible but that would not look good actually because difference between frames would be too big.
Unless someone will discover a logical map of addresses to modify CMOS values so we could pan with pixel precision on 5184x3456 sensor.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 03, 2019, 06:21:51 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- movie preset intervalometer

As the name suggests this lua script is done with timelapse, frame burst or iso average in mind. Making good use of the powerful lua api together with rec trigger mode from a1ex it´s possible to use any crop_rec movie preset to record timelapse sequenses.
Workflow:
1 - set your interval in seconds
2 - select halfshutter trigger
This will enable all that is needed for recording single frames into a mlv wrapper. Push REC to stop the intervalometer

The other function called rec key trigger is nice to use together with frame burst or the iso average function. Instead of one big MLV file you´ll get single MLV files that are suitable for averaging in Mlv App.

(https://i.postimg.cc/XvcJh476/VRAM0-PPM-500px.png)

(https://i.postimg.cc/q7dqjzrG/VRAM1-PPM-500px.png)

(https://i.postimg.cc/cL36RfpH/VRAM2-PPM-500px.png)

(https://i.postimg.cc/Pr9PvSF9/VRAM3-PPM-500px.png)

Full lua script code:
-- movie preset intervalometer

--[[
Dedicated movie preset intervalometer
--]]

  console.hide()
  menu.close()

if camera.model_short ~= "EOSM" then
   display.notify_box("Only eosm for now")
   return
end

  a = 1

function main()
  console.hide()
  menu.close()
-- warning
if camera.mode ~= MODE.MOVIE then
  display.notify_box("enable MOVIE mode")
  return 
end
  menu.set("raw video", "Pre-record", "1 frame")
  menu.set("raw video", "Rec trigger", "Half-shutter: pre only")
  menu.set("presets", "frame burst", "OFF")
  menu.set("presets", "iso average", "OFF")
  display.notify_box("push rec to disable")
  display.notify_box("push rec to disable")
  msleep(2000)
  key.press(KEY.REC)
  msleep(1000)
  while a == 1 do
      key.press(KEY.HALFSHUTTER)
      key.press(KEY.UNPRESS_HALFSHUTTER)
    while a ~= mymenu.submenu["interval in seconds"].value do
      msleep(1000)
      if movie.recording == false then
      a = 1
      menu.set("raw video", "Rec trigger", "OFF")
      return
      end
      a = a + 1
    end
  a = 1
  end
end

function main2()
  console.hide()
  menu.close()
-- warning
if camera.mode ~= MODE.MOVIE then
  display.notify_box("enable MOVIE mode")
  return 
end
  display.notify_box("push display to disable")
  display.notify_box("push display to disable")
  msleep(2000)
  while a == 1 do
      key.press(KEY.REC)
    while a ~= mymenu.submenu["interval in seconds"].value do
      msleep(1000)
      if menu.visible then
      a = 1
      return
      end
      a = a + 1
    end
  a = 1
  end
end

mymenu = menu.new
{
    parent = "Movie",
    name = "intervalometer",
    help = "Movie preset intervalometer",
    submenu =
    {
        {
            name = "interval in seconds",
            min = 0,
            max = 999,
    value = 10,
            unit = UNIT.DEC,
            update = function(this) mymenu.value = this.value end,
    help = "default is 10 seconds",
        },
        {
            name = "halfshutter trigger",
    select = function(this) task.create(main) end,
    help = "records single frames in a MLV chunk. Also enables REC trigger mode",
        },
        {
            name = "rec key trigger",
    select = function(this) task.create(main2) end,
    help = "use with frame burst or iso average",
        },

    },

}


Thanks to dmilligan, a1ex, and others contributing with good lua examples. Very powerful as always.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on December 03, 2019, 08:49:30 PM
I was waiting for this option :)
Thank you all very much!

Quote from: yokashin on September 13, 2019, 09:37:38 PM
Would there be a chance to create a timelapse setting for 1 fps or 2 fps?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 03, 2019, 09:39:58 PM
Cool. How are you going to use it? Curious.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on December 04, 2019, 11:50:25 AM
Wow, Danne awesome additions here. Had a very quick play and seems to all be working here. This is going to eliminate having to use fps override for timelapses and having to deal with the overexposure it causes. Winner.

And wow, just wow, to now having the opportunity to record averaged tiff sequences timelapse style.

Oh yeah and in 5k full res to boot.

I can't wait to get some time and daylight to play with this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 04, 2019, 12:38:26 PM
Yup. Agree @bakersdozen. Pretty much sums up my thoughts and uses around this addition :).



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on December 04, 2019, 01:24:44 PM
Quote from: bakersdozen on December 04, 2019, 11:50:25 AM
This is going to eliminate having to use fps override for timelapses and having to deal with the overexposure it causes. Winner.

I am not sure if using the intervalometer is the best option for timelapses.  In the silent module of the 100D, intervalometer causes quite a sustantial dead time from frame to frame which results in a choppy timelapse video.  On the other hand, if you shoot timelapses in the movie mode using fps override, dead time is close to 0 and this produces very smooth and cinematic timelapses.  The only downside of this mode is the very slow refresh rate of the screen at low fps (0,4 to 4 fps) which makes focusing a pain.  Please compare both modes and if you succeed, I would be curious to see the results. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anykill on December 04, 2019, 07:41:55 PM
Do we have any version for M50?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on December 04, 2019, 08:18:59 PM
Quote from: anykill on December 04, 2019, 07:41:55 PM
Do we have any version for M50?
No. And here is EOS M, not EOS M50!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on December 04, 2019, 09:09:08 PM
have few questions.
1. crop mode 14 bit 1736x976 30 fps - on the top some transparent/pink bar + on highlights color flicker. is it real to fix or why this happens?

2. where is 5k(3.5k) anamorphic mode 24/25 fps? can't find=( only 12-18 fps

3. i bought sandisk extreme pro 95mb 256gb card, as a lot of people said that this is the best solution. yep, card is pretty good, works better in a lot of real time fps modes, then my samsung evo microsd+adapter.
BUT main reason was slow mo modes. all slow mo modes work the same and show me only max card speed 45-46 mb. while real time fps show 50-57mb.
1736x976 slow mo 46fps = 5 seconds only + some dropped frames.
can't understand why slow mo modes decrease card speed more than 10mb/s

thanks for any thoughts
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anykill on December 04, 2019, 09:17:23 PM
Ah, ok! Sorry
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 05, 2019, 03:49:45 AM
Danne i have a question about finding place in ML code to adjust crop being shfted after video recording ends in 2.5k mode...
I have my addresses set so it doesnt vignette in 1920x1080 in 2.5k mode and theyre :
            case CROP_PRESET_2K_EOSM:
  cmos_new[5] = 0x300;             /* vertical (first|last) */
              cmos_new[7] = 0x2a9;    /* pink highlights without this */
                break;


And skipping for 2K mode :
        case CROP_PRESET_2K_EOSM:
            /* set ratio preset */
            if (ratios == 0x1)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 23;
                skip_bottom     = 23;
            }
            if (ratios == 0x2)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 14;
                skip_bottom     = 14;
            }
            if (ratios == 0x3)
            {
                skip_left       = 197;
                skip_right      = 197;
                skip_top        = 106;
                skip_bottom     = 106;
            }
            break;
           


Is this the only place that CMOS framing addresses for 2.5k mode are set ?
Im asking because when i set everything in ML menu to be in 1920x1080 and 16:9 aspect ratio (from raw video menu) then eveyrthing is fine and framing is correct for CCTV lens, looks like this :
(https://i111.fastpic.ru/big/2019/1205/c6/de41409e9cec4a64a2e1c437408de8c6.jpg)
When recording stops then liveview refreshes as alaways but it gets shifted and next recording is like this :
(https://i111.fastpic.ru/big/2019/1205/ce/133b4aff63cea7b3937112feb44f02ce.jpg)
Its shifted slightly and vignetting is visible on left side cause its small CCTV lens that fits perfectly into 1920x1080 mode in 2.5k preset, so now to fix this what i have to do is go to ML menu, then turn off raw video and turn it on right away( just press SET twice) and leave ML menu, then liveveiew refreshes itself and now is correct again without vignette, i have to do it everytime i record new MLV clip but i would prefere to find a cause for this.
Do you know where liveview gets refreshed and shifted after recording ? I cant figure out how to make it refresh with correct values that i set myself so there is no vignetting and i dont have to refresh liveview with disabling/enabling raw video in ML menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 05, 2019, 06:23:52 AM
I can´t reproduce here. But there could be some setting you use that I don´t. Are you setting resolution to 1920x1080 in raw menu. Maybe that is causing it, idk.
I tested your changes. Just shortly. Cannot say much atm but note that black level readings will take a hit with 16:9 mode because you alter skip offsets. What happens is raw.c(back end) will miss autodetection of black level reading. Look for this part in raw.c:
/* returns 1 on success, 0 on failure */
static int autodetect_black_level(int* black_mean, int* black_stdev_x100)
{
    //~ static int k = 0;
    //~ bmp_printf(FONT_MED, 250, 50, "black refresh: %d ", k++);
   
    /* also handle black level for dual ISO */
    int mean1 = 0;
    int stdev1 = 0;
    int mean2 = 0;
    int stdev2 = 0;
     
    if ((raw_info.active_area.x1 > 50) && (shamem_read(0xC0f0b13c) != 0xd) && (shamem_read(0xC0f0b13c) != 0x11) &&
(shamem_read(0xC0f0b13c) != 0xe) && (shamem_read(0xC0f0b13c) != 0xd) && (shamem_read(0xC0f06804) != 0x5a70298) &&
(shamem_read(0xC0f0b13c) != 0xb) && (shamem_read(0xc0f0713c) != 0x456) && (shamem_read(0xC0f06804) != 0x4550298) &&
(shamem_read(0xC0f06804) != 0x93a011b) && (shamem_read(0xC0f06804) != 0x8d6011b)) /* use the left black bar for black calibration, shamem exception anamorphic and high speed frame rates crop rec.c */
    {
        autodetect_black_level_calc(
            16, raw_info.active_area.x1 - 16,
            raw_info.active_area.y1 + 20, raw_info.active_area.y2 - 20,
            3, 16,
            &mean1, &stdev1
        );
        autodetect_black_level_calc(
            16, raw_info.active_area.x1 - 16,
            raw_info.active_area.y1 + 22, raw_info.active_area.y2 - 20,
            3, 16,
            &mean2, &stdev2
        );
       
        /* for dual iso: increase tolerance of the cleaner exposure (there is interference from the noisier one) */
        int ref_stdev = MAX(stdev1, stdev2);
       
        if (!black_level_check_left(mean1, ref_stdev, raw_info.active_area.y1 + 20, raw_info.active_area.y2 - 20))
        {
            return 0;
        }

        if (!black_level_check_left(mean2, ref_stdev, raw_info.active_area.y1 + 22, raw_info.active_area.y2 - 20))
        {
            return 0;
        }
    }
    else /* use the top black bar for black calibration */
    {
        autodetect_black_level_calc(
            raw_info.active_area.x1 + 20, raw_info.active_area.x2 - 20,
            4, raw_info.active_area.y1 - 4,
            16, 4,
            &mean1, &stdev1
        );
        autodetect_black_level_calc(
            raw_info.active_area.x1 + 20, raw_info.active_area.x2 - 20,
            6, raw_info.active_area.y1 - 4,
            16, 4,
            &mean2, &stdev2
        );
       
        /* todo: consistency check */
    }

I do a lot of shamem_read exceptions. It´s not good lokking but it gets the job done for a few presets I tweaked.

By the way. Did you test 2.5k 1:1 centered preset?

Oh, and one more thing. I encountered a few pink frames in 2.5k mode so changed a bit in regs. Hopefully fixed. New build uploaded.

EDIT: Issue reproduced. It´s related to resolution changed to 1980x1080 in raw video menu. Must be a conflict with crop_rec changes. I can take a look. I never really built my presets to be modified in raw video. Always set to max. Resolution set in crop_rec statically instead but not working for you in this case.
Seems we need to refresh hooks after each recording has stopped.

EDIT:
Uploaded a new version again. Seems to fix 2k stay in center when reducing to 1920x1080. Not working for 3k but also not high priority. Stay with static crop rec resolutions otherwise and we´re fine.

EDIT:
If you want to dig into cmos update routines here´s a snippet from crop_rec.c:

static int patch_active = 0;

static void update_patch()
{
   
    if (CROP_PRESET_MENU)
    {
        /* update preset */
        crop_preset = CROP_PRESET_MENU;
       
        /* install our hooks, if we haven't already do so */
        if (!patch_active)
        {
            patch_hook_function(CMOS_WRITE, MEM_CMOS_WRITE, &cmos_hook, "crop_rec: CMOS[1,2,6] parameters hook");
            patch_hook_function(ADTG_WRITE, MEM_ADTG_WRITE, &adtg_hook, "crop_rec: ADTG[8000,8806] parameters hook");
            if (ENGIO_WRITE)
            {
                patch_hook_function(ENGIO_WRITE, MEM_ENGIO_WRITE, engio_write_hook, "crop_rec: video timers hook");
            }
           
            patch_active = 1;
        }
    }
    else
    {
        /* undo active patches, if any */
        if (patch_active)
        {
            unpatch_memory(CMOS_WRITE);
            unpatch_memory(ADTG_WRITE);
            if (ENGIO_WRITE)
            {
                unpatch_memory(ENGIO_WRITE);
            }
            patch_active = 0;
            crop_preset = 0;
        }
    }
}

/* enable patch when switching LiveView (not in the middle of LiveView) */
/* otherwise you will end up with a halfway configured video mode that looks weird */
PROP_HANDLER(PROP_LV_ACTION)
{
    update_patch();
}

/* also try when switching zoom modes */
PROP_HANDLER(PROP_LV_DISPSIZE)
{
    update_patch();
}
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 05, 2019, 09:11:55 AM
Works Great now, perfectly fits and stays , thanks a lot , it was really bugging me and thank You for explaining changes, its valuable info for me.
I skipped from all sides to avoid offcenter issues in future, so i tried to make everything even from opposite sides, is it better for example to skip 16 from left side only instead of 8 from left and right ? cAuse from what i see now, its used for black area and not for centering view.
I do notivce levels being screwed up major time when i use ratios from that other menu above bitdepth.
So should i set skipping to what youre using ?
I find it amazing that this small camera works so well for different kinds of lenses and you can get some cheap fast CCTV lenses for 1/2'' sensors that work perfect in crop mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 05, 2019, 09:59:49 AM
Well, if you need and want to you can modify and test to do exceptions in raw.c code that will detect correctly. You seem to be good with experimenting so you will probably solve it eventually.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on December 06, 2019, 01:49:28 AM
Quote from: mix_vfx on November 28, 2019, 07:39:34 AM
Try using MLVApp, available for Windows and MacOS as well, and very well supported, plus latest just came out. Never tried MLVProducer, but last update is from 5/2019.

Gave it shot, on both programs videos are importing very dark.

My live view is fine, but the imports are pitch black until i boost gamma or exposure.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on December 06, 2019, 03:16:08 AM
Quote from: IDA_ML on December 04, 2019, 01:24:44 PM
I am not sure if using the intervalometer is the best option for timelapses.  In the silent module of the 100D, intervalometer causes quite a sustantial dead time from frame to frame which results in a choppy timelapse video.  On the other hand, if you shoot timelapses in the movie mode using fps override, dead time is close to 0 and this produces very smooth and cinematic timelapses.  The only downside of this mode is the very slow refresh rate of the screen at low fps (0,4 to 4 fps) which makes focusing a pain.  Please compare both modes and if you succeed, I would be curious to see the results.

I agree and love the cinematic smoothness of fps override for timelapses - my favourite method of shooting them for a long time. I've only had the chance of shooting one quick timelapse with Danne's new functionality and it worked pretty well. I think it will be playing with the intervals depending on the subjects/scene you are shooting to reach a happy place. I'm confident this could be the way forward (rather than using silent modes or overexposed fps override). Will report back more once I've had a good chance to play around.

Quote from: Danne on December 04, 2019, 12:38:26 PM
Yup. Agree @bakersdozen. Pretty much sums up my thoughts and uses around this addition :).

@Danne , any chance of adding 0.25 and 0.5 options for the movie mode intervalometer ? Or maybe 0.20 0.40 0.60 0.80 would be better if achievable. My favourite for fps override is 2.5 fps for certain subjects. So the 0.40 should achieve that.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on December 06, 2019, 05:55:05 AM
Quote from: keel on December 06, 2019, 01:49:28 AM
Gave it shot, on both programs videos are importing very dark.
My live view is fine, but the imports are pitch black until I boost gamma or exposure.
Check your "White Level" in MLV App. Double-tap on it to reset White Level or play around with that instead of Gamma or Exposure. If not, just do a fresh install with Danne's latest ML Build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2019, 06:13:26 AM
Quote from: bakersdozen on December 06, 2019, 03:16:08 AM
@Danne , any chance of adding 0.25 and 0.5 options for the movie mode intervalometer ? Or maybe 0.20 0.40 0.60 0.80 would be better if achievable. My favourite for fps override is 2.5 fps for certain subjects. So the 0.40 should achieve that.
How do you mean? If you want 0.5 you enable fps override and then add intervalometer? Or what do you mean?
Besides that. If you you run frameburst mode and then average let's say 49 images you'll get the long exposure look but without the laggy screen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on December 06, 2019, 07:21:25 AM
Quote from: bakersdozen on December 06, 2019, 03:16:08 AM
I think it will be playing with the intervals depending on the subjects/scene you are shooting to reach a happy place. I'm confident this could be the way forward (rather than using silent modes or overexposed fps override).
My favourite for fps override is 2.5 fps for certain subjects. So the 0.40 should achieve that.

If you want smooth cinematic timelapse videos, setting long enough frame to frame intervals is not enough.  You also need long exposure times.  If, for example, you choose 2.5 fps for a certain scene, you need 0,4 s shutter speed to get this smooth motion blur of the moving objects in the scene and this is what causes the overexposure in day light.  You need a variable ND filter to compensate for that.  Unfortunately, there is no way around it, no matter what method you use.  If you use, say 1/30 s, your smoothness is gone.  In my experience, fairly cheap no name VND filters do a decent job with timelapses.

About half a year ago, Danne brought timelapse shooting functionality on the 100D to perfection.  4k and 5k resolutions in combination with the correct fps rates and reciprocal slow shutter speeds, as well as a nice fast preview for focusing upon half shutter press make timelapse shooting really fast, easy and a lot of fun.  I have been enjoying it tremendously last summer - one more reason for me to keep my 100D.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2019, 07:29:40 AM
Quote from: IDA_ML on December 06, 2019, 07:21:25 AM
About half a year ago, Danne brought timelapse shooting functionality on the 100D to perfection.  4k and 5k resolutions in combination with the correct fps rates and reciprocal slow shutter speeds, as well as a nice fast preview for focusing upon half shutter press make timelapse shooting really fast, easy and a lot of fun.  I have been enjoying it tremendously last summer - one more reason for me to keep my 100D.
Please reread my last message about averaging files for long exposure results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on December 06, 2019, 08:13:14 AM
Quote from: Danne on December 06, 2019, 06:13:26 AM
How do you mean? If you want 0.5 you enable fps override and then add intervalometer? Or what do you mean?
Besides that. If you you run frameburst mode and then average let's say 49 images you'll get the long exposure look but without the laggy screen.

I meant a lower minimum interval than 1 second on the intervalometer could be selected. ie. If 0.20 was a choice, we would get 2.5 frames in a second just by using intervalometer.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on December 06, 2019, 08:20:01 AM
Quote from: IDA_ML on December 06, 2019, 07:21:25 AM
If you want smooth cinematic timelapse videos, setting long enough frame to frame intervals is not enough.  You also need long exposure times.  If, for example, you choose 2.5 fps for a certain scene, you need 0,4 s shutter speed to get this smooth motion blur of the moving objects in the scene and this is what causes the overexposure in day light.  You need a variable ND filter to compensate for that.  Unfortunately, there is no way around it, no matter what method you use.  If you use, say 1/30 s, your smoothness is gone.  In my experience, fairly cheap no name VND filters do a decent job with timelapses.

About half a year ago, Danne brought timelapse shooting functionality on the 100D to perfection.  4k and 5k resolutions in combination with the correct fps rates and reciprocal slow shutter speeds, as well as a nice fast preview for focusing upon half shutter press make timelapse shooting really fast, easy and a lot of fun.  I have been enjoying it tremendously last summer - one more reason for me to keep my 100D.
Thanks mate. Yes I've got heaps of variable nd's for this exact purpose :) I was really just trying to push this a little further to try out a different method of timelapses using intervalometer only. If it's not possible, that's cool, just wanted to try and see what resulted.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeandroFreitas on December 06, 2019, 08:52:49 AM
I got great news! I got continuous recording with (2.5K) 2520x1054 Ratio 2.39:1 14bit with SanDisk Extreme PRO 128gb 170Mb i got 57.9MB/s as top speed with Kill Global Draw . Very good card i got on Blackfriday.
I notice there is a bug for 2.5k that if you set  to 24 exact fps it show like its not using correct the sensor its black on the right.
Iam running Danne version crop_rec_4k_mlv_snd_raw_only_2019Dec05.EOSM202.zip
I running this setup with Viltrox EF-M speedbooster with Sigma art 18-35 F1.8 that gives me F 1.2 doenst give you vignette.
(https://imgur.com/lOQdlRt.jpg)
(https://i.imgur.com/dFReftw.jpg)
(https://i.imgur.com/RDNZej2.jpg)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2019, 09:00:16 AM
Your images are too big. Lower resolution to around 700-900 pixels
EDIT: lowered, thanks

Where´s the black? Could you upload a sample. Will take a look later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeandroFreitas on December 06, 2019, 06:55:04 PM
Quote from: Danne on December 06, 2019, 09:00:16 AM
Your images are too big. Lower resolution to around 700-900 pixels
EDIT: lowered, thanks

Where´s the black? Could you upload a sample. Will take a look later.

(https://i.imgur.com/tdtnWoB.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 06, 2019, 07:07:32 PM
Sample mlv file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 07, 2019, 02:23:48 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- intervalometer
- recording delay


Refined my lua script but still a work in progress. Mission is to be able to fully control a few functions such as being able to program the camera to independently delay start, specify recording time, stopping and looping the programmed set up. Thanks to dmilligan examples from uploaded test scripts here http://davidmilligan.github.io/ml-lua/index.html I could start my experiments.

Usage:
1 - Load movie tlapse & rec_delay from Scripts section
2 - Choose intervalometer or recording delay from Movie tab section

Functions:
rec delay - start recording with a delay
recording time - stop recording after specified amount of time
loop this - loop this setup x many times, need recording time enabled

Of course one can still keep it simple and i.e set interval time and run halfshutter trigger and skip the rest of the settings. Treat them as advanced mode. Feedback and testing welcome.

(https://i.postimg.cc/K8bYXXG7/VRAM3-PPM-500px.png)

(https://i.postimg.cc/7LYY6gTf/VRAM2-PPM-500px.png)

(https://i.postimg.cc/Z5L54fnG/VRAM0-PPM-500px.png)

(https://i.postimg.cc/d0HQTL8n/VRAM1-PPM-500px.png)

Lua script in full here:
-- movie tlapse & rec_delay

--[[
Dedicated movie preset intervalometer
--]]

  console.hide()
  menu.close()

if camera.model_short ~= "EOSM" then
   display.notify_box("Only eosm for now")
   do return end
end

  displaybox = 0
  interval = 0
  delay_value1 = 0
  stop_value1 = 0
  delay_value2 = 0
  stop_value2 = 0
  stop_after = 0
  loop_this = 0

-- loop this function
function restart()
  main()
end

function restart2()
  main2()
end

function main()
  console.hide()
  menu.close()
  interval =  mymenu.submenu["interval"].value + 1
  delay_value1 = mymenu.submenu["rec delay"].value + 1
  stop_value1 = mymenu.submenu["recording time"].value

-- warning
if camera.mode ~= MODE.MOVIE then
  display.notify_box("enable MOVIE mode")
  do return end 
end

-- if rec delay set
if delay_value1 > 1 then
  display.notify_box("push display to disable rec delay")
  msleep(1000)
  display.notify_box("push display to disable rec delay")
  msleep(1000)
end

-- rec delay set?
    while delay_value1 > 1 do
      if menu.visible then
      do return end
      end
      delay_value1 = delay_value1 - 1
      display.notify_box("recording delay "..delay_value1)
      msleep(1000)
    end

  menu.set("raw video", "Rec trigger", "Half-shutter: pre only")
  msleep(1000)
  menu.set("raw video", "Pre-record", "1 frame")
  menu.set("presets", "frame burst", "OFF")
  menu.set("presets", "iso average", "OFF")
  display.notify_box("push rec to disable")
  msleep(1000)
  display.notify_box("push rec to disable")
  msleep(1000)
  key.press(KEY.REC)
  msleep(1000)

-- starting the timelapse loop
while interval > 0 do

      interval = interval - 1
      msleep(1000)

   -- share displaybox with stop function 
     if displaybox < 8 then
      display.notify_box("interval "..interval)
   -- check if stop function is enabled
      if stop_value1 > 0 then displaybox = displaybox + 1 end
     end

      if interval == 0 then
   -- reload interval
      interval =  mymenu.submenu["interval"].value + 1
      key.press(KEY.HALFSHUTTER)
      key.press(KEY.UNPRESS_HALFSHUTTER)
      end

   -- to be able and stop while running
      if menu.visible then
do return end
      end

      if movie.recording == false then
      menu.set("raw video", "Rec trigger", "OFF")
       if mymenu.submenu["loop this"].value < 1 then
do return end
       end
      end

-- stop function
   if stop_value1 > 0 then
      stop_value1 = stop_value1 - 1

   -- share displaybox with interval function
     if displaybox > 7 then
      display.notify_box("recording time "..stop_value1)
      displaybox = displaybox + 1
      if displaybox == 16 then
      displaybox = 0
      end
     end

      if stop_value1 == 0  and mymenu.submenu["recording time"].value > 0 then
      msleep(1000)
      displaybox = 0
      key.press(KEY.REC)
      msleep(1000)
      menu.set("raw video", "Rec trigger", "OFF")
        if mymenu.submenu["loop this"].value > 0 then
        mymenu.submenu["loop this"].value = mymenu.submenu["loop this"].value - 1
        restart()
        else
        do return end
end
      end
   end
end

end

function main2()
  console.hide()
  menu.close()
  interval =  mymenu.submenu["interval"].value + 1
  delay_value1 = mymenu.submenu["rec delay"].value + 1
  stop_value1 = mymenu.submenu["recording time"].value

-- warning
if camera.mode ~= MODE.MOVIE then
  display.notify_box("enable MOVIE mode")
  do return end 
end

-- if rec delay set
if delay_value1 > 1 then
  display.notify_box("push display to disable rec delay")
  msleep(1000)
  display.notify_box("push display to disable rec delay")
  msleep(1000)
end

-- rec delay set?
    while delay_value1 > 1 do
      if menu.visible then
      do return end
      end
      delay_value1 = delay_value1 - 1
      display.notify_box("recording delay "..delay_value1)
      msleep(1000)
    end

  display.notify_box("push display to disable")
  msleep(1000)
  display.notify_box("push display to disable")
  msleep(1000)
-- starting the timelapse loop
if interval > 0 then
    key.press(KEY.REC)
    msleep(1000)
end

  while interval > 0 do
      interval = interval - 1
      msleep(1000)

   -- share displaybox with stop function 
     if displaybox < 8 then
      display.notify_box("interval "..interval)
   -- check if stop function is enabled
      if stop_value1 > 0 then displaybox = displaybox + 1 end
     end


      if interval == 0 then
   -- reload interval
      interval =  mymenu.submenu["interval"].value + 1
      key.press(KEY.REC)
      end

   -- to be able and stop while running
      if menu.visible then
do return end
      end

-- stop function
   if stop_value1 > 0 then
      stop_value1 = stop_value1 - 1

   -- share displaybox with interval function
     if displaybox > 7 then
      display.notify_box("recording time "..stop_value1)
      displaybox = displaybox + 1
      if displaybox == 16 then
      displaybox = 0
      end
     end
   end

-- enter and exit loop
      if stop_value1 == 0 and mymenu.submenu["recording time"].value > 0 then
      msleep(1000)
      displaybox = 0
        if mymenu.submenu["loop this"].value > 0 then
        mymenu.submenu["loop this"].value = mymenu.submenu["loop this"].value - 1
        restart2()
        else
        do return end
end
      end

  end
end

mymenu = menu.new
{
    parent = "Movie",
    name = "intervalometer",
    help = "Movie preset intervalometer",
    submenu =
    {
        {
            name = "interval",
            min = 0,
            max = 600,
    value = 10,
            unit = UNIT.TIME,
            update = function(this) mymenu.value = this.value end,
    help = "default is 10 seconds",
        },
        {
            name = "run halfshutter trigger",
    select = function(this) task.create(main) end,
    help = "records single frames in a MLV chunk. enables REC trigger mode",
        },
        {
            name = "run rec key trigger",
    select = function(this) task.create(main2) end,
    help = "use with frame burst or iso average",
        },
        {
            name = "rec delay",
            min = 0,
            max = 10000,
            unit = UNIT.TIME,
            update = function(recd) recd.value = recd.value end,
    help = "start recording with a delay",
        },
        {
            name = "recording time",
            min = 0,
            max = 10000,
            unit = UNIT.TIME,
    help = "stop recording after specified amount of time",
        },
        {
            name = "loop this",
            min = 0,
            max = 10000,
            unit = UNIT.DEC,
    help = "loop this setup x many times, need recording time enabled",
        },

    },

}


-- starts movie recording after a delay

function recdelay_main()
  console.hide()
  menu.close()
  delay_value1 = recdelay_menu.submenu["rec delay"].value
  stop_value1 = recdelay_menu.submenu["recording time"].value
  delay_value2 = recdelay_menu.submenu["rec delay"].value
  stop_value2 = recdelay_menu.submenu["recording time"].value
  loop_this = recdelay_menu.submenu["loop this"].value - 1

-- rec delay needs to be specified
if delay_value1 == 0 then
  display.notify_box("set rec delay")
  msleep(1000)
  display.notify_box("set rec delay")
  msleep(1000)
  display.notify_box("set rec delay")
  msleep(1000)
do return end
end

-- rec delay set?
    while delay_value1 > 0 do
      msleep(1000)
      if menu.visible then
      do return end
      end
      delay_value1 = delay_value1 - 1
      display.notify_box("recording delay "..delay_value1)
    end
   key.press(KEY.REC)
      msleep(1000)

    while stop_value1 > 0 do
      msleep(1000)
      if movie.recording == false then
      do return end
      end
      stop_value1 = stop_value1 - 1
      display.notify_box("recording time "..stop_value1)

      if stop_value1 == 0 then
      key.press(KEY.REC)
      msleep(1000)
      end
    end

-- check for loop this
while loop_this > 0 and stop_value2 > 0 do

-- rec delay set?
    while delay_value2 > 0 do
      msleep(1000)
      if menu.visible then
      do return end
      end
      delay_value2 = delay_value2 - 1
      display.notify_box("recording delay "..delay_value2)
    end
   key.press(KEY.REC)
      msleep(1000)

    while stop_value2 > 0 do
      msleep(1000)
      if movie.recording == false then
      do return end
      end
      stop_value2 = stop_value2 - 1
      display.notify_box("recording time "..stop_value2)

      if stop_value2 == 0 then
      key.press(KEY.REC)
      msleep(1000)
      end
    end

-- reset for next loop
   delay_value2 = recdelay_menu.submenu["rec delay"].value
   stop_value2 = recdelay_menu.submenu["recording time"].value

-- check for loop this
  loop_this = loop_this - 1
  display.notify_box("loops left "..loop_this)
  msleep(500)
end

end

recdelay_menu = menu.new
{
    parent = "Movie",
    name = "recording delay",
    help = "start movie recording after a delay",
    submenu =
    {
        {
            name = "rec delay",
            min = 0,
            max = 10000,
            unit = UNIT.TIME,
            update = function(recd) recd.value = recd.value end,
    help = "start recording with a delay",
        },
        {
            name = "recording time",
            min = 0,
            max = 10000,
            unit = UNIT.TIME,
    help = "stop recording after specified amount of time",
        },
        {
            name = "loop this",
            min = 0,
            max = 10000,
            unit = UNIT.DEC,
    help = "loop this setup x many times, need recording time enabled",
        },
        {
            name = "Run",
            select = function(this) task.create(recdelay_main) end,
            help = "start the delay count down now",
        },
    },
}



Intervalometer easy mode:
1 - activate tlapse lua script then enter intervalometer. Set your preferred interval(default is 10)
2 - select run halfshutter trigger. A one chunk mlv file will be created containing x amount of dng frames
Done!

Averaging idea:
If you want to create a sequence of frames separated into individual mlv file instead select run rec key trigger. But see to it that you select a setting from either frame burst or iso average first. This will produce mlv files suitable for averaging in Mlv App.

I recently added two personal presets in the intervalometer script called rec delay + 3 frames and rec delay + 2 frames. Just skip those.

Advanced stuff:
rec delay - simply will delay the start of the selected set up. You can set it to start like after an hour or more if you like.
recording time - a global setting which will tell how long you want your set up to run. You can set it to run your script for 2 hours or so. If not set your script set up will be active until your battery drains.
loop this - If you created a workflow that you know works and included recording time you can here restart the exact set up x amount of times by selecting loop this. For instance. You want the camera to start recording with a rec delay of one hour nad you want the recording time to run for 2 hours and then end. If loop this is set it restarts the procedure, 1 hour delay, two hours recording time etc...





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: procopy on December 07, 2019, 03:31:13 PM
Hi, gents. What are your touch focus settings and generally what is your experience with it? I had quite a decent experience with the previous build I was using (https://drive.google.com/drive/folders/19RrOVxN77VojSNMvtTnv7j6KNdJ-9nlm), but can't really say the same about the latest nightly build. What I'm looking for is just be able to switch focal point without the servo interfering all the time as I move and it seems it just does not work this way anymore. Yes, there is rack focus, but that unnecessarily complicates things for me. Or did the rack focus replace touch focus in newer builds? Or am I doing something wrong?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 07:20:10 PM
Testing results:

using the Dec 07 build, firstly I've checked the new feature - intervalometer for video
I tested only the mv1080p rew interval script / video mode
this works with the preset aspect ratio 2.39:1
Ratio set to 16:9 - cam crasches sometime, have to pull battery
Ratio to off - doesn`t work, meaning maybe it does record once, but then the interval isn't over (10sec) and the recording starts and dont stop


I also have a problem with the mv1080p rew in 3x zoom - the top part of the LV is corrupted which also shows up in the recording, this is since some builds back the case
Also since some time, the GD LV item indicating remaining capacity of sd card doesn't update anymore. It updates only after powering cam off and on

As always, thanks to Danne and others for developing ML further



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 08, 2019, 07:44:19 PM
Can´t reproduce. x3zoom is working as before here.
Intervalometer is very specific with certain additions depending what you setting you choose. You describe very vaguely so hard to say what´s going on.
I would need a sample mlv in x3zoom to understand better since a ton of info is missing if you want me to reproduce.
Thanks 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 08:44:27 PM
Quote from: Danne on December 08, 2019, 07:44:19 PM
Can´t reproduce. x3zoom is working as before here.
Intervalometer is very specific with certain additions depending what you setting you choose. You describe very vaguely so hard to say what´s going on.
I would need a sample mlv in x3zoom to understand better since a ton of info is missing if you want me to reproduce.
Thanks
3x zoom , Ratio off - here one sample file (only a week from now available)
I have this issue since nov 16th. then I noticed it the first time
https://we.tl/t-Oc5xgYbBAb
Intervalometer : withthe fresh build installed, mv1080p, 14bit, 2.39:1 - nothing changed - Works for the testing (4 x repeat of 4 second clips)
changing the RAtio to off it breaks, changing from there to 16:9 its still broken, cam can lock up
I hope this helps Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 08, 2019, 08:57:43 PM
In your provided clip it says 25fps. Are you using fps override? Use set 25fps instead from Movie menu. Even if your camera is set to 25fps in canon menu. I also recommend to have camera set to 24 fps in canon menu as starting point.

About your issues with intervalometer. I really need to see full settings in your camera. Maybe you can do a screen recording? I still don´t know which function you tested in the tlapse script so I still am far from being able to reproduce.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 09:51:04 PM
So, yes, I have switched to PAL in canon menu, and there to 1920x1080@25 pfs
No FPS override

I've switched now (still pal) to 1920x1080@24fps, restarted the cam and Yes! no problems.

so the 3x issue seems solved:
1.-in CANON menu choose (maybe either PAL or NTSC) 1920x1080@24FPS and restart


intervalometer script:
I've used the fresh build install and Just changed in movie (ML) menu Ratio to Off
then started the script (run) and changed the setting from the movie-intervalometer menu to
4 secs record time, repeat 4 times

Testing the intervalometer once more after this abovementioned settings change to 24FPS video in Canon menu
firstly I reseted the ML settings and restarted the cam, then changed the ratio to off and pressed Menu Button three times, nothing else changed
Then did run script  and still in ML menu -> movie tab -> intervalometer I've changed
1. recording time to 4s
2. loop this to 4
3. run rec key trigger

yes now it records, the cam starts recording right away, the countdown (from 10) counting and again recordings stops after 5-6 secs, starts again, stops and this is all

So thanks Danne to clarify the setting to 24FPS

But the intervalometer doesn't work as expected, if I let the Ratio setting at OFF.

Edit: if I run the intervalometer the recording starts right away, the LV display shows the countdown, but recording still running. then it stops, then starts again, then stops, then start and has to be manually stoped. in between the counter counts down, then a message is shown - push display to disable, it records two clips (have set it to loop 4x), then stops, sometimes recording doesn't stop





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 08, 2019, 10:15:45 PM
Run it without looping etc. Will it work with 10s interval. Please test more and I would really like a screen recording if possible.

Oh. You run rec key trigger. I hope you follow the advice in help text or else it won't work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 10:58:00 PM
did take a while, have only a bad screen recording, sorry for that.
I did reset the ML settings before starting screen recording

Looking in mlvapp on the clips - the first 5 are all round about 135 frames, the sixt is 500 frames, have to stop it. as You can maybe see on this screenrecording, I have set duration to one second and loop to 10. it did record more than one second, and only 5 clips out of 10, the sixt one would run until card full or battery drained.

so then now it works better then before (before the 24fps setting in canon menu previously)
but its not working for 10 clips, which would be necessary for timelapse
the counter (10-0) is counting on it self somehow, regardless if cam isn't recording, which I would expect, or if the cam is recording, which doesn't make sense

link
https://we.tl/t-kTuNgaHVdZ

edit
now testing the "recording delay" function with "run"


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 08, 2019, 11:13:42 PM
You are doing it wrong. Tve firat setting runs one frane at the time. The rec trigger needs additional settings enabled. Read help text.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 11:14:13 PM
recording delay preset

did choose :
delay 5
recording 1
loop 10

this did work much better, it recorded 10 clips with 35-37 frames each
very nice!

I really don'T understand why there are two scripts. maybe I choosed the wrong one? maybe the intervalometer is for silent picture or burst, bracketing, sorry if I did missed this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 08, 2019, 11:41:14 PM
recording delay function is to record separate x clips of x seconds each with a delay between them, is this right?
intervalometer function
used only with the new frameburst and iso average? (movie-preset-submenu)

Thanks





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 09, 2019, 09:49:32 AM
Not easy to find time to build scripts and also explain all functions but I will try here.

Intervalometer easy mode:
1 - activate tlapse lua script then enter intervalometer. Set your preferred interval(default is 10)
2 - select run halfshutter trigger. A one chunk mlv file will be created containing x amount of dng frames
Done!

Averaging idea:
If you want to create a sequence of frames separated into individual mlv file instead select run rec key trigger. But see to it that you select a setting from either frame burst or iso average first. This will produce mlv files suitable for averaging in Mlv App.

I recently added two personal presets in the intervalometer script called rec delay + 3 frames and rec delay + 2 frames. Just skip those.

Advanced stuff:
rec delay - simply will delay the start of the selected set up. You can set it to start like after an hour or more if you like.
recording time - a global setting which will tell how long you want your set up to run. You can set it to run your script for 2 hours or so. If not set your script set up will be active until your battery drains.
loop this - If you created a workflow that you know works and included recording time you can here restart the exact set up x amount of times by selecting loop this. For instance. You want the camera to start recording with a rec delay of one hour nad you want the recording time to run for 2 hours and then end. If loop this is set it restarts the procedure, 1 hour delay, two hours recording time etc...



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AF-OFF on December 09, 2019, 01:51:16 PM
Thanks Danne for the little explanation. Got it.
Will do more testing.
What is the explanation of the "recording delay" function? (intervalometer function and recording delay function)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 09, 2019, 01:59:22 PM
It should be selfexplanatory by now. What is it you don't understand about it? Help text says it all I think.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2019, 03:20:14 AM
Danne is it possible to bring back old 10 bit mode from june builds , there was one menu with 10bit nd 12 bit that is current one, and there was other one that had  something like 8-11 bit ,  10 bit and 12 bits which had better 10 biut mode without color loss/bading in darkest areas , in current 10 bit mode highest resolutions im getting a bit of green, heres example:
(https://funkyimg.com/i/2Zrc8.jpg)
There was no banding in 10 bit mode from july builds , i recorded mostly 10 bits back then and i had banding only in 8 bits.
Thhats like the main reason i stay away from current 10 bit mode.
---
Strangely i tested now and 10 bit looks kinda ok, Ill retest in daylight like original video this image is from cause i dont see it, maybe it was fixed somehow in recent builds when i didnt used 10 bits...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2019, 03:50:53 AM
Only artefacts in preview, not the actual recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeandroFreitas on December 12, 2019, 07:32:22 AM
Danne here is the sample with the blackbar when using 2.5K 2.39.1 and 24fps override. The problem comes when using overide. Iam using our version from 07dec.
https://drive.google.com/open?id=1j8pOglqXF6yXTHjRa1TT_kdustKWFhFp (https://drive.google.com/open?id=1j8pOglqXF6yXTHjRa1TT_kdustKWFhFp)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2019, 08:43:45 AM
Quote from: LeandroFreitas on December 12, 2019, 07:32:22 AM
Danne here is the sample with the blackbar when using 2.5K 2.39.1 and 24fps override. The problem comes when using overide. Iam using our version from 07dec.
https://drive.google.com/open?id=1j8pOglqXF6yXTHjRa1TT_kdustKWFhFp (https://drive.google.com/open?id=1j8pOglqXF6yXTHjRa1TT_kdustKWFhFp)
Don´t use fps override or go into fps_engio.c and modify code.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2019, 01:17:09 PM
That 10 bit mode is working fine, i tested today, fps override screws up anamorphic mcm mode so sometimes its better not to use it, without it motion blur looks different.
I had black bar on side recently in 2.5k mode when skipped left or right (dont remember) too much from one side, changed it back and it was fixed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on December 12, 2019, 08:54:51 PM
Hey guys
Just wondering if I can go past 3200 iso
There is a few occasions I need to go past and it says max iso reached

Why is this and can I change it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2019, 09:04:20 PM
Turn off the iso buttons under customized buttons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on December 14, 2019, 09:04:51 PM
Nice 1
I appreciate it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on December 19, 2019, 06:58:50 AM
Quote from: berechiah on December 12, 2019, 08:54:51 PM
...Why is this and can I change it

No pun intended but I highly recommend to refrain from using ISO 3200 or higher on the M even w fast primes and enough light.

Maxing out @ ISO 3200 is like saving you from having a horrible nightmare with pesky colorful dots dancing around on your shots.

Thanks, @Danne for this wonderful safety limitation w the ISO climb. They do make our cams feel much more fluid and dandy!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 19, 2019, 07:58:25 PM
Out of curiosity i did comparison test between different modes , and i did not extect such a big difference, 2.5K mode wins
(https://funkyimg.com/i/2ZCLT.gif)
Im surprised how little 5k anamorphic gained compared to mcm 1080 upscaled to match the size.
Ill try it again but with smaller letters
Just dont confuse this, regular mcm rewire is upscaled thats why its not that sharp.In original size it looks better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 19, 2019, 08:01:41 PM
And what about aliasing comparison? That's worse than anything else  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on December 19, 2019, 08:21:08 PM
@2blackbar: was expected... 2.5K: we use all pixels (1x1), 5K anamorphic: we use every 3rd pixel (1x3), 1080p rewire: we use every 9th pixel (3x3). But if you compare a similar field of view, the result will be different.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 19, 2019, 08:27:58 PM
This is comparison when downscaling 2.5k and anamorphic 5k to 1080p
There is big advantage when scaling from 2.5k but scaling from anamorphic is not going to make big difference
(https://funkyimg.com/i/2ZCPy.gif)
Its interesting, i thought anamorphic gives much more resolution, at least perceived resolution but looks like it doesnt but when compressed and all, its better to save 1080 in 4k resolution to preserve all detail thats lost during compression.
Aliasing doesnt bother me much, we cant do much about it.
And yes i did focus precisely and did not change anything between takes, png frames to gif.
(https://funkyimg.com/i/2ZCR8.png)
1080mcm upscaled to 5k , here you can see more difference, text is probably too big already, ill test on smaller one thats barely readable on anamorphic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on December 19, 2019, 08:28:16 PM
Quote from: 2blackbar on December 19, 2019, 07:58:25 PM
Im surprised how little 5k anamorphic gained compared to mcm 1080 upscaled to match the size.
Ill try it again but with smaller letters

And make sure you focus precisely !!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 19, 2019, 08:59:59 PM
Quote from: 2blackbar on December 19, 2019, 08:27:58 PM
its better to save 1080 in 4k resolution to preserve all detail thats lost during compression.
Not sure what you are saying. Are you upscaling mv1080p mcm rewire to 4k and compare it with anamorphic? I haven´t seen one comparison that holds up agains anamorphic. Yes, anamorphic is a bit softer but you gain aliasing free footage. mv1080p is sharpness bogus in comparison.
2.5k 1x1 wins hands down, but I think anamorphic is the perfect compromise. Remarkable that it´s even achievable. Thanks to a1ex...

EDIT: Looking at your posted images it´s clear that aliasing kills the mv1080p completely. I mean you can upscale both but only ana holds up imo. It´s even sharper and you can even see the polish text much better than mv1080p.
Straszne ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 19, 2019, 09:04:46 PM
Yes  Youre correct and no aliasing is the main advantage in anamorphic mode.
Yes anamorphic is nice but i would probably not keep it in original resolution, maybe in 2k, it has more details than mcm thanks to no skipping in 1x3 , not three times as much but a bit more.
I wanted to finally see how much resolution anamorphic gains in its 1x3 mode when its practically 1x1 readout and binning.
But i do bear in mind that aliasing creates fake resolution that might appear sharper but its just harsh aliasing edges creating fake contrast.
What i mean by saving 1080p is that when i compress it i tend to lose some detail compared to original tiff or png exported frames, when i export in 2k ( upscale 1080)then details has higher chance of surviving in higher resolution.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 19, 2019, 09:08:11 PM
Quote from: 2blackbar on December 19, 2019, 09:04:46 PM
Yes  Youre correct and no aliasing is the main advantage in anamorphic mode.
Yes anamorphic is nice but i would probably not keep it in original resolution, maybe in 2k, it has more details than mcm thanks to no skipping in 1x3 , not three times as much but a bit more.
I wanted to finally see how much resolution anamorphic gains in its 1x3 mode when its practically 1x1 readout and binning.
But i do bear in mind that aliasing creates fake resolution that might appear sharper but its just harsh aliasing edges creating fake contrast.
Yes, it´s a compromise really. But I think it works both for blow up like 4.5k or scaled down too. Softness creates cinematic feel almost. But it´s very much personal taste.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on December 19, 2019, 09:25:06 PM
I still think the comparison is a little unfair, because you look at crop, which has the same factor but different resolutions for each mode. It is to be expected the 1080 looks worse than 3x better 5K ana, looks worse than 3x better 1x1 mode.
If you want to use 2.5K in real world, you need extremely wide angle lenses, to get a normal field of view. I think in your comparison you always took the same lens and same focal length. Right?
If you found 3 different focal lengths (which all are sharp from lens side) to make all 3 fields of view the same, 5K will be very close to 2.5K mode, while 1080p won't have big chances.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 19, 2019, 09:34:15 PM
Yeah, i checked bluray stills from many old movies from 80s but it is not sharp, especially telephoto lenses are soft, there is resolving resolution to a lens, i thought glass is a glass, there is no limit but yes it is, new lenses are sharper than lenses from 80s and 70s, wide lenses are sharper than telephoto , i mean telephoto wide open or stopped down once.
First color films from around 1930 dont have that contrast edge like today but it looks so nice and natural
http://www.dvdbeaver.com/film6/blu-ray_reviews_75/taxi_driver_4k_blu-ray_/large/large_taxi_driver_03_blu-ray_.jpg
http://www.dvdbeaver.com/film2/DVDReviews47/gone_with_the_wind_blu-ray/large/large_gone_with_the_wind_blu-ray5x.jpg
http://www.dvdbeaver.com/film2/DVDReviews47/gone_with_the_wind_blu-ray/large/large_gone_with_the_wind_blu-ray6.jpg
http://www.dvdbeaver.com/film2/DVDReviews47/gone_with_the_wind_blu-ray/large/large_gone_with_the_wind_blu-ray1.jpg
http://www.dvdbeaver.com/209/becky_sharp_blu-ray_/large/large_becky_sharp_14_blu-ray_.jpg
http://www.dvdbeaver.com/film6/blu-ray_reviews_75/taxi_driver_blu-ray.htm
http://www.dvdbeaver.com/film/dvdcompare6/gonewiththewind.htm
http://www.dvdbeaver.com/film/DVDReviews9/becky_sharp_blu-ray.htm
4K is already too much for those old movies mostly because of the lenses they used, they sit maybe around 2.5k and 3k.

mcm ana and rewire 1080 comparison is unfair but even then its quite close.Yeah i wanted to avoid different lenses and different scaling algos, i might do that eventually but i kinda know now what to expect.
So maybe one more test , scale up 1080p and anamorphic to match 2.5k by field of view and resolution
This result i like much more, same dngs but i bumped up contrast by the same amount on mcm and ana 5k in mlvapp
(https://funkyimg.com/i/2ZCVb.gif)(https://funkyimg.com/i/2ZCWe.gif)
on second gif i can make out some small font words on ana, on mcm no chance, about 12-25 pixels tall font starts to disappear
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 19, 2019, 11:44:54 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- frame burst mode, select as many frames you want recorded then stop recording automatically

(https://i.postimg.cc/15b5XT4m/VRAM0-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on December 19, 2019, 11:58:47 PM
@Danne

Will definitely give this a Christmas look  ;)

But if I understand things correctly, you can't get FLV, i.e. full sensor at 14bits out of an EOSM, as you can with a 5D3.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 20, 2019, 12:02:24 AM
You can get 4k and also full sensor readout in anamorphic mode. Anyway. I will add this feature to the 5D3 as well, give me 20 minutes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on December 20, 2019, 12:04:52 AM
@Danne

Show off  :)

"Give me 20 minutes"  :) :)

As for me: and now to bed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 20, 2019, 12:25:41 AM
Done(5D3):
https://www.magiclantern.fm/forum/index.php?topic=23041.msg223653#msg223653
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wushuliu on December 20, 2019, 04:50:27 AM
Lol, not *quite* as handy as a monitor but certainly one way to circumvent potential dropped frames and other external monitor issues:

https://www.camiror.com/

I'm hoping its current popularity will spur the development of a less 'diy'-looking version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on December 20, 2019, 08:14:12 AM
Would it be possible to obtain a flip screen with some kind of extended ribbon cable and 3d printed housing for the lcd? Or maybe taking the lcd from a the m3?  :'(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on December 20, 2019, 09:19:18 AM
I don't know much about lcd screens but at first glance, the eos M and the eos M3 have physically different touchscreen connectors. Those are the small ribbons with a controller (which are probably different too).
For the display it seems to be 51 pins lvds for both (but you'd need the datasheet or probe them to check).

EOS M replacement parts
https://ae01.alicdn.com/kf/HTB11nSrRpYqK1RjSZLeq6zXppXat/For-Canon-EOS-M-LCD-Display-Screen-Camera-Replacement-Unit-Repair-Part.jpg

EOS M3 replacement parts
https://ae01.alicdn.com/kf/H2c3f25e46a164e23b5d7984bdaa7c0cbo/For-Canon-EOS-M3-M10-display-replacement-repair-parts-with-backlight-with-external-screen-Camera-LCD.jpg

That would be a neat hardware mod for sure.

edit: it's probably possible to frankenstein a flippable original eos m screen, but having a bigger flippable touchscreen is way more challenging.
On most replacement parts, the digitizer seems to be based on a CY8CTMA340-LQI-11 from Cypress which only works with screens sizes up to 4.5" diagonal.
If you could find a touchscreen with the exact same connectors (I just realized that the flex's connector isn't a regular 51 pins btw), my guess is that the eos M firmware only provide this particular custom microcontroller's driver anyway.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 23, 2019, 11:47:25 PM
Theres annoying issue with "Card is Full" screen when well... card is full, you cant even enter ML menu to remove some mlv files, camera locks you out.
Is there any way to make camera restart raw video once it was stopped by camera ?
Sometimes i hit record and go away from camera , or is there "BEEP" sound so i know that video was stopped when i hear the sound ?
--
Ok i found restart and works great, but i cant find the beep, sync beep doesnt work or i dont hear it anyway.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 24, 2019, 12:01:49 AM
You have Movie Restart under raw video menu settings(thanks to Jip-hop enabling this for raw files)
If you want to have control over actually stopping camera from recording before card gets full for instance you can enable the movie tlapse & rec delay script.
Under Movie tab go to recording delay. Set rec delay for when to start recording. Set recording time for when to stop recording. I think it will even work with Movie Restart enabled as well. Should get you in full control.

Edit: Beeps don´t function on eosm. At least nothing I managed to hear.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 24, 2019, 12:10:06 AM
https://builds.magiclantern.fm/features.html  -> Audio -> Beep
M not supported.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 24, 2019, 12:14:52 AM
That clears up everything, thanks guys !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 24, 2019, 12:40:54 AM
Maybe asking Dmilligan if there is a way to beep via properties might be a good idea. IANAP
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 24, 2019, 12:49:50 AM
Yeah ability to play any sound notification when recording stops would be nice but rec auto restart fills that gap nicely.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SMS on December 27, 2019, 10:56:23 PM
Quote from: Danne on December 07, 2019, 02:23:48 PM
New version:
https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_raw_only_2019Dec26.EOSM202.zip
Hello Danne,
big thanks for your work. Just tried your build for the first time.

I am unable to lower the gain with the down button. It pops up canon ISO choosing menu, but I am unable to select lower ISO there. If I select ISO value there on the touch screen,the ML preset choosing menu appears. If I select it with wheel+set - nothing happens with ISO, in just returns to ML liveview.
Rising ISO with up button works well, goes up to 3200 . Maybe I have to make some configuration to make it work. Please advise.

Update. I've found the cause. In canon menu the function of delete (down) button was set to ISO choose. I've reset it to default, gain lowering works fine now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on January 02, 2020, 08:25:56 PM
Danne is there a way to force camera to be in 24hz ? Now its 32 from what isee in fps override
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 02, 2020, 08:33:16 PM
Why would you do that? But search in crop rec or fps engio code. It's in there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on January 02, 2020, 08:56:35 PM
To see if it will affect image, motion blur, anything at all.I do notice a difference in motion blur when you switch on/off fps override
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on January 04, 2020, 08:58:31 AM
I noticed the right button on the scroll wheel isn't available to assign as a custom button. Maybe we can use that for other features like switching between framing and liveview so we can free up the info button? Or maybe a button to cycle between isos from 100-400?

Great work as always Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on January 04, 2020, 09:59:52 PM
Centered c mount lens for 2.5K mode , now it works fine centered in full 2520x1054  and in 1920x1080 modes.
Its useful when you vignette on 4mm with 4-12mm zoom at full 2520x1054 and when you zoom in to 8 you dont vignette at all , previously you had to zoom in to 10 to get rid of vignette in one corner, now youre getting rid of all 4 corners at once cause its centered.
1920x1080 mode does not vignette on 4mm but it does on 2520x1054 so when you zoom in then COC gets bigger and you can fill entire frame from 8mm , works perfect.
               
            case CROP_PRESET_2K_EOSM:
  cmos_new[5] = 0x2c0;             /* vertical (first|last) */
              cmos_new[7] = 0x2a9;    /* pink highlights without this */
                break;


Centered left and right:
        case CROP_PRESET_2K_EOSM:
            /* set ratio preset */
            if (ratios == 0x1)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 28;
                skip_bottom     = 18;
            }
            if (ratios == 0x2)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 28;
                skip_bottom     = 0;
            }
            if (ratios == 0x3)
            {
                skip_left       = 197;
                skip_right      = 197;
                skip_top        = 28;
                skip_bottom     = 184;
            }
            break;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on January 05, 2020, 12:35:18 AM
Are you using something like this?(https://uploads.tapatalk-cdn.com/20200104/d7c0311bce9fdb5dcab42f0c81b57928.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on January 05, 2020, 08:11:44 AM
Im using f1.4 tamron 4-12mm and i ripped plastic cover to expose aperture mechanism and control it.Im planning to get something from 12 to 80mm maybe more tele as well.
Crop mode on M is exact fit for 1/2" lenses, 2/3" and super 16mm film camera lenses
--
Adjusted 2.5k again, i had thin lines probably because skipping top and bottom was not accurate.
case CROP_PRESET_2K_EOSM:
            /* set ratio preset */
            if (ratios == 0x1)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 8;
                skip_bottom     = 38;
            }
            if (ratios == 0x2)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 0;
                skip_bottom     = 28;
            }
            if (ratios == 0x3)
            {
                skip_left       = 197;
                skip_right      = 197;
                skip_top        = 8;
                skip_bottom     = 204;
            }
            break;



            case CROP_PRESET_2K_EOSM:
  cmos_new[5] = 0x2c0;             /* vertical (first|last) */
              cmos_new[7] = 0x2a8;    /* pink highlights without this */
                break;
               

Well , looks like lines are there from pressing left arrow on wheel and coming back to framing preview.They disappear slowly and are gone after about 10 seconds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on January 09, 2020, 12:10:23 AM
Hey all really need a bit of help.

I have an eos m. I noticed that there is a few dead pixels
i use mlvfs and i used all the options to get rid and there is still one little white dot left in near the middle

any help would be appreciated
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2020, 07:04:01 AM
There's a function in Mlv App which allows for adding additional dead pixels saved into a .bpm file. I don't have the time to explain further but take your issue to the Mlv App thread and you should be getting help.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2020, 03:40:12 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Mlv play stopped from going into black screen occasionally when previewing clips.
Needs some testing. The fix should apply to 100D as well but no time testing that one.
The fix starts while stopping mlv_play so first started clip might work or not but after that mlv_play should work fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on January 09, 2020, 06:32:08 PM
Thanks for the help
will look into it soon
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 10, 2020, 08:42:27 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Mlv play
Testing changing aspect ratio while previewing anamorphic modes. Instead of a very anamorphic preview it will now show the correct ratio while previewing recorded files. Work in progress. Better metadata routines reading straight from rawc preferred.
Expect a bit of a lag and other expected behaviour.

Thanks to a1ex(or g3gg0) for the "fixme" line.

EDIT: Better detection in mlv_play. Uploaded new builds.

EDIT: Might have fixed the previewing issue when sometimes screen would get into black screen instead of serving a raw stream. Needs some testing. I also slimmed down on a few presets from the fast preset menu. Use SET for x3 cop modes instead.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on January 11, 2020, 05:18:46 AM
Correct ratio preview working well here. Well thought.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2020, 06:26:02 PM
Yes, correct ratio working nicely now. Thanks for feedback.

Did some playing around with tmix averaging in Mlv App. Exported a 70 frame MLV into a singel tiff and worked some with the file in lightroom.

Comparison crop:

Before averaging:
(https://i.postimg.cc/KYHD3Ywm/Screenshot-2020-01-11-at-09-41-12-png-500px.png)

After averaging:
(https://i.postimg.cc/ZRvF8Szp/Screenshot-2020-01-11-at-09-41-44-png-500px.png)

Since doing averaging I expose measuring highlights, not ettr:
(https://i.postimg.cc/bvhsCfn1/Screenshot-2020-01-11-at-18-25-12-png-500px.png)

Colorful result and noise free shadows:
(https://i.postimg.cc/XJtLmvks/tmix.jpg)

Recorded with frame burst set to 70 and the 5k anamorphic full sensor readout preset iso(200):
Also did some pixel picking in Mlv App since my eosm sensor inherits a cluster of dead pixels in the upper right corner.
I think I also added chroma smooth 3x3 but not needed really. But I liked it so used it.

Lens: Samyang 12mm at f4
(https://i.postimg.cc/qMCJPB2W/Screenshot-2020-01-11-at-18-36-17-png-300px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on January 11, 2020, 06:32:33 PM
@Danne

Can you also share your other settings, eg FPS, aperture and shutter speed etc
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2020, 06:38:52 PM
Updated. Settings at bottom of the post.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on January 11, 2020, 07:04:25 PM
@Danne

Thanks.

BTW can you speak more to this

QuoteSince doing averaging I expose measuring highlights, not ettr:

Why not set exposure by ML's ETTR?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2020, 07:21:30 PM
Look at the result.
Shadows are cleaned/averaged. This way I get tons of highlights to work with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on January 11, 2020, 07:45:12 PM
Maybe we are speaking across each other.

As a photographer, when I ETTR I am only interested in exposing for the highlights AND thus have shadow and mid SNR set to 0.

Hence, when I ETTR with these settings, I'm exposing for the highlights.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2020, 08:12:53 PM
I mostly loook at the files and build from there. I'm a lousy "histogrammer"  :P.
I'm sure a little ettr on my my image would have helped even more. I plan on including the ettr module in eosm build when I get some time to use it...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bakersdozen on January 12, 2020, 07:03:32 AM


Quote from: Danne on January 11, 2020, 06:26:02 PM




Colorful result and noise free shadows:
(https://i.postimg.cc/XJtLmvks/tmix.jpg)



Stunning work mate. I too am lazy in this regard, which is why I love your little tweaks for us [emoji1]
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 12, 2020, 09:59:38 AM
Thanks. Would be nice to hear about results and usage areas among users. Any missed links to other groups forums etc :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on January 12, 2020, 12:38:59 PM
Hi all, I'm loving these new builds, and have been playing around with the 5k modes. It got me thinking...

Part of the charm of these cameras is the filmic look, and with he preview in 5k being what it is, you need to be more intentional with each shot. It's far from point and shoot. Again, lending its self to the idea of shooting with film. With that in mind, a pistol grip and a loupe, it's a very nice experience.

So my question is: to complete the illusion, is it possible to shoot the 5k modes, but instead of cropping the top and bottom, can I crop the sides to get a 4x3 image?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 12, 2020, 01:01:26 PM
16:9 is there at least. Why 4:3? You can try set ratios to off and set 4:3 in raw video menu. Maybe it works at somewhat lower resolution.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on January 12, 2020, 01:24:17 PM
I'll give it a go. I thought 5k cropped the top and bottom to get more frames (longer shots). With 4x3 giving you more height, and less width, I could still get more frames than shooting 16x9, and not have to estimate my framing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on January 14, 2020, 02:33:29 AM
Quote from: Anaconda_ on January 12, 2020, 01:24:17 PM
I'll give it a go. I thought 5k cropped the top and bottom to get more frames (longer shots). With 4x3 giving you more height, and less width, I could still get more frames than shooting 16x9, and not have to estimate my framing.

This is how ratios work (to my understanding). 5k max offers the biggest picture but unusable for the most part due to its cpu demand. By selecting the 2:35:1 ratio (on the outer menu), you get 4392x1870. It is more than just cutting the top and bottom of 5k max. It is quite a crop but offers decent shooting time from a couple seconds to minutes depending if you decide to lower the resolution a bit.

5k max and mcm rewire are similar in that they both allow you to record at the 'full picture' but the resoluton is significantly smaller and comes with drawbacks like more aliasing.

Please correct me if im worng, i do not know the right terminology.

(https://i.imgur.com/FCp73Ew.jpg)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on January 15, 2020, 09:03:02 AM
Hi all.

I am using the Jan 14th 2020 build. Its great apart from a couple of small issues I am having with not being able to use 25fps and seeing focus pixels in h264 footage.

I am able to reset the config and turn off raw video and get the right 25fps and shutter settings (with fine tuning and locking), but I see focus pixels in my h264 footage.

If I use the h264 8bt preset by tapping the screen, then it seems to remove the focus pixels issue but the fps jumps to 29.973 and the set 25fps settings doesn't seem to have any effect.

Does anyone have any advice here? Any register tweaking I could try?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2020, 09:41:17 AM
You can use h264 recording at any crop rec preset by like you describe, staying in a crop rec preset and disabling raw video. This means you will also get the focus pixels. That is the reason that you can select h264 from the preset menu. This turns off crop rec and raw video and records just as the camera normally do. You can also push SET and you´ll get x3zoom.
The fps jump to 29 is normal on eosm. Once you push record it will jump back to the fps set under canon menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on January 15, 2020, 11:32:19 AM
Thanks for the help danne.

It does indeed jump to 25 when I hit record.

So is set 25fps part of the raw video or crop rec too? Is shutter fine tuning also limited/disabled in h264? I can only get 1/52 at the moment. No problem if thats the case, its close enough.

Cheers,
Dan
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on January 15, 2020, 11:53:20 AM
Also, one more question if you don't mind.

Is it possible to add the bit rate options into these builds? I'm planning on doing some raw recording, but still need to do the odd h264 things here and there.

thanks
Dan
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2020, 01:04:02 PM
You can define back bitrate function in code and compile yourself. I am not using it so will not add it back. Sorry.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 15, 2020, 01:39:08 PM
Quote from: dokipen on January 15, 2020, 11:53:20 AM
I'm planning on doing some raw recording, but still need to do the odd h264 things here and there.
I would just get an extra cheap SD Card 16GB/32GB for the h.264 stuff.
I don't get the pixel dots using the 8-bit preset. Like Danne said, I'd just turn off Raw Resolution.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2020, 02:38:13 PM
Actually you need to choose h264 8bit from the preset list since only turning off raw video will stiil keep modified regs from crop rec ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on January 15, 2020, 10:30:02 PM
Which is mostly fine apart from not being able to dial in the perfect 1/50 shutter with fine tuning in the 8 bit preset mode.

I've got an older build from july last year which allows me to do 25fps, 1/50 shutter and 3.0x bitrate. I'll just stick that on another card like zeek said. Was hoping to keep it all on one card but it's a small price to pay for the amazing stuff you guys have been doing.

Thanks
Dan
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2020, 11:08:34 PM
Just turn shutter range to OFF and you get a perfect 1/50 shutter.

I will upload a build which starts out with shutter range to default OFF. Shutter behaviour will work standardized.
Edit: done.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 16, 2020, 08:36:44 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Added back Bit Rate and HDR functions. Stashed under Shoot tab(Movie tab is too crowded already)
- shutter Range default set to OFF(affects shutter speeds)
(https://i.postimg.cc/8PycGmQf/VRAM1-PPM-300px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dokipen on January 16, 2020, 10:47:07 AM
as always, amazing danne.

thank you so much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on January 16, 2020, 12:05:57 PM
Quote from: Danne on January 16, 2020, 08:36:44 AM
- Added back Bit Rate and HDR functions.

Thank you very much.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on January 21, 2020, 06:35:35 AM
I am trying to obtain this field of view / resolution (yellow box) by setting the ratio to 'off' and lowering the resolution until I get around 1104x2484. However, I cant get past 12 FPS despite ML saying continuous recording is ok. Both resolutions are similar in pixel count but im having trouble understanding why the yellow box is unobtainable. This is in 5k mode. Can someone please explain, thank you!

(https://i.imgur.com/DAs28e2.jpg?1)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kramchive on January 22, 2020, 03:53:38 PM
Hi everyone. I have a problem using canon eosm and magic lantern latest BUILD "crop_rec_4k_mlv_snd_raw_only_2019Dec08.EOSM202"
I am using lexar 128gb 1667x sdxc memory cards.
When i am trying to shoot raw videos 2.5k or even 1920*1080 camera doesn't record a video it stops every time at the beginning because of the high bitrate > card seems to be isnt able to record a bitrate higher than 16 m/s. But after a several attempts to shoot at the speed 16-20 m/s card starts to record a higher bitrate about 45-50m/s but never at the beginning. Does anybody has this issue with eosm and lexar or other cards? Thanks for answers!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on January 22, 2020, 04:11:16 PM
Quote from: Danne on January 11, 2020, 06:26:02 PM
Colorful result and noise free shadows:
(https://i.postimg.cc/XJtLmvks/tmix.jpg)

Wow just saw this. Very pretty!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on January 22, 2020, 06:39:47 PM
Quote from: kramchive on January 22, 2020, 03:53:38 PM
Hi everyone. I have a problem using canon eosm and magic lantern latest BUILD "crop_rec_4k_mlv_snd_raw_only_2019Dec08.EOSM202"
I am using lexar 128gb 1667x sdxc memory cards.
When i am trying to shoot raw videos 2.5k or even 1920*1080 camera doesn't record a video it stops every time at the beginning because of the high bitrate > card seems to be isnt able to record a bitrate higher than 16 m/s. But after a several attempts to shoot at the speed 16-20 m/s card starts to record a higher bitrate about 45-50m/s but never at the beginning. Does anybody has this issue with eosm and lexar or other cards? Thanks for answers!

The card may not be original ... Sometimes it can be warmed up by formatting it. Sometimes my first movie is recorded with limited transfer and recording ends sooner. The next films are already ok.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on January 22, 2020, 09:52:51 PM
Quote from: ngemu on January 21, 2020, 06:35:35 AM
I am trying to obtain this field of view / resolution (yellow box) by setting the ratio to 'off' and lowering the resolution until I get around 1104x2484. However, I cant get past 12 FPS despite ML saying continuous recording is ok. Both resolutions are similar in pixel count but im having trouble understanding why the yellow box is unobtainable. This is in 5k mode. Can someone please explain, thank you!

(https://i.imgur.com/DAs28e2.jpg?1)

I would really like this too - Can you get any other 4x3 resolutions to work?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 22, 2020, 09:59:05 PM
Quote from: kramchive on January 22, 2020, 03:53:38 PM
Does anybody has this issue with eosm and lexar or other cards? Thanks for answers!

There are not that much solid informations and/or serious reviews about this card available on the net (and definitely not here). My most trusted source is www.cameramemoryspeed.com for this matter. They run cards in various cardreaders and in some cams.
Your card is an UHS-II card running in UHS-I compatibility mode when inserted in EOS M. There were issues with early UHS-II cards in compatibility mode (slow speed) but this should be history (only guessing, of course).
And there was a single card type once giving good results with cardreaders and most cams but had serious speed issues with some Canon cams only.

If you have a decent cardreader without UHS-II interface (Kingston FCR-HS3 for example) you may have some benchmark runs with CrystalDiskMark (Windows) or Blackmagic Disk Speed Test (macOS).
And run benchmark in cam
1. Modules tab. Activate bench.mo
2. Restart cam
3. Access Debug tab -> Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min)

Sandisk Extreme Pro 95 MB/s is considered to be "gold standard" by ML users. Never heard any complaints (apart from faked cards). Newer 170 MB/s variety seems to be a safe card, too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on January 22, 2020, 11:42:56 PM
I get identical results using lexar professional 150 MB/s UHS II and sandisk extreme pro 95 MB/s.

(https://i.ibb.co/K5nFnpZ/lex.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ngemu on January 23, 2020, 09:59:30 AM
Quote from: Anaconda_ on January 22, 2020, 09:52:51 PM
I would really like this too - Can you get any other 4x3 resolutions to work?

Mcm rewire is one solution but the downside is aliasing.

If you perfer 5k mode (as i do) you can select any crop mode and lower the resolution until you get 4:3 (as shown in the white box). Downside is lower quality from the crop and a 50mm lens will behave more like 100mm.

(https://i.imgur.com/xL9aqGl.jpg?1)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on January 29, 2020, 03:33:43 AM
almost completely shot with the eos m, 4.5k 2.35 aspect, thanks Danne and the other friends
https://youtu.be/7QG5gvtM8pA
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whitelight on January 29, 2020, 02:42:57 PM
Quote from: marcelo.lippi on January 29, 2020, 03:33:43 AM
almost completely shot with the eos m, 4.5k 2.35 aspect, thanks Danne and the other friends
https://youtu.be/7QG5gvtM8pA
Looks like your video is not available
EDIT Sorry, now I can see it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rjakiel73 on February 04, 2020, 01:50:42 AM
Hello folks.  I am new to Magic Lantern on the EOS M and was wondering if someone has had this issue?  I verified I was running Canon Firmware 2.0.2 prior to running the ML install.  I downloaded the latest ML from Danne's downloads and followed the instructions and everything went perfectly.  Issue I am having is that the ONLY video mode that works is the 1080 rewire.  Every other mode just displays garbage and when I do a test recording it records EXACTLY the same garbage lines I see in the live view.  Any help would be appreciated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on February 04, 2020, 10:37:17 AM
QuoteEvery other mode just displays garbage and when I do a test recording it records EXACTLY the same garbage lines I see in the live view.

How about you try opening the file? mlv.app (http://mlv.app)

To get workign display, keep pressing disp button until it shows up.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on February 04, 2020, 12:14:58 PM
Quote from: rjakiel73 on February 04, 2020, 01:50:42 AM
Hello folks.  I am new to Magic Lantern on the EOS M and was wondering if someone has had this issue?  I verified I was running Canon Firmware 2.0.2 prior to running the ML install.  I downloaded the latest ML from Danne's downloads and followed the instructions and everything went perfectly.  Issue I am having is that the ONLY video mode that works is the 1080 rewire.  Every other mode just displays garbage and when I do a test recording it records EXACTLY the same garbage lines I see in the live view.  Any help would be appreciated.

Try changing the aspect ratio. I had diagonal lines instead of video material. I also did a default reset, uninstalled and reinstalled ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rjakiel73 on February 04, 2020, 01:53:25 PM
So far I have tried every aspect ratio there is with no luck. I have also went through 3 reinstalls using different SD cards for all, SanDisk Pro Extreme 170mb/s, as well as multiple lenses to see if that was an issue. Going down the route of trying to refresh using the display button I have with no results other than the pattern of lines changing.  When viewing the video in MLVapp it looks just like the display no actual image.

EDIT:  How do I post a picture so you can see the screen on my camera?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on February 05, 2020, 09:01:50 AM
Do you refresh the settings by entering the canon menu?

Look at:
https://youtu.be/RuwLjDr2jAY
https://youtu.be/88Cy0PzUHvQ
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rjakiel73 on February 05, 2020, 02:14:33 PM
Fixed my problem.  Set it to manual in video settings but didn't realize that the auto focus was still on.  Set that to manual and no more issue.  Wooohoo!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: engis on February 05, 2020, 03:19:10 PM
Is there any image working on 2.0.3 ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on February 05, 2020, 11:03:23 PM
https://bitbucket.org/daniel_fort/magic-lantern/downloads/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: engis on February 06, 2020, 07:26:52 AM
So this  magiclantern-Nightly.2019Jul26.EOSM2103_new-settings.zip  will work on 2.0.3 ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sbedden on February 06, 2020, 09:06:09 AM
After installing the latest build, installing and restarting it shows 'HD 1080p' and not 'mv1080p rewire' along the bottom. (followed Zeeks instructions on above video, asked him and he pointed me here) Any ideas as to what I've done?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: critix on February 06, 2020, 11:16:32 AM
For firmware version 2.0.3:
https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2020May17.EOSM203.zip (https://bitbucket.org/ccritix/magic-lantern/downloads/magiclantern-Nightly.2020May17.EOSM203.zip)
This is the latest version of Danne, but for 2.0.3:
https://bitbucket.org/ccritix/magic-lantern/branch/crop_rec_4k_mlv_snd_raw_only (https://bitbucket.org/ccritix/magic-lantern/branch/crop_rec_4k_mlv_snd_raw_only)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roogii on February 06, 2020, 07:04:18 PM
Is it possible to shift the position of the 3x crop mode anywhere on the sensor? I have a schneider 6-66  super 8 lens that doesn't cover even the 4.6x crop, for some reason I'm not central in the image circle though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2020, 07:50:06 PM
Check post the recent two months. A user did just that.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 08, 2020, 10:14:06 AM
That super 8 lens might cover 3x crop mode on 66mm range, maybe not in 1920x1080 , maybe in 720x*** mode , i did not tried any super8mm lenses because they obviously wont cover full area , you need cctv lens for 1/2'' sensor at least or 16mm film camera lenses.
I do have personalised ML build for canon M with centered mode for my cctv lens BUT, i have 2 adapters for CCTV mount(c mount) and one is slightly shifted , other is centered more ( or vice versa) so not all adapters are equal.With that being said you still can do micro adjustments to crop by moving i left/right with arrows onscreen in 2.5k mode which helps in some cases.
https://www.youtube.com/watch?v=jdbsgCFvWo0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tomcarrolls on February 09, 2020, 07:23:22 PM
Hi guys! So my EOS M is doing great with 10 bit Raw, unless I record with an external monitor, then this happens (purple artifacting, screen tearing): https://drive.google.com/file/d/1ijDakNgj66t5jPWaaaI2wCg5DEqXyoaF/view?usp=sharing

I tried turning on VGA mode or whatever it's called, no luck. Will try turning off histogram and other overlays, see if that helps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tomcarrolls on February 09, 2020, 08:13:59 PM
Okay the only way I could get it to work well was to switch my in camera FPS to 24. It was on 30 before this. I think that was the problem.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roofusj on February 10, 2020, 08:52:08 AM
Quote from: kramchive on January 22, 2020, 03:53:38 PM
Hi everyone. I have a problem using canon eosm and magic lantern latest BUILD "crop_rec_4k_mlv_snd_raw_only_2019Dec08.EOSM202"
I am using lexar 128gb 1667x sdxc memory cards.
When i am trying to shoot raw videos 2.5k or even 1920*1080 camera doesn't record a video it stops every time at the beginning because of the high bitrate > card seems to be isnt able to record a bitrate higher than 16 m/s. But after a several attempts to shoot at the speed 16-20 m/s card starts to record a higher bitrate about 45-50m/s but never at the beginning. Does anybody has this issue with eosm and lexar or other cards? Thanks for answers!

I'm using a Lexar 1667x 64 gb V60 card and i have similar behaviors from it. At first it won't record more than 3 or so seconds in 5k rewire mode. Then after 3 or 4 failed attempts it starts recording just fine and as long as i don't turn it off it will keep going like a champ almost getting to 60 MB/s with constant recording. It works fine in mcm rewire.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on February 10, 2020, 07:32:46 PM
Quote from: 2blackbar on February 08, 2020, 10:14:06 AMhttps://www.youtube.com/watch?v=jdbsgCFvWo0

I really like the look of that lens flare on that lens.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: alexeym on February 11, 2020, 09:58:13 PM
Quote from: roofusj on February 10, 2020, 08:52:08 AM
I'm using a Lexar 1667x 64 gb V60 card and i have similar behaviors from it. At first it won't record more than 3 or so seconds in 5k rewire mode. Then after 3 or 4 failed attempts it starts recording just fine and as long as i don't turn it off it will keep going like a champ almost getting to 60 MB/s with constant recording. It works fine in mcm rewire.
Just about a week ago I tried Lexar (I think it was 1800x or something very similar to yours) and experienced exactly the same behavior.
A bit of remedy was to use "Warm up card" option in menu. I think 256MB size worked for me.
It improved the issue a lot, but occasionally the card was still not able to start recording at higher speed. Also boot up time was much longer due to "Warm up" setting.
I also tried Samsung Evo with very similar issues.
Eventually I returned the card and ordered Sandisk Extreme Pro 128GB. Never had the issue since.

On a side note. It seems to me in 5K mode, 12 bit changes resolution. 14 or 10bits have different one. Is it a bug or I'm still missing something after reading this whole thread.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2020, 04:16:20 PM
Quote from: alexeym on February 11, 2020, 09:58:13 PM
On a side note. It seems to me in 5K mode, 12 bit changes resolution. 14 or 10bits have different one. Is it a bug or I'm still missing something after reading this whole thread.
Changes to keep continuous recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rh224 on February 17, 2020, 09:27:39 AM
Quote from: alexeym on February 11, 2020, 09:58:13 PM
Just about a week ago I tried Lexar (I think it was 1800x or something very similar to yours) and experienced exactly the same behavior.
A bit of remedy was to use "Warm up card" option in menu. I think 256MB size worked for me.
It improved the issue a lot, but occasionally the card was still not able to start recording at higher speed. Also boot up time was much longer due to "Warm up" setting.
I also tried Samsung Evo with very similar issues.
Eventually I returned the card and ordered Sandisk Extreme Pro 128GB. Never had the issue since.

I just experienced similar issues with one of my Samsung Evo cards and my M for the first time today. They've been rock steady for continuous recording in 14/12bit when used with both my M and my 6D (Use MCMRewire @ 1736 x 976 on the M). Today, it recorded two clips of about 2:30 on the M just fine and afterwards 5 out of about every 6 runs would give me a max record time of 4-5 seconds (even dropping to 1600 x 900 @ 10bit) and randomly I'd get rock solid continuous recording. Power off/on, pull battery, reset ML settings, reset camera settings, turn on Card Warm Up, no difference or pattern I could see.

It was a family outing and I hadn't planned to shoot much at and just happened to have the M and card with ML, so I couldn't do much testing. I plan to do some more troubleshooting when I have time  It's possible the card is going bad, but it's probably only the 4th or 5th time I've used it. I should probably just quit being stubborn and buy some Sandisk cards...

Also, I've got two Lexar 64GB 1000x cards that have never worked right in my M with the SD overclock.  They work very well when used with my 6D however. Never figured out why.

P.S. This is my first post here, though I'm no stranger to ML.  Long time listener, first time caller sort of deal... I can't post with out a shout out to the community here and the incredible knowledge, talent and accomplishments pushing the limits of what this amazing little camera can do. Thank You!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Capsulepill on February 17, 2020, 09:10:52 PM
i'm having some trouble with the latest version of dannes ML build for eos m (JAN-18-2020). i'm pretty new to using magic lantern.
but everytime i try and press the rec button to start a video recording, it doesn't do anything, the last build i used allowed me to use the trigger. but the newest build doesn't, or i'm not aware of the setting to put it on.

i don't know if i'm doing something wrong, but if anyone could help i would appreciate it!

[UPDATE] I figured it out guys haha. if your also having the same kind of trouble that i wrote down here
in order to fix it, you have to go to the canon functions menu, and In Custom function menu: C.Fn-7 Release shutter without lense: on

this allows you to use lenses not recognised by canon camera systems, like the vintage lenses im using.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Bernie54 on February 18, 2020, 12:02:27 PM
How to use Manual mode and JPG on EOS M with magiclantern-Nightly.2018Jul03.EOSM202?
When using this build on EOS M with FW 2.0.2 JPG-shooting in M mode is disabled if modules are loaded but switched off.

Issue description:
When cam is set to M mode and shutter is pressed half, the display is cleared and the ML message "Set picture quality to RAW" appears. When shutter is pressed full no shoot is taken and cam returns to default display. If mode is set to RAW a silent full res picture is taken - even if this is set to OFF - and the cam hangs up and must be restarted. Only if ML is loaded without modules the cam works like expected.

Used ML settings:
Serveral modules like adv_int, file_man, mvl_lite, silent, ... are loaded but all ML functions are set to OFF, except some overlays .

Expected behavior:
Just shoot JPGs in manual mode when modules are loaded but the corresponding functions are set to OFF.

Any hint is appreciated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on February 18, 2020, 11:35:58 PM
It's probably the same shutter bug that I got my silver EOS M. Try turning it off and on two or three time real quick (while the led blink right before the display is on).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Bernie54 on February 19, 2020, 02:14:19 PM
@cmh: Thank's for the reply.

Meanwhile I got rid of the issue with a fresh reinstall of magiclantern-Nightly.2018Jul03.EOSM202 to the SD card.
Because I had tested another very experimental build on the same SD card before, my assumption is that some config stuff was left over that conflicts with the nightly build. But I don't have a proof for that and the shutter bug thing might be a root cause too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ArchGalileu on February 22, 2020, 09:34:58 PM
 Hello all

Great work Danne ;)

In 5k anamorphic I can't see the overexposed zebras, any advice?

Best regards
ArchGalileu
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2020, 08:03:41 AM
Not really. Turned them on? I have zebras turned off upon first install of magic lantern.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on February 24, 2020, 05:42:40 PM
Can I get a quick breakdown on "rewire".

Specifically this 5k vs 5k rewire, or more info on rewire in general.

I assume both are strictly for anamorphic lenses.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2020, 06:43:55 PM
Start readig from the download post. It is expected for newcomers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roogii on February 24, 2020, 10:35:29 PM
context: my preferred mode is mv1080p MCM rewire x3 crop, 1736x1158 max resolution 3:2. The full aps sensor rainbow aliasing is too much, and I have perfect alias free 5D3 for big sensor stuff anyway. I like having proper real time preview of the real framing. I treat the MagicM as my 100£ ikonoskop, incredible.

Danne:
1. is it only your build that gets the increase in vertical resolution in mv1080p MCM rewire 1158px vs 1024px in the main website build?
2. in mv1080pMCMrewire x3crop, is it 1:1 pixel sensor readout without any skipping/ binning?
3. if i enter 2.5k mode and set 1736x1158, am i theoretically getting exactly the same output as mv1080p set at 1736x1158 x3crop?
4. what is the difference between 2.5k 1:1 centred mode and 2.5k 2520x1418 >> is it just extra vertical available pixels otherwise the same?
5. if mv1080pMCMrewire x3 crop is 1:1 sensor just like 2.5k mode, is there anything stopping increasing the resolution of the x3 crop within the mv1080 mode whilst retaining realtime full framing preview?
6. I also use your 5d3 build, i like using the same full 3:2 1080p mode, and if i setup clear overlays at halfshutter for example, the magic lantern bars disappear and I get full 3:2 realtime preview. On the M the magic lantern bars disappear leaving black bars in its place, with a 16:9 preview still. Am i right in thinking that the 5d3 actually uses a 3:2 preview through the buffer whereas the M is streaming a 16:9 native preview? or would it be possible to clear the overlays on the M to reveal a 3:2 liveview.

2blackbars >> is that you synthsundry? So you enjoy C lens too, did you play around with moving the framing in the standard mv1080pMCMreire x3 crop mode?

Oh...Danne, I have four of these M cameras and I assume there must be some kind of hardware variation, because using all same settings and build in mv1080MCMrewire, 2/4 of my bodies corrupt the image when changing into x3 crop, video >>>



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2020, 12:15:38 AM
I think your glitch is fps related. Either canon fps mode or fps override or set 25 fps is enabled causing the issue in x3 crop.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on February 25, 2020, 03:59:49 PM
Anyone ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2020, 06:51:14 PM
Quote from: keel on February 25, 2020, 03:59:49 PM
Anyone ?
Try back track a few pages. If you pay attention you´ll soon see that there´s a download post referred to on a regular basis. Find that page and start reading from that post and onwards. Most of your questions will be answered really fast.
You don´t mention any info about what build you are using or where you found it? Sources needed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roogii on February 26, 2020, 07:30:09 PM
Ok that got it, so that's what set 25fps is for - matching the Canon menu.  The 2 other bodies are fine being mismatch set though.

Other questions too boring? I read the whole thread,    those questions didn't seem answered at least on my passing and in my head.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 26, 2020, 07:55:22 PM
Quote from: roogii on February 26, 2020, 07:30:09 PM
Ok that got it, so that's what set 25fps is for - matching the Canon menu.  The 2 other bodies are fine being mismatch set though.
Set 25fps is not to match canon menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 26, 2020, 08:54:53 PM
yes i played around with moving framing in all modes, but in uncropped one its working in 16:9 but errors on 3:2 full sensorwhichc is kinda expected.
I have just one c lens and other for krasnogorsk which is crap,im  hunting to get 12-100mm with decent light like f2 at least.There are some but i need brand new
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roogii on February 26, 2020, 09:11:11 PM
Well if I set canon menu to 25fps and match ML set 25fps no glitch. If I set 24 in canon and set 25 glitch.

I'm not going to ask what set 25fps does I reckon.
Great work all involved but you need someone summarising functionality because 75% of this thread is people asking apparently stupid questions that dont get answered.

Cool blackbar,  I'm going to give it some work.
Most c lens are pretty bad, look for newer ones for 2/3 or 1Inch with high megapixel resolutions. I have a 10mp 5mm kowa which is good.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ArchGalileu on February 26, 2020, 10:36:37 PM
Quote from: Danne on February 24, 2020, 08:03:41 AM
Not really. Turned them on? I have zebras turned off upon first install of magic lantern.

True, i have it on but, mabe off course, only on "5k anamorphic flv", can't have it, or don't know how when on "framing"

Some "pink" frames on "5K anamorphic flv", i notice that without histogram, only zebras, and waiting a bit on start record for stabilize i get clean footage.

Best regards
ArchGalileu
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 26, 2020, 11:08:55 PM
Quote from: roogii on February 26, 2020, 09:11:11 PM
I'm not going to ask what set 25fps does I reckon.
Great work all involved but you need someone summarising functionality because 75% of this thread is people asking apparently stupid questions that dont get answered.
People ask the same questions even if the post before them tells the answer. What everybody could do is read from the download post and go through the posts. Include some personal tests and try to find out how to work around or with functions. Takes longer but better for the community.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on February 27, 2020, 02:38:09 PM
If Zebras aren't appearing even when enabled, ensure global draw is set "on all modes" and not live view.  ::)
If that still doesn't work, then...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on February 28, 2020, 01:55:27 AM
Hey @ZEEK ...

rewire 5k vs 5k ?

Differences?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roogii on February 28, 2020, 08:53:11 AM
Danne I did read through the whole 5d2/3 and M thread in one go, was a bit painful. I still wasn't quite sure which is why I asked. Am doing my own testing but knowing some theory can help with practice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 28, 2020, 09:18:26 AM
Read from here. Most is covered at some point:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Also good to look at commits from the branch worked upon.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anan-banan on February 28, 2020, 03:12:37 PM
Hi friends! Please tell me somebody, what can i do to record in 46/48 fps without this pink (purple) stripes and other deformations. Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nlantz on March 02, 2020, 04:20:55 PM
Quote from: Danne on January 11, 2020, 08:12:53 PM
I mostly loook at the files and build from there. I'm a lousy "histogrammer"  :P.
I'm sure a little ettr on my my image would have helped even more. I plan on including the ettr module in eosm build when I get some time to use it...
I for one really miss ettr when it was in the earlier builds
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 02, 2020, 08:57:16 PM
Easy. Grab ettr module from another build and put it manually into your current ML folder on sd card. Turn on camera and enable ettr the normal way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: PBTV on March 05, 2020, 01:02:27 AM
Just wondering, what's the best settings for cinematic 1080p output with the least aliasing and nicest colours?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: m300 on March 05, 2020, 07:58:48 PM
Danne, no doubt you've seen the notifications from Atlassian about mercurial support being discontinued on bitbucket; do you have any plans to migrate?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 05, 2020, 09:58:08 PM
Not really. Not yet. Lack of time nowadays mostly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 06:26:22 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2020, 06:31:37 PM
Please go ahead. I,ll add it when you are done. Others could join in. I suggest you start out a new topic and start realizing exactly what you want. I have no time at all personally atm.
This is an open source community. Everybody needs to help out.
Good luck.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 07:32:07 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 07:38:04 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2020, 07:40:47 PM
Just write a readable list of all you want to know. I bet there's a hundred people in here that knows 99 percent of the answers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 07:48:53 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2020, 07:59:53 PM
There are no more new builds coming up and only very minor changes will happen if at all. As a matter of fact. It would be a good contribution if you would sum it all up from a beginners point of view. Many users have been following from the start but not everyone.

Don't expect others to work for you. Why should they.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 08:50:44 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 15, 2020, 08:53:15 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2020, 09:13:35 PM
This is an open source project. There could be initiatives and "cleaned up" posts if a commited, devoted person would take the time to do the outlining and work realizing these things. If it is important and interesting enough, that is. Most users settle for less it seems.
I still think if you want change, just start by changing it yourself. Or pay someone to do it for you. Could work as well. Moaning, not so effective.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gravitatemediagroup on March 16, 2020, 12:39:32 PM
there is a facebook page (MLV RAW ON EOS M) that's intention was to help with troubleshooting minor issues instead of clogging up the board.  no need for all the drama here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on March 16, 2020, 09:40:28 PM
keel stop whining ,  you want something - do it yourself.
Nobody promised you clean topics with index A to Z.
A lot of people dont know what rewire means either but somehow they managed to live their live in peace.
Test things, and make your conclusions what works best for you.
You was not around when people were talking about a lot of things so dont blame anyone that youre behind.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on March 16, 2020, 11:22:13 PM
@keel, Walter (https://www.magiclantern.fm/forum/index.php?action=profile;u=17983) has a ML Wiki project, IIRC. You could contribute there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on March 16, 2020, 11:25:59 PM
That's not "my" project. I'm just the main contributor and it is dormant for quite some time. And its approach is not that ambitious.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on March 17, 2020, 10:58:03 AM
Quote from: Walter Schulz on March 16, 2020, 11:25:59 PM
That's not "my" project. I'm just the main contributor [...]

Quote of the year :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 17, 2020, 07:08:32 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 17, 2020, 08:19:20 PM
Well, it is clear enough for most users. Add some other external forums that probably provides answers for most questions and the ball is running. Of course, if a user can't do their part putting in the time and effort reading the source post and accept the work in progress route there will be problems.
Not one of your posts has actually contributed in any clear way how you would reform things. Leave the coders locked out? Not only counterproductive but far from open source philosophy.
Stable and unstable video functions? Be my guest and test and determine what is stable and not. There are so many functions and variations but be my guest.

Anyway. Focus your energy on presenting changes and ideas that are valid and usable. Best way is to start a new post or build an alternate web page mock up with what is better than what is now. If you get that far it will be very easy to determine and include your revolutionary ideas in here. Anybody can talk but few people actually achieve a real change.

And honestly. There's not one skilled coder visibly active at the time of writing working and publishing ml related code atm(sorry if I missed anyone, @heder working on 40D, maybe more is happening out there). Mlv app is still a bit active but what then? Let me be clear. I am at best a bash scripter with some loosely learned c code basics. Not a skilled coder at all.

Also. Mercurial on bitbucket is about to be buried. Without the code foundation this whole place will be scattered in no time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 20, 2020, 10:58:43 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 20, 2020, 11:57:53 PM
Check reply #2189. If you can't understand what it mean or says try to also follow the code on bitbucket.
You write and ask for so much but it seems all you wanted to know was about rewire mode.
Let me know when you start working on your mock up page.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: siwilson on March 21, 2020, 01:56:16 PM
Hi - I'm a newish user of ML and have recently bought an EOS-M. I can get most of the things I need to work (sterling effort by all involved, thank you).

I cannot get focus peaking to work on my external monitor though. My eyes are crap and I really need it. Peaking works fine on the built in monitor. My monitor is the AndyCine 4K (touch screen version). It doesn't have a "camera mode" or any way to force 480p. I can sometimes see the peaking, but, it's always displaced on the screen, nowhere near where the actual focus point is. I've tried the force VGA option in ML but it doesn't seem to do anything?

Any pointers, or am I out of luck with this monitor?

Thanks in advance for any help.

/Simon
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on March 22, 2020, 02:44:38 PM
What a guy,
Mcm stands for movie crop mode , rewire means raw stream goes through crop mode to get better quality output.
If You really care that much theres module development section, it should be read by you long time ago but youre lazy.Just read it all, its fascinatiing and well documented.
I can tell you small secret, the more you push questioning like that , the less likely people will answer you.
Just dont do that, Its not the way , chill.
https://www.magiclantern.fm/forum/index.php?board=52.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 22, 2020, 05:55:50 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 22, 2020, 05:59:37 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 22, 2020, 06:18:45 PM
Quote from: keel on March 22, 2020, 05:59:37 PM
Just like i said lock out coders?
Is that a question referring to what now?

EDIT: So you added more stuff to your answer...

Quote from: keel on March 22, 2020, 05:59:37 PM
This really isn't about me. As i stated numerous times. I am just wondering if I can get mod access to clean it up.
Ask a1ex or Audionut directly. Maybe you get lucky...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 22, 2020, 06:24:53 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 22, 2020, 06:51:40 PM
You don´t need mod access to assemble your changes, thoughts, suggestions, whatever. Given mod access would probably mess up all kinds of stuff since you do not know whole logic around it.
I already suggested a couple of first steps to get going in the desired direction. Doesn´t seem to have been recognized so I suspect you´re very convinced about your specific path/way of doing things.
Anyway. Best of luck to you. I think all is said at his point.
Stay out of corona ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 22, 2020, 08:50:31 PM
(edited)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 22, 2020, 09:11:45 PM
Just leave them. No regrets  8). It´s better to speak ones mind than hide in the shadows.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nlantz on March 22, 2020, 11:36:02 PM
Quote from: Danne on March 02, 2020, 08:57:16 PM
Easy. Grab ettr module from another build and put it manually into your current ML folder on sd card. Turn on camera and enable ettr the normal way.
Ive tried this in the past, pulled a copy from the last nightly build "magiclantern-Nightly.2018Jul03.EOSM202"

when you try to copy over the modules you get an oldapi error  "wrong version" v6.0 expecting v7.0

anywhere else to grab a something that would have the ettr.mo with the correct api ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 23, 2020, 06:51:04 AM
You could probably get it from one of the experimental builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nlantz on March 23, 2020, 03:40:41 PM
Quote from: Danne on March 23, 2020, 06:51:04 AM
You could probably get it from one of the experimental builds.

That did the trick. Thank you sir
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 23, 2020, 05:44:36 PM
Quote from: Danne on March 22, 2020, 09:11:45 PM
Just leave them. No regrets  8). It´s better to speak ones mind than hide in the shadows.

The irony of an inability to simply delete repeat questions.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: keel on March 23, 2020, 06:01:54 PM
Quote from: 2blackbar on March 22, 2020, 02:44:38 PM
What a guy,
Mcm stands for movie crop mode , rewire means raw stream goes through crop mode to get better quality output.
If You really care that much theres module development section, it should be read by you long time ago but youre lazy.Just read it all, its fascinatiing and well documented.
I can tell you small secret, the more you push questioning like that , the less likely people will answer you.
Just dont do that, Its not the way , chill.
https://www.magiclantern.fm/forum/index.php?board=52.0

I was using an example, about 5k vs 5k rewire, for a non-English speaker.

Thanks for the info,
any idea why the isn't posted on the download page?

Seems relevant.

Imagine telling someone who doesn't understand perfect english all these lazy remarks. wow.

You're a gem



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 23, 2020, 06:24:46 PM
Mandatory to read from the download post and onwards if you want the full story. Not one post solution for all functions, workflows, reasons, explanations. As a matter of fact. The download area explains very well what to be done to start filming. Tap screen, select preset and start filming. If you want more just read the work in progress.
After that you can come back with refinements and suggestions.
Endless loop...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Daniel_hungary on March 24, 2020, 10:47:38 AM
Hello there!

I wonder if you could help me? (who else could)

But before that a BIG THANK YOU for all your work around this hack! I just love it!

On the other hand, many times it can drive me nuts because of a problem, and I know it had been discussed before, but that means no solution for me. So every time I go for the dual Iso setting which was -for me at least- the point of which I installed the software for. However I could not use it since. Whenever I turn it on my footages are flickery. Sometimes like a strobe, or sometimes just a slight change in exposure at some point in my recording. I do not know how to solve it! Am I missing some menu adjustment? Usually I followed Zeeks tutorials, but as of now I got used to the menu.

Currently I run Nightly.2019Nov16.EOSM202

https://www.youtube.com/watch?v=-pysEP3LTOQ  /link as this is the problem

Please help me somehow I wish I could use dual ISO!

Thanx in advance

Daniel
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on March 31, 2020, 10:46:13 PM
Link to unprocessed footage, please!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Luther on April 01, 2020, 03:41:24 AM
Quote from: Daniel_hungary on March 24, 2020, 10:47:38 AM
Please help me somehow I wish I could use dual ISO!
How are you processing the MLV file? Test MLVApp (https://mlv.app/) and see if it still has the same issue...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ygadinthesix on April 01, 2020, 03:14:21 PM
Hi Guys!

Wondering if you can help me with something.

I'm using the Danne build from January on my Canon EOS M.

I'm trying to use the Silent Picture mode for photography, and the DNG files I'm getting are coming out all Magenta with a lot of artifacts.

I have it set to Full-Res, Half-Shutter Press, Lossless DNG.

ISO is at 400, and the shutter is at 1/110

I'm using a Sandisk Extreme Pro 128GB SDXC Card with a  170mb/s transfer rating.

I'm importing the files directly into Lightroom. Is there a step I am missing?

Anyone experience anything like this before? Any suggestions?

Thank you very much!

Here are the sample DNG files: https://drive.google.com/open?id=1iSdWd89Hh5of_SU3IzHjTif1Fm0921e3

Thank you!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 01, 2020, 04:06:41 PM
Good report except for one important mishap. A sample dng file. Needed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on April 01, 2020, 04:16:02 PM
On the latest build is the 10 bit raw mode loseless? I've recorded a 1:43 5k anamorphic clip and it weighted 4gb, so that made me doubt. Thanks for the huge upgrade on this camera!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 01, 2020, 04:26:18 PM
All bits are lossless. 12 and 10 bits are on top of that lossy. You can compare 14bit to 10bit with hd 1080p mode. Simply record one minute of each setting and compare size.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ygadinthesix on April 01, 2020, 04:47:24 PM
Whoops! Sorry.

As per my discussion above https://drive.google.com/open?id=1iSdWd89Hh5of_SU3IzHjTif1Fm0921e3

That link should take you to some sample DNG files.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 01, 2020, 05:13:43 PM
Yes, something looks very wrong. COuld you try another build which is not from me and see if it´s the same issue with that version?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DavidAcker on April 01, 2020, 11:34:25 PM
Hey guys, earlier today my EOS M finally arrived and I can't wait to get ML on it - unfortunally I am experiencing some issues.

First of all I am using a 98MB/s SD-card and I started out trying DannePhoto's build called "crop_rec_4k_mlv_snd_raw_only_2020Jan18.EOSM202.zip", for some reason I had a minor delay/lag while scrolling the menu aswell as the recordings just cut after a second as soon as the RAW option was enabled. I've tried some other builds and they seem to work fine, however they don't seem to have the same options when it comes to RAW format. It's not really that I need the RAW specifically as my goal is to record videos for YouTube, but it would be nice to find something that gives the most amount of options.

Is there any logical solution to why my camera gets this lag and cuts recordings or should I just go with another build - and if so, are there any you could recommend?

Hopefully this makes some sense atleast, Im all new to shooting video. Thanks in advance! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on April 03, 2020, 11:50:34 AM
Quote from: Stousen on November 26, 2019, 06:46:12 PM
+1

I am just trying to take a photo and its not working so... I dunno what you mean I dont know what I do or if I do it right.? thats why I am posting on this forum to ask.. Its not so complex .... Why be a baby about it...
When ML is installed the shutter release just doesnt work 60% of the time, in video mode or stills mode.. It is so unreliable that I had to uninstall ML...
There is no guide or manual so its really about trial and error, I have no idea how to get around the 30 minute video recording limit, or record higher resolutions than 1080p.. Or maybe even shoot a higher frame rate than 30fps... Nothing works its very buggy and frustrating and reliability is everything with photography or filmmaking if you missed that moment then you never getting it back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on April 03, 2020, 11:56:51 AM
Quote from: srsa on November 26, 2019, 08:25:54 PM
That's probably the "shutter bug". You can read about it here (https://bitbucket.org/hudson/magic-lantern/issues/1893/eos-m-shutter-bug) and also search in the print view of the current thread (https://www.magiclantern.fm/forum/index.php?action=printpage;topic=9741.0).

Bro this is literally thousands and thousands of posts of technical gibberish... Am I supposedly meant to read through it all to get some answer to why it basically makes the camera completely useless? I thought it was meant to be working on the EOS M.. Just a total mess. No guide or manual no information nothing works... I dunno why people like zeek go on about how great it is, its not. Its just a mess of experimental ideas that dont work. Massively disappointed and kinda feels like a waste of money this was the main reason I bought a EOS M. But nothing works.. :( Why can't anyone be bothered to make a proper manual or help page, we have to sift through pages and pages of posts that lead no where. If so many people love this software so much they certainly arent sharing how to use it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on April 03, 2020, 12:14:46 PM
Quote from: masc on November 26, 2019, 06:20:20 PM
Here it is very reliable. I can record in 5K anamorphic mode all over the day without one single corrupted frame, without one single crash. Same for 45fps at a little less than 1080p. 2.5K at 48fps is not possible with EOS M (and will never be): card interface is way too slow - that is simple math.

What's the problem with shutter release? Absolutely don't know what you mean. I can take pictures at any time in picture mode and can record video at any time in video mode - without changing anything in settings.

For zoom mode in 1080p you have to press exactly one button after start.

Don't write ML is useless and unreliable if you don't know what you do, or if you don't know if you're doing it right.

what sd card you useing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 03, 2020, 01:44:24 PM
Quote from: Disease on April 03, 2020, 12:14:46 PM
what sd card you useing?
I use the recommended SanDisk Extreme Pro 64GB 95MB/s UHS-I.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on April 08, 2020, 12:22:41 AM
I started using a manual lens and the shutter bug has ceased sorry for my moody post zzz
Seems it is much more buggy with the kit lens.
Now just looking at how to do all the cool stuff like over crank the fps, shoot in different resolutions and the like...
Thanks guys!

One question I do not have the option to shoot at a lower bitrate in the raw movie recording options, in a youtube video he shows to shoot at lower bitrates for more stable recording but I cannot see this it seems to be missing from my menu?

https://youtu.be/3vDwJBQeCdk?t=110
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wlad81 on April 10, 2020, 08:22:03 PM
I wonder if Canon EOS M is better than EOS 100D in shooting non-crop video?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 11, 2020, 02:36:59 PM
EOS M Guide and FAQ

Hi everyone.

Since I am also in kind of lock down as many others I thought I would finally get around to play with the Eos M. I already have two Eos 50D but I never really took the time to learn how to us ML with them properly. I have had many thoughts on how to best structure all the information here on the forum to enable people to help where needed and understand the different features and for which cameras and how they work. However, I realized that the motivation was just not strong enough to convert the thoughts into action.

Now since I kind of have to learn everything from the start I thought I might as well try to make something useful of it to help others too, at least when it comes to the EOS M. So I am planing to make a beginner guide with a faq for the Eos M. I will simply start it as a seperate thread and hopefully it will be good enough so it can be refered to here when people ask recuring questions. Hopefully it will make it easier for people who just want to get up and running and maybe it will reduce the amount of repeating questions and answers (although I am aware that the developers do encourage people to reade the thread themselfs, at lest from page 71).

FIRST STEPS I WILL TAKE:
The first step is to make a list of things that should be included in this guide/faq as well as list of sources for relevant information. Feel free to share your thoughts on what should be included in these lists. I also plan to go through this forum thread from around page 70 and see what questions people have as well as common mistakes that are done.

Hope to have a first draft of the lists tonight or tomorrow, but feel free to come with suggestions already.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 11, 2020, 03:35:14 PM
Cool. I'll help you out once you start.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 11, 2020, 04:19:04 PM
Consider using ML's wiki. Linked in my signature. Some layout restrictions, though.
Maintaining forum posts as tutorials proved to be futile, IMO.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 11, 2020, 04:25:23 PM
Both platforms should cover most needs?
Will have a look at ml wiki. Never use it myself.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 11, 2020, 04:51:50 PM
Since I dont think I will be able to maintain it continuously I think I will make it for the latest build (crop_rec_4k_mlv_snd_raw_only_2020Jan18.EOSM202). Then maybe if there will be a new build I will update it in half a year or so. Of course, if other people want to maintain it with updates, thats great. Obviosly the content can/will be added to the wiki where it fits. Will just start somewhere that makes sense to me and then we will see how it all fits together. It might have been better to continue on one of the efforts thats already been started, but I just have to start where my motivation lies, and then hopefully it will be incoperated wherever its useful.

Instead of having a static list that I update here in the forum every other day, I decided to make the lists in a drive document. Everyone should feel free to edit the document. But dont worry, I will post the first draft here for feedback once its reached a sufficient level.

Here is the link to the doc
https://docs.google.com/spreadsheets/d/1G6qU_Tzm4LbkIqMdHFUnH6sOoCIXrH3EJQ1ccenarS4/edit?usp=sharing

Btw, is the build feature website (https://builds.magiclantern.fm/#/features) relevant for the latest build (crop_rec_4k_mlv_snd_raw_only_2020Jan18.EOSM202)?

Cheers, Tullen
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 11, 2020, 04:58:21 PM
Nope, covers Nightly builds in main build chain.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 12, 2020, 04:15:16 PM
Thanks, that what I thought.

So far I came up with these as relevant sources of information for the Eos M and ML:

Main Magic Lantern Eos M thread
MLV RAW ON EOS M facebook group
Wiki
Zeek youtube

Would you add any other? EOSHD? Reddit?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ilia3101 on April 12, 2020, 04:25:11 PM
You'll find most up to date info here
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2020, 04:46:01 PM
Yeah, pretty much all is covered from my dedicated download post and onwards.
Most presets should be pretty straight forward explaining but the again a lot of the stuff aren't. I'd suggest split the wiki in three sections.
1 - straight down to business. Explain fast acces to presets, x3 zoom etc.

2 - Section two a more detailed description of movie functions, buttons and so on.

3 - Third section. Trying to cover the more advanced settings as intervalometer, iso average and what not for the more hardcore ml user.

Maybe also add a section describing more robust presets vs the more expermental ones, potential bugs and so on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 12, 2020, 05:21:04 PM
@Danne

Is the dedicated download post the one on page 71?

As for your suggestion, I will continue with the structure I started and then see that I have included the aspects you mention. I will surelly come back with more specific questions.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 12, 2020, 06:06:52 PM
Yes, this page:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 13, 2020, 12:03:54 PM
Hi again. I apologize for the many posts and that I might ask for feedback a bit early in the development, making it harder for you to come with useful feedback. Never the less, here is another question.

Desired outcome concept
I am planing to structure the guide around the concept of "desired outcome" where "The camera settings, lens and lens settings used, sd card, other accessories and post processing decides how useful a tool the total system is to achieve a desired outcome." So basically, what kind of film clip you want to end up with.

Examples
Here a desired outcome could be: A clean noise free "cinematic looking" (shallow depth of field) shot of a person in front of a monument at night. Or: A sharp, high dynamic range shot of a landscape with a wide viewing angel. Or: A slow motion clip.

Aspects related to desired outcomes
So far I have identified the following aspects that relates to desired outcomes (and to the settings and tools that we can use with the Eos M camera):
Depth of field (cinematic look?/ lens and lens settings used)
Slow motion (high fps/post processing)
Framing (crop factor and lens/speed booster)
Image quality (noise, moire, clippings (highlight detail), crushing (shadow detail), sharpness, jello effect, dynamic range)
Image stabilization (gimbal, post process stabilization or other)

Looking for feedback
What do you think about this approach?
Have I missed any relevant aspects?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 13, 2020, 01:32:34 PM
Binning modes seems relevant. 1x1 being more or less moiré and aliasing free.
I can't say if your approach will work effectively for most users but go ahead and try.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Wlad81 on April 13, 2020, 08:17:20 PM
So, could you please be so kind to tell me what is better for shooting Full HD or around that in 14 bit loseless? 100D or EOS M?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 13, 2020, 08:31:39 PM
They are more or less the same, 100D being a buggy mf.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Daniel_hungary on April 13, 2020, 10:22:01 PM
So hey again. If you remember me? A post about flickering RAW video a few posts back.

Someone asked for the unprocessed footage. No point to do that, it is the same before processing. I suspect the raw levels. This "bug" drives me nuts. Dual Iso would be a nice feature, but this makes it unusable. Almost every time it comes out like this. Am I missing something in the menu? Is it something in the factory Canon menu? Dunno

:(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 13, 2020, 11:10:12 PM
If you don't want to get your problem analysed: It's your party.
If you want someone to look into it: Unprocessed footage needed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: optical-work on April 14, 2020, 02:39:16 AM
About dual-iso, I engaged in getting a result without flickering before. I worked with mlvapp and mlvfs without success. It's not obvious for me but it's either how dual-iso captured or how it's processed. So I think dual-iso isn't ideal for video. A plus is shorter post-processing times.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 14, 2020, 11:42:51 AM
Hi again.

Compared to the features of the nightly builds at https://builds.magiclantern.fm/features.html which features are added or removed/not working in the crop_rec_4k_mlv_snd_raw_only_2020Jan18.EOSM202?

Hope answering wont be to hard, but if I am to go through the different features in the guide (with the help of the wiki) it would be a great starting point to know the above.

Cheers/ Tullen
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 14, 2020, 11:54:52 AM
Can you find out yourself? Personally I have no time to spend around this approach but it should be possible to dig out info by testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on April 14, 2020, 12:23:06 PM
Quote from: Danne on April 14, 2020, 11:54:52 AM
Can you find out yourself? Personally I have no time to spend around this approach but it should be possible to dig out info by testing.

Yes, of course. Would been faster if someone already knew on the top of their head or at least knew more than me, but I can do it. How would you recommend I check? Just go through the menus and see what's there, what's missing and what's added?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tweak on April 14, 2020, 01:17:52 PM
Quote from: 2blackbar on January 05, 2020, 08:11:44 AM
Im using f1.4 tamron 4-12mm and i ripped plastic cover to expose aperture mechanism and control it.Im planning to get something from 12 to 80mm maybe more tele as well.
Crop mode on M is exact fit for 1/2" lenses, 2/3" and super 16mm film camera lenses
--
Adjusted 2.5k again, i had thin lines probably because skipping top and bottom was not accurate.
case CROP_PRESET_2K_EOSM:
            /* set ratio preset */
            if (ratios == 0x1)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 8;
                skip_bottom     = 38;
            }
            if (ratios == 0x2)
            {
                skip_left       = 36;
                skip_right      = 36;
                skip_top        = 0;
                skip_bottom     = 28;
            }
            if (ratios == 0x3)
            {
                skip_left       = 197;
                skip_right      = 197;
                skip_top        = 8;
                skip_bottom     = 204;
            }
            break;



            case CROP_PRESET_2K_EOSM:
  cmos_new[5] = 0x2c0;             /* vertical (first|last) */
              cmos_new[7] = 0x2a8;    /* pink highlights without this */
                break;
               

Well , looks like lines are there from pressing left arrow on wheel and coming back to framing preview.They disappear slowly and are gone after about 10 seconds.

Can someone please help me with where I need to put this code? I also would like to use these same lenses and have trouble because of uneven vignette.  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 15, 2020, 09:07:55 AM
This code is part of a module named crop_rec.c
Assuming that you use an EOS M, you'd need to compile Danne's build.
If you are on Windows:
Download Cygwin at https://www.cygwin.com/setup-x86_64.exe in "%UserProfile%"\Downloads"

Open a command prompt (press Windows+R, type cmd) and get Cygwin installed with the required packages:
cd %UserProfile%"\Downloads
setup-x86_64.exe -s ftp://cygwin.uib.no/pub/cygwin/ -q -P mingw64-i686-gcc-core,gcc-core,make,mercurial,python37-docutils,perl,wget,unzip,zip,diffutils


Open the Cygwin Terminal from the start menu.
Download the GNU Arm Embedded Toolchain and extract it in the right folder:
cd && wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-win32.zip.bz2
unzip -q ~/gcc-arm-none-eabi-9-2019-q4-major-win32.zip.bz2 -d gcc-arm-none-eabi-9-2019-q4-major-win32
rm ~/gcc-arm-none-eabi-9-2019-q4-major-win32.zip.bz2


Clone the repository and the right branch (hg identify -b should show crop_rec_4k_mlv_snd_raw_only):
cd && hg clone https://bitbucket.org/Dannephoto/magic-lantern_jip-hop/src/unified/
mv ~/unified ~/magic-lantern_dannephoto
cd ~/magic-lantern_dannephoto && hg up crop_rec_4k_mlv_snd_raw_only
hg identify -b


Modify what you want to in C:\cygwin\home\<username>\magic-lantern_dannephoto.
In your case crop_rec.c (replace <username> by yours).

Get to the right platform (EOS M here), cleanup, compile, move zip in C:\cygwin\home\<username>, cleanup again:
cd ~/magic-lantern_dannephoto/platform/EOSM.202
make clean
make -j4 zip
mv magiclantern-Nightly*.zip ~/
make clean
cd && ls


Copy the content of C:\cygwin\home\<username>\magiclantern-Nightly.YMD.EOSM202.zip to your SD card and you're set (a reinstallation might be necessary depending on your modifications).

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: WilliamEwart on April 23, 2020, 02:41:35 AM
Hello, I was wondering if the EOS M could shoot continuous at 1080p at a 4x3(1436 x 1080) aspect ratio? I am planning on shooting a short film this summer and want to get better quality video than what my Fuji xt1 can get. I have a Kowa 2x anamorphic that I plan on using so I'd like to shoot at 4x3 so that I get a 2.4 aspect ratio after the stretch. My main concern is that the EOS M has a limited record time at anything deeper than 10 bit at that ratio but I can not find specific information about it and I would like to know for curtain before pulling the trigger on buying one. Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: McFly on April 23, 2020, 05:05:43 PM
Quote from: WilliamEwart on April 23, 2020, 02:41:35 AM
Hello, I was wondering if the EOS M could shoot continuous at 1080p at a 4x3(1436 x 1080) aspect ratio? I am planning on shooting a short film this summer and want to get better quality video than what my Fuji xt1 can get. I have a Kowa 2x anamorphic that I plan on using so I'd like to shoot at 4x3 so that I get a 2.4 aspect ratio after the stretch. My main concern is that the EOS M has a limited record time at anything deeper than 10 bit at that ratio but I can not find specific information about it and I would like to know for curtain before pulling the trigger on buying one. Thank you.
I have the same equipments. I'm recently shooting continuous at 1392x1158. With 2x stretch, the resolution changes 2784x1158 (2.40:1 aspect ratio). Of course, you can also shoot continuous 1536x1158 if you want (1:33 a/r to 2.66:1 a/r).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: WilliamEwart on April 23, 2020, 05:16:17 PM
Quote from: McFly on April 23, 2020, 05:05:43 PM
I have the same equipments. I'm recently shooting continuous at 1392x1158. With 2x stretch, the resolution changes 2784x1158 (2.40:1 aspect ratio). Of course, you can also shoot continuous 1536x1158 if you want (1:33 a/r to 2.66:1 a/r).
Thank you. What is the bit depth that you can get at that resolution?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 23, 2020, 06:19:12 PM
I just tested 1440x1080 with the mv1080 profile on a bright scene with the sky in frame.
It goes past 52 MB/s at times when overexposed at 14 bits so it's not continuous
I get 45 MB/s overexposed at 12 bits and exposed for the sky at 14 bits, around 36 MB/s exposed for the sky at 12 bits.
12 bits should be safe but I've only tested recording a minute.

I can test 2,5k real quick if you don't mind the crop.
edit: 2,5 k, same resolution and bit depth so I get more or less the same results .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tweak on April 24, 2020, 02:54:48 AM
Quote from: cmh on April 23, 2020, 06:19:12 PM
I just tested 1440x1080 with the mv1080 profile on a bright scene with the sky in frame.
It goes past 52 MB/s at times when overexposed at 14 bits so it's not continuous
I get 45 MB/s overexposed at 12 bits and exposed for the sky at 14 bits, around 36 MB/s exposed for the sky at 12 bits.
12 bits should be safe but I've only tested recording a minute.

I can test 2,5k real quick if you don't mind the crop.
edit: 2,5 k, same resolution and bit depth so I get more or less the same results .

You can just back the resolution down a bit if you want continuous, I doubt you could notice the difference, especially using anamorphic lenses (I can't). If you want to get it back up to 1080 just upscale on export from MLVapp.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tweak on April 24, 2020, 02:57:38 AM
Quote from: cmh on April 15, 2020, 09:07:55 AM
This code is part of a module named crop_rec.c
Assuming that you use an EOS M, you'd need to compile Danne's build.

I'm on a Mac... I gave it all a go but couldn't get it to work  :( .

@2blackbar - would you be willing to share your build with me? Would definitely be a huge help, I've got the same lens as you.

Cheers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on April 24, 2020, 11:21:55 AM
Hello - a little help as I have looked into using the focus stack tool on my M - but in my absence from using ML actively for a while I am not sure the build I have support the focus tools at all.

I have build Nightly.2017May28.EOSM202.

And I can not find any of the focus tools in the menus.

I know I probably am clueless - but....help?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on April 24, 2020, 11:31:14 AM
I now see that I approached this issue earlier as well without ny resolution - sorry if this repeating myself, but the issues with using the M lenses are they still there? And what if I use an "ef" lens will I then have access to the tools on my M? If so which build should I look for?

Thankful and happy ML user (apart from my lack of m-focus-tool).

(The focus move (and and trigger without focusing) work with Canons Camera connect app on M3 with same lens - so I thought the lens´ability was there generically....)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 24, 2020, 11:57:36 AM
Top of page -> Downloads -> Download nightly builds -> EOS M -> Troubleshooting
Focus stacking not available in Nightly Builds for EOS M: Top of same page -> Features -> Focus

Try Danne's build for EOS M:
https://www.magiclantern.fm/forum/index.php?topic=23041.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 24, 2020, 12:12:13 PM
Quote from: tweak on April 24, 2020, 02:57:38 AM
I'm on a Mac... I gave it all a go but couldn't get it to work  :( .

@2blackbar - would you be willing to share your build with me? Would definitely be a huge help, I've got the same lens as you.

Cheers.
https://drive.google.com/open?id=1q7WE8TF_IjIRuYA-LWoRFHWoMb4fFZ2z
Im using mostly 2.5k mode with this lens and set it to  1920x1080p by dropping down resolution from 2520xsomethingdontermember.
You can finetune framing by toching on those triangles on sides, your framing will moev a bit.
Sometimes after you finish recording , framing is moved , you can reset it to be fine again by refreshing ml view, by pressing info button a couple of times to come back to liveview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tweak on April 25, 2020, 03:37:22 AM
Cheers! @2blackbar, got it working now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: raptor on April 26, 2020, 09:06:24 PM
Hi, is anyone here who uses FRSP (full res silent picture) feature on a regular basis or at least played a bit with it?

1, What is the range of the usable shutter speeds when it comes to FRSP on the EOS M?
2, Can you use FRSP with exposure bracketing? Or focus stacking?
3, Can you successfully integrate FRSP into Lua scripts? For example: 1st command: take FRSP; 2nd command: change exposure; 3rd command: take FRSP and so on.

I am thinking about buying a used EOS M10 (found one for a pretty good price) but I want to use primarly the pure electronic shutter (FRSP) because I will be taking huge amount of photos (reference images and photogrammetry).

The second option is to switch to a micro 4/3 system that officially supports pure electronic shutter (Panasonic, Olympus, Fuji, ...). But that would be more expensive as I already own some Canon gear and accessories. Also some native lenses (e.g. Fuji) are quite pricey and hard to get as used. Also the size of the sensor is smaller.
But the unique feature of the EOS M + Magic Lantern combo would definitively be the ability to run custom scripts (providing the FRSP works in scripts). Hardly any other script-able cameras on the market.

Just to be clear I am not completely new to FRSP, I know some of its limitations, I own EOS 550D and experiment with it but unfortunately the 550D has extremely narrow range of shutter speeds you can use for FRSP (0.5 to 0.8 sec). I need a camera with bigger range. I don't mind using ND or polarising filter for bright scenes.


Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 27, 2020, 04:25:45 AM
Lua can be used to modify shutter, iso, other settings. If frsp enabled shouldn't make no difference.
Longer shutter times than with 550d. Don't think so but not sure here. I tend to use lua scripts and run 5k anamorphic flv preset instead for easier workflows straight in mlv app.
If I want long shutter times I would set cam to cr2 photo mode and run some lua or ml bracketing feature with or without a customized lua script. I never heard of a worn out eos m shutter ever.
The lua function really is a winner. Not any cam I know of outside ml has this feature available or anything close to it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on April 27, 2020, 08:27:43 AM
Quote from: raptor on April 26, 2020, 09:06:24 PM
Hi, is anyone here who uses FRSP (full res silent picture) feature on a regular basis or at least played a bit with it?

The reason why I avoid using FRSP is that this mode does not allow proper aperture control on some of my best lenses and I cannot stop them down enough for reasonable depth of field.  I prefer the 5k anamorphic setting in the Movie mode instead.  The image quality degradation compared to FRSP is negligible and not perceptible unless you pixel peep at 100%.  Even then, you will barely see a difference in image quality.  You can set almost any shutter speed starting from 0,4 fps and have full aperture control and very useful focusing aid tools.  Danne also implemented two very useful averaging options which do a great job with noise reduction, in case your photos need to be taken in low-light conditions.  For timelapses, you have very smooth transitions and zero dead time from frame to frame which provides very smooth footage.  Finally, 5k anamorphic provides enough vertical resolution to be used with Dual ISO too.  This will give you up to 3 stops more dynamic range while still retaining high image quality.  Personally, I prefer Dual ISO to stacking bracketed photos since it provides a more natural result out of the box and saves me a lot of HDR tweaking in post - I am not good at that.  And as Danne said, MLVApp can process your footage/photos directly and this will save you a lot of time.

Finally, an used EOS-M is so cheap now that you cannot go wrong with it.  If you buy also a Viltrox x0,71 Speedbooster, you will enjoy a further boost in wide angle performance with the EF lenses you have.  A also recommend a LCD viewfinder for working at bright light, otherwise you barely see the screen .

Good luck!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on April 27, 2020, 08:30:14 AM
Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on April 28, 2020, 12:03:10 AM
So, right now what are the advices for not having pink frames? Today I'ven using the eosm with a trascend r95 card and got like 2 or 3 pink frames per minute, can it be most likely the card? Because I have a sandisk extreme pro too, but it's on another camera and would have to do a backup of it to format it and use it with the m
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on April 28, 2020, 02:36:36 AM
In what mode did you get pink frames, MCM Rewire, 2.5K?
It's most likely the card you're using. It has good Read Speed, but the Write speed ain't good enough. SanDisk Extreme PRO is like the Boss, stick with that. Lexar Pro 1000x cards are also good.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 04:49:37 AM
Quote from: ZEEK on April 28, 2020, 02:36:36 AM
In what mode did you get pink frames, MCM Rewire, 2.5K?
It's most likely the card you're using. It has good Read Speed, but the Write speed ain't good enough. SanDisk Extreme PRO is like the Boss, stick with that. Lexar Pro 1000x cards are also good.
+ 1

Tell us exact mode and settings.

Fun stuff. I recorded in a very bright setting a couple of days ago with hd1080p mode with 1736x1158 14bit 24fps. I had one corrupted frame. Yikes. Thought only higher framerates could cause this by now. Next time I'll enable kill global draw. Should keep it safe from pink frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on April 28, 2020, 07:11:44 AM
Sorry, forgot to write it, mode is 5k anamorphic, 10 bit 24fps
I don't seem to get pink frames on 1080p
I'll test with the extreme pro to see how it goes
What does the kill global draw option exactly do?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 09:19:08 AM
It kills global draw.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: raptor on April 28, 2020, 11:27:33 AM
Thanks a lot Danne and IDA_ML for the info!

Quote from: Danne on April 27, 2020, 04:25:45 AM
Lua can be used to modify shutter, iso, other settings. If frsp enabled shouldn't make no difference.

The reason I ask is because on my 550D the FRSP (or even Simple low res silent pic) doesn't work with exposure bracketing nor focus stacking. Only single photo is always taken. But I also experience the bug with a black screen after FRSP shot and have to always return to Live view by half pressing the shutter button again. So maybe FRSP mode is really much more limited on 550D. That is great if it works with bracketing and other features on EOS M.

Quote from: Danne on April 27, 2020, 04:25:45 AM
Longer shutter times than with 550d. Don't think so but not sure here.

What about the fastest shutter speed? I wonder if I could get at least the same results as 60D here (from 1/10 or maybe 1/30 sec to 5 sec):
https://www.magiclantern.fm/forum/index.php?topic=12523.msg122956#msg122956

Quote from: IDA_ML on April 27, 2020, 08:27:43 AM
The reason why I avoid using FRSP is that this mode does not allow proper aperture control on some of my best lenses and I cannot stop them down enough for reasonable depth of field.

Yeah, that is a big limitation of FRSP. Actually I play with the idea of getting a used Nikon lens and adpater because Nikon lenses (I don't know if all of them though) have a little lever that controls the aperture. Some of the adapters make use of it and allow you to move the lever (with a bigger lever or ring) thus manually setting the aperture. But of course the disadvantage of manual lens is that you cannot do automated focus stacking and if the adapter is not perfect there might be a little bit of play.
Do you have any lenses where the aperture actually worked with FRSP? If so, could you please state their full name?

Quote from: IDA_ML on April 27, 2020, 08:27:43 AM
I prefer the 5k anamorphic setting in the Movie mode instead.  The image quality degradation compared to FRSP is negligible and not perceptible unless you pixel peep at 100%.  Even then, you will barely see a difference in image quality.

That sounds interesting. I looked a bit into it and if I understand it correctly the anamorphic 5K setting just crops the photo (or frame).  What exactly causes the slight IQ degradation compared to the FRSP? Is it just the crop (resolution) or is there any bit depth degradation or even compression? This might sound stupid but I am gonna ask just in case :) ... is there any stretching or transformation applied to the image in camera?
What would be the highest resolution photo I could get with this anamorphic 5K setting? If there are any downloadable .MLV  shots of the same scene and with the same exposure (one taken with FRSP and one taken with anamorph. 5K) somewhere, that would be excellent.

Are there any other problems (vignetting, artifacts, ...) with silent pics on EOS M (FRSP or anamorph. 5K) to be aware of like described here?:

https://www.magiclantern.fm/forum/index.php?topic=12523.msg122916#msg122916
QuotePlus there is a strange top-corner vignetting after 1/30 which seems it exists anyway in the all pictures in every exporuse although it isnt always very noticeable.

Again, thanks a lot guys for your help! I appreciate it. I am sure it will be useful to other users as well. I asked a lot of questions, don't bother with all of them if you don't know the answer, I will be grateful for any info.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on April 28, 2020, 11:32:25 AM
Quote
Fun stuff. I recorded in a very bright setting a couple of days ago with hd1080p mode with 1736x1158 14bit 24fps. I had one corrupted frame. Yikes. Thought only higher framerates could cause this by now. Next time I'll enable kill global draw. Should keep it safe from pink frames.
I really like that, a nice but of extra resolution, though it's like 5:3. I tested it a while back on the M2 with Nikon G lenses, it was nice. I don't remember the dropped frame stuff. May have to test it again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 12:16:39 PM
It's kind of perfect for real estate filming grabbing the full sensor.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on April 28, 2020, 04:07:02 PM
hi guys, can you help me? in latest build i can't get working 1080hf in crop mode. i'm choosing 1080hf, full sensor works ok, but when i toogle to crop pressing SET button, picture becomes green/violet(different segments). i tried everything, changing bit, aspect rations, fps, etc. all menu tabs and different settings. but no luck in crop mode.
in previous builds it was ok by choosing slowmo 1080 crop mode from menu or slowmo 1080 + press set button.
What i'm doing wrong? thanks for advice!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 04:19:41 PM
Canon fps is set to what?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on April 28, 2020, 05:35:53 PM
i use 25fps in canon menu, but tried 24 and 30, nothing change
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 06:02:57 PM
Could you give me exact settings, preset, etc so I can try and reproduce. Preferrably a screen recording or printscreens to go with that?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on April 28, 2020, 07:12:39 PM
video with settings, you can see all in 2 minutes, after i tried different settings.
https://youtu.be/amfGy6QCDt0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 07:42:17 PM
Thanks for the vid. Reproduced the issue. I will take a look.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 08:14:28 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fix for higher frame rate modes in x3crop. Issue reported by @kuchka94

Edit: Still notice some black level issues in x3crop. Not consistent. Might take a look. Related to black level automation as always I suppose.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 28, 2020, 09:16:11 PM
Thanks for the update.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 09:22:26 PM
No problem.
Just pushed another build. Think the black level issue is fixed. Happened due to timing registry and only x3crop while in hf modes. Feel free to test and report back if working. Also look for pink frames. Maybe better timing now...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2020, 09:53:12 PM
Ok, tested new timer regs but the older ones seems better for non crop modes in higher framerate. Therefore I run the old timing regs for non crop mode but when in x3crop I enable new timing regs. Workaround. Not sure x3crop is even working good with higher framerates.
New build pushed again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 28, 2020, 10:13:22 PM
I did a quick test with kuchka94's settings (high framerate, 3x crop on/off, etc). Everything's fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kuchka94 on April 29, 2020, 01:30:19 AM
thanks! its perfect now :) all 46/48/50 fps  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: critix on April 29, 2020, 08:59:47 AM
Danne's latest changes, but for 2.0.3:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844 (https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 29, 2020, 09:39:13 AM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Decided to reduce x3crop to 47fps due to pink frames otherwise. Aiming to have 2.39:1 and 2.35:1 modes free from pink frames with higher frame rates. 16:9 is pretty much hit and miss here so leaving it for now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: critix on April 29, 2020, 10:07:37 AM
Danne's latest changes, but for 2.0.3:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844 (https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844)
with:
- Decided to reduce x3crop to 47fps due to pink frames otherwise. Aiming to have 2.39:1 and 2.35:1 modes free from pink frames with higher frame rates. 16:9 is pretty much hit and miss here so leaving it for now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on April 29, 2020, 01:21:17 PM
How are you guys getting these high frame rates? Can you only do this in crop mode and in raw? With the cinematic aspect ratio? 2:35?
Is shooting in raw the only way to get rid of the horrible rgb noise and aliasing I get when in normal/codec/not cropped mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 29, 2020, 01:42:15 PM
Quote from: Disease on April 29, 2020, 01:21:17 PM
How are you guys getting these high frame rates?
Select preset (1080p, 46/48fps), start recording.
Quote from: Disease on April 29, 2020, 01:21:17 PM
Can you only do this in crop mode and in raw?
Use RAW.
Quote from: Disease on April 29, 2020, 01:21:17 PM
With the cinematic aspect ratio? 2:35?
If you like you can setup this too.
Quote from: Disease on April 29, 2020, 01:21:17 PM
Is shooting in raw the only way to get rid of the horrible rgb noise and aliasing I get when in normal/codec/not cropped mode?
Reduce noise by proper exposure and enough light. Reduce aliasing e.g. with 5K modes or cropped modes (1x1 recording) and fast apertures.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on April 30, 2020, 11:11:19 AM
Hi everyone, i know i'm going to get "crucified" by asking this but here it goes... i got on the magic lantern bandwagon recently but i have yet to understand something that might be simple to understand to older people here in the community, in video mode i find the ratio option and when selecting the submenu raw video there's also aspect ratio option.

Why similar options in different menus? if i select 16:9 in movie tab what should i choose in the raw video submenu? i normally select 16:9 on both.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 30, 2020, 11:32:54 AM
Because I want the user to be able to use both. Not at the same time obviously.
Preferred way is to stick with those outside raw video menu cause they are customized to my presets.
It's impossible for me to have been working almost two years refining my eos m build, at the same time create explanatory pages.
My point of view. Any user must be able to do the work testing through on their own and simply make up their own mind and path on how to use this build.
Or simply ask here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 30, 2020, 12:24:56 PM
I'm not entirely sure but to my understanding Movie Tab ratio is about liveview crop (it restrains the maximum resolution) but gives you the proper liveview and the raw video aspect ratio concerns the resolution, if not matched it might need a desqueeze in post. It is the way it is for technical and performance reason.
edit: matching both is perfectly okay.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 30, 2020, 01:28:58 PM
Under raw video menu there's a good automated code for calculating ratios for all presets. Not always working optimal with my crop rec presets.
The way I started doing it was to set raw video ratios at max setting then limit raw buffer directly or with skip offsets or combining the two. This way I have control what part of the sensor to use and not. This is by no means perfect but It will let me refine and have better control on my experiments.
I was having some discussions with jiphop about taking out raw video resolutions but then again people tend to experiment on their own with resolutions so it stays.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on April 30, 2020, 01:50:58 PM
Yeah I'd assume that it's too complicated to explain in details to non ML devs.
It's hard to find the right balance between usability, user experience and simultaneously satisfy power users.
That's one of the reason why a lot of open source softwares seems clunky for newcomers (but there's other factors, like budget and time constraints, the lack of bug/feature reports, stubborn dev team etc).
edit: I think you did a good job so far. I have my own little lua video presets that are just made off of the 5k anamorphic script (if I need 10 bits with a slight increase in resolution or 12 bits depending of the lighting conditions for exemple).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on May 02, 2020, 09:17:40 AM
I got some assert file messages yesterday and soon after that "card full" reported from canon sw (I know since message is in the M language selected). The assert file reported about mlv lite packaging (deleted it as I tried to release space (silly me)). Now I wonder if I should go back to an empty card, then reload Ml and start up again. But if the messages are due to original parameters - I guess it will still be there, because the card is absolute not full -  I must probably re-format and start from absolute scratch. Any advice is very welcome before I am back at the desk today.

nightly 13 jan eos m 202.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on May 02, 2020, 09:39:13 AM
Re-card full-

None of the visible files on the sd card hold vast volume - disk say full with 31.9gb data, ML folder hold 36.7mb, EOSM 66kb, ML setup 98kb, auto exec 459kb. Thats all. Mac´s disk utility confirm full. So I guess I go back to start.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on May 02, 2020, 11:01:31 AM
Maybe can help making the format SD card from the Canon menu with the option not to delete ml files?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on May 02, 2020, 07:13:24 PM
Thanks. Will do. I have another SD card set up and use that at the moment. Experienced a pink artefact in the raw files I produced for test today. If I am able to include an image I will. I seem not able to edit it away in Resolve after converting to DNG or in MLVapp prior to.(https://www.magiclantern.fm/Users/onshus/Desktop/Untitled_1.1.1.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on May 02, 2020, 07:14:34 PM
Quote from: canoneer on May 02, 2020, 07:13:24 PM
Thanks. Will do. I have another SD card set up and use that at the moment. Experienced a pink artefact in the raw files I produced for test today. If I am able to include an image I will. I seem not able to edit it away in Resolve after converting to DNG or in MLVapp prior to.(https://www.magiclantern.fm/Users/onshus/Desktop/Untitled_1.1.1.jpg)

https://www.dropbox.com/s/0d5mgub0se5ow57/Untitled_1.1.1.jpg?dl=0

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 04, 2020, 08:55:48 AM
Earthquake shaking in the high-resolution modes of the EOS-M and 100D

Yesterday, I decided to film a few timelapses with the EOS-M at low frame rates (0,5 to 2 fps) using the Full Sensor Readout mode at 1736x2928 and the 4k (4080x2296) crop mode (1:1) at 12 bits lossless.  When I came back home, processed the footage with MLVApp and exported it at 24 fps, I was shocked.  It was entirely ruined by horizontal earthquake shaking, as we know it from the 7D before Dfort successfully managed to fix it in his latest experimental builds.  Initially, I thought, it was the wind causing the shake and my tripod was not stable enough but then I shot another test in my apartment and the shaking is still there.

What happens is that the image shifts horizontally by a few dozens of pixels back and forth from frame to frame.  This shift is also visible on the preview screen image while recording if there is a vertical contrasty edge in the scene.  This edge also moves back and forth every time the screen refreshes.  Fortunately, I was able to fix my footage by applying stabilization to it in Resolve.  If filming at higher fps (14 to 24 fps) the shaking does not seem to be so obvious and is hard to notice but stabilization makes it smoother meaning that it is probably there even at higher frame rates. 

I used the latest 29-th of April experimental build for the 2.0.2 FW version on the EOS-M, installed on the recommended 64 GB SanDisc Pro SD card but I found some unprocessed timelapse footage shot on the previous January 10-th, 2020 build and shaking is there too.

Here are my settings:

Shutter speed in the Canon Menu: 1/30 sec.

Video tab settings in the ML menu:
======================
presets: 5k anamorphic rewired
RAW video: ON 1736x2928 (16:9 ratio set in the submenu, Preview: Framing)
bit depth: 12 bit
shutter range: Full range
FPS override: 1 fps (actual shutter speed was 1 sec. at this setting)
everything else set to OFF

I used the same settings also with the 4k crop (1:1) mode, except for Presets.
===================================================

Here are a few samples before and after MLVApp conversion that illustrate the shaking phenomenon.  A stabilized sample is also included:

https://we.tl/t-F3KOCy4iGx

Has anybody else experienced this?  I have noticed that this phenomenon exists on the 100D too and is well reproducible too.  If necessary, I can post links to samples from that camera too.

Hopefully, it's an easy fix.


     

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on May 04, 2020, 09:30:38 AM
ref to earlier post:

........ The assert file reported about mlv lite packaging (deleted it as I tried to release space (silly me)). ..........

(nightly 13 jan eos m 202.)

Clip - only audio played by mlvapp.

The assert files hold versions of this text when generated to the card for my issue:

ML ASSERT:
0
at mlv_lite.c:2751 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1de948 [1de9d8-1dd9d8]
0x0009EC24 @ be6338:1de978
0x0009E564 @ 9ec80:1de948

Magic Lantern version : Nightly.2020Jan13.EOSM202
Mercurial changeset   : bdda3ceefa0c+ (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2020-01-13 17:08:33 UTC by Windows@ALPHA.
Free Memory  : 232K + 2610K

I am clueless to if this is due to my handling - the lighting conditions, lens (18-55), card (64gb SanDisk extreme pro), or settings(raw, 1736x976, 5 sec clip, 25fps, focal 42mm, 1/50s, 180 deg, f9.9 iso100, 14bit lossless, audio 2ch,48kkhz)

Next clips normal take and play so I am not having a stable problem. But on my other card -same build - 32gb same type - I have had reported available disk space 36gb on 32gb card - and full card when 7gb available - after same assert reports.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2020, 09:46:09 AM
@IDA_ML
I cannot reproduce. Works perfectly fine here.
It looks like your tripod wasn´t set alright. Is it happening still or only that time? Please test 5 or 10 more recordings and see if you can get steady issue reproducing.
If you want further examination please examine two dngs side by side that differs, extract metadata both with exiftool and from mlv metadata and see if anything changed. I have not time to do deeper analysis on my own.

I also used step 1 and two from here with fps override set to 1s shutter range ON and interval set to 3 seconds(should work with also interval of 1s). Also works perfectly:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg223302;topicseen#msg223302
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 04, 2020, 10:10:16 AM
I checked the issue with the two latest experimental builds, starting from the default preset and shot dozens of timelapses with sometimes turning camera off and on inbetween to save battery power.  Shakiness was observed in all clips.  It is most obvious at 1 fps.  I also tested the 100D with your latest build - same situation.  I did not use the intervalometer on the EOS-M because the settings that I listed gave me perfect reciprocity (fps/shutter speed = 1) and I was happy with that.   I just press the record button to start and stop the video.  This worked perfectly on the 100D last summer, (no shaking), with the older builds back then.  I am surprised that you could not reproduce it with my settings.  Could you please just try without intervalometer, with settings from my previous post?  When you have time, of course!  It's definitely not the tripod!  Please take a look at the samples that I sent and compare with the stabilized one. 
I am too busy right now but will continue testing, as you suggest, when I find some time.  Will try the intervalometer option too. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2020, 11:02:54 AM
Already tested without intervalometer. Works perfect. I suggest you try and narrow down exact settings creating this effect. Could take a while so be patient. Good luck.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 04, 2020, 11:08:49 AM
Danne,

Just did another brief test with the camera placed on a very massive and heavy table inside.  It reveals that the shakiness is there also at 14,288 fps in the 5k anamorphic mode.  At this fps it is harder to see but it's there. This sample was shot at 14 fps, 10-bit lossless, then exported with MLVApp at 24 fps and finally, scaled down to 1920x1080 in Resolve to make the file smaller.  A stabilized version was created too.  The comparison of both samples you can download from here:

https://we.tl/t-xyV5n7dd57

Please watch very carefully!   The difference is hard to see if you don't know what to look for - the horizontal shifts!

Got to run now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2020, 11:32:03 AM
As I told you. Cannot reproduce. If you want more careful inspection I need screenrecordings, screenshots etc that fully in detail shows me what is going on. Sending me more files won´t solve the issue.

Edit: You also need to test other settings to see if you can narrow down the issue. Hopefully you follow exact steps to run basic set up leaving certain parameter alone but I suspect you do all kinds of personal changes not told here(or that I miss to see) so I really will need to see screen recordings of exactly what you do. Not only what you tell/describe.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 04, 2020, 03:28:22 PM
I will, don't worry!  Just let me get back from work and I will continue testing.  Timelapse videography is one of my favorite photographic genres and ML has always done a great job for me in that area.  Never had that problem before.  I will do my very best to figure it out and will report my findings here.  Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2020, 03:40:02 PM
Yeah, strange. Tested both 4k and 5k anamorphic flv. What we need is one setting that will be 100% reproducible. Maybe it is af or fps override related, I have no idea really.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2020, 08:24:00 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Fix for issue enabling correct map file in mlv app when in x3crop mode no ratio set. Thanks to @blackbar:
https://www.magiclantern.fm/forum/index.php?topic=16054.msg226786#msg226786
- Yet another upload. Refining centre for higher frame rates
- Testing consistent 48fps also for x3crop mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 05, 2020, 05:47:03 PM
Danne,

After two more days of testing, I finally found out the reason for the shaking.  It was a totally unexpected hardware effect, that I never experienced before - it was the image stabilizer of the lens that I used - the EF 35/F2 IS.  I thought, it should automatically recognize when the camera is on a tripod and turn the IS off.  However, this was never the case.  It would stay on all the time while on the tripod providing a perfectly stable footage.  When I used this lens for filming timelapses in the past, I always left the IS on, even when using a tripod since it would nicely compensate for small tripod vibrations caused by the wind.  Not this time though - when on the tripod, the IS now causes shakiness itself.  I have no idea why.  It still works perfectly stabilizing hand held footage at 24 fps but when filming on a tripod at low fps the shakiness is there.  Turning IS off results in an idealy stable tripod footage.

It was a good exercise, for me at least, since I checked all timelapse functions thoroughly and they all work fine, with IS off, of course.  The settings that I described in my post #4077 can easily be reproduced and I can lower the fps down to 0,544 fps (shutter speed 1,8 sec.) - perfect for slowly moving clouds.  Anamorphic 5k Full Sensor Readout footage looks gorgeous on a 30-inch screen.  I use this mode a lot if I need high-resolution aliasing free footage at 14,288 fps.  If I need to film a timelapse in between, all I need to do is lower the frame rate to 0,5-2 fps.  Have not tested your today's build yet but the January 10-th one works great for timelapse work.

I apologize for the false alarm and inconvenience that I may have caused to you and thank you for your patience with me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 05, 2020, 05:56:36 PM
Quote from: IDA_ML on May 05, 2020, 05:47:03 PM
It was a totally unexpected hardware effect, that I never experienced before - it was the image stabilizer of the lens that I used - the EF 35/F2 IS.  I thought, it should automatically recognize when the camera is on a tripod and turn the IS off.
Well, good you cleared that one out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on May 05, 2020, 06:17:44 PM
With the camera on a tripod, I turn off the IS. I've been doing this since the night I photographed the stars. They were so strange that I even advertised the lens :) Within 15 seconds of exposure, IS moved stars by 1-2 pixels ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2020, 04:32:14 AM
Quote from: IDA_ML on May 04, 2020, 10:10:16 AM
I did not use the intervalometer on the EOS-M because the settings that I listed gave me perfect reciprocity (fps/shutter speed = 1) and I was happy with that.
Intervalometer itself don't affect your shutter speed. It gives you control over interval between frames. Right now you're recording 1 fps continuous but timelapse effect often benefits from longer pauses between takes.
On a sidenote one can achieve more control over shutter working with frame averaging. Record bursts of 24 frames if doing 24fps presets. In post average these bursts into single files. Effect should be the same as doing fps override 1s but without any latency in liveview. Also opens up to use  a greater aperture, no need for nd filters etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 06, 2020, 09:18:39 AM
Quote from: Danne on May 06, 2020, 04:32:14 AM
On a sidenote one can achieve more control over shutter working with frame averaging. Record bursts of 24 frames if doing 24fps presets. In post average these bursts into single files. Effect should be the same as doing fps override 1s but without any latency in liveview. Also opens up to use  a greater aperture, no need for nd filters etc.

Thanks a lot for this clarification, Danne.  I didn't know about these useful additional effects of the intervalometer mode.  Just thought, it will be good to set the pause between frames and the duration of the take.  Will play more with it before heading for my next timelapse filming.

By the way, I think that the 5k anamorphic full sensor readout mode is revolutionary!  Finally aliasing free footage of very high quality, even with Dual ISO.  I don't fear filming continuous regular video at 14 fps any more.  Interpolation to 24 fps in Resolve really provides excellent results and very smooth beautifully looking video due to the nice motion blur.  Great job on that one!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 06, 2020, 09:42:15 AM
I also have another question about a function that would make our lives easier.  Would it be possible to memorize specific custom settings, that differ from the hard coded presets, similar to C1, C2 and C3 on the 5DMkIII?  These custom settings should be easily accessible as on the 5D3.  Why, and aren't the already available presets not enough?

Well, not really.  I often change modes and when I go back to a previous mode, something has changed (shutter speed, shutter fine tuning or resolution, etc. ), so I have to adjust these settings again and this takes valuable time and wastes battery power.  If I have a specific setting that I use often and I can store it as C2 for example, after filming in another mode or use another preset, every time I want to come back, I simply select custom setting C2 and it restores all of my settings stored in that custom mode.  This is how they do it in the 5D3. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2020, 10:03:26 AM
In later builds 5k anamorphic flv is at 10fps. This to be able to use the full sensor readout.
Custom save could probably be done to a config file but for me a lot work involved and nothing I would really use. A much better approach for you is to build a custom preset list with lua and put it in lua section.
A lot of ongoing lua progress around here so you could ask someone or try yourself.
Or even buy an extra eosm. They´re cheap enough...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 06, 2020, 10:59:43 AM
Yes, if someone familiar with LUA scripting would be interested in jumping in and implementing this additional custom functionality, I am sure, this will make many EOS-M shooters quite happy.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2020, 11:05:03 AM
What many wants is maybe not that relevant if you think about it.
If you can't find time to do it yourself just create a post describing what you want someone else to do for you. If possible suggest a little sum of money or volunteer as a tester.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 06, 2020, 11:37:58 AM
Yes, of course I would volunteer as a tester - I am interested in that myself.  I did that a lot in the past, remember?

The idea is to memorize a current set of settings, (say timelapse filming at 5k anamorphic with intervalometer active - C1), on a push of a button for C1-C3, just as this is done in the 5D3.  And then, restoring those C1 settings, (from say 1080p MCM rewired),  should be possible on a push of a button and maybe a C1-C3  selection from a submenu too.  The quick selection of ISO and aperture on a push of a button is simply fantastic, as it is now in the EOS-M.  Custom sets of C1-C3 settings should be selectable in a similar way too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2020, 11:57:22 AM
Yes I know what you mean. Better you start a new forum post dedicated to this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Disease on May 06, 2020, 05:13:04 PM
I am actually getting into this camera a lot more, I forgive its aliasing and other issues because its like a damn swiss army knife with ML installed.
Also I love the actual ergonomics of the camera, its a solid piece of metal, its tough, small, easy to hold. I love taking shots in the streets and stuff and no one cares when you have a tiny little cam like this. The still images are actually really nice out of the cam, the video footage is like muddy and aliasing and moire but still better than most cheap camcorders and this cost me £100 with the kit lens! Also the audio in is nice and clean, just chucked in a lapel mic and record nice clean audio.

One thing is though the audio seems to be coming in much hotter than the meter indicated? Was literally almost clipping when I saw it on the timeline... Noted it is a little on the hot side, better to have too much gain than not enough like the BMPCC!

I hope the more I master this camera I can get cleaner images from the video, but for now, for a bit of fun and a decent stills camera its a steal. I have a better camera if I want some cleaner video. It is also good to have this community here to ask any questions and learn from...

See that darn RGB moire crap in the trees? Is that normal?

https://youtu.be/Vp6nGto8SVk
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2020, 05:57:19 PM
It's as good as 5DIII in 5k anamorphic mode. 2.5k 1x1 crop is stellar too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on May 06, 2020, 09:48:00 PM
Quote from: Disease on May 06, 2020, 05:13:04 PM
See that darn RGB moire crap in the trees? Is that normal?

Yes, this is normal in the 3x3 modes.  You can lessen moire and aliasing doing the following:

1) Try to avoid filming in high-contrast lit scenes.  Avoid high-contrast edges and straight lines in your scenes;

2) If possible, try not to use your sharpest lenses.  Vintage manual focus lenses do a great job in reducing moire and aliasing!

3) Try to film in the full sensor readout 5k anamorphic mode at 14 fps and then using the optical flow method in Resolve, interpolate your footage to 24 fps.  This works best for me.

4) Play with the chromatic aberation slider in MLVApp to suppress the color artefacts.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 09, 2020, 09:16:51 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- refining higher frame rates
- custom modes


Been having issues with higher framerates for a long time. This is an attempt to fix frame corruption and increasing resolution for no ratio and 16:9 ratio. These modes needs testing so any help would be appreciated. There´s still a chance for frame corruption if you enable set_25fps. This will give you 48fps in 2.39:1 and 2.35:1 ratios. Otherwise 46fps.
Kill global draw enabled is mandatory for corruption freeness.

The other feature is about custom modes. Works like this. Upon installing magic lantern a folder tree is built but will not become active before a first reboot after install. Not the nicest way but better than having to go in manually and create these custom folders. Folders can be renamed to whatever you like. Folders are located in SETTINGS folder on your card.
How to use custom modes. Simply select a mode i.e CM1 and restart camera and then start customize any magic lantern setting. All will be saved into this folder. If you want more modes choose another i.e CM2 and restart camera and keep customize.
You can copy these folders into new magic lantern builds in the future if you like too. A small text with chosen custom mode will be showing in the right corner when checking menus to let you know where you are saving settings into.
More info from a1ex post here:
https://www.magiclantern.fm/forum/index.php?topic=24993.msg226872#msg226872

Higher fps refining
(https://i.postimg.cc/hP4fLftQ/VRAM0-PPM-500px.png)

Before first reboot
(https://i.postimg.cc/brqtnr4L/VRAM2-PPM-500px.png)

After reboot
(https://i.postimg.cc/vBrnDf2c/VRAM3-PPM-500px.png)

Thanks a1ex, Walter Schulz, IDA_ML


EDIT: reduced 16:9 to 38 fps for continuous recording reasons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on May 09, 2020, 09:50:24 AM
Little hint about renaming:
You should only use 12 characters if you rename your folders (because of 8.3 naming convention). Failing to do so will force cam to create a copy of your folder and name will be shortened to fit.

Example:
Folder name JustALongString will create a second folder named
JustALongStr

Both folders will show up in menu with just 12 characters visible. You can't tell them by name but the first one from top will be the one you created.
Try to avoid this.

This feature can handle up to 13 folders.

Your cam will order folders chronological according to folder creation or rename date!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on May 09, 2020, 03:25:35 PM
Quote from: Danne on May 09, 2020, 09:16:51 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Looks really good Danne, congrats! Saves me from switching SD Cards each time ;). I'll test it out tomorrow. Cheers! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 09, 2020, 07:35:59 PM
Updated build again:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

No need for rebooting to get custom mode list enabled after vanilla install. Reboot still needed before customizing though. You need to be in one of the custom modes to be able and store configurations in the selected mode:
https://www.magiclantern.fm/forum/index.php?topic=24993.msg226973#msg226973

Thanks a1ex.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on May 10, 2020, 01:26:38 AM
Quote from: Danne on May 09, 2020, 09:16:51 AM
These modes needs testing so any help would be appreciated. There´s still a chance for frame corruption if you enable set_25fps. This will give you 48fps in 2.39:1 and 2.35:1 ratios. Otherwise 46fps.

This one just caught the corner of my eye. I've been hiding in the shadows as of late meanwhile watching Danne's bitbucket page which keeps on growing and yet still get updates periodically.  8)

That tells me that this community is still thriving (maybe not to the best of our ability) regardless of the unprecedented times we're all in. I'll definitely give this one a test run re: high FPS.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: JRTRR on May 15, 2020, 01:49:08 PM
Hi I'm James and I could really use some help.
I tried installing the most recent build of Magic Lantern for my Canon EOS M and it hasn't worked properly. I installed the build from the Dannephoto may 9th version and copied it onto my SD card. After putting in the SD card into my camera and clicking on the firmware update it said that it was incorrect and told me to remove my battery. I then went back in to my camera to find that the firmware had changed from 2.02 to 2.03 but Magic Lantern still hasn't installed. If anyone can give me any help on how to fix this it would be greatly appreciated as I am very unsure of what to do to fix this and add Magic Lantern another way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 15, 2020, 10:01:31 PM
Unclear description. If you´re on firmware version version 2.0.3 downgrade to 2.0.2 and then it will work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 16, 2020, 09:52:18 PM
Danne did You changed structure cause croprec is not in modules in jiphop branch , i used hg clone https://bitbucket.org/Dannephoto/magic-lantern_jip-hop   like before
What should i clone and merge  ?
Quote$ hg update crop_rec_4k_mlv_snd_raw_only
abort: unknown revision 'crop_rec_4k_mlv_snd_raw_only'!

hg clone https://bitbucket.org/Dannephoto/magic-lantern_jip-hop
cd magic-lantern_jip-hop
hg update crop_rec_4k_mlv_snd_raw_only
cd platform
cd eosm.202


ok solved it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 16, 2020, 10:29:19 PM
hehe, good. I was a bit surprised myself for a while but my brainfreeze just stopped here as well ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 16, 2020, 11:11:24 PM
I noticed that anamorphic 1x3 mode does not work without ratio enabled, is it how its made, or a bug ? Cause normally i disable ratio and i change aspect ratio in tother submenu with resolutions and all cause it has a lot more options and ratios.
So when i turn off ratio and want to use anamorphic 5k 1x3 (second mode on the list under HD1080P) then half the image is pink and its single frame.
Not like its not working cause all you need to do is enable ratio menu.But i must admit i thought i changed some values in croprec by mistake and tried to figure it out,  cause i thought i broke that mode by tinkering.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 16, 2020, 11:32:16 PM
What happens when ratio is off it goes into flv full resolution live view and in 10 fps. That is you push menu button a couple of times to get the regs to settle.
When in this mode you can enable set_25fps and you'll get 2.35:1 full width 1736 in 18 fps.
Otherwise I hardcoded the selection in Movie tab menu.
Experimenting with other resolutions can be done from ratios off but it starts off in 10fps. Not likely that increasing fps with fps override will go more than 12 fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 16, 2020, 11:43:54 PM
I see, would it be possible to get 4:3 ratio as well in ratio menu? It could be useful, what should i include to get new ratio, but now that i see it, requires shitload of regs  :o
Can i modify it from 16:9 ? And just use more skip pixels on left right
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 12:09:11 AM
Yes, go from 16:9 should work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 17, 2020, 12:11:07 AM
 but that won get max vertical res i suppose? or i should i simply not skip any pixels on bottom and top to get full vertical res ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 12:22:42 AM
I don´t use 4:3, I did not experiment with max resolutions with this ratio.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 17, 2020, 12:32:56 AM
I skipped 0 from bottom in 4:3 but it gained only 20 pixels, where i can extend vertical resolution of anamorphic mode ?

   [CROP_PRESET_anamorphic_rewired_EOSM]  = { 1290, 1290, 1290,  960,  800 },
    [CROP_PRESET_anamorphic_EOSM]  = { 1290, 1290, 1290,  960,  800 },

This ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 12:49:46 AM
In this function register 0xC0F06804 alters resolution. Will probably break pixel maps. You can find height and width in the sub menu too. And you need to match 0xC0F0713c when modifying 6804:
static inline uint32_t reg_override_anamorphic_rewired_eosm(uint32_t reg, uint32_t old_val)
{
   
    /* gets rid of the black border to the right. Connected to mlv_lite which takes over these regs while recording  */
    if (!RECORDING)
    {
        EngDrvOutLV(0xc0f383d4, 0x4f0010 + reg_83d4);
        EngDrvOutLV(0xc0f383dc, 0x42401c6 + reg_83dc);
    }
   
    if ((ratios == 0x1 || ratios == 0x2) && presets != 0x8)
    {
        switch (reg)
        {
                /* 2.39:1 or 2.35:1 */
            case 0xC0F06804:
                return 0x78101e4 + reg_6804_width + (reg_6804_height << 16);
            case 0xC0F0713c:
                return 0x781 + reg_713c;
               
                // case 0xC0F06824: return OUTPUT_12BIT ? 0x5d4 + reg_6824: 0x69d + reg_6824;
                // case 0xC0F06828: return OUTPUT_12BIT ? 0x5d4 + reg_6824: 0x69d + reg_6824;
                // case 0xC0F0682C: return OUTPUT_12BIT ? 0x5d4 + reg_6824: 0x69d + reg_6824;
                // case 0xC0F06830: return OUTPUT_12BIT ? 0x5d4 + reg_6824: 0x69d + reg_6824;
               
            case 0xC0F06014: return set_25fps == 0x1 ? 0x89f + reg_6014: 0x89f + reg_6014;
            case 0xC0F0600c: return set_25fps == 0x1 ? 0x25b025b - 24 + reg_6008 + (reg_6008 << 16): 0x25b025b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06008: return set_25fps == 0x1 ? 0x25b025b - 24 + reg_6008 + (reg_6008 << 16): 0x25b025b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06010: return set_25fps == 0x1 ? 0x25b - 24 + reg_6008: 0x25b + reg_6008;
               
                /* dummy reg for height modes eosm in raw.c */
            case 0xC0f0b13c: return 0xd;
               
        }
       
    }
   
    if (ratios == 0x3 && presets != 0x8)
    {
        /* 16:9 */
        switch (reg)
        {
               
            case 0xC0F06804:
                return 0x78101e4 + reg_6804_width + (reg_6804_height << 16);
            case 0xC0F0713c:
                return 0x781 + reg_713c;
               
                //case 0xC0F06824: return OUTPUT_12BIT ? 0x638 + reg_6824: 0x69d + reg_6824;
                //case 0xC0F06828: return OUTPUT_12BIT ? 0x638 + reg_6824: 0x69d + reg_6824;
                //case 0xC0F0682C: return OUTPUT_12BIT ? 0x638 + reg_6824: 0x69d + reg_6824;
                //case 0xC0F06830: return OUTPUT_12BIT ? 0x638 + reg_6824: 0x69d + reg_6824;
               
            case 0xC0F06014: return set_25fps == 0x1 ? 0x89f + reg_6014: 0x89f + reg_6014;
            case 0xC0F0600c: return set_25fps == 0x1 ? 0x25b025b - 24 + reg_6008 + (reg_6008 << 16): 0x25b025b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06008: return set_25fps == 0x1 ? 0x25b025b - 24 + reg_6008 + (reg_6008 << 16): 0x25b025b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06010: return set_25fps == 0x1 ? 0x25b - 24 + reg_6008: 0x25b + reg_6008;
               
                /* dummy reg for height modes eosm in raw.c */
            case 0xC0f0b13c: return 0xd;
        }
    }
   
    if ((!ratios || presets == 0x6) && !set_25fps)
    {
        /* full readout */
        switch (reg)
        {
            case 0xC0F06804: return 0xcd701e4 + reg_6804_width + (reg_6804_height << 16);
               
            case 0xC0F06014: return 0x14E7 + reg_6014;
            case 0xC0F0600c: return 0x2550255 + reg_6008 + (reg_6008 << 16);
            case 0xC0F06008: return 0x2550255 + reg_6008 + (reg_6008 << 16);
            case 0xC0F06010: return 0x255 + reg_6008;
               
            case 0xC0F0713c: return 0xcd7 + reg_713c;
               
                /* dummy reg for height modes eosm in raw.c */
            case 0xC0f0b13c: return 0x11;
        }
    }
   
    //silent film mode
    if ((!ratios || presets == 0x6) && set_25fps)
    {
        /* full readout */
        switch (reg)
        {
            case 0xC0F06804: return 0x8a301e4 + reg_6804_width + (reg_6804_height << 16);
               
            case 0xC0F06014: return 0xbcf + reg_6014;
            case 0xC0F0600c: return 0x24b024b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06008: return 0x24b024b + reg_6008 + (reg_6008 << 16);
            case 0xC0F06010: return 0x24b + reg_6008;
               
            case 0xC0F0713c: return 0x8a3 + reg_713c;
               
                /* dummy reg for height modes eosm in raw.c */
            case 0xC0f0b13c: return 0x11;
        }
    }
   
   
    return reg_override_bits(reg, old_val);
}
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 01:10:33 AM
Think you should go for 1280x2880.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 17, 2020, 09:59:52 AM
I have no experience with altering these values, while changing framing was easy, this is not, when i try to change 6804 and 713c values in submenu then they wont affect anything.Its out of my skillset, i wanted to get 4:3 for anamorphic with true anamorphic lenses that require 4:3 to squeeze 2x image, also for 16mm film look and extend vertical res a bit.
But if it breaks pixel maps, maybe its not worth it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 11:04:46 AM
I tested some. You could start out with ratios off and then delimit height_6804 in sub menu. Delimit reg 713 with the same value. Decrease reg 6014 and reg 6008 to raise fps. If image breaks mess with cmos 7. Test set it to 341.
Problem is I think we need to go too low in height to achieve 24 fps. Personally not worth it but I could take a look building a preset to test.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: critix on May 17, 2020, 11:25:16 AM
Danne's latest changes, but for 2.0.3:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844 (https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844)
Thanks, Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cmh on May 17, 2020, 05:04:52 PM
I'll upgrade the firmware and test this out.
edit: so far so good, I'll keep it for at least a couple of weeks and report back if there's any problem.
edit 2: the preview seems stuck at real time, I can't get the framing mode (I checked the menu, tested various profiles, uninstalling/reinstalling).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 17, 2020, 07:58:53 PM
Its complicated, without ratio and fps override i have max 14fps,but with override and ratio its normal 23.976 and normal shutter speeds .
I guess it will be easier to just modify 16:9 and crop on sides to get 4:3 instead of trying to make taller frame.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 09:29:08 PM
Yes. Full resolution to the cost of fps but you could reverse it and find sweet spot of 4:3. If worth the hassle that is...

Edit: Speaking fps. There´s some lock in h.264 when recording with increased fps. Sure would be nice to find out what´s stopping the camera from recording here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 17, 2020, 10:18:29 PM
I was hoping id be able to add to hortizontal res some pixels from 1104x1870 to like 1200 and crop sides to get 4:3  1167x1970 maybe.
Thats just using calculator and dividing horizontal res by 3
https://calculateaspectratio.com/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 17, 2020, 11:21:09 PM
1167x1970 isn´t 4:3?

Here´s 24 fps at 960x2156. Tweaked from within crop rec. Starting out with ratios OFF. Could become a preset. Renew regs by pushing menu bottom after tweaking regs:
(https://i.postimg.cc/FRW53sV6/VRAM4-PPM-500px.png)

(https://i.postimg.cc/W47Pp7FT/VRAM5-PPM-500px.png)

(https://i.postimg.cc/635x8GnR/VRAM1-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 18, 2020, 03:06:20 AM
Ah, yeah i see its working , but for me its hard to tweak cause when i change values lets say from -1100 to -600 then i get black screen and have to restart and manually change all values again and again.
Would that work with fps override to 23.976 like other ratio modes ?

Im tryint to test whats highes tvertical i can get

I have 1008x2256 with  reg713 at -1000 , 10 bit
Higher ones from -900 freeze my screen on one frame, where should i make it work again ? I tried CMOS 7
Can we get similar results by just skipping top and bottom from full 3256 ? then adjust horizotal res to get 4:3 , and then fix framerate? I tried but got black screen, had to pull battery, i get that when i change regs to fix fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 18, 2020, 05:35:44 AM
What I showed you is probably the best we could get.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 18, 2020, 11:08:57 AM
yeah, but with my cctv lens CMOS5 at 60 is better than 20 because of less vignetting, almost no at all, ideally i would move the entire frame 100 pixels up from CMOS5 -20 and not use 60 if its conflicting but i cant seem to find the right spot, i tried cmos5 and 7 and i cant move entire framing higher, only lower.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 18, 2020, 11:28:32 AM
Yes, if you get anything working I could take a look. Maybe throw it in as a hidden preset or whatnot.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 18, 2020, 12:41:38 PM
OK got it working perfect with ideal framing, Your values untouched but i changed CMOS7 to value 5 instead of 8, so frame goes a bit up, but would that work with fps override like other ratio modes ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 18, 2020, 12:47:28 PM
You tell me. You have all the regs and tools to test out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 18, 2020, 01:26:23 PM
It doesnt work now, maybe cause it was adjusted for values of ratios that are already there.
And lining up fps and CMOS7 changed to 5 doesnt work like with 8, theres part of the image on top thats misalligned, adjusting 2778 to lower values is decreasing fps, higher ones show black screen requiring reset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 18, 2020, 02:50:11 PM
Well, what I showed before worked for 24fps:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg227252#msg227252

More height or increasing fps will probably break things.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on May 18, 2020, 05:30:59 PM
Yes i agree , to center framing i wanted to get it to work with 5 instead of 8 on cmos7 but no success, i mean it works but not with 24fps
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on May 19, 2020, 12:55:00 PM
hello everyone is it some settings to reduse moire in 1080 rewired mode? Or maybe reduce it in post or when converting from mlv to dng ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 19, 2020, 03:42:29 PM
Quote from: ctfire on May 19, 2020, 12:55:00 PM
hello everyone is it some settings to reduse moire in 1080 rewired mode? Or maybe reduce it in post or when converting from mlv to dng ?
Yes. Record with open aperture and do not use the sharpest lenses. In MLVApp you can filter color moiree (not for RAW export), but luma moiree will still be there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on May 19, 2020, 05:05:07 PM
Quote from: masc on May 19, 2020, 03:42:29 PM
Yes. Record with open aperture and do not use the sharpest lenses. In MLVApp you can filter color moiree (not for RAW export), but luma moiree will still be there.


Don't find an option in MLVapp to reduce color moire, could you please make a screenshot where is it? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 19, 2020, 06:36:17 PM
Quote from: ctfire on May 19, 2020, 05:05:07 PM
Don't find an option in MLVapp to reduce color moire, could you please make a screenshot where is it? Thanks
This feature does the magic: https://github.com/ilia3101/MLV-App/wiki#ca-desaturate--radius
It was thought to reduce CAs, but it works nicely for color moiree as well.
Before:
(https://i.ibb.co/kMNjWDX/Bildschirmfoto1.png)
After:
(https://i.ibb.co/sKjZ4vY/Bildschirmfoto2.png)
Before:
(https://i.ibb.co/ssLbWZw/Bildschirmfoto1.png)
After:
(https://i.ibb.co/cDnz7PG/Bildschirmfoto2.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on May 19, 2020, 07:14:17 PM
Quote from: masc on May 19, 2020, 06:36:17 PM
This feature does the magic: https://github.com/ilia3101/MLV-App/wiki#ca-desaturate--radius
It was thought to reduce CAs, but it works nicely for color moiree as well.
Before:
(https://i.ibb.co/kMNjWDX/Bildschirmfoto1.png)
After:
(https://i.ibb.co/sKjZ4vY/Bildschirmfoto2.png)
Before:
(https://i.ibb.co/ssLbWZw/Bildschirmfoto1.png)
After:
(https://i.ibb.co/cDnz7PG/Bildschirmfoto2.png)
THANK YOU!



ЕРФТЛ НЩГ
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: joeyvfx on May 21, 2020, 02:59:38 AM
That CA reduction feature is super handy. Personally, i'm trying to get used to shooting with wider lenses in 3x crop mode, just so I don't have to deal with aliasing at all, but that has it's limits too.

Question, kinda off topic - would it be possible to someday fix focus peaking on external monitors? To my knowledge it hasn't displayed properly in any ML build for the EOS M, regardless of how the hdmi settings are changed. It works beautifully on my T2i, but on the EOS M everything gets shifted around and flickers in weird ways.

Here's an example of how it glitches out, this is on my FeelWorld S55: https://i.imgur.com/BkNZgI7.jpg (https://i.imgur.com/BkNZgI7.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on May 21, 2020, 06:04:18 PM
@Danne - Do you think I can donate a little money for you to enable 10-Bit+ and Framerate Override for .H264 on EOS M and M2, whenever you have time? Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 21, 2020, 06:15:29 PM
Not interested. If possible it would already have been done.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on May 21, 2020, 08:54:16 PM
Quote from: Danne on May 21, 2020, 06:15:29 PM
Not interested. If possible it would already have been done.
Oh, alright. I assummed it wasn't done because nobody cared for h264 but one of the uses I have for these is to record 8 hours straight. Not really practical at all with RAW for 1TB SD card costs and file sizes. Thanks for the response.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 21, 2020, 08:58:14 PM
You can set fps override to 34 fps for h.264, seems max.
You could also enable 46 fps 2.39:1 with hfs mode and then turn off raw video. You will get a nice h.264 file but needs stretching in post. Whn doing this see to it that canon menu is set to 50 or 60fps. In this mode I think you can even do fps override to 50fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on May 21, 2020, 10:53:14 PM
Quote from: Danne on May 21, 2020, 08:58:14 PM
You can set fps override to 34 fps for h.264, seems max.
You could also enable 46 fps 2.39:1 with hfs mode and then turn off raw video. You will get a nice h.264 file but needs stretching in post. Whn doing this see to it that canon menu is set to 50 or 60fps. In this mode I think you can even do fps override to 50fps.
I only tried on the M2 since my M doesn't arrive until tomorrow... FPS override didn't work at all on M2 with H264. I dont think aspect ratio settings work either. I was just wanting true 24p instead of 23.976 to match my main cameras. I'll mess around with the M tomorrow to see if anything works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 21, 2020, 11:08:02 PM
Practically nothing works for the eosm2. Default raw buffer, no raw_slurp due to freezes.
Most stuff works with eosm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on May 21, 2020, 11:10:57 PM
Quote from: Danne on May 21, 2020, 11:08:02 PM
Practically nothing works for the eosm2. Default raw buffer, no raw_slurp due to freezes.
Most stuff works with eosm.
lol... well, you can at least get it to do raw mv1080 and true 24fps stable continuous. With the merged build at least.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 21, 2020, 11:15:40 PM
Quote from: Mythic Cinema on May 21, 2020, 11:10:57 PM
lol... well, you can at least get it to do raw mv1080 and true 24fps stable continuous. With the merged build at least.
I know, It´s mainly my branch in there. Well, dfort and of course a1ex started it out and layed out the ground work. mv1080p is working because delimed to default raw buffer. True 24fps, what does it even mean. Anyway. You can tweak and modify anything on the eosm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on May 22, 2020, 01:42:48 PM
Quote from: Danne on May 21, 2020, 11:15:40 PM
I know, It´s mainly my branch in there. Well, dfort and of course a1ex started it out and layed out the ground work. mv1080p is working because delimed to default raw buffer. True 24fps, what does it even mean. Anyway. You can tweak and modify anything on the eosm.
It just means actual 24 frames per second, instead of 23.976 (23.98) broadcast framerate. Mostly used in movies and cinema DCP packages. Yeah, I might replace two of my M2s with M models just to have more options on more cameras.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GregZ on May 31, 2020, 08:51:19 AM
Hi  I am new to this  - I just got a sandisk extreme pro 256GB SD card and when I benchmark it in ML it says it will write/read at around 35 Mb/sec. Is this why my EOS M won't record RAW video? Is there a better card I should be getting or is it my settings (oh my, so many settings!)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on May 31, 2020, 08:29:28 PM
Hi Danne,
I'm starting to test ML, a new world for me.
There is a changelog for your distro of ML?
Tnx
Giovanni
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 31, 2020, 11:35:03 PM
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fanfzero on June 01, 2020, 04:17:34 AM
I did some tests 2 days ago, mcm 1080 14 bit (except for the shot of the big fountain and the one of the white goose), graded in davinci and exported to 4k so youtube doesn't ruin the quality  I know it's not the best, but it's my first try outside home
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeeLooMultiPass on June 01, 2020, 10:57:00 PM
Hi.  Im struggling to find the eos m 2.0.3 magic lantern file.  Can someone point me in the right direction please?

Ive been using 202 with no issues, i know the 203 is experimental at this time

Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 03, 2020, 03:20:54 AM
Top of page -> Downloads -> Download nightly builds -> EOS M 2.0.3
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: seguracine on June 03, 2020, 11:40:01 PM
Quote from: WilliamEwart on April 23, 2020, 05:16:17 PM
Thank you. What is the bit depth that you can get at that resolution?
hola tengo la eos M6 mark II  me gustaria grabar a 3840x1600 ¿sabes ai hay algun sotfware?
[email protected]
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: avivara on June 04, 2020, 02:09:35 PM
Hi, sorry but im new on the forums, what happens if i install other magic lantern camera version on my camera?? i have EOS 6D Mark II, sorry for the stupid question, but it will be brick?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Dracnath on June 04, 2020, 03:25:27 PM
I've been reading and attempting to understand as much as possible about the ML world - as it relates to the EOS M.  So far this is what I've been able to pick up.

The EOS M seems to be one of the better supported cameras.  While the ML site shows the latest build is back from 2018 that doesn't tell the whole story.  Because...

What I haven't figured out yet?

Unlike most people running ML, my main objective is to use the EOS M as a webcam.  I intend to have it going out via hdmi into a capture card.
I've figured out I can turn overlays off by going to the "Display tab/screen" menu and enabling "Clean Overlays". 
BUT what I'm unsure of is...
Will this work for long sessions?  Will I be overheating or some other way killing the camera if I've got it running for a two hour VC?
How do I keep the camera turned on?  It seems to want to automatically turn off after a set period of time.
What's the best/most stable firmware for my unique use case?

Any help or thoughts appreciated, and hopefully this is a useful post for newbs like me and can avoid some unnecessary repetitive posts asking the same questions.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeeLooMultiPass on June 04, 2020, 06:19:14 PM
Quote from: Walter Schulz on June 03, 2020, 03:20:54 AM
Top of page -> Downloads -> Download nightly builds -> EOS M 2.0.3

All that does is loop back to this discussion thread
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Leader on June 06, 2020, 01:31:46 AM
Quote from: LeeLooMultiPass on June 01, 2020, 10:57:00 PM
Hi.  Im struggling to find the eos m 2.0.3 magic lantern file.  Can someone point me in the right direction please?

Ive been using 202 with no issues, i know the 203 is experimental at this time

Thanks

See this message /forum/index.php?topic=9741.msg224844#msg224844 (https://www.magiclantern.fm/forum/index.php?topic=9741.msg224844#msg224844) on the page 157.
I have tested and everything seems to crash. Idk if it's my memory card's (Transcend SDHC I 400x 32GB) fault or because of unstable firmware?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 06, 2020, 03:58:51 AM
Quote from: LeeLooMultiPass on June 04, 2020, 06:19:14 PM
All that does is loop back to this discussion thread

It leads to a specific post by dfort which links to his repository. And there you will find
https://bitbucket.org/daniel_fort/magic-lantern/downloads/magiclantern-Nightly.2017Jan13.EOSM203.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on June 09, 2020, 01:59:47 AM
Hello, I'm fairly new to the forum but I've been using Danne's build for EOSM and I've been having a lot of fun. However I've recently run into some issues (big and small) and am wondering if anyone on the forum can help.

I couldn't get the cam to record and shoot with a EFM to c mount adapter in. I had to make use of the recording delay function in the video tab, this probably has an easy fix i can't find but it was annoying to work around and was wondering what setting i need to change in ML or in camera to get that to work. I was also having issues with the SD overclock. I don't know what causes but eventually the card will refuse to record at higher bitrates, this will happen even while recording. I'll have continuous recording, everything is stable, but suddenly the write speed tanks the buffer fills up and recording stops. After that the card stays at low write Speed, I've been using a legit SanDisk Extreme pro 90MB/s 64GB and a Lexar Pro 1000x 128GB. The write speed tanking happens seemingly at random, and after that I need to clear the frame buffers, and dump the ROM, and occasionally the cards speed come back, only to invariably return to slowpoke mode. Neither of these are the big issue tho.

https://www.magiclantern.fm/forum/index.php?topic=16262.0 (https://www.magiclantern.fm/forum/index.php?topic=16262.0) I ran into this problem. Flashing green LED and no boot. Camera would only boot without an SD. Regardless of what is on an SD, any SD card in Camera will make it not boot and perpetually flash the LED. I managed to save my camera by getting the camera to boot with the battery door open (i had to push in a little pin inside the battery compartment) and pushing in the SD card right after turning the camera on. This somehow avoided the flashing LED AND read the card. I used this to reinstall firmware 2.0.2 and wipe all settings and format the card again. I thought nothing of this and reinstalled ML i still had to deal with the funky SD write behaviour but everything seemed good, however after a few days it started doing the same hanging thing again, and I had to repeat the process. I am more than willing to run tests if any of the devs need some research done here as no one should have to deal with this bricked/hanging camera crap.

EDIT: So it appears that this LED hanging behaviour occurs now even when ML hasnt been installed, have to do the card thign just to get the cam to acknowledge the card. Wondering what it could be.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 09, 2020, 02:38:12 PM
Not taking shots with adapter mounted:
C.Fn IV 7: Release shutter w/o lens. Instruction manual page 287.

Lexar Pro 1000x is an UHS-II card. This card will run in UHS-I compatibility mode and ATM nobody has a clue if SD_UHS.mo is compatible with this - or any - UHS-II card. I can only recommend not to use it ATM.

@all: Anybody else having such "drop-out" problems with Extreme Pro?

Lockups: Most likely you took a card which was prepared for ML (= bootable) and wiped autoexec.bin. Cam will lockup and FAQ/Install Guide will tell you not to delete autoexec.bin!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on June 09, 2020, 10:13:16 PM
Anyone know how to disable H264 MOV files from splitting up into 4GB files? It doesn't do it on the M2 but I can't seem to get the M to keep it in one big file. Its very important for my ongoing project because I will have way too many files between 4 cameras. Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 09, 2020, 10:22:46 PM
Are you sure M2 doesn't use file chunking? Because it would be the only Digic 5 cam doing so.
Digic 4 code stops if record size reaches 4 GB.
The Digic 5 cams I know will always do file chunking. Regardless if card has Exfat file system or not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on June 09, 2020, 10:58:09 PM
Quote from: Walter Schulz on June 09, 2020, 02:38:12 PM
Not taking shots with adapter mounted:
C.Fn IV 7:

Lexar Pro 1000x is an UHS-II card. This card will run in UHS-I compatibility mode. I can only recommend not to use it.

Lockups: Most likely you took a card which was prepared for ML (= bootable) and wiped autoexec.bin. Cam will lockup and FAQ/Install Guide will tell you not to delete autoexec.bin!

Thanks Walter, ordered a new SD extreme Pro 90MB to test on! Is there a relevant post/topic on remedying my hanging issue? Is it merely go back, install ML and ensure the ML contents do not get tampered with and the card stays constantly in cam?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on June 09, 2020, 11:26:06 PM
Quote from: Walter Schulz on June 09, 2020, 10:22:46 PM
Are you sure M2 doesn't use file chunking? Because it would be the only Digic 5 cam doing so.
Digic 4 code stops if record size reaches 4 GB.
The Digic 5 cams I know will always do file chunking. Regardless if card has Exfat file system or not.
I don't know man. I just know I can record one big H264 file on the M2 with ML, but I can't seem to do it on the M. I have recorded video on the M2 a few times now and let it go until the SD Card ran out and it was one big file for H264. Both cameras I used a card with exFat.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 09, 2020, 11:49:38 PM
Quote from: Kgncom on June 09, 2020, 10:58:09 PM
Thanks Walter, ordered a new SD extreme Pro 90MB to test on! Is there a relevant post/topic on remedying my hanging issue? Is it merely go back, install ML and ensure the ML contents do not get tampered with and the card stays constantly in cam?
Use the black ones. 95mb or 170mb.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on June 10, 2020, 12:23:58 AM
Quote from: Danne on June 09, 2020, 11:49:38 PM
Use the black ones. 95mb or 170mb.

Done and done. Thanks for the help and the hard work you put into the build! I'll report back any issues
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on June 10, 2020, 12:26:48 AM
Quote from: Walter Schulz on June 09, 2020, 02:38:12 PM
@all: Anybody else having such "drop-out" problems with Extreme Pro?

Could you clarify what "drop-out" means to be exact?

Indeed, both black 95MBs & 170MBs have been remarkable thus far @Kgncom!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on June 10, 2020, 12:33:16 AM
Quote from: DeafEyeJedi on June 10, 2020, 12:26:48 AM
Could you clarify what "drop-out" means to be exact?

Indeed, both black 95MBs & 170MBs have been remarkable thus far @Kgncom!
I don't think there is a difference other than the label.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 10, 2020, 01:59:16 AM
Quote from: Mythic Cinema on June 10, 2020, 12:33:16 AM
I don't think there is a difference other than the label.

There is. See
https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-pro-170mbs-uhs-i-u3-v30-128gb-sdxc-memory-card/
https://www.cameramemoryspeed.com/reviews/sd-cards/sandisk-extreme-pro-95mbs-uhs-i-u3-128gb-sdxc-card/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on June 10, 2020, 02:04:12 AM
Quote from: DeafEyeJedi on June 10, 2020, 12:26:48 AM
Could you clarify what "drop-out" means to be exact?

Indeed, both black 95MBs & 170MBs have been remarkable thus far @Kgncom!

He means what I described earlier, the write speed taking a nose dive during recording and not coming bac to the faster speed. Doesn't seem like you have had the problem tho otherwise you would've complained like me. I got my new 90MB SD ExPro card and will load ML to test.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 10, 2020, 03:01:00 AM
There is no Sandisk Extreme Pro rated for 90 MB/s. It's either "Extreme 90 MB/s" or "Extreme Pro 95 MB/s". If it is an "Extreme 90 MB/s" maximum write speed (without overclocking) may be between 50 and 80 MByte/s. There are several different versions around and they are not always advertised correctly. See https://www.cameramemoryspeed.com/reviews/sd-cards/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: denizza on June 10, 2020, 08:55:17 PM
Hello, I like canon eos m so i will buy him, so sorry for noob question but is possible record with ml full hd 60fps? and full hd raw is possible right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Frayfray on June 11, 2020, 12:33:11 AM
has anyone tried this card from walmart onn. 64GB Class 10 U3 SDXC i wanted to buy one to try  any reviews from eos m owners??

$10 bucks for the card

link
https://www.walmart.com/ip/onn-64GB-Class-10-U3-SDXC-Flash-Memory-Card/458285079?wmlspartner=wlpa&selectedSellerId=0&adid=22222222227000000000&wl0=&wl1=g&wl2=c&wl3=42423897272&wl4=pla-51320962143&wl5=9008161&wl6=&wl7=&wl8=&wl9=pla&wl10=8175035&wl11=online&wl12=458285079&veh=sem&gclid=EAIaIQobChMI8pDowqX46QIVA3iGCh0nqQX-EAQYAiABEgIUYPD_BwE
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 11, 2020, 12:46:12 AM
denizza you can record 60fps with h.264 codec, with RAW you can record at 46fps maximum.
You can record RAW at almost full hd 1736x976 and you can resize it to 1920x1080.
Then you can get into crop mode so its like 16mm camera field of view, in this mode you can record RAW at 2520x1054 and also 1920x1080.
Definitely buy M, its like a miracle camera.AT this price is amazing what it can do, they only downside is that you cant use it as usb camera, i mean you can if you have video grabber , hdmi works and composide video over usb works too.
Check this out and his channel, lots of info:
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: denizza on June 11, 2020, 09:46:13 AM
Thanks @2blackbar
So I will buy used, is price about 150eur oke with kit lens 18-55? And do you know any problems with camera general, what should I check before buying?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 11, 2020, 10:42:58 AM
kit lens is 45 body around 100 used is fair , i have it since2012, not a single issue, theres no mirrormechanism , which can fail on dslrs.and fails on my 5d2
its really great compact beast.
also buy focal reducer like viltrox to get more fov and more light in the dark with lenses
im considering buying second white one

fayfray i have canvas go 64gb kingston sdxc and 128gb sandisk extreme pro microsd in adapter, red/black.
first is a bit slower, second one ia great.but both are very similar in speed.
that canvas go is cheapest i could find.i have no idea about the one you linked but find some writespeed tests for it and compare with that canvas go speed,but... come on spend 5 bucks more and get canvas go
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Frayfray on June 12, 2020, 08:17:50 AM
@ 2blackbar
i was curious because they had this in stock in local store ,walmarts usually are open 24hr pre cov-19 and if your in a bind one can pick one up anytime,i bought like 15 cards before they were pny Elite-X on my 5ti i get 28 mb/s 128gb card and 33mb/s on 32gb micro sd ,thought it had some thing to do with the adapter but after trying several same results i just bought the eos m and wanted to try sd cards instead micro ,i think onn. cards are made by PNY cause the specs are almost identical to the elite -x cards and walmart stop carrying pny cards. i will try some SanDisk Extreme PRO recommended by zeek only ten bucks more thank you for your suggestion
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 12, 2020, 11:39:26 AM
Yeah, its better to buy tested cards not unknowns cause there are some technical specs that are hidden , cards have to be tested to see whats the real life writing speed, not "on paper" writing speed .I did a lot of digging and browsing tests before i picked mine.
I think that Sandisk is a good choice. Also my 128GB is in reality 116 GB
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 12, 2020, 07:47:59 PM
Quote from: 2blackbar on June 12, 2020, 11:39:26 AM
Also my 128GB is in reality 116 GB

Storage manufacturers count GByte = 1000 MByte = 1000 x 1000 kByte = 1000 x 1000 x 1000 Byte.
Programmers count GiByte = 1024 MiByte = 1024 x 1024 KiByte = 1024 x 1024 x 1024 Byte

Translates 128 GByte = 128 000 000 000 Bytes = 119.2 GiBytes. Still some 3 GiByte missing ...

That is why a 3 TByte disk will show up with 2.72 TiByte in your computer.

If calculating recording duration you have to use 128 GByte = 122060.8 MiByte because ML will use MiByte/s.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 22, 2020, 11:52:03 AM
Hi everyone!
Is there a way to record in 16:9 aspect ratio when using the 2.5k mode, i selected 16:9 and my recordings had a 2.35 aspect ratio (2520x1080).

Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 22, 2020, 12:42:38 PM
Quote from: ricardopt on June 22, 2020, 11:52:03 AM
Hi everyone!
Is there a way to record in 16:9 aspect ratio when using the 2.5k mode, i selected 16:9 and my recordings had a 2.35 aspect ratio (2520x1080).

Thanks
If the maximal size is limited, crop the width.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 22, 2020, 01:18:54 PM
16:9 possible on all presets. Only select 16:9 from Movie tab menu, not from raw video menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 22, 2020, 01:29:29 PM
Quote from: masc on June 22, 2020, 12:42:38 PM
If the maximal size is limited, crop the width.

Hi Masc, thanks for your suggestion, it would crop a lot. In the movie tab on ratio i left it at off and in the raw video submenu i selected 16:9 that resulted in 2520x1080 (2.35 aspect ratio), if i select 2.35 the end resolution is the same, but if i select 16:9 ratio in movie tab and 16:9 on raw video sub menu it will record in 1920x1080 but with a width crop (what you were suggesting), i was hoping i would get a wider field of view like the 2580x1080 FOV... its a crop of a zoomed crop. Will play with these settings and see what i can do. Thanks to everyone keeping Magic Lantern alive.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 22, 2020, 01:31:28 PM
Thanks Danne, i was writting the reply while you posted yours. will try it your suggestion, if i want to record 16:9 on 2.5k mode i need to select 16:9 on movie tab and what in the raw sub video menu? 16:9 as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 22, 2020, 01:50:19 PM
Quote from: ricardopt on June 22, 2020, 01:29:29 PM
Hi Masc, thanks for your suggestion, it would crop a lot. In the movie tab on ratio i left it at off and in the raw video submenu i selected 16:9 that resulted in 2520x1080 (2.35 aspect ratio), if i select 2.35 the end resolution is the same, but if i select 16:9 ratio in movie tab and 16:9 on raw video sub menu it will record in 1920x1080 but with a width crop (what you were suggesting), i was hoping i would get a wider field of view like the 2580x1080 FOV... its a crop of a zoomed crop. Will play with these settings and see what i can do. Thanks to everyone keeping Magic Lantern alive.
This is what you get - you understood correctly. There are 2 different 2.5K modes. One brings 1920x1080, the other 2192x1234 for 16:9 ratio.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 22, 2020, 01:54:30 PM
Quote from: masc on June 22, 2020, 01:50:19 PM
There are 2 different 2.5K modes. One brings 1920x1080, the other 2192x1234 for 16:9 ratio.

How do i get the 2192x1234? i must be doing something wrong.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on June 22, 2020, 02:01:09 PM
Quote from: ricardopt on June 22, 2020, 01:54:30 PM
How do i get the 2192x1234? i must be doing something wrong.
Choose "2.5K 2520x1418" mode and select 16:9. That's all.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 22, 2020, 02:24:01 PM
Quote from: ricardopt on June 22, 2020, 01:31:28 PM
Thanks Danne, i was writting the reply while you posted yours. will try it your suggestion, if i want to record 16:9 on 2.5k mode i need to select 16:9 on movie tab and what in the raw sub video menu? 16:9 as well?
Don´t touch those settings at all. Should be at max.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on June 22, 2020, 02:28:24 PM
Quote from: masc on June 22, 2020, 02:01:09 PM
Choose "2.5K 2520x1418" mode and select 16:9. That's all.

dah...right in front of me. Thanks

Quote from: Danne on June 22, 2020, 02:24:01 PM
Don+´t touch those settings at all. Should be at max.

Thanks Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on June 25, 2020, 03:10:24 PM
Quote from: Kgncom on June 09, 2020, 01:59:47 AM
Hello, I'm fairly new to the forum but I've been using Danne's build for EOSM and I've been having a lot of fun. However I've recently run into some issues (big and small) and am wondering if anyone on the forum can help.

I couldn't get the cam to record and shoot with a EFM to c mount adapter in. I had to make use of the recording delay function in the video tab, this probably has an easy fix i can't find but it was annoying to work around and was wondering what setting i need to change in ML or in camera to get that to work. I was also having issues with the SD overclock. I don't know what causes but eventually the card will refuse to record at higher bitrates, this will happen even while recording. I'll have continuous recording, everything is stable, but suddenly the write speed tanks the buffer fills up and recording stops. After that the card stays at low write Speed, I've been using a legit SanDisk Extreme pro 90MB/s 64GB and a Lexar Pro 1000x 128GB. The write speed tanking happens seemingly at random, and after that I need to clear the frame buffers, and dump the ROM, and occasionally the cards speed come back, only to invariably return to slowpoke mode. Neither of these are the big issue tho.

https://www.magiclantern.fm/forum/index.php?topic=16262.0 (https://www.magiclantern.fm/forum/index.php?topic=16262.0) I ran into this problem. Flashing green LED and no boot. Camera would only boot without an SD. Regardless of what is on an SD, any SD card in Camera will make it not boot and perpetually flash the LED. I managed to save my camera by getting the camera to boot with the battery door open (i had to push in a little pin inside the battery compartment) and pushing in the SD card right after turning the camera on. This somehow avoided the flashing LED AND read the card. I used this to reinstall firmware 2.0.2 and wipe all settings and format the card again. I thought nothing of this and reinstalled ML i still had to deal with the funky SD write behaviour but everything seemed good, however after a few days it started doing the same hanging thing again, and I had to repeat the process. I am more than willing to run tests if any of the devs need some research done here as no one should have to deal with this bricked/hanging camera crap.

EDIT: So it appears that this LED hanging behaviour occurs now even when ML hasnt been installed, have to do the card thign just to get the cam to acknowledge the card. Wondering what it could be.

Looks like i have a very similar problem maybe the same here is my info:

I shoot on latest danne build and the settings are 25fps 1/50 with x3 crop in mcm rewire 1080 with 1800x1012 and it's 14 bit lossless raw. I use the kiev 16u lenses. If i expose with zebras set to 100 to avoid most clipped areas in the highlights the recording is continues most of the time. But as soon as the clipped areas increase more then a little or as soon as i am recording something that is really white the recording time gets red and it stops after 2 seconds or so. I was standing outside with f16 on the 12mm and iso 100 and couldn't record to 3 seconds. This also happened inside shooting a dark underexposed room with small windows on the other side where maybe some small areas have clipped because of the bright light outside. I couldn't even record 2 seconds. I use the Sandisk Extreme Pro and else i have no problem. Now the funny thing is after all these things happened i could expose like i want but it won't work anymore at all even if image is completely white or black. It always stops after 2 seconds and then writes the buffer to the sd card. Did i something wrong or is it just the limit of the camera? A bug? Maybe there is something happening with the datarate when some scenarios appear in the image or the camera gets unstable after the first recording? If i use the nd filter i can avoid highlights clipping better and the problem is reduced but still happening. I try to shoot documentary with it and need continues recording with 25fps (germany) 16:9 and i also need the crop mode to reduce rolling shutter. Is there anything i can do the fix the problem? :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lewismatt92 on June 25, 2020, 06:04:08 PM
This may relate to the above post, but I am not sure!

Hey everyone! New here and just wanted to say thank you the Danne and everyone who takes the time to help with this awesome project.

My question (and Zeek has been very helpful via instagram) has to do with continuous recording in the "mv1080p MCM Rewire" or "HD 1080p" in the touch screen menu (i assume both are the same). I have followed all of the instructions to get continuous recording in 1080p, 14 bit lossless, 16:9, 1736x976. I get continuous recording almost all of the time but have been having a strange issue when filming outside with a lot of daylight. It seems as if something is overexposed in frame I get less data and it knocks out continuous recording.

I am using a sandisk extreme pro 64 gb/170mbs (which i bought at best buy so i think it is real) and I tested it online and it seemed to be reading and writing at about 80mbs.

Has anyone had an issue like this? If I have my image correctly framed and lit it doesn't effect but if I am using the camera on the go and accidentally over expose it effects the record quality.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on June 26, 2020, 09:26:14 PM
This is exactly the problem that i found too. Though i must admit i fixed my fast stopping recording now because of an sd card extender that may had an issue. I can now record most of the time but still if i overexpose i may risk a stop for the recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 26, 2020, 09:39:15 PM
turn off histogram and try again
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lewismatt92 on June 28, 2020, 01:50:17 AM
Seems to be working! thank you
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on June 29, 2020, 03:09:58 PM
I tried it too but nothing changed :/ hmm
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 07:12:57 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- sd_uhs patch speed increase, (thanks to theBilalFakhouri) https://www.magiclantern.fm/forum/index.php?topic=12862.msg228659#msg228659
- bench.mo added back(enable in Modules section)

What would be good to test is if 95Mb/s sandisk extreme pro cards will work with 192MHz setting or not. I had conflicting reports. Try low level format in camera if issues appear.
Also report in general if 170Mb/s cards works as expected.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 04, 2020, 08:20:45 AM
With my card Sandisk Extreme PRO 128 GB , highest i got write speed in older build was 54, with this new one i have 59 but its hard to tell if new overclocking helped, i also used 192mhz.with 160 i got 54 like with old build.
So, now im testing anamorphic mode amd ots between green and orange , filming over moinute now, previously i had like 10 seconds.
So i think there is something going on and its a very good result.Recorded over 2 minutes in anamorphic 10 bit but i t could go longer, i stopped it.
(https://hqgsm.pl/media/catalog/product/cache/1/thumbnail/200x200/9df78eab33525d08d6e5fb8d27136e95/s/a/sandisk-extreme-pro-microsdxc-128gb-170-90-mb-s-a2-c10-v30-uhs-i-u3.jpg)

With my other card i had like 34 and now its 51 on 160mhz.Its 64GB canvas GO.
(https://isabela.iweb.co.uk/resize/ZT0xMjA5NjAwJmg9NTAwJnE9NzUmdD1vdXRib3VuZCZ1cmw9aHR0cHMlM0ElMkYlMkZzdGF0aWMubXltZW1vcnkuY28udWslMkZtZWRpYSUyRmNhdGFsb2clMkZwcm9kdWN0JTJGQyUyRmElMkZDYW52YXMtZ28tU0RfMS5qcGcmdz01MDA=/)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 08:35:54 AM
Canvas, hehe.
You could test against bench.mo. Start bench in photo mode. When started push play button to get into play mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 04, 2020, 08:51:00 AM
tested with bench.mo , now in photo mode  60 MB/s write  and 64MB/s read  :)
This is definitely working .My normal speed previously was 54 and i could not record more than 10 seconds with anamorphic modes, now its stable with over 2 minutes recording time.I also did low level format before using it, just in case.
Thanks a lot guys to make it work on M ! theBilalFakhouri for pushing it..
Is it safe to use 192 on that sandisk extreme pro that i have ? What bad could happen ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 08:58:33 AM
You can test any of the patches on your card.
Did you push play button after starting bench? It should do a little better with the numbers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 04, 2020, 09:17:49 AM
77 MB/s write speed when i pushed play, how come ? read speed 85. :o
(https://funkyimg.com/i/365D4.jpg)
Canvas Go 64GB is now 63 MB/s in play mode.Was about 34 without new overclocking.Also its specs says that its 45MB/s writing speed.64 is definitely above the specs.But here they also got higher number than claimed speed https://www.cameramemoryspeed.com/reviews/sd-cards/kingston-canvas-go-v30-64gb-sdxc-memory-card/
(https://funkyimg.com/i/365E7.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 04, 2020, 11:57:40 AM
Sandisk Extreme Pro 128GB 95MB/s

Low level format in camera (Menu button -> First tool icon -> Format card -> tick in low level format and press OK)

A few tests runs of the benchmark as well as taking a picture, so card was not totally empty when I run the below benchmarks.


Modules tab -> Bench.mo ON -> Restart -> Debug tab -> sd overclock -> 160MHz -> Restart -> Debug tab ->  Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min) -> press play

160MHz
(https://i.ibb.co/3Tq4zQ3/Play-160mhz.jpg) (https://ibb.co/mRwb8gj)

Debug tab -> sd overclock -> 192MHz -> Restart -> Debug tab ->  Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min) -> press play

192MHz
(https://i.ibb.co/LYchJ3G/Play-192mhz.jpg) (https://ibb.co/jbQZWSp)

Edit: 240MHz gave around 20 MB/s and Global Draw Off made no difference.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 12:04:44 PM
80Mb/s write speed. Good card.
Anybody tested the 240Mhz patch?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 04, 2020, 12:13:13 PM
Same numbers here like @Tullen, but 64GB 95MB/s, 160 and 192MHz.
Quote from: masc on July 04, 2020, 11:33:28 AM
Wicked! Now we're talking! Found the low level format. "Formatierung in niedriger Stufe" in german... WTF?!
Speed drop is gone. Here the new numbers for 192MHz:
(https://i.ibb.co/HPrt2B6/bench0.png)

240MHz setting brings 21MB/s write, and 22MB/s read speed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 12:16:31 PM
Hehe, nice masc.
So we need to find this last piece for eosm :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 04, 2020, 12:17:16 PM
I tested 240 but it gave 20mb
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 04, 2020, 12:26:28 PM
(https://i.imgur.com/NmlOA7O.jpg)
192MHz mode. The 240 mode just gave me super slow speeds of 20-22MB/s. Forgot to snag a pick, if you need it tho Danne I'll wait around for it again haha.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on July 04, 2020, 12:44:04 PM
Looks like its working great and theres definitely inmprovement not only in benchmark but actual filming, i can record longer in all modes
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 04, 2020, 12:45:59 PM
Quote from: Kgncom on July 04, 2020, 12:26:28 PM
192MHz mode. The 240 mode just gave me super slow speeds of 20-22MB/s. Forgot to snag a pick, if you need it tho Danne I'll wait around for it again haha.

If you look at your sd card you will find screenshots there called benchX.ppm. You can use infraview to open them and save them as jpeg for a cleaner sharing of your results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 12:48:38 PM
Thanks all. No need for more tests around 240Mhz. Simply isn't working. Seemingly, only on eosm. Go figure.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 04, 2020, 05:17:55 PM
Im happy I didnt have time to do my guide yet ;). Still planing on doing it though. But I guess till will move some goalposts.

Edit: Or maybe not? Danne: "The card speed depends on fps. Even if the card theoretically seems to work for this it seems with 24 fps it maxes out around 57Mb/s. This is not the case with full resolution preset which runs with a reduced framerate."
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 04, 2020, 05:54:25 PM
Exactly. That´s why benchmarks are so fast when in play mode. Higher fps reduces the effect.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 04, 2020, 06:03:25 PM
Quote from: Danne on July 04, 2020, 05:54:25 PM
Exactly. That´s why benchmarks are so fast when in play mode. Higher fps reduces the effect.

Do you think it will translate at all for 24 and more fps? To 18fps 5k ana flv?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 05, 2020, 12:28:12 AM
so, I understand benchmarks are hardly a 1:1 analogue for in the field performance, but I'm confused as to how 24fps recording would bring the write speed back down SO much
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 05, 2020, 12:32:51 AM
I guess the most straight forward is just to test and see if you get any better real world results recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 05, 2020, 10:10:52 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 1736x2930 16fps mode(16:9)

Former hidden "silent film" mode in 2.39:1 18fps now becomes richer 16:9 format. To reach this feature select 5k anamorphic flv and select set 25fps from movie tab menu. Push menu button twice and it should go into 1736x2930 16fps. In 10bit continuous with last 192Mhz patch.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 06, 2020, 07:45:38 AM
I've never fiddled around with the anamorphic modes before but I'm wondering what exactly the difference between the rewire and not rewire is.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 06, 2020, 08:45:21 AM
Early preset. I erased one of them just now and renamed a few presets to reduce confusion. Redownload and see if you still have the same questions after this version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 06, 2020, 07:04:55 PM
Quote from: Tullen on July 04, 2020, 11:57:40 AM
Sandisk Extreme Pro 128GB 95MB/s

Low level format in camera (Menu button -> First tool icon -> Format card -> tick in low level format and press OK)

A few tests runs of the benchmark as well as taking a picture, so card was not totally empty when I run the below benchmarks.


Modules tab -> Bench.mo ON -> Restart -> Debug tab -> sd overclock -> 160MHz -> Restart -> Debug tab ->  Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min) -> press play

160MHz
(https://i.ibb.co/3Tq4zQ3/Play-160mhz.jpg) (https://ibb.co/mRwb8gj)

Debug tab -> sd overclock -> 192MHz -> Restart -> Debug tab ->  Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min) -> press play

192MHz
(https://i.ibb.co/LYchJ3G/Play-192mhz.jpg) (https://ibb.co/jbQZWSp)

Edit: 240MHz gave around 20 MB/s and Global Draw Off made no difference.
I can't achieve those marks that you achieve, with the same Sandisk Extreme Pro 128GB 95MB/s
These are my numbers after low level formatting:
sd overclock 192MHz:
(https://lh3.googleusercontent.com/pw/ACtC-3ewkVqlAycQHm9DvpQHyH5KPsn_cSke7tWB_1WS4NP3veYHBekkQDB79if1jWOFD5kvjwUI52YiL02nIM8_n7ysVlmhGEq0oqjOjNr1ODWvVVjq3C2Mr43NrZJvbwkxf62kAsOcIjKPp39LAspazWSCvA=w720-h480-no?authuser=0)
sd overclock 160MHz:
(https://lh3.googleusercontent.com/pw/ACtC-3cGHaXJ74-l-uQtYlZOTJWesVL1qsvwQfUNgy6sEvoWNBSeKr1mRAO4Cd8R3Pa7JYmb_HeAmoynjiyGEWkDITaCo_EOIugREqHQDH4YkysFbDoMpTGeGo5M4jPAi-o-Bb7updlt9mKz7Gu9wXJBPfFZCQ=w720-h480-no?authuser=0)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 06, 2020, 07:40:37 PM
@guerchi. Could you test this version? It goes straight into 192Mhz. I tweaked it a little. Maybe works better:
https://bitbucket.org/Dannephoto/raw2mlv/downloads/crop_rec_4k_mlv_snd_raw_only_2020Jul06.EOSM202_ver_1.zip

I run these numbers:
static uint32_t uhs_regs[]     = { 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC040060C, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 };   /* register addresses */
static uint32_t sdr_192MHz[]   = {        0x8,        0x3,                             0x4, 0x1D000301,        0x0,      0x201,      0x201,      0x100,        0x4 };
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 06, 2020, 08:39:01 PM
Quote from: Danne on July 06, 2020, 07:40:37 PM
@guerchi. Could you test this version? It goes straight into 192Mhz. I tweaked it a little. Maybe works better:
https://bitbucket.org/Dannephoto/raw2mlv/downloads/crop_rec_4k_mlv_snd_raw_only_2020Jul06.EOSM202_ver_1.zip

I run these numbers:
static uint32_t uhs_regs[]     = { 0xC0400600, 0xC0400604,/*C0400608, C040060C*/0xC040060C, 0xC0400614, 0xC0400618, 0xC0400624, 0xC0400628, 0xC040061C, 0xC0400620 };   /* register addresses */
static uint32_t sdr_192MHz[]   = {        0x8,        0x3,                             0x4, 0x1D000301,        0x0,      0x201,      0x201,      0x100,        0x4 };

@Danne, thanks! i just tested but  I get almost the same results:
(https://lh3.googleusercontent.com/pw/ACtC-3fDngVfOpaBrS4bRhtWXznxM5VnzOpVVkbq_KzUqlUGn0N0VZlF2QGiEZwAmuoH0wp67QRcy2gOulJOWFfjPKuuCotHi9bVJAJlDKzoN8H5YhYH9LqNSY8OwZAmwibNyI3dXGCpJqWsGuhMe5pBLaARVw=w720-h480-no?authuser=0)
I will try with the 170MB/s card.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: guerchi on July 07, 2020, 02:24:57 AM
I tested the Sandisk Extreme Pro 128GB 170MB/s and give me these results in play mode on 192MHz:
(https://lh3.googleusercontent.com/pw/ACtC-3cyesBCZtwqPJ_N3GEN4beR5eA7oQvtLpWrnViuWhOVoQBIJjR71CvxeFgSBQVCLlbH7HnL1lYKekxq8jVBnG4SrmijWfzBeCa6mbW48SpnRuMqVX1W9uhG2LSv_ODYtPVFMkH-48ok05Z9KHWYgFpRPg=w720-h480-no?authuser=0)
In real escenario I can get stable 62MB/s that means Continuous 2320x1254 14bit (1.85:1) in 2.5K Mode!
When it seems that the EOSM has reached the abyss of the possible, you do it again, thanks Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 07, 2020, 05:02:40 AM
So toyed around with the 16fps silent mode but i was always getting corrupted purple frames. When I turned off the force 25 fps mode though the fps dropped to 14 and I wasn't getting any purple frames.
I decided to test record time in this 14fps silent mode. My resolution was 1736x3256. I was using the card that I benchmarked on reply #4211 in 192MHz overcloc k- Sandisk256GB 95MB/s. I went through the various bitrate settings (10-14) with two exposure scenarios, one as overexposed as possible, and one only a little overexposed. I also had global draw turned off in the video submenu, and sound was disabled. Once a clip hit a minute I called it continuous and stopped recording.
Here is an imgur album of six screen caps of different examples (3 for overexposed and 3 ETTR) https://imgur.com/a/W62ZSyx (https://imgur.com/a/W62ZSyx)
It seems my card's in the field write speeds taps out at roughly 68-70MB/s. This new build is pretty stellar. Thanks Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2020, 08:02:37 AM
I uploaded a new build. Could you test for corruption in 16fps in that version?
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 07, 2020, 10:21:27 AM
Quote from: Danne on July 07, 2020, 08:02:37 AM
I uploaded a new build. Could you test for corruption in 16fps in that version?
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Sure
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on July 07, 2020, 11:11:14 AM
I'm not experiencing corrupted frames now, Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 07, 2020, 11:12:57 AM
Cool. Should be fixed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on July 08, 2020, 02:47:02 PM
Does anyone know if it is ML that impacts my manual photo settings on my eos m?
I cannot seem to do any auto iso shots. It allways reverts back to 100.

Also, i cant choose auto iso in ml menu either, while in video mode.
Anyone have a clue?

Cheerio
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 08, 2020, 02:51:49 PM
Turn off iso button handling from crop rec menu. It's under customized buttons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Stousen on July 08, 2020, 02:59:49 PM
Quote from: Danne on July 08, 2020, 02:51:49 PM
Turn off iso button handling from crop rec menu. It's under customized buttons.

Oh yes! Imagesaver Danne. Thank you. Out in the woods and dont want to spend too much battery on trying iso changes.  :) :)
Best!

Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rinski on July 08, 2020, 06:47:59 PM
Hello, I wanted to comment that I miss the height in the anamorphic 5k the height of 1900 as before July 5 and even more the 2160 in 16.9 with the increase in speed, in 12 bits.
Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: WeakestLinkForNow on July 08, 2020, 10:09:02 PM
So i'm just getting back to using my EOS M after borrowing it out to someone for a month. Is there a way to get 2.5k without the crop?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 09, 2020, 12:01:27 PM
Quote from: rinski on July 08, 2020, 06:47:59 PM
Hello, I wanted to comment that I miss the height in the anamorphic 5k the height of 1900 as before July 5 and even more the 2160 in 16.9 with the increase in speed, in 12 bits.
Thank you.
Increasing height will cause corrupt frames. I tested extensively and found sweet spot. This has nothing to do with faster sd_uhs patching.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on July 09, 2020, 12:06:38 PM
I have now briefly tested Danne's latest (July 8-th) experimental build for the EOS-M with the 95 MB/s card.  I am happy to tell you that:

1) At 5k anamorphic (1736x2928), 10-bit lossless and 16.688 fps recording is continuous and without corrupt frames!  I get about 15 minutes of footage with these settings on a 64 GB card, (vs. about 20 min. at 1736x976@24fps) - not bad at all keeping in mind the lack of aliasing and the tremendous resolution at the full sensor readout!  Hands down - this 5k anamorphic mode at 17 fps is revolutionary!

2) Overclocking is automatic and set to 192 MHz.  Upon start-up camera is ready for use, no need to do anything.  Really nice!

3)  These additional 2.4 fps compared to the old 14.288 fps seem to provide a noticeable improvement of the jello effect in critical scenes with fast lateral motion.

4)  0 and 180 deg. shutter (1/16-th and 1/33-th of a sec.) is easily set by the Shutter fine tuning function - very important for smooth footage and perfect for low-light shots at 1/16-th of a sec. 

5)  Camera operation is very stable and works well with AF and Magic zoom enabled. 

Genious work, Danne, congratulations!

Question:
-----------
        Is it possible to implement this exact functionality also on the 100D?  There are two major reasons why I am asking this:

A. The 100D has still several essential advantages compared to the EOS-M - the optical viefinder which is much better and convenient for taking stills photos, especially at bright light, the EF-mount allowing to use EF lenses without adapters and the much longer battery life in photo mode which makes the 100D a much better choice for stills and video shooting during travel compared to the EOS-M, especially for those who take lots of stills too.

B.  For event shooting, the combination of the EOS-M and 100D which both are very light and compact cameras is very convenient.  If one of the cameras is equiped with a portrait lens for close-up shots and the other one with a wide-angle lens, this offers great flexibility for quickly changing gear according to the scene without missing valuable moments. 

And thanks a lot for your excellent work!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 09, 2020, 12:23:41 PM
16.688 fps? Messing with fps override again, sigh. Anyway. Lucky it works, otherwise sticking to 16fps should be fairly stable to use.
100D, I left it for anyone else to maintain.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 09, 2020, 01:09:16 PM
Quote from: IDA_ML on July 09, 2020, 12:06:38 PM
Camera operation is very stable and works well with AF and Magic zoom enabled.
+1
Really like where this is going, feels solid! 3K RAW 18fps is like continuous @2.35:1, I've tested it above 3 mins with the SD overclock and still signalling green. The 5K Anamorphic Mode is glorious, I'm a convert 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 09, 2020, 02:34:57 PM
Quote from: ZEEK on July 09, 2020, 01:09:16 PM
+1
Really like where this is going, feels solid! 3K RAW 18fps is like continuous @2.35:1, I've tested it above 3 mins with the SD overclock and still signalling green. The 5K Anamorphic Mode is glorious, I'm a convert 8)
Finally ;).

I updated focus pixel map for the 16:9 16fps mode as well:
https://bitbucket.org/Dannephoto/raw2mlv/downloads/focus_pixel_maps.zip

Add them to Mlv App.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on July 09, 2020, 02:35:22 PM
Fantastic, I have pushed everything up a notch on my settings, most resolutions work with 14bit, well done Danne 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on July 09, 2020, 02:59:01 PM
Quote from: Danne on July 09, 2020, 02:34:57 PM
I updated focus pixel map for the 16:9 16fps mode as well.
Great, cheers! 👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 10, 2020, 09:38:48 AM
Hi there,

I just tested this new experimental build, it looks fantastic, thanks for this work !

I have one question concerning the rec-trigger function : when set to "Half-shutter : pre only" , I have 2 frames recorded per half-shutter

I was using before the build : magiclantern-raw_video_10bit_12bit.2019Mar24.EOSM202 which give me 1 frame per half-shutter with the same settings.
I also tested crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Jul24.EOSM202 which give 1 frame too.

Did something change in the Rec-Trigger function? I couldn't find any setting to go back to only 1 frame recorded
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2020, 09:47:04 AM
You can use SET button for single frames. Halfshutter actually starts the selected crop rec preset and runs while holding halfshutter. Release halfshutter and it stops. I use this function while recording timelapses to include both interval and sequenced shots within a recorded mlv file.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 10, 2020, 10:05:47 AM
Thanks for your fast answer  ;)

I just did a test, it's indeed working with the SET button, only one frame is recorded.

The problem is that I modified the hardware of my EOS-M to have a Remote Shutter cord (i have soldered wires to the shutter button) so that I can connect a trigger to the camera. The trigger is sent by a Super 8 projector and allows the cam to record synchronized with the projector (Telecine).

Do you know if any setting would allow me to keep using the Half-Shutter for this purpose?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2020, 10:47:24 AM
You could revert my changes and keep your own version of mlv_lite to compile.
In mlv_lite.c.
Following:
if (rec_trigger != REC_TRIGGER_HALFSHUTTER_PRE_ONLY || get_halfshutter_pressed())
to:
if (rec_trigger != REC_TRIGGER_HALFSHUTTER_PRE_ONLY)

Following:
    /* half-shutter trigger keys */
    if (RAW_IS_RECORDING)
    {
        if (key == MODULE_KEY_PRESS_SET || key == MODULE_KEY_PRESS_HALFSHUTTER)
        {
            switch (rec_trigger)
            {
                case REC_TRIGGER_HALFSHUTTER_START_STOP:
                {
                    pre_record_triggered = !pre_record_triggered;
                    break;
                }

                case REC_TRIGGER_HALFSHUTTER_HOLD:
                case REC_TRIGGER_HALFSHUTTER_PRE_ONLY:
                {
                    pre_record_triggered = 1;
                    break;
                }
            }
        }
       
        if (key == MODULE_KEY_UNPRESS_HALFSHUTTER)
        {
            switch (rec_trigger)
            {
                case REC_TRIGGER_HALFSHUTTER_HOLD:
                case REC_TRIGGER_HALFSHUTTER_PRE_ONLY:
                    pre_record_triggered = 0;
                    break;
            }
        }
    }

to:
    /* half-shutter trigger keys */
    if (RAW_IS_RECORDING)
    {
        if (key == MODULE_KEY_PRESS_HALFSHUTTER)
        {
            switch (rec_trigger)
            {
                case REC_TRIGGER_HALFSHUTTER_START_STOP:
                {
                    pre_record_triggered = !pre_record_triggered;
                    break;
                }

                case REC_TRIGGER_HALFSHUTTER_HOLD:
                case REC_TRIGGER_HALFSHUTTER_PRE_ONLY:
                {
                    pre_record_triggered = 1;
                    break;
                }
            }
        }
       
        if (key == MODULE_KEY_UNPRESS_HALFSHUTTER)
        {
            switch (rec_trigger)
            {
                case REC_TRIGGER_HALFSHUTTER_HOLD:
                    pre_record_triggered = 0;
                    break;
            }
        }
    }


Should be it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 10, 2020, 10:57:55 AM
Thanks a lot !

I have no idea how to do it but I will try to learn ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on July 10, 2020, 11:08:54 AM
Hi Francois Lune, I am very interested in you cine capture work with the EOS M, could you kindly post me details of your setup if you want to share it, much appreciated
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 10, 2020, 07:00:28 PM
After some hours of struggling, I managed to compile something using the Compiler.app on mac  :P , at least I think I did

When compiled (without any modification for now), I have something different from the last version posted here : no one touch Presets, Menus are not the same, recording seems to be unstable....

I am wondering if I am working on the right branch, crop_rec_4k_mlv_snd_raw_only is correct?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2020, 07:03:05 PM
Yes, correct branch. If you don´t modify, what do you get? ALso important with this source. magic-lantern_jip-hop.
Problematic also atm that I can´t post changes to bitbucket anymore. Vacuum period.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 10, 2020, 07:57:25 PM
Without modification, I have more or less the same things but organised differently in the menu. Also, the preview doesn't seems to be really stable and I couldn't get the same resolution with 5K anamorphic as I had with the version posted here. When Recording I have an error  EDMAC Timeout.

Not sure to understand with magic_lantern_jip-hop , is that another path for the branch or a module on top of the build? (trying to learn, sorry if absolute beginner question)

Edit : I think I got it, I should download your repository from : bitbucket.org/Dannephoto/magic-lantern_jip-hop and not bitbucket.org/Dannephoto/magic-lantern magic-lantern_dannephoto  ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on July 10, 2020, 08:18:52 PM
still not possible to go above 1800 by 756 in crop mode with this new horse power? It's probably a limitation of crop mode right? Thats the best mode because we have real time live view...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2020, 09:08:32 PM
1800 in what preset mode?
Timers and height limitation will not dissappear due to faster sd_uhs patching. More likely you could run 14bit or 12bit instead of 10bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on July 10, 2020, 09:35:12 PM
Maybe rephrase my question..Whats the highest resolution possible with 24fps and real time live view? Preferably without aliasing. Hence the 3x crop mode I thought it capped out at 1800x754 or something like that. I'm playing around with this 1080 hf mode. Looks like it's higher res. I'll keep testing. And Thanks Danne you the man.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 10, 2020, 09:37:32 PM
Anamorphic modes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 11, 2020, 08:58:25 AM
Quote from: Danne on July 10, 2020, 07:03:05 PM
Yes, correct branch. If you don´t modify, what do you get? ALso important with this source. magic-lantern_jip-hop.
Problematic also atm that I can´t post changes to bitbucket anymore. Vacuum period.

Modifications are done, it's working, 1 frame/half-shutter, thanks for your help ! I now have a 5k Telecine ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 11, 2020, 11:27:46 AM
I think your code environment is a bit old since hg is read only on bb for now. However I temporarily created a git account just to be able and upload recent code changes. So if you download with git somewhere locally you can then drag the folder onto Compiler.app and it should work as before with hg source control. Choose branch add your changes etc:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 12, 2020, 11:38:53 AM
Not sure to understand your last message...
I modified from : https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/
Is there a newer code I should download from another host?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 12, 2020, 11:58:18 AM
Do git clone and then use Compiler.app(still hg).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 12, 2020, 12:16:40 PM
ok, I think this is what I did ( I basically followed those instructions : https://www.magiclantern.fm/forum/index.php?topic=21882.0 )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 12, 2020, 12:26:52 PM
Yes, but you were using an older source. This is the latest.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 12, 2020, 12:38:07 PM
I first downloaded  your repository from : bitbucket.org/Dannephoto/magic-lantern magic-lantern_dannephoto (this gave me this unstable Build without modification )

and then downloaded from bitbucket.org/Dannephoto/magic-lantern_jip-hop  (the one I modified from and that seems to work well)

or maybe you mean you did some changes in the last hours and I should download  and modify again ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 12, 2020, 12:41:20 PM
Yes, that is still an older source. Bitbucket stopped supporting mercurial so can't push changes to that place anymore. If you want the latest use the proposed source.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on July 12, 2020, 01:30:28 PM
I finally understood ;) didn't see the git after jip-hop... thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 16, 2020, 03:22:55 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Reworked 3k mode. Now 20fps. Also able to record 2.7k 2.39:1 and 2.35:1 when enabling set_25_fps in 3k mode.
- Reworked timelapse handling around 4k mode. Check provided images below.
- Added timelapse modifier menu for 5k anamorphic flv mode.

(https://i.postimg.cc/rFSTSsGf/VRAM4-PPM-500px.png)

20fps
(https://i.postimg.cc/MpqStwdq/VRAM5-PPM-500px.png)

2.7k 24fps
(https://i.postimg.cc/nLLtb1yW/VRAM6-PPM-500px.png)



(https://i.postimg.cc/rm0XzwFC/VRAM7-PPM-500px.png)

4k timelapse settings
(https://i.postimg.cc/P5ykR7RZ/VRAM8-PPM-500px.png)



(https://i.postimg.cc/KYshZMF8/VRAM9-PPM-500px.png)

5k anamorphic timelapse settings
(https://i.postimg.cc/SsB09bn0/VRAM10-PPM-500px.png)







Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on July 16, 2020, 03:51:36 PM
Thank you  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeandroFreitas on July 16, 2020, 04:05:32 PM
Great work Danne! thats hot stuff!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 16, 2020, 04:34:21 PM
Too much sun?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on July 16, 2020, 04:36:55 PM
20 fps in the 3k mode.  This is insane!  Did this become possible as a result of SD-card overclocking? 

Suggestion:
---------------
In the preset submenu, (4-th screen shot from top), please add which of the resolutions are 1:1 and which are 1:3.  There is enough space on each line for that.  In my opinion, this will avoid confusion.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on July 17, 2020, 05:10:36 PM
Great work ...thanks :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: XssUs on July 19, 2020, 10:33:42 PM
Hello, i have dumb question but after few tries in eosm and also few google search i cant find the answer, i have reset my custom settings and i cant find how i have setuped earlier. So my question is: how to setup false color "under" info button. I have used that at least from one month and now i cant find it :( Can you help me someone? Have a nice day everyone!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: silent1 on July 22, 2020, 06:36:45 PM
Quote from: Danne on July 16, 2020, 03:22:55 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Reworked 3k mode. Now 20fps. Also able to record 2.7k 2.39:1 and 2.35:1 when enabling set_25_fps in 3k mode.
- Reworked timelapse handling around 4k mode. Check provided images below.
- Added timelapse modifier menu for 5k anamorphic flv mode.

Hi Danne,
I have a problem with this build. Whenever I try to set the FPS to 48, for slow-motion videos, at times the camera freezes during this very process. Furthermore, I can never set it up to 48FPS but the actual FPS stops at 45 for some reason. If I restart the camera (by taking out the battery and putting it back), somehow I manage to get to the live view, but then the live view itself is frozen, and eventually the camera will freeze again.

With the previous build (10JUL) I was able to set the camera to (exactly) 48FPS and shoot slow motion movies without problems, although with that build I could not choose any custom mode (it wouldn't let me choose any option below 'startup key' in the custom mode menu).

I'll try to revert to the previous build. Not sure if I should disinstall ML and reinstall it or if an overwrite of the ML files is sufficient.

EDIT: I kinda solved this issue. I wasn't actually using the "slow-mo" preset, but the 1080HD one and then using FPS override. If I use the preset and leave the FPS override off, I manage to get acquire some footage, although it's a bit of a hit and miss.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: da_guy2 on July 23, 2020, 07:06:25 PM
Is there any way to get a clean HDMI signal it off an eos-m? I'm hoping to use it as a higher quality webcam with an HDMI capture card, but the HDMI output always had a border and it no matter what settings I enable.
This had probably been answered but everything I see is multiple years old so I was wondering if maybe some one had figured it out by now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on July 26, 2020, 01:02:01 PM
Hi everyone, is it now possible to make 16:9 48 or even 50 fps for slow motion?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2020, 01:18:32 PM
Not really.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on July 26, 2020, 06:20:48 PM
Can anyone get usb video capture card to work on Eos M ?I tried but it doesnt work in mcm1080 mode but weirdly works in mcm1080 48fps mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 26, 2020, 06:44:03 PM
Quote from: amitkattal on July 26, 2020, 06:20:48 PM
Can anyone get usb video capture card to work on Eos M ?I tried but it doesnt work in mcm1080 mode but weirdly works in mcm1080 48fps mode
Where is the mcm1080 48fps mode? I must have missed that one.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Probgoblin on July 27, 2020, 05:55:02 AM
I must be missing a setting in here. How do I get my EOS-M to record MLV files in 4gb chunks rather than one large one?

I need to record an hour long interview and I am getting a 150gb file that I can't export in MLV App.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on July 27, 2020, 07:14:06 AM
Quote from: Danne on July 26, 2020, 06:44:03 PM
Where is the mcm1080 48fps mode? I must have missed that one.
sorry i was talking about mv1080p 1736x976 46/48fps
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 27, 2020, 08:35:04 AM
Quote from: Probgoblin on July 27, 2020, 05:55:02 AM
I must be missing a setting in here. How do I get my EOS-M to record MLV files in 4gb chunks rather than one large one?

I need to record an hour long interview and I am getting a 150gb file that I can't export in MLV App.
Format your card to FAT32 and you'll get chunks. For MLVApp it don't cares at all if you load chunks or one file. MLVApp works clip based, and the clip size is the same for both. There is no file size limit in MLVApp. Why can't you export? What exactly do you try?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Probgoblin on July 27, 2020, 08:31:03 PM
Quote from: masc on July 27, 2020, 08:35:04 AM
Why can't you export? What exactly do you try?

I don't know why it fails after a few percent of progress. I've tried exporting in Prores, Prores Proxy, and H.265. I just reformated my card in FAT32 to see if that fixes it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 27, 2020, 08:58:49 PM
What exactly means fail?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Probgoblin on July 27, 2020, 09:26:59 PM
The application becomes non-responsive after about 4-10%. My computer can handle 4k editing and games (sometimes at the same time), so I don't think it's a performance issue with my hardware.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 27, 2020, 09:53:02 PM
i look in my glass ball and guess you are using the Win64 version. Maybe try Win32 version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 27, 2020, 09:56:14 PM
Quote from: Probgoblin on July 27, 2020, 09:26:59 PM
The application becomes non-responsive after about 4-10%. My computer can handle 4k editing and games (sometimes at the same time), so I don't think it's a performance issue with my hardware.
That is too bad. Bigger files should be handled too so a little help here to try and narrow down the issue would be helpful. For instance. Did you try another converter? mlv_dump via Switch? Are you on mac by the way? If not, maybe try https://www.magiclantern.fm/forum/index.php?topic=10526.msg188435#msg188435
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Probgoblin on July 27, 2020, 11:52:18 PM
I've tried MLV App and MLVProducer (which gives an out of memory error when trying to open the file. I'll give it a shot with MLVFS if this attempt fails.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: oggy96 on July 28, 2020, 01:44:34 AM
  I just bought the eos m and first thing i did was installing and trying to learn ML. So first of all a huge thanks to all developers and participants who is working on it. It gives many abilities to this tiny camera.

  My question is, when i connect my camera to capture card without ML i can get the liveview screen on my computer. But when i enable ML and connect with the same capture card to computer i just have a black screen. When i half press the shutter i get a 10x cropped glitchy image. I would be glad if there is anyone who has the same problem or has some solution to it.

Edit: I fixed the situation by switching camera mode to manual photo. Now i'm able to get 'clean hdmi'. Bu there is one more problem occured in this step.

  The hdmi live view is looking squashed from top and bottom and objects are looking wider than when i shot them in video mode. Is there a fix for it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on July 28, 2020, 05:52:24 AM
Quote from: Probgoblin on July 27, 2020, 11:52:18 PM
I've tried MLV App and MLVProducer (which gives an out of memory error when trying to open the file. I'll give it a shot with MLVFS if this attempt fails.

I only open 70 GB files on a desktop computer with windows 10 and 16 GB of RAM. Laptop with Windows 8 and 4 GB of RAM, unfortunately, does not open them. In both cases, I have a lot of disk space.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 28, 2020, 09:25:18 AM
Quote from: Probgoblin on July 27, 2020, 11:52:18 PM
I've tried MLV App and MLVProducer (which gives an out of memory error when trying to open the file. I'll give it a shot with MLVFS if this attempt fails.
Tty convert to dng with my linked windows workflow.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Tullen on July 28, 2020, 10:24:57 AM
Quote from: amitkattal on July 26, 2020, 06:20:48 PM
Can anyone get usb video capture card to work on Eos M ?I tried but it doesnt work in mcm1080 mode but weirdly works in mcm1080 48fps mode

I don't have any experience myself, but I think I have seen quite some discussion about this in the MLV RAW ON EOS M facebook group https://www.facebook.com/groups/375018026655820
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: oggy96 on July 28, 2020, 05:53:22 PM
Hello everyone, yesterday i got myself a canon eos m for live streaming in a budget. I install ML on it and connected to my laptop via capture card.

The problem is, in the 'video mode' i can't get any feed from camera to my capture card but when i switch to 'manual photo' mode i'm able to see the camera screen on my capture device but with a weird aspect ratio (image looks 16:9 but like it's streched out to sides)

I'm trying to make live stream with the eos m but i couldn't figure out how to get at least 'okay' quality out of it.

First photo: Feed from Capture card to OBS
Second photo: Original photo taken by camera

(https://i.ibb.co/tmhmFpP/obs-eos-m-live-view.jpg) (https://ibb.co/tmhmFpP) (https://i.ibb.co/xhT0Pzd/IMG-2696.jpg) (https://ibb.co/xhT0Pzd)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Probgoblin on July 28, 2020, 08:10:21 PM
Quote from: yokashin on July 28, 2020, 05:52:24 AM
I only open 70 GB files on a desktop computer with windows 10 and 16 GB of RAM. Laptop with Windows 8 and 4 GB of RAM, unfortunately, does not open them. In both cases, I have a lot of disk space.
I have 32gb RAM on this box and no joy, even after moving the files to an SSD.

Quote from: Danne on July 28, 2020, 09:25:18 AM
Tty convert to dng with my linked windows workflow.
I select the options I want and try to run but the dialog just blinks and doesn't do anything. Same behavior when escalated to Admin.

Edit: Playing with things more this seems to be a memory/resource issue with MLV App. I can render segments of the MLV file with no issue, just not all 80000+ frames at once. I'll keep playing around with this to figure out where the sweet spot is.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 28, 2020, 10:31:00 PM
I now recorded a 70GB clip (33752 frames) - the cam aborted recording there, more was not possible. I can open the file without any problem in MLVApp and process it. MLVApp needs around 700MB RAM and ffmpeg 800MB RAM. So no need at all for 8GB+ RAM. I don't think there is a difference for even bigger clips, because the clips are processed frame by frame. The used RAM is constant for the entire processing. The limit currently is at 2^64 frames... I think that is enough.
I strongly recommend to enable MAPP files in MLVApp for such big files!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 29, 2020, 09:15:55 PM
Hi everyone!
Was trying to get some photos of the neowise comet with the EOS M and its working perfectly, if i zoom on the moon 10x and take a photo i don't get the zoomed version, is there a way/hack for this? i remember people talking here about using one of the croped video modes to take a photo and simulate the zoon effect? i tried but i might be missing something because it doesnt work.

Can anyone help?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 29, 2020, 09:18:34 PM
Why not just crop it in post?

ML never had a crop mode in photo mode other than silent pic.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 29, 2020, 09:36:30 PM
Quote from: Walter Schulz on July 29, 2020, 09:18:34 PM
ML never had a crop mode in photo mode other than silent pic.

i was "talking" about the video modes, some of the modes have a zoom factor, i remember reading here or on a video on youtube that using that video mode already zoomed in together with 3x times zoom that helps focusing can create good photos but i dont see how to take a pic in video mode, i remember Danne writting about an 8bit option that when selected would enable the user to take a picture while in video mode.

Thanks for your help. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 29, 2020, 10:28:30 PM
There´s no such thing as grabbing a still out of x10 zoom. You can crop a cr2 in post and achieve the same effect.
If you want to utilize movie modes as still images you can use 5k anamorphic flv but I don´t see why unless you want around 14fps bursts or similar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on July 29, 2020, 11:37:22 PM
Hi Walter and Danne, thanks for your help, unfortunally it was a long day at work and i'm unable to get the "right english" to explain my situation, bad day...no other way to put it, if any of you has admin rights in the forum please delete my last posts to avoid further confusion to new users, will try to explain it better tomorrow after a good night sleep.

As always...thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on July 30, 2020, 07:08:27 AM
Quote from: ricardopt on July 29, 2020, 09:15:55 PM
Hi everyone!
Was trying to get some photos of the neowise comet with the EOS M and its working perfectly, if i zoom on the moon 10x and take a photo i don't get the zoomed version, is there a way/hack for this? i remember people talking here about using one of the croped video modes to take a photo and simulate the zoon effect? i tried but i might be missing something because it doesnt work.

Can anyone help?

It all comes down to enlarging the basic image ... It will be much better to take a few or a dozen photos of a given section of the sky. In the appropriate program, the stars and the comet will overlap and noise will be removed.
https://nightskypix.com/astrophotography-stacking-software/
Or you can use Topaz A.I. Gigapixel for enlargements.
https://www.magiclantern.fm/forum/index.php?topic=22869.msg212747#msg212747

In 70d, when I want to zoom in on something I use digital zoom (x3-x10) in video (canon menu). Unfortunately, the final material is sometimes not suitable for anything ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on July 30, 2020, 12:51:07 PM
Ok so i am on the new (not the latest but the one before) sd overclock build and set the sd card hack to 192 and i get random very spontanious aborts on one of my eos m cameras (in mcm1080 with and without 3x crop max resolution with 25fps). All have the exact same build and settings installed (all cameras have the sandisk extrem pro 128gb 170mb card)
The camera setups only differ in lenses. It works perfect on every camera but not on this one. The abort happens very suddenly without the indicator indicating an abort before, so no orange or red sign it crashes while it's green and  immortal and the exposure has no influence i think) I could eliminate the problem by setting the sdcard hack to 160. Anyone had a similar experience or is there anything i can do? I will test another one of the same type of sdcard...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 30, 2020, 01:15:18 PM
Test the latest build and do tests with the setup not working.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on July 31, 2020, 10:18:19 AM
So i put the sd card with the failure into another camera and now it's randomly crashing there so i think it has to do with that exact sd card although it is exactly the same model as the other ones. I put a new sd card in the camera where the crashes happen the first time and set it to 192 and it works without problems. There is still an orange indicator if i shoot bright or clippead areas (and i may risk a crash if i push it too far) but that happens on every camera so it's normal and has nothing to do with the hard crash problem. Maybe this exact sd card has some sort of failure or damage. I will test further and report back if i make any new discoveries. If i find the time i will also tested the latest build... was there anything changed that has to do with this problem? :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 31, 2020, 10:29:42 AM
Sounds like the card is working different. There´s some way to to deeper formatting on cards, check the sd_uhs thread. Some mention of formatting apps. Did you try doing a low level format in cam?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on July 31, 2020, 01:39:25 PM
Interesting. So i remember doing a deep format with every card in camera but i will test later today and will report back
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on July 31, 2020, 02:12:37 PM
Danne you are awesome! I did a deep format (in camera) with that problematic card and now the problem is gone! Maybe something was wrong, it could be that i formatted it with the canon 6d long time ago i can't remember. Running 1800x1012 14 bit raw 25fps in 3x crop or normal mcmrewire continues (most of the time green and no orange indicator until i fiddled with iso or overexposed like you would never do in reality but no crash or stop so far) with 192mhz card setting. Damn awesome :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 31, 2020, 02:46:50 PM
Nice.
Also. Should be no trace of the name mcm rewire so maybe you are using an older build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on July 31, 2020, 08:01:53 PM
Ah no i just called it like that sry using new build :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 31, 2020, 09:18:53 PM
No worries, have a club soda  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 02, 2020, 06:37:11 AM
Hello everyone! I just purchased a refurbished EOS-M a few days ago and did my first video using Danne's new 7/29 build. Amazing work btw Danne  8)!
It was super hot here in Florida (camera reached 50 Celsius) and I just shot handheld in the 14-bit, 1736 by 976 RAW mode:



I wanted to also test Anamorphic Live View mode, but for some reason it was stuck in "framing" mode and wouldn't let me switch to live-view. I didn't want to record in framing mode because it was really tough to figure out if the focus was right or not.
Is anyone else having this issue (of not being able to switch to live-view in anamorphic mode)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on August 02, 2020, 11:48:50 AM
Cheers  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on August 04, 2020, 05:47:45 AM
Hey guys
No sound when recording mp4

I tried go play around with the settings but I csnt figure it out

There is no sound when recording if I disable raw video

Any clues
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 04, 2020, 06:01:33 AM
Mp4? You mean MOV or can it record with both formats?
If on my build select h264 from the tap screen menu. What does it say in canon menu when you check for audio settings?
If still not solved do a screen recording of what's in your menus.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 04, 2020, 07:39:15 AM
turn off fps override
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on August 04, 2020, 10:18:00 PM
Quote from: Danne on August 04, 2020, 06:01:33 AM
Mp4? You mean MOV or can it record with both formats?
If on my build select h264 from the tap screen menu. What does it say in canon menu when you check for audio settings?
If still not solved do a screen recording of what's in your menus.

Yes sorry .mov
yes its your latest build
the canon audio menu it is enabled
ill try that now

thanks again
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: berechiah on August 04, 2020, 10:19:11 PM
Quote from: 2blackbar on August 04, 2020, 07:39:15 AM
turn off fps override

ill try it now ty
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: HiphopMoment on August 05, 2020, 03:11:44 AM
I'm sorry, my English is not very good.
I like eosm  It is very cheap, second-hand price in China is about 60-70 dollars, I have two.
Eosm if you use a new lens, its single touch focus is useful, as long as you don't use AF-s. So I think excuse me, how to cancel the touch screen out the menu。
So many people in China use the Magic Lantern, they would like to donate, but Bitcoin cannot be used in China。
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on August 05, 2020, 12:37:52 PM
Is it possible to have some sort of level indicator in eos m?. like to see if the camera is tilted or straight?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: m300 on August 06, 2020, 07:30:24 PM
I seem to have lost HDMI output in Movie Mode only. I tried resetting the ML settings as well as the Canon settings and custom functions but still nothing. Any ideas?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 10, 2020, 10:30:01 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Cropped real time preview with 3k and 4k modes

Quite epicly theBilalFakhouri gave us real time preview in higher resolutions. Have fun.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: eXodus on August 11, 2020, 12:17:34 PM
I really hope that someone knows a fix for this issue I'm having. I think it started happening ever since 2.5k got viable, so.. somewhere around fall of last year, I think? Whenever I try to record, my EOS M has to go through 3-6 failed attempts until it actually keeps going - then I can record for minutes without any issues, but this happens every time I boot up the camera and it gets really damn annoying. It also doesn't seem to matter which mode I'm in, but I usually record in 2.5k. I've been using several different builds (currently on 'Jul19') and my SD card is a Lexar Prof. 1667x SDXC-II v60, which is obv fast enough to handle the amount of data.

Things I've tried: Making sure that fps override and similar stuff is turned off / using the SD card warm-up feature (all the way up to the highest setting) / trying out a different SD card (some random Transcend v30) / turning off all the liveview features like zebras etc / using different fps settings / using those new SD card hacks / reinstalling ML

Nothing worked so far. Is this just plain and simple SD card incompatibility? Because the EOS M can't work with SDXC-II cards or something? I could try out one of those SanDisk Extreme Pro that people like to use~ But I wanna make sure that this is the exact problem before I throw my money out of the window if this doesn't fix anything, haha. Could it be that my camera is just faulty itself? Looking forward to any possible solution here~

Another minor question -- is it possible to automatically apply audio settings after startup? They always seem to default back to the standard values whenever I boot up the camera and I usually have to enter the canon menu, go into the audio settings and back out again for it to actually set the levels correctly. It's just a minor inconvenience compared to my main issue, but it would be neat.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 11, 2020, 02:34:40 PM
New version:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 2.8K preset added(only 2.39:1 and 2.35:1 but continuous). Also works with 25fps.

Thanks to real time preview in higher resolutions I decided to add a 2.8k preset. Pixel map files also updated.

Reachable here:
(https://i.postimg.cc/gjFjgGVL/VRAM0-PPM-500px.png)

and here:
(https://i.postimg.cc/26B3d1Zf/VRAM1-PPM-500px.png)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Possie on August 11, 2020, 05:41:15 PM
Thank you !

Zeek was on it like a hawk

https://youtu.be/58GuYzfsV9w
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Emyoss on August 12, 2020, 04:56:31 AM
Hi everyone, I'm a beginner in the world of photography and I'm having problems with the ML installed on my EOS-M. First of all :

I have installed and reinstalled several versions of ML but each time, it's impossible for me to shoot more than in "1080p" ( 1736x976 & 1736x738 ) in fact, when I shoot in 2k 3k 4k etc. the screen becomes weird full of glitch, well as I want to film in RAW ; it's a problem, but not the worst!

The real problm is : when I want to do the auto-focus by pressing the main button, the camera thinks I want to take a picture (even when I don't press it, half press) what happens then is the worst bug: the screen goes crazy, and it even happened that it doesn't want to restart before I remove the battery ...

Any help would be appreciated, if other people have had this kind of experience don't hesitate to tell me how you managed to fix it.


Specs :

My hardware: Canon EOS-M + Pancake Ef-M 22mm, SD card: SDXC SanDisk Extreme PRO 64 GB, 170 MB/s, Class 10, U3, V30.

My current version of ML: Last Danne's version
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on August 12, 2020, 04:27:27 PM
This is awesome!

Very much looking forward to properly try this out.

I did some crop factor calculations for different modes, to see how they compare relative to the width of a full frame sensor.

4.61x (1.6 * 2.88) in mv1080 x3crop 1800px wide
3.29x (1.6 * 2.06) in 2.5k @ 2.35:1
2.96x (1.6 * 1.85) in 2.8k @ 2.35:1

The 2.8k crop is a good match with lenses for Super16 sensors, since Super16 is 2.88x crop relative to full frame sensor width. This 2.8k mode comes really close to the Blackmagic Pocket Cinema Camera in terms of field of view.

EOS M sensor size: 22.3 x 14.9 mm
EOS M sensor width: 5184px

From my quick testing I conclude that the 2.8k mode has THE perfect crop factor for my Kiev 16U lenses! The Mir-11 12.5mm F2 (Kiev 16U lens) is used to it's max area without heavy vignetting, resulting in approximately a 43mm focal length relative to full frame.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 12, 2020, 09:34:59 PM
Good news is that some zoom lenses have bigger circle of confusion than usual when zoomed in, i have one where wide angle 4mm covers 16mm frame and when you zoom in to 12mm then it almost covers micro 4/3.I suspect a lot of zoom lenses work like this but not all of them, i have also krasnogorsk 3 lens but it works totally different and its hard to get focus because it needs to be exactly distanced from sensor or it wont work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on August 12, 2020, 09:40:19 PM
Maybe your are using CoC in a way not supposed to be. Maybe you confuse it with "Image Circle".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Jip-Hop on August 12, 2020, 10:02:38 PM
Quote from: 2blackbar on August 12, 2020, 09:34:59 PM
Good news is that some zoom lenses have bigger circle of confusion than usual when zoomed in, i have one where wide angle 4mm covers 16mm frame and when you zoom in to 12mm then it almost covers micro 4/3.I suspect a lot of zoom lenses work like this but not all of them, i have also krasnogorsk 3 lens but it works totally different and its hard to get focus because it needs to be exactly distanced from sensor or it wont work.

Which lens is that? Covering a 16mm frame at 4mm foals length would still make it a very wide lens on the 2.8k mode :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 12, 2020, 10:33:49 PM
Yes its a bit fisheye on wide end, but 12mm is not as distorted.ITs this one, i had to rip the casing for aperture to access the aperture film/blades and move them manually to close the lenes, also the lens is closed partially when not powered on. You cant do that also by feeding it 5V but i couldnt bother with it.
https://www.amazon.com/Tamron-M12VG412-Auto-Iris-Vari-Focal-Megapixel/dp/B00OBM8CB2
when i set 2.5k mode to 1920x1080 then it doesnt vignette in 16:9 on 4mm, but it has black corners on 4mm with full 2.5k, they disappear on about 7mm i think.
Yeah its image circle, it gets bigger when you zoom in, i think all 1/2'' , 2/3'' lenses should work on M crop mode and 2.5k modes Without vignetting.
1/2 or 2/3'' is close to 16mm film.
If You have speedbooster and canon 18-55mm, you can use it with 2.5 or 2.8k mode, its still quite wide.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 13, 2020, 12:38:09 AM

This new build is nothing short of amazing! Not sure if anyone has actually tested the max continuous recording times on 2.5k raw and beyond, but I did a test today (2.5k RAW, 16:9) and got a record time of 33 min, 51 sec...and the only reason it stopped there was because my sd card was full.

(https://i.imgur.com/HRQgPzl.png)
(https://i.imgur.com/tmmgfU8.jpg)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 13, 2020, 10:35:45 AM
Yep, Continuous is possible for sure in that mode, just not with 2.5K resolution @16:9,
2-2.3K @16:9 yes definitely around continuous. 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 13, 2020, 11:08:45 AM
Are there new fpm files for 2.8k ? I have pixels onscreen in mlvapp 1.11 in this mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 13, 2020, 11:30:24 AM
I have uploaded new files. You should be getting a question if Mlv App needs updating I think. Could you test replacing all fpm files in your version of Mlv App with these maps? They are the latest ones.
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/focus_pixel_maps.zip
Following map files are for 2.8k files:
80000331_2592x1109.fpm
80000331_2592x1108.fpm


And also good if you can upload one short example MLV not working.

EDIT: Maybe the official Mlv app version now still didn´t get the pixel updating automation included yet.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on August 13, 2020, 11:51:54 AM
Quote from: Danne on August 13, 2020, 11:30:24 AM
...You should be getting a question if Mlv App needs updating I think...
EDIT: Maybe the official Mlv app version now still didn´t get the pixel updating automation included yet.
The latest official version can't do this. You need a inofficial newer version.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 13, 2020, 04:02:11 PM
Quote from: ZEEK on August 13, 2020, 10:35:45 AM
Yep, Continuous is possible for sure in that mode, just not with 2.5K resolution @16:9,
2-2.3K @16:9 yes definitely around continuous. 8)

Thx for the disclaimer Zeek :) I just opened up the recording in MLV app and realized that it was not 16 by 9 (more like 21 by 10)...I kind of like it though as its a fuller look than 2:39 or 2:35. Would you happen to have a quick tutorial or steps on how I'd be able to save this as a custom preset. I've tried several times and just cannot get the camera to save it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 13, 2020, 04:06:05 PM
Whatever settings you've set, it's saved automatically until you change it again.
Just select a Custom Mode, and select your preset/settings and they should save automatically within the CM you've chosen upon restart.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 13, 2020, 05:27:19 PM
Quote from: SoFloCineFile on August 13, 2020, 04:02:11 PM
Thx for the disclaimer Zeek :) I just opened up the recording in MLV app and realized that it was not 16 by 9 (more like 21 by 10)
How do you mean? Ratio is 16:9. 1920/1080 = 1.777. Then 2192/1.777=1233. So 2192x1233.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 13, 2020, 06:10:58 PM
Quote from: Danne on August 13, 2020, 05:27:19 PM
How do you mean? Ratio is 16:9. 1920/1080 = 1.777. Then 2192/1.777=1233. So 2192x1233.

(https://i.imgur.com/YbfpGKc.png)

So I shot at 2512 X 1190 in the clip I referred to earlier where I tested max recording time.

In the Magic Lantern recording settings I did indeed set it to 16:9, and I didn't notice that it wasn't 16:9 until I opened the recording up in MLV. It was my mistake as I didn't actually calculate out the aspect ratio from the resolution like you-- I assumed that Magic Lantern would have automatically adjusted it based on me having selected the 16:9 aspect ratio within the recording settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 13, 2020, 06:20:15 PM
I just realized that in the 2.5k RAW and above modes shutter fine tuning does not work...is that a known limitation of those modes?
I'm using the latest 8/11 build. Shutter fine tuning works in 1080 mode and the Anamorphic binning modes, just not any of the 2.5k and above modes for me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: liuk718 on August 14, 2020, 02:55:18 AM
Thanks danne,can we shot in 1920*803*48fps 1:1pixels mode?2800*1171*24fps is more pixels than 1920*803*48fps
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 14, 2020, 05:23:35 AM
You can use HD 1080p hf and then push SET button to get into 1:1 high framerate modes. 1648x688 for 2.39:1 is what I managed to have kindo working more or less continuous.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: LeandroFreitas on August 14, 2020, 08:19:37 AM
Quote from: SoFloCineFile on August 13, 2020, 06:20:15 PM
I just realized that in the 2.5k RAW and above modes shutter fine tuning does not work...is that a known limitation of those modes?
I'm using the latest 8/11 build. Shutter fine tuning works in 1080 mode and the Anamorphic binning modes, just not any of the 2.5k and above modes for me.
It worked for me and I am using Dannes 12 August 2020 build.
(https://i.imgur.com/Hmv4gjA.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 14, 2020, 08:39:37 AM
It's not working with 2.8k. Not sure why not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 14, 2020, 03:38:37 PM
Quote from: Danne on August 14, 2020, 08:39:37 AM
It's not working with 2.8k. Not sure why not.

Thanks for confirming. I kept playing around with the settings last night and ultimately its not a big issue as I can shoot in 25 fps and set the shutter to 1/50 using the standard shutter control without fine tuning.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 14, 2020, 03:58:24 PM
Quote from: SoFloCineFile on August 13, 2020, 06:20:15 PM
I just realized that in the 2.5k RAW and above modes shutter fine-tuning does not work.
I'm using the same build as you. I've tested both 2.7K Build & the new 2.8K Build. You can get image fine-tuning to work in both 2.5k & 2.8K to set to 1/48 etc. It won't, however, work in the "actual" 2.8K Preset at all, Only the 2.8k or whatever Resolution in the 3K RAW Mode preset. The thing is, "Ratio" in the 3rd ML Tab needs to be switched OFF in order for Shutter Fine-Tuning to work in the 3K Preset. Works either way with 2.5k.
In the 2.8K Preset, if you want closer to 1/48, I guess setting shutter to full-range will get you 1/46.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 14, 2020, 08:55:48 PM
Quote from: ZEEK on August 14, 2020, 03:58:24 PM
The thing is, "Ratio" in the 3rd ML Tab needs to be switched OFF in order for Shutter Fine-Tuning to work in the 3K Preset. Works either way with 2.5k.
In the 2.8K Preset, if you want closer to 1/48, I guess setting shutter to full-range will get you 1/46.

Thanks Zeek! I was able to get shutter fine tuning to work with 2.5k res like you said...the problem earlier was that I was in the 2.8k preset and had adjusted the res down to 2.5 in that same preset without actually going into the 2.5k preset.

As for the 3k preset, I did confirm that I am able to fine tune the shutter in that mode when turning off the ratio, also like you said. However, the only issue with that workaround is that my fps was now limited to 18fps even with 25fps setting enabled-- it seems that in that mode, you need an anamorphic aspect ratio in order to be able to record at 24 or 25 fps.

Honestly I'm more than happy with being able to shoot in 2.5k with the anamorphic aspect ratios and being able to set the shutter correctly in those modes.
Thx again to both you and Danne for taking the time to look into this :) You both truly have the patience of saints to listen and respond to everyone's queries on here!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 14, 2020, 09:02:11 PM
Quote from: Danne on August 13, 2020, 05:27:19 PM
How do you mean? Ratio is 16:9. 1920/1080 = 1.777. Then 2192/1.777=1233. So 2192x1233.

Also, I've done a test and discovered that the max 16 by 9 resolution I can record in *continuously* is 2400 X 1350! Very exciting stuff! Will be posting a sample video of what that res looks like soon!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 14, 2020, 09:53:44 PM
Does fine tuning work if selecting 2.8k and turning off ratio?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 14, 2020, 10:22:07 PM
Quote from: Danne on August 14, 2020, 09:53:44 PM
Does fine tuning work if selecting 2.8k and turning off ratio?

Yes...Only problem with that workaround is like I was saying before-- by turning of the ratio, frame rate is then limited to 18 fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 15, 2020, 04:38:36 AM
Not what I meant when I wanted to test the dedicated 2.8k preset. Anyway:

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

- Fixed fine shutter tuning for 2.8k preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nikfreak on August 15, 2020, 01:58:58 PM
As far as I remember EOS-M was able to use the commented fps values too:
https://bitbucket.org/nikfreak/magic-lantern/src/100D_merge_fw101/src/fps-engio.c#lines-253

Anyone time to try it with sd overclock?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: EOS M dude 1 on August 15, 2020, 02:14:36 PM
Have tested latest build.

Write speeds are mode dependent, write speeds in 4k mode is amazing:

4K mode: up to 79MB/s
3K mode (and other modes): up to 65MB/s

With Sandisk Extreme Pro 95.

Something is hindering write speed in other modes than 4K. Would be fantastic to get 79MB/s in 3K mode. Then 3K 14bit 24fps almost continuous is possible. No need for 2,8K mode then.

Would like to change fps in 4K mode (does not work over 9-10fps now).

It would be possible to get around 3 sek burst of real 4K 1:1 10bit 24fps in near future I think.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: notthesame on August 15, 2020, 04:39:21 PM
Sounds amazing, let's hope there's a way :)
Thanks to everyone involved making the EOS M such a great raw camera!

I just wanted to let you know: I'm still a bit of a believer in the 5k anamorphic 1x3 pixel-binning modes. Almost no additional crop still sounds fantastic (shallow DOF, no need for extreme wide angle lenses, less aliasing).

I had a question about resolution limitations in 5k anamorphic at 12bit: realized that this has been answered on page 170. It is a limitation we can't get around with the recent improvements in SD overclocking. Higher resolutions would lead to an unacceptable amount of corrupt frames. Sad, I was hoping for slight improvements in the anamorphic mode as well...well then, I guess I have to hunt for good wide angle lenses to fight the crop :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on August 16, 2020, 10:41:47 PM
Hello all!
Thank you for this wonderful project and all the amazing improvements that have been made lately!
I have a couple of questions about the different EOS-M video profiles/presets:
- Is it possible to disable the zoom in the live view in 2.5k/2.8k/3.0k modes? I know the picture is severy cropped, so I would get a small view with black borders all around, but that is absolutely ok for me. I just don't know if this is a known limitation or a design choice.
- Any chance to have in the future a 2x2 profile (with line/column skip mode) to get a 2.6k using the full width of the sensor?
Thank you in advance for any feedback!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SoFloCineFile on August 18, 2020, 02:56:25 AM
Quote from: Danne on August 15, 2020, 04:38:36 AM
Not what I meant when I wanted to test the dedicated 2.8k preset. Anyway:

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

- Fixed fine shutter tuning for 2.8k preset.

Thank you Danne! It works gr8 now :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeafEyeJedi on August 20, 2020, 02:56:44 PM
Quote from: nikfreak on August 15, 2020, 01:58:58 PM
As far as I remember EOS-M was able to use the commented fps values too:
https://bitbucket.org/nikfreak/magic-lantern/src/100D_merge_fw101/src/fps-engio.c#lines-253

Anyone time to try it with sd overclock?

I'd be interested to try it out on the 100D if still need...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on August 22, 2020, 01:24:39 AM
Love the new 2.8k stuff! Just have a question about the 5k modes. What's the difference between the two? The FLV mode still seems to cut half of the live view out just like the other one. Am I not using this mode as intended?

Edit: Nevermind. Figured it out!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nikfreak on August 23, 2020, 10:41:51 AM
Quote from: DeafEyeJedi on August 20, 2020, 02:56:44 PM
I'd be interested to try it out on the 100D if still need...

You would need to place the commented values into fps-engio.c then try out with sd overclok enabled if camera can record that fps. Don't forget to ESPECIALLY try 3x crop mode please  ;D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 23, 2020, 11:23:27 AM
What are we testing? SD overclock presets or some preset or both? Why do we need fps-engio changes?

I tested 100D overclock patches a while ago. Think It behaved much like eos m or worse. Maybe it will work with 192Mhz, don't remember. Definately not working with 240Mhz patch.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Madlen on August 24, 2020, 08:44:31 AM
Thank you so much!
Can I put this ML release on my EOS M2?
Other M2 releases from links in the M2 branch are no longer supported.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: felinefurnishings on September 01, 2020, 12:16:27 AM
My experience with ML for the EOS-M has been almost magical.  I have been spending pretty much one half of every day working with the August build.  Magic Lantern breaks at 29.*** frames per second, that is where the pink and or corrupted frames I saw a few weeks ago come from, that is not really a problem and I may find how to disable other running processes in ML, that will allow me to film at 29.*** without corruption present.   Efficiency is King, there is no such thing as multi-tasking without multiple processors.

Sunday, I went through 13K frames after exporting .DNG from the MLV app and erased the unusable frames, then imported them into DaVinci Resolve....that is where the problem came in.  DaVinci isn't smart enough to import based on a range of frames, DaVinci doesn't order the frame ranges correctly.

Zeeks' and IMCE's YouTube videos on using an Android phone for a monitor works really well..
I read the comments on the Seattle video in User-shared videos....The words UHD and Mod was discussed.  So, I am going to sift through the forum and piece together those details.  Thanks again Danne...great software...

This really is quite an adventure I am having...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 01, 2020, 10:03:56 AM
30fps could work with some tinkering. Maybe need to talter timers. Did you try with kill global draw enabled under raw video?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: felinefurnishings on September 01, 2020, 05:17:45 PM
Thanks, Danne:

So, a re-statment of the problem....at 29.*** fps, I got 4.5 thousandths of a percent pink/corrupted frames.

I re-ran what I think were my original settings, but turned on Global Kill.  But, I did an apple to apple comparison with only one change, ran on a 130MB/s card, compared to a 170/MBs card.

130....39.** write speed, red camera, 8milliseconds Idle (available buffer ?)          Didn't look for corrupted frames
170....45.7 - 45.9  write speed, green camera, 4% - 5% Idle (available buffer ?)   ZERO corrupted frames

Problem solved, thanks...I'm learning a number of things per day because I am delving into all the settings and modes of ML.  Oh, I ran these 2 tests with only 160 on the SD overclock and 12 bits depth.  I'll probably change the bit depth and overclock later today, re-run just to see how the write speed changes...



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thinh23.976 on September 01, 2020, 05:28:25 PM
First of all...thanks Danne, a1ex, Wultz, Zeek, other developers and all of you the fans of ML Raw on EOS M. You guys are making this community so amazing!

I luckily found an M in my hometown (Saigon, Viet Nam) and finally start using it to produce .mlv raw video. But I still got some problems and start finding out the anwers myself in this topic.

I seems got the same problems with this homie so if anyone can help us with some trick, please tell.

Have a nice day/good night everyone!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thinh23.976 on September 01, 2020, 05:29:39 PM
Quote from: Emyoss on August 12, 2020, 04:56:31 AM
Hi everyone, I'm a beginner in the world of photography and I'm having problems with the ML installed on my EOS-M. First of all :

I have installed and reinstalled several versions of ML but each time, it's impossible for me to shoot more than in "1080p" ( 1736x976 & 1736x738 ) in fact, when I shoot in 2k 3k 4k etc. the screen becomes weird full of glitch, well as I want to film in RAW ; it's a problem, but not the worst!

The real problm is : when I want to do the auto-focus by pressing the main button, the camera thinks I want to take a picture (even when I don't press it, half press) what happens then is the worst bug: the screen goes crazy, and it even happened that it doesn't want to restart before I remove the battery ...

Any help would be appreciated, if other people have had this kind of experience don't hesitate to tell me how you managed to fix it.


Specs :

My hardware: Canon EOS-M + Pancake Ef-M 22mm, SD card: SDXC SanDisk Extreme PRO 64 GB, 170 MB/s, Class 10, U3, V30.

My current version of ML: Last Danne's version

First of all...thanks Danne, a1ex, Wultz, Zeek, other developers and all of you the fans of ML Raw on EOS M. You guys are making this community so amazing!

I luckily found an M in my hometown (Saigon, Viet Nam) and finally start using it to produce .mlv raw video. But I still got some problems and start finding out the anwers myself in this topic.

I seems got the same problems with this homie so if anyone can help us with some trick, please tell.

Have a nice day/good night everyone!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 01, 2020, 06:14:27 PM
Turn off auto focus. Not really working with movie recording.
Turn off focus aid under customized buttons if you want control over halfshutter.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: felinefurnishings on September 01, 2020, 07:50:39 PM
Because of the my previous post.  Learning that turning on Global Draw Kill increases performance, I ran 8 test runs on differing exFAT allocation unit sizes.  If you format an SD card, low level format in Windows 10...that is you turn off "quick format", the SD card will heat up and you can burn up the card, so don't do that... I realized that just after I started a low level format...

The parameters I used were: Aug 11th build (the one with the CMD1, CMD2....presets), 160 overclock and 192 overclock, 12 bit depth, CMD1 (1080p, max RAW), sound recording OFF, Global Draw Kill ON, 29.*** FPS.  I used the 170/MBs Extreme Pro SD card, 128gig. 

Last, the numbers I am relaying are from me watching the Green Camera..the numbers do go up and down a bit, so they are approximate, my main goal was to identify the best numbers after the camera was running for a while, because when the camera first starts the numbers are fluctuating, ... These are not Benchmark run tests, because I haven't looked into that subject matter yet..

AUS 2048
160 overclock.....  44.3-44.4   4 % Idle
192 overclock       44.6-44.8   3-4 % Idle

AUS 4096
160 overclock..... 45.6-45.8    6-7 % Idle
192 overclock      45.4-45.5     6-7 % Idle

AUS 8196
160 overclock....  45.3           6 % Idle
192 overclock      45.4-45.7    6 % Idle

AUS 16384
160 overclock......45.7-45.8    6 % Idle
192 overclcok      45.6-45.7     6 % Idle

So, I am going with 4096 allocation units on the SD card.  A 6-7% Idle, in my opinion, points to the best throughput. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 01, 2020, 11:07:53 PM
Latest build and 192Mhz setting with sandisk 170Mb/s is probably a safe bet.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thinh23.976 on September 02, 2020, 04:12:14 AM
Quote from: Danne on September 01, 2020, 06:14:27 PM
Turn off auto focus. Not really working with movie recording.
Turn off focus aid under customized buttons if you want control over halfshutter.

Wow Danne you're the best. That tips solved my problems! Thank you! Hope the homie Emyoss will solve this, too
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: felinefurnishings on September 03, 2020, 05:48:41 AM
From within ML, it's a couple of menu presses to get to the normal EOS-M menus, where the ISO can be changed.  But, I cannot find in ML where or how to change, tune, override, set the ISO.  The Expo. Override in the EXPO menu works on setting shutter, but is there a similar option for ISO ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: drkim on September 07, 2020, 08:55:14 AM
Kind of a weird question:
I'm using my EOS-M sometimes with a magnetic viewfinder attached over the display, and also sometimes porting the display via HDMI to a large monitor.

Is there a way to do a 'screen touch' from one of the buttons, when I can't actually touch the screen? (like for triggering a custom white balance, etc.)

Thanks in advance!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 07, 2020, 09:36:08 AM
Under customized buttons you can select info button to open up menu or preset short cuts etc. There are a few more things you can customize in there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 10, 2020, 03:00:03 PM
Test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep12.EOSM202_frtp_hdmi.zip

Commit:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/f7e7ce129dfe055070e2012982edc83f50e8e9bd#chg-modules/crop_rec/crop_rec.c

Experimental build exploring real time preview in x5 zoom mode. All code from here:
https://www.magiclantern.fm/forum/index.php?topic=25287.msg230595#msg230595

Also this post:
https://www.magiclantern.fm/forum/index.php?topic=25323.msg230688;topicseen#msg230688

As image suggests frtp=full real time preview. The hdmi preset should be used when monitor attached(didn´t test myself). These presets only works with 2.5k x5 zoom mode.

Early stages. What you see in frtp mode is a smaller portion of the x5zoom. What is missing is shown as a black border on the right. Bottom part will be scrambled.
If image flicker push menu button a few times. All issues and findings please post in the liveview investigation thread. Link above.
Thanks to @theBilalFakhouri for doing all the hard work on this.
(https://i.postimg.cc/90f0DQ2K/VRAM0-PPM-scaled.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 10, 2020, 05:31:57 PM
I downloaded it but i dont have as many startup presets on the list, besides what was on that list since 6 months i see only new 2.8k is there from month ago but nothing more and theres no frtp preset on that list, its definitely shorter, like 6 presets.
Do i need to unlock them ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 10, 2020, 05:37:28 PM
Not from the fast preset list. Instead push set button standing on preset to reach the full list. A few more goodies on there if you never been in there ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 10, 2020, 06:07:21 PM
Ok ihave it, that neew preview works , framing is the same as in "framing" preview mode just that black bar is there, but it is better than choppy "preview" one even now, you can center subject properly, will we get it for 2.8k mode as well ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: felinefurnishings on September 10, 2020, 08:29:39 PM
Intervalometer, Auto WB, Dual_Iso, 11 Presets.....How do you do it, Danne....exceptional
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 10, 2020, 08:46:09 PM
hehe, I am mostly a code "polisher" but thanks. Hope you enjoy the build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: turnlemons2lemonade on September 11, 2020, 09:40:14 AM
Wow, I'm in holiday but f&$& it I have the EOS M with me and will load this straight away.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: seguracine on September 11, 2020, 02:26:49 PM
hola tengo la eos M6 mark II   me gustaria grabar a 3840x1600 ¿sabes ai hay algun sotfware?
[email protected]
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 11, 2020, 03:54:18 PM
Quote from: seguracine on September 11, 2020, 02:26:49 PM
hola tengo la eos M6 mark II   me gustaria grabar a 3840x1600 ¿sabes ai hay algun sotfware?
[email protected]

Hola,
No hay Magic Lantern para la EOS M6 II, no puedes grabar videos a 3840x1600 . .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thinh23.976 on September 12, 2020, 10:47:32 AM
Quote from: Danne on September 10, 2020, 03:00:03 PM
Test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep10.EOSM202_frtp_hdmi.zip

Commit:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/f7e7ce129dfe055070e2012982edc83f50e8e9bd#chg-modules/crop_rec/crop_rec.c

Experimental build exploring real time preview in x5 zoom mode. All code from here:
https://www.magiclantern.fm/forum/index.php?topic=25287.msg230595#msg230595

Also this post:
https://www.magiclantern.fm/forum/index.php?topic=25323.msg230688;topicseen#msg230688

As image suggests frtp=full real time preview. The hdmi preset should be used when monitor attached(didn´t test myself). These presets only works with 2.5k x5 zoom mode.

Early stages. What you see in frtp mode is a smaller portion of the x5zoom. What is missing is shown as a black border on the right. Bottom part will be scrambled.
If image flicker push menu button a few times. All issues and findings please post in the liveview investigation thread. Link above.
Thanks to @theBilalFakhouri for doing all the hard work on this.
(https://i.postimg.cc/90f0DQ2K/VRAM0-PPM-scaled.png)

Awesome, Danne! Gonna check it out later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: drkim on September 13, 2020, 10:53:49 AM
Quote from: Danne on September 07, 2020, 09:36:08 AM
Under customized buttons you can select info button to open up menu or preset short cuts etc. There are a few more things you can customize in there.
Hey Thanks Danne, I couldn't find the customized buttons menu.
Is it under something else?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 13, 2020, 11:36:47 AM
Prefs -> Arrow/SET shortcuts
https://wiki.magiclantern.fm/camera_help#arrow_set_shortcuts
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: HugoMouteira on September 13, 2020, 10:06:09 PM
Quote from: Danne on September 10, 2020, 08:46:09 PM
hehe, I am mostly a code "polisher" but thanks. Hope you enjoy the build.

Hello Fam!
I'm looking forward to get an EOS M until the end of this year, just to start practicing with some shots for youtube, because of the jawdropping quality of this 2012 paired with Danne's ML builds.

But whenever I try to acces Danne's builds in bitbucket.org, I always get the followin error "That link has no power here
Return to the previous page or go back to your dashboard".

Can anyone help me?

Regards
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: darthvim on September 14, 2020, 12:56:30 AM
Quote from: thinh23.976 on September 12, 2020, 10:47:32 AM
Awesome, Danne! Gonna check it out later.

This is already amazing, that's all what I was dreaming of :) - Thank you all so much!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: swordsmasterxii on September 14, 2020, 04:21:26 AM
Hi Guys,

What's the best way to use dual iso? I tried in 3k but still getting a lot of aliasing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on September 14, 2020, 12:38:42 PM
hi everyone, it will be marvelous if someone could make a properworking high framerate mode at least 46 fps in 16:9
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mojofunkster on September 15, 2020, 04:34:19 PM
Anyone know how to get these two things to work consistently?

1. Clean HDMI

2. Not auto powering off

I have to power the camera off and on about 30 times to get it to have clean HDMI and then I have to hope that it doesn't stop sending signal after 30 min. It's driving me crazy.

I have overlays turned off, and sticky half shutter turned on. Is there something I'm missing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kanenas on September 16, 2020, 04:49:06 PM
Hi all, does the Touch AF works in movie mode? (15Aug20 build)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on September 16, 2020, 08:22:00 PM
Amazing stuff. Thanks Danne. Let's hope the bugged out area and the black area can be improved. M will be (is a) beast :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2020, 06:52:57 AM
New experimental build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep17.EOSM202_frtp.zip

Commits:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/

(https://i.postimg.cc/VkLdq7mH/VRAM0-PPM-500px.png)

Follow here:
https://www.magiclantern.fm/forum/index.php?topic=25323.msg230933#msg230933
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 17, 2020, 07:03:21 AM
Awesome Danne! 8)
It's all coming together.
- The 5K Anamorphic FRTP Mode LV looks nice, just has the pink flicker strip on the bottom area. Also, seems that it's 2.35:1 or so only. 16:9 isn't possible even with 3.5K Anamorphic.
- X5 Crop, 1920x1280 frtp. Cool mode @1920x1080, nice how the LV Resembles the actual frame. The only issue is that it looks a little pixelated when imported into MLV App.
Great things are happening.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 17, 2020, 09:24:36 AM
Quote from: ZEEK on September 17, 2020, 07:03:21 AM
Also, seems that it's 2.35:1 or so only. 16:9 isn't possible even with 3.5K Anamorphic.

It's about ~2.50:1 AR, I am planning to make 16:9, not sure if it would possible but worth trying.

Quote from: ZEEK on September 17, 2020, 07:03:21 AM
- X5 Crop, 1920x1280 frtp. Cool mode @1920x1080, nice how the LV Resembles the actual frame. The only issue is that it looks a little pixelated when imported into MLV App.

@Danne
I think the issue is the Jagged-Lines because of 8183 and 8184, shouldn't be applied in 1:1 Mode, from your code:

            case CROP_PRESET_anamorphic_EOSM_frtp:
            case CROP_PRESET_CENTER_Z_EOSM_1920x1280_frtp:
                adtg_new[2] = (struct adtg_new) {6, 0x800C, 0 + reg_800c};
                adtg_new[3] = (struct adtg_new) {6, 0x8000, 6};
                adtg_new[17] = (struct adtg_new) {6, 0x8183, 0x21 + reg_8183};
                adtg_new[18] = (struct adtg_new) {6, 0x8184, 0x7b + reg_8184};
                break;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 17, 2020, 10:05:28 AM
S
Quote from: theBilalFakhouri on September 17, 2020, 09:24:36 AM
It's about ~2.50:1 AR, I am planning to make 16:9, not sure if it would possible but worth trying.
Right, no problem, doing great stuff here.👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2020, 10:22:53 AM
Quote from: theBilalFakhouri on September 17, 2020, 09:24:36 AM
@Danne
I think the issue is the Jagged-Lines because of 8183 and 8184, shouldn't be applied in 1:1 Mode, from your code:

            case CROP_PRESET_anamorphic_EOSM_frtp:
            case CROP_PRESET_CENTER_Z_EOSM_1920x1280_frtp:
                adtg_new[2] = (struct adtg_new) {6, 0x800C, 0 + reg_800c};
                adtg_new[3] = (struct adtg_new) {6, 0x8000, 6};
                adtg_new[17] = (struct adtg_new) {6, 0x8183, 0x21 + reg_8183};
                adtg_new[18] = (struct adtg_new) {6, 0x8184, 0x7b + reg_8184};
                break;


I think it should be this actually:
            case CROP_PRESET_anamorphic_EOSM_frtp:
            case CROP_PRESET_CENTER_Z_EOSM_1920x1280_frtp:
                adtg_new[2] = (struct adtg_new) {6, 0x800C, 0 + reg_800c};
                adtg_new[3] = (struct adtg_new) {6, 0x8000, 5};
                break;


New build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep17.EOSM202_frtp.zip

EDIT: And of course, focus pixels again ;)

EDIT2: Yet another fix, new upload.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on September 17, 2020, 01:00:47 PM
And 1736x2928 flv anamorphic works too.  At 16 fps and 10bitLL recording is continuous and 12bitLL provides at least 15 sec. recording.  Even 17,134 fps are useable with a few corrupt frames.  Great work!  Thanks everyone involved.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 18, 2020, 02:35:48 PM
New 1920x1280 mode is great, i had to do a bit of steps to get 1920x1080 working from 2.5k mode and it wasnt realtime preview but now it is , this new mode covers exactly my 1/2'' sensor CCTV lens area, its not centered perfectly but its a big improvement, i used these triangles on sides to get it centered/fine tuning, now they dont  move the framing lanymore to left/right/up/down.
Is it possible in this mode to make halfshutter go to closer preview to check focus ? a the moment it goes to framing preview so we basically have 2 same previews, i dont think framing is needed anymore when this one works so good, id prefere to check my focus properly when pressing halfshutter.
Also i cant wait for 2.8k mode with proper realtime framing, even with black bar.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 18, 2020, 04:04:52 PM
Enable zoomaid under customized buttons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 18, 2020, 05:11:32 PM
Thanks ! My memory is really bad these days
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 18, 2020, 05:13:24 PM
Well, in this build I disabled the function when installing ml. Otherwise default on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 18, 2020, 06:21:21 PM
Quote from: 2blackbar on September 18, 2020, 02:35:48 PM
New 1920x1280 mode is great, i had to do a bit of steps to get 1920x1080 working from 2.5k mode and it wasnt realtime preview but now it is , this new mode covers exactly my 1/2'' sensor CCTV lens area, its not centered perfectly but its a big improvement . .

Glad you liked it :), just re-worked on centering for 1920x1280p preset, the Preview is perfectly aligned to RAW data, but the RAW data wasn't centered on sensor, after re-working on it, there is still very little offset (can't be controlled, but also can be ignored), now it's better and more accurate, coming soon on EOS M.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 18, 2020, 08:06:01 PM
Great, in the past i had to make my own custom build cause i used different addresses to reframe it for my CCTV lens, 4-12mm , on 4mm it fit exactly in 1920x1080 without vignetting but it had to be perfect.But its not that a big deal in my case, i can zoom in a bit now.
Cause if ill fix this for my case, it might vignette for others, but no a lot of people test this out like me with cctv lenses and post here.
Here its a bit offside but on that full sensor view it is not that centered so it might be my cctv adapter, or canon sensor mount is not perfectly centered.
Here are my posts about it with more info and addresses, i documented these in case i lost my sourcecode with custom build, which actually happened when i had to update to new build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg222545#msg222545

https://www.magiclantern.fm/forum/index.php?topic=9741.msg222566#msg222566

(https://funkyimg.com/i/37sKg.jpg)
(https://funkyimg.com/i/37sKf.jpg)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2020, 09:36:35 AM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep19.EOSM202_frtp.zip

Added theBilalFakhouri latest achievements from here. The preset list is growing ;).
https://www.magiclantern.fm/forum/index.php?topic=25323.msg231048#msg231048

I guess since we now hace 16:9, if added 2.39:1 and 2.35:1 we would have a real nice set up of ratios.
Adding maybe these two?
1464 x 1836 = 2.39:1
1464 x 1870 = 2.35:1
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Grognard on September 19, 2020, 01:00:07 PM
Amazing!
Yes it will be great to add these two. I Nevers use 16/9.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: andy kh on September 19, 2020, 05:07:36 PM
Quote from: Grognard on September 19, 2020, 01:00:07 PM
Amazing!
I Nevers use 16/9.

Me too
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Anaconda_ on September 20, 2020, 10:06:46 AM
These new settings are really exciting, huge thanks to everyone involved!

Is post #1765 still going to be updated for the 'stable' builds? While other releases in other posts are tests?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 21, 2020, 03:54:18 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep21.EOSM202_frtp.zip

- Added 2.35:1 anamorphic with real time preview

Epic preset coming from theBilalFakhouri.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on September 21, 2020, 07:57:30 PM
Uhmmm... I'm getting some thin vertical stripes over the realtime preview in this newest anamorphic  2.35 AR, but only during recording.
Still a great job!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 21, 2020, 11:23:04 PM
That's indeed epic. Tried this mode: is it for you too continous at 14bit??? I get a green icon here... Awesome.
For the first test it crashed with this kind of console output. After that it worked nicely. Is it normal at the current dev stage, that the lower half of the screen does "anything"? Sometimes I get weird lines, or black white blinking, or a part of the last shown liveview image, or... any idea if it could be possible to make that just black for example?
Another finding: the histogram: while zabras already mark the overexposed highlights, the histogram shows 1..3EV space until overexposure. After a record, it fits again as it should.
But this RT liveview ... just wow!!! So much better than before!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 22, 2020, 06:06:45 AM
I added cropmarks in Overlay section to match the "dead" parts of the preview.
Yes, development stages. Testing, testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 22, 2020, 09:33:48 AM
Thanks! I missed that one - works great, no more flickering in the lower part.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on September 23, 2020, 07:51:52 AM
The latest 2:35:1 mode is great. Can we have the hdmi option for it too like there was for 2.5k? That one worked very well
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 23, 2020, 08:09:08 AM
Quote from: amitkattal on September 23, 2020, 07:51:52 AM
The latest 2:35:1 mode is great. Can we have the hdmi option for it too like there was for 2.5k? That one worked very well

HDMI support is coming soon for all real-time correct preview presets, and of course for the latest 2:35:1 anamorphic mode, glad you liked it :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 23, 2020, 08:28:26 AM
Quote from: theBilalFakhouri on September 23, 2020, 08:09:08 AM
HDMI support is coming soon for all real-time correct preview presets, and of course for the latest 2:35:1 anamorphic mode, glad you liked it :D
The best!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 23, 2020, 08:32:43 AM
Quote from: theBilalFakhouri on September 23, 2020, 08:09:08 AM
HDMI support is coming soon for all real-time correct preview presets, and of course for the latest 2:35:1 anamorphic mode, glad you liked it :D
Awesome stuff here 🎥🔥👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: benoit on September 23, 2020, 09:30:14 AM
Yes awesome stuff here !
Thanks theBilalFakhouri and Danne (the best code polisher ever !) and of course A1ex.
I 'm no more using my 5D2 ... with these releases !
Just a question, perhaps I 'm missing something : is there an option in "clear overlays" to hide white overlays (x5 box) without hide global draw ?
David
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 23, 2020, 08:41:16 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep23.EOSM202_frtp.zip

- Added connection to tap display preset section and ratios(2.39:1, 2.35:1, 16:9). 24fps only for now. Use matching cropmarks from Overlay section to blacken corrupt part of preview image. All thanks to thebilalFakhouri.

Needs testing and feedback. Mostly passed regs but don´t have time for extensive tests.

(https://i.postimg.cc/vTbDFD2L/VRAM0-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on September 24, 2020, 06:22:15 PM
Awesome! Thanks for the mattes Danne. Much better than the flicker😎
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2020, 08:34:11 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep24.EOSM202_frtp.zip

- Automated cropmarks when selecting anamorphic frtp preset. No need for mattes now :). Collab with theBilalFakhouri(who else  :P)

EDIT: Are these new presets cintinuous. Can´t find my sandisk extreme card so all code is done with a slow Ultra 80mb/s card.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 24, 2020, 09:03:20 PM
Nice! Tested especially the 2.35:1 5K anamorphic @14bit - it is continuous here and works great so far! Somewhere @theBilalFakhouri wrote for 700D, that we'll be able to zoom (focus aid) while recording... that sounds very interesting too! And do you see any chance to move the rt liveview some lines verticaly downwards? Is it possible to get larger resolutions in 5K ana when selecting 10bit?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2020, 09:17:20 PM
expanding both height and width possible. What makes life a little more complex these days is when moving width you need to alter following regs accordingly to keep real time preview. not exactly done on a coffe break:
       EngDrvOutLV(0xC0F04210, 0x12E05A0);
        EngDrvOutLV(0xc0f11B9C, 0x72C059F);
        EngDrvOutLV(0xc0f1A00C, 0x72C059F);
        EngDrvOutLV(0xc0f118DC, 0x72C059F);
        EngDrvOutLV(0xc0f118E4, 0x72C059F);
        EngDrvOutLV(0xc0f11B8C, 0x8500BA);
        EngDrvOutLV(0xc0f11B90, 0x40333); /* Decrease Preview Moire*/
        EngDrvOutLV(0xc0f11BCC, 0x850160);
        EngDrvOutLV(0xc0f11BC8, 0x0);
        EngDrvOutLV(0xc0f11ACC, 0x8E0143);
        EngDrvOutLV(0xC0F3B0DC, 0x72C05EF);
        EngDrvOutLV(0xC0F3B074, 0x72C05F7);
        EngDrvOutLV(0xC0F3B070, 0x73205F7);
        EngDrvOutLV(0xC0F3B054, 0x73205A7);
        EngDrvOutLV(0xC0F3A0B0, 0x73605A8);
        EngDrvOutLV(0xC0F3A0A0, 0x73605AB);
        EngDrvOutLV(0xC0F3A04C, 0x732016D);
        EngDrvOutLV(0xC0F389EC, 0x16E0001);
        EngDrvOutLV(0xC0F389E4, 0x733016F);
        EngDrvOutLV(0xC0F389D4, 0x732016D);
        EngDrvOutLV(0xC0F389B4, 0x733016E);
        EngDrvOutLV(0xC0F389A4, 0x732016D);
        EngDrvOutLV(0xC0F38960, 0x7320000);
        EngDrvOutLV(0xC0F38934, 0x732016D);
        EngDrvOutLV(0xC0F380A4, 0x16F0000);
        EngDrvOutLV(0xC0F380A0, 0x16F0000);
        EngDrvOutLV(0xC0F38094, 0x7360000);
        EngDrvOutLV(0xC0F38084, 0x16F0000);
        EngDrvOutLV(0xC0F38080, 0x7330002);
        EngDrvOutLV(0xC0F3807C, 0x16D0000);
        EngDrvOutLV(0xC0F38078, 0x16E0001);
        EngDrvOutLV(0xC0F38070, 0x735016D);
        EngDrvOutLV(0xC0F383D4, 0x1b000c);
        EngDrvOutLV(0xC0F383DC, 0x743017a);
        EngDrvOutLV(0xC0F38024, 0x7420179);
        EngDrvOutLV(0xC0F42194, 0x16D);
        EngDrvOutLV(0xC0F4204C, 0x735016D);
        EngDrvOutLV(0xC0F42014, 0x735016D);
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 24, 2020, 09:22:58 PM
 ;D Haha... just these few little registers?  :P   (UFF.)  :o
It's really great what you guys are doing here!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2020, 09:34:32 PM
New build again.
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep24.EOSM202_frtp.zip

set 25 fps works with 2.35:1 and 2.39:1. Not 16:9. Need some height reduction. Will look into it later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Gubrik on September 24, 2020, 09:45:09 PM
Does new 2.5k hdmi preset work with external monitor as well as 1080 do?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 24, 2020, 10:39:58 PM
Quote from: masc on September 24, 2020, 09:03:20 PM
Somewhere @theBilalFakhouri wrote for 700D, that we'll be able to zoom (focus aid) while recording... that sounds very interesting too!
Work in progress, Yeah :D

Quote from: masc on September 24, 2020, 09:03:20 PM
And do you see any chance to move the rt liveview some lines verticaly downwards?

If you mean to shift the preview downwards or center it on screen, that would be possible . . no idea how to do it yet, that's the next stage for how to control Canon preview :P

Quote from: masc on September 24, 2020, 09:03:20 PM
Is it possible to get larger resolutions in 5K ana when selecting 10bit?

Maximum continuous recording @ 10-bit is 1600x2040 @23.976 FPS 2.35:1 AR, however the preview is limited somehow to process frame size of 2.68 Megapixels, in this case we can only preview 1600x1680 from the actual RAW data which is 1600x2040 = 3.26 Megapixels, that's the reason why I am lowering the width resolution for 16:9, 2:1 presets, exceeding these frame size limits would be the next stage for how to control Canon preview, also no Idea where to start . .

-If we converted 1600x2040 preset to square pixels we are previewing ~1600x560 from 1600x680, You are getting the full width, 120 Vertical Pixels cut in the bottom (better than nothing), If this would be okay, let me know I can make it . .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 24, 2020, 10:56:42 PM
Quote from: theBilalFakhouri on September 24, 2020, 10:39:58 PM
If you mean to shift the preview downwards or center it on screen, that would be possible . . no idea how to do it yet, that's the next stage for how to control Canon preview :P
Yes, that's what I wanted to ask. I wish you luck! ;)

Quote from: theBilalFakhouri on September 24, 2020, 10:39:58 PM
Maximum continuous recording @ 10-bit is 1600x2040 @23.976 FPS 2.35:1 AR, however the preview is limited somehow to process frame size of 2.68 Megapixels, in this case we can only preview 1600x1680 from the actual RAW data which is 1600x2040 = 3.26 Megapixels, that's the reason why I am lowering the width resolution for 16:9, 2:1 presets, exceeding these frame size limits would be the next stage for how to control Canon preview, also no Idea where to start . .

-If we converted 1600x2040 preset to square pixels we are previewing ~1600x560 from 1600x680, You are getting the full width, 120 Vertical Pixels cut in the bottom (better than nothing), If this would be okay, let me know I can make it . .
So this means we don't see the full height on screen, if we choose 1600 in width @2.35:1 atm. Then maybe let it as it is for now for public. But if you get an idea of how to get this next stage - that would again be awesome!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 25, 2020, 05:34:20 AM
Actually. I wouldn't mind the 1600x2040 preset  :P.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on September 25, 2020, 05:43:23 PM
Hi guys, long time no see.
This year i finally used Magic Lantern on my EOS M further from home https://www.magiclantern.fm/forum/index.php?topic=25354.0 (https://www.magiclantern.fm/forum/index.php?topic=25354.0)  with, what i thought was (feature wise) final version, clearly i was wrong. 2.8K preset and real time preview without penalty...it seems i'll have to carry it around longer.
Thank you for all the advancements  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ChaseChimeric on September 25, 2020, 06:26:53 PM
Hey guys, I just got into ML and have an EOSM. I read other forums about the 40MB/s limit on the reader. were you guys able to get past that somehow? I have my finger on the trigger for an Extreme PRO 170. Is that what I need to get continuous RAW?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Audionut on September 26, 2020, 05:15:39 AM
Hi @Danne,

There was a fairly long list of unapproved posts in this thread that you may want to visit and address. Beginning https://www.magiclantern.fm/forum/index.php?topic=9741.msg230819#msg230819

Cheers.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2020, 05:31:03 AM
Hehe, quiz, quiz.
Download area moved to a git account while mercurial was removed from bitbucket. Follow recent links and updated sources for this.

Dual iso 3k. Should work better than in mv1080p but will still have more artefacts than not using dualiso. Personally I left the dualiso wagon while working with movie files. For cr2 stil on the other hand it's working much better imo.

16:9, 46fos. I did my best with higher framerates on eos m. If certain framerates are reduced it's because tested not working without getting pink frames.

@Audionut. Thanks for checking in and moderating.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 26, 2020, 06:59:05 AM
Quote from: Mojofunkster on September 15, 2020, 04:34:19 PM
1. Clean HDMI

2. Not auto powering off

Top of page -> Downloads -> Downloads (drop-down menu) -> Experiments -> Latest Lua updates + fixes (please review)
Rename ML directory, rename Autoexec.bin. Copy extracted lua_fix build contents to card. Overwrite ML-SETUP.FIR (or not). Restart cam.
Then access Prefs tab -> Power save in LiveView -> 30-minute timer Disabled
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2020, 07:40:18 AM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Sep26.EOSM202_frtp.zip


commit:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/5f8099c9f11406fce9dcf1b92a895380c2b3d37f#chg-src/movtweaks.c
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/5f8099c9f11406fce9dcf1b92a895380c2b3d37f#chg-modules/crop_rec/crop_rec.c

- Start off from installation screen layout with "bottom under" (thanks @markanini for reminder)
https://www.magiclantern.fm/forum/index.php?topic=25323.msg231271#msg231271
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 26, 2020, 10:27:46 AM
Great , ill test it.
I realized that we have "when recording - hide" under zebras submenu.
Is it possible to have that option for h
Also in previous build i had a lot of pink frames in fullsensor 2:1 recording, it didnt happen so often a month ago with older builds.
Soemtimes when i hit record the first frame is flashing like white or something for split milisecond.I use fps ooverride to 23.976 exact fps.
Ill try if this new build does that.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2020, 10:31:24 AM
Sorry. I don't follow you. Need exact preset names, exact functions applied and other settings to reproduce.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 26, 2020, 10:33:34 AM
in HD 1080
- turn off aspect ratio so its full sensor recording.
-12 bits
- fps override exact fps 23.976.

I get quite a lof pink frames with that.
no histogram , no digic sharpening etc. just these above changed.
But what got my attention was weird flash on single frame when starting recording.Not sure what it is, it doesnt create pink frames at the beginning of actual mlv .pink frames come a bit later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2020, 10:40:41 AM
In this latest build(I uploaded it a few times today so you migh wanna redownload it again) I went back to my older way of reducing bitdepth. Tried a routine from theBilalFakhouri but had some issues. You might wanna test this version now. If still corrupted try turning if all global draw functions and only keep it on for Liveview. Or even turn global draw totally off to see if that helps.

Otherwise nothing has changed that would affect recordings in this build. With ratios OFF I expect 24fps to work but maybe not 30fps. For that you have to use the higher framerate modes.

EDIT: Also uploaded new pixel map files to Mlv App to fit the anamorphic frtp preset. Also uploaded here:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/focus_pixel_maps.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on September 26, 2020, 11:28:22 AM
I've been testing 48fps with the new builds and ratio on @2.35 or 16:9 set to 10 bit, they've been fine. Even any other mode. I did experience dropped frames a few builds back, but so far so good.
I'm thinking if the 5K Anamorphic should be called 5K 1x3 instead or something similar. Newbies might think you need Anamorphic glass for that mode. But really pleased to see the LV Fix, looks excellent 👌
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 26, 2020, 11:40:03 AM
Quote from: ZEEK on September 26, 2020, 11:28:22 AM
I'm thinking if the 5K Anamorphic should be called 5K 1x3 instead or something similar. Newbies might think you need Anamorphic glass for that mode. But really pleased to see the LV Fix, looks excellent 👌
It´s internal anamorphic on sensor level. Rescaling/upscaling done in post anamorphically but I get why there could be issues understanding. Newbies won´t understand concept of 1x3 either though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 26, 2020, 10:15:32 PM
I was just thinking, with the new 1920x1080 mode that reads evey pixel and is cropped into sensor , we have live preview now so... wouldnt it be better to replace that old 3x crop mode (that is enabled when you press "set" and you get 1x1 pixel sensor readout  ) with it to get full HD 1080p? Cause i remember asking about it in the past if it possible to get higher resolutions of 1080p when pressing "set" in HD 1080 mode , now its here, and id prefere to have full 1920x1080 instead of 1736x976 or whatever it is when cropped into 1x1 pixel redout.
What do You think Danne ? Or new 1920x1080 isnt stable enough ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 27, 2020, 09:31:45 AM
We'll see.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on September 27, 2020, 01:54:31 PM
Using Sep.26 build, after power off if I click display button menu button or d-pad then orange led will blink.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on September 27, 2020, 02:11:51 PM
Nope mine doesn't blink, everything seems fine to me
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 27, 2020, 09:18:34 PM
Friends -

I've been away from this forum for almost a year, but yesterday, I bought another M1 for use with my C-mount lenses. So far, I've always used the 3x crop method (available in the 2018 build), but I hope if you excuse me for asking this:

Is there now a way of getting 1920x1080 video with 1:1 sensor pixel format, i.e. not scaled? (I understand the 3x crop is actually scaled up a bit?)

(Probably answered somewhere else, but buried in lots of other posts... )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 27, 2020, 09:47:48 PM
Quote from: Janke on September 27, 2020, 09:18:34 PM
Is there now a way of getting 1920x1080 video with 1:1 sensor pixel format, i.e. not scaled? (I understand the 3x crop is actually scaled up a bit?)
mv1080p will always be 3x3 binning. x3 or x5 zoom will be 1:1 sensor pixel format(cropped). Lucky we have the perfect compromise which is 1x3 binning(annamorphic modes). Lately even luckier as theBilalFakhouri outlined the necessary regs for correct realtime preview in anamorphic mode:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg231216#msg231216

Now I recommend test through all presets and read backwards about a 100 pages. Preview and exporting I´d recommend Mlv App.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 09:05:13 AM
Thanks for the quick reply - the addy you provided gave a 404 error, but I loaded the Sep. 26 version and tried it out.

I probably didn't make myself clear in my original question; I'm not looking for an anamorphic or cropped version, just a 16:9 video using 1920x1080 (i.e. not 1736x976) not-binned 1:1 pixels directly from the sensor, in the standard 8-bit mov format with up to 30 min. recording.  (Got an interesting crash using the test version; camera locked, had to remove battery... :( )

Am I correct in assuming that this is currently not possible? I see that 2blackbar asked about it 2 days ago, but the current test is a different format, right? I don't want to use any other apps than Final Cut 7...

(Sorry if I'm asking stupid questions, but being away for almost a year, I'm virtually a newbie, again...  :P)

Here's the crash log:

ASSERT: 0
at ./MovieRecorder/MovRecState.c:415, MovieRecorder:ff1f3cb0
lv:1 mode:3

MovieRecorder stack: 1a7758 [1a7878-1a5878]
0xUNKNOWN  @ c380:1a7870
0xUNKNOWN  @ 22194:1a7848
0x00021E8C @ ff0e46c0:1a7830
0xUNKNOWN  @ 21ebc:1a7820
0xUNKNOWN  @ 21f44:1a7800
0x00001900 @ ff1f3cac:1a7790
0x0009E558 @ 9e864:1a7758

Magic Lantern version : Nightly.2020Sep26.EOSM202
Mercurial changeset   : 543f8692f847 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2020-09-26 07:24:36 UTC by [email protected].
Free Memory  : 221K + 2588K

("MacBook-Pro-som-tillhor-Daniel" - talar du också svenska? :) )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 28, 2020, 09:27:46 AM
@blackbar is asking about a refined version of x3 crop which allows for 1920x1276 cropped image on eosm(1920x1280 on 700D). Still cropped 1:1.
I still don´t know exactly what you are talking about but either you utilize the full sensor like when snapping CR2 files getting 1:1 but of course you will be able to do around 1fps movie wise or live with compromises, anamorphic, almost recording full sensor anamorphically.
If still not clear I recommend a month full time practical testing on your own, drawing own conclusions.
Error messages will mostly be impossible to follow if not including exact steps and settings applied before the error.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 09:43:35 AM
Thanks again for quick reply. Sorry for not making myself clear - I'm almost 70 years old, and not as bright with software as you gurus here...

Basically, what I'm looking for is a simple 3x movie crop, 25 fps, standard mov format, just like the one available in the 2018Jul03 version, but a 3x crop with 1:1 pixels that is not scaled from a slightly smaller area (1736x976 ?) of the sensor - as I understand, that's what happens in the 2018 version?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 28, 2020, 09:50:28 AM
I see.

If you are after movie crop mode in h264 mov you can do following.

1 - Tap your screen and select h264 8bit preset:
(https://i.postimg.cc/rsbrjtBg/VRAM0-PPM-500px.png)

2 - While in this mode push SET button and it will enter x3 crop. Enter it again to get back into regular mv1080p.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 05:05:56 PM
I set and tested "h264 8bit", but the crop [/img]video is still the same as in the 2018 version, which, AFAIK, does not use 1:1 pixels from the sensor, but uses a somewhat smaller area of the sensor (1736x976 or whatever, as 2blackbar said on Sep26), and then scales it up to 1920x1080, losing a bit of definition in the scaling.

If this new version would give true 1:1 pixels, then it would give a slightly wider view - which it does not, it's exactly the same as in the 2018 version. I shot both a still frame and a 3x crop movie from the exactly same position, and the movie is about 10% enlarged when viewed full size compared to the still. This corresponds to the "1736x976 or whatever" crop from the sensor.

What I'm hoping for is a true 1920x1080 movie crop with 1:1 pixels from the sensor, in standard h264 8bit format, without any scaling. That feature would be most useful for anyone wanting to use C-mount lenses, and wanting the best possible quality, and still shooting up to 30 min. consecutive video.

Am I totally off track here?

(I don't need all the other esoteric multi-K anamorphic formats that only can record a few seconds max...  :o )


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 28, 2020, 05:51:45 PM
Sounds pretty much off track yes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 28, 2020, 06:08:59 PM
Danne: Is EOS M doing "native" H.264 Full-HD the same way as all other ML supported cams (5D3 excluded)? Horizontal binning and line skipping (only every third line used)? Or is the odd one here again?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 28, 2020, 06:11:20 PM
H264 mov the same as 100d, 700d etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 28, 2020, 06:28:01 PM
Quote from: Janke on September 28, 2020, 05:05:56 PM
..., in standard h264 8bit format, without any scaling. ... wanting the best possible quality, and still shooting up to 30 min. consecutive video.
(I don't need all the other esoteric multi-K anamorphic formats that only can record a few seconds max...  :o )
The RAW modes are mostly continuous and offer the best quality you can get (way better then H.264 ever will be). 1920x1080 records without problem continuously. All you need is about 80GB at 1080p for 30min.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 28, 2020, 06:41:06 PM
Thanks, Danne!

@Janke:
As Danne wrote you are very, very lost!

Let's see what is in for you ...

1) All ML supported Canon cameras (apart from 5D3) do not record Full-HD (as in "Canon's H.264 implementation") by using 1920x1080 pixels. They use the full sensor width and height. But *not* every single pixel is used.
Horizontal pixels are binned = combined/processed resulting in something we call "native" resolution. This is (give or take)
Horizontal resolution for stills / 3 = native x resolution.
And that's always < 1920 pixels.
And lines are skipped. Only every 3rd line is used for recording H.264. And therefore "native" y resolution is about
Vertical resolution / 3 = native y resolution.
Do the math: It won't give you 1080 pixels.
To achieve Full-HD Canon does some scaling up. Software based softening applies to fight aliasing not being able to be surpressed by hardware AA-filter designed for still photo pixel pitch.

2) Canon introduced a crop mode for 600D. You press loupe/magnify in video mode and display will be filled but only a cropped area of the sensor is used. Without line skipping. Now guess how small the area might be ...

And ML found the code for that crop mode in later models 100D, 650D, 700D, EOS M and enabled it ... see feature matrix -> Movie -> Crop_mode_hack.

And that is pretty much all you can get for the foreseeable future. Take it or leave it or go raw/MLV.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 07:38:25 PM
Thanks, Walter - now I'm beginning to understand (I hope...  :P )!

For Canon's own full-frame HD video, there's first horizontal binning & line skipping (which explains the aliasing), resulting in 1728 x 972, then upscaling that to 1920x1080, saved as h264.

In the following, I'm only talking about the 3x video crop:

It is already in the Canon firmware (but not implemented by Canon, only used by ML) so it apparently uses the central 1728 x 972 sensor pixels (no line skipping or horizontal binning as in "normal" HD). Then, that 1728x972 is again scaled to 1920x1080, and this is what is saved as h264. 

So the "simple" 3x crop is possible thanks to ML just utilizing the existing Canon firmware routines?

Now I understand that to get a true 1:1, 1920x1080 crop from the sensor, ML has to do its own procedures, and then save as raw.

Since I often shoot 2-hour jazz concerts (usually with three EOS-M cameras, one of them with a C-mount zoom), there would be massive raw files to convert before editing, so I was hoping for something more direct...

But, you can't get all you wish for (unless you're Jiminy Cricket...  :P )

Here is a sample from the latest, "pre-covid" concert, shot with one M1 in 3x crop mode and C-mount lens for the closeups, and for the wider views, one M3 and one M50 with Canon lenses (available in Full-HD):






Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 28, 2020, 08:03:29 PM
Nice music.
x3crop is 1:1 pixel and as good as it gets if you want to use H264. Good lighting and correct white balance would work nicely for this but only 8bit. If you do raw there are all kinds of modes implemented by a1ex and further refined and tested working pretty good nowadays.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 08:12:46 PM
Quote from: Danne on September 28, 2020, 08:03:29 PM
x3crop is 1:1 pixel

Are you 100% sure? I have compared, in actual size, a still cropped to 1920x1080 and a 3x crop video shot from the same position, and the 3x video is about 10% larger = so it looks like it's scaled up from 1728 x 972, i.e. not 1:1 pixels.

(And yes, the venue lighting is for the audience, not for the videographer... :( )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 28, 2020, 08:21:55 PM
1:1 = Every pixel in a given area is used. Horizontal and vertical.
And the area is 1728x972 which is native resolution.
Therefore crop factor is 3x.

1:1 does not mean "Full sensor area" and does not mean 1920x1080!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 08:46:31 PM
Quote from: Walter Schulz on September 28, 2020, 08:21:55 PM
1:1 = Every pixel in a given area is used. Horizontal and vertical.
And the area is 1728x972 which is native resolution.
Therefore crop factor is 3x.

I've always thought 1:1 means "one sensor pixel is one pixel on screen" when viewed in "actual size", but that's not true for 3x crop video, since it is up-scaled from 1728x972 to 1920x1080 in-camera.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 28, 2020, 08:53:17 PM
Yes and no, 1:1 means "no pixel left behind in a given area" and therefore one pixel on sensor = 1 pixel on display. Your display resolution is not 1920x1080, it is "native resolution" 1728x1152 for stills and 1728x972 for 16:9 ratio.
LiveView resolution = Native resolution (with regard of x-y ratio)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 09:12:19 PM
I think 1:1 means 1 sensor pixel = 1 display pixel. 

We're obviously talking of different things, I'm talking about watching a 3x crop video on a display of 1920x1080 size, such as a HDTV.

In that case, one sensor pixel is larger than one display pixel, i.e. there is not a 1:1 correlation.

With a "true" 1920x1080 pixel sensor video camera (such as Canon C300) one sensor pixel is one display pixel on a 1920x1080 size display.

Also, when you watch a still photo in "actual size" on a computer display (at least it's called that on a Mac), there is a 1:1 correlation between camera sensor pixels and display pixels.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 28, 2020, 09:18:44 PM
1:1 in ML terms means there is every pixel in a given sensor area used. Period. It doesn't say anything about the tv/monitor display you are using and which resolution it has. It simply doesn't mean anything to us. Stop trying to make that connection. There is none. Not for recording.
Canon and ML store data from sensor to card. It doesn't matter one bit for this processing chain if you have a monitor or not. We are talking about which parts of the sensor are used and how they are used (or not used).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 28, 2020, 10:09:24 PM
OK, you definitely have a different terminology within this ML forum than what's used in the graphics & animation industry where I worked for 40+ years...

But it's all cleared up now, thanks to all for your help.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on September 29, 2020, 12:27:18 AM
That 1080 crop mode that we have now was kinda in ML but through 2.5k mode if you reduced resolution to 1920x1080 and that mode didnt had fluid liveview  but recently it was achieved by Bilal , he found the regs to display cropped 1:1 1920x1280 with fluid liveview , therefore we can have 1920x1080 now, but having that in H.264 is not even that interesting for most coders here since we have RAW.Sure it can save space but its only 8 bit.But i guess you still want h.264 anyway...
Im not sure if there were any experiments to write other resolutions to h.264 like 2.5k besides canon built in ones , maybe it would have to be coded from scratch (h.264 compression) and maybe mjpeg would be faster to achieve, at least its what i remember alex wrote somewhere on forums.
I dont think ML has access to canons in camera h.264 compression on that level where we can save whatever resolution we want in h.264.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 29, 2020, 09:51:59 AM
Quote from: 2blackbar on September 29, 2020, 12:27:18 AMBut i guess you still want h.264 anyway...

Indeed! I wouldn't fancy converting hours and hours of raw footage to a format I can edit in Final Cut Studio 7. (Yes, I'm an old dog, thus never learned the new tricks of FC X...)

So, I'm happy enough with the current 3x crop.

Big thanks to the whole community!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on September 29, 2020, 01:44:56 PM
@Janke,

Please consider seriously what masc suggested in post #4455.  SD cards are cheap these days, you can film in 1920x1080 1x1 RAW and do all the grading in MLVApp - very easy and intuitive and free of charge.  Then you can export your footage in H.264 or H.265 which provides even compacter file size and delete the MLV originals if you don't need them.  Conversion can be done overnight while you sleep.  Please give it a try and once you see how easy you get these stunning quality videos, I am sure, you will never ever look back to your current workflow.  The only downside is the crop factor but a cheap wide angle lens will be more than enough for what you film.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on September 29, 2020, 08:09:04 PM
Hi there, so much work done in the last weeks, that's great, thanks !

Does the 4K preset react differently than the other ones when working with the half-shutter trigger ?

I'm using the Half-shutter trigger to records MLVs, the trigger is sent from a Super-8 projector (Telecine), it's working well with the 2.5K mode and the 5K anamophic too but the 4k mode is not capturing the pictures in sync. Slowing down the projector at around 6fps and recording 10bits doesn't help.

Not sure that it's simply too much data to write or if there is something I didn't understand with this preset...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on September 30, 2020, 10:47:53 AM
Quote from: IDA_ML on September 29, 2020, 01:44:56 PM
@Janke,

Please consider seriously what masc suggested in post #4455.  SD cards are cheap these days, you can film in 1920x1080 1x1 RAW and do all the grading in MLVApp - very easy and intuitive and free of charge.  Then you can export your footage in H.264 or H.265 which provides even compacter file size and delete the MLV originals if you don't need them.  Conversion can be done overnight while you sleep.  Please give it a try and once you see how easy you get these stunning quality videos, I am sure, you will never ever look back to your current workflow.  The only downside is the crop factor but a cheap wide angle lens will be more than enough for what you film.

Sorry if I still don't get it -

You say "1920x1080 1x1 RAW" and "The only downside is the crop factor" - does this mean that the 1920x1080 RAW is still recorded with the Canon FW 3x feature already in the earleir ML vesrions, and then upscaled from 1728x1152 ?

That whole 1:1 terminology makes me dizzy...  :o
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 30, 2020, 10:49:54 AM
RAW is raw. There is no up-/downscaling!
There is crop mode (1:1 = every single pixel in a given frame is used) or uncropped mode (using the whole sensor area but horizontal pixel binning and vertical line skipping).
With 5D3 as exception. The only ML supported cam where uncropped mode is in fact 1920x1080.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Nigel95 on October 02, 2020, 07:15:35 PM
Couple of questions about this amazing little beast thanks to all the developers :)

1. Is there a way to get a useable 16mm equivalent field of view (FF) with the canon 10 - 18 @ 10mm with EOS M with Magic Lantern Raw? With the 1736x976 16:9 mode maybe?
2. Is it correct if you shoot the 2.5k raw mode that you will end up with a (canon 10-18 @ 10mm) 10x1,6 (APS-C)x3(ML)x0,71 (speedbooster) = 34mm field of view FF?
3. Any other modes with good quality for 16mm (FF) FOV?
4. Is the 1736x976 raw mode with no additional crop beside the 1,6 APS C crop? Is this mode useable in terms of aliasing (especially because this is an UWA lens), what is the max ISO that is useable with noise reduction plugin like Neatvideo? With my 200d I can clean up to ISO 3200 pretty well, but like to stay <1600.
5. What is the max focal length I can reach with a 60mm macro lens in raw with all the different modes on the EOS M. And if there is a huge crop option this also makes it harder to use in low light right? What is the useable ISO in the highest raw crop modes.
6. Is it possible to shoot 25fps with EOS M in raw?
7. Are there any 16:9 aspect ratio modes with higher resolution / quality then 1736x976?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 02, 2020, 07:30:42 PM
Its too time consuming to answer all your questions and do calculations so.. yes you can record 25fps in raw and this is how framing looks like in different crop modes on canon m compared to sensor sizes.
theres 2.5k crop ( wide one)and other 5xzoom crop thats 16:9 .
From what i tested, you can use lenses for 16mm cameras and 1/2'' sensors in canons 2.5k crop mode without vignetting.
I have 4-12.5mm lens thats a bit fisheye, if you could find non fisheye wide lens for tv cameras , maybe it would work but these are not HD lenses anyway, they wont be as sharp and buying new lenses for expensive tv cams  that have 1/2'' sensors is missing the point IMO.
(https://funkyimg.com/i/37HUg.gif)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sm105 on October 02, 2020, 07:46:59 PM
I was starting to answer his questions too, but he should really just watch a few of Zeek's helpful videos, and he'll get a lot of answers. This one in particular will answer a lot of questions on the Canon 10-18mm.

https://www.youtube.com/watch?v=NsSbnBxTv2w
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 02, 2020, 10:48:50 PM
Quote from: Nigel95 on October 02, 2020, 07:15:35 PM
1. Is there a way to get a useable 16mm equivalent field of view (FF) with the canon 10 - 18 @ 10mm with EOS M with Magic Lantern Raw? With the 1736x976 16:9 mode maybe?
- it's possible to shoot 24/25fps
- 1080 mode with 1.6x Crop + speedbooster & 10-18mm @13mm will give you 15mm FF Equivalent
- I've gotten usable footage with noise reduction @800 iso, but honestly with the M, it's no A7S, I'd just keep it at 100 ISO and let it do it's thing.
- Using the higher crop modes will perform worse in lowlight. Using a fast lens and speedbooster will help, as well as NR Software.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on October 03, 2020, 01:18:13 PM
Quote from: Janke on September 30, 2020, 10:47:53 AM
Sorry if I still don't get it -

You say "1920x1080 1x1 RAW" and "The only downside is the crop factor" - does this mean that the 1920x1080 RAW is still recorded with the Canon FW 3x feature already in the earleir ML vesrions, and then upscaled from 1728x1152 ?

I don't get what you don't get.  A "1920x1080 1x1 RAW" is a simple rectangular crop of the center part of the image sensor that has the size of 1920x1080 pixels, meaning that all 2073600 pixels in that area are sampled 1 by 1, as they are - no binning, no line skipping and no upscaling.  And this is the cropped image that you get, just in the same way as you would make in Photoshop a 1920x1080 crop of the center part of a still 18 Mp RAW image that you shot with your camera.  That's all.  In that way you preserve the RAW quality of your cropped image.   Cropping means that you do not use the entire sensor area but just a cropped part of it, meaning that you end up with a crop factor.  In this particular case, the crop factor is 5208 (the full sensor width of your 18 Mp camera), divided by 1920 (the width of your crop), multiplied by 1,61 (the crop factor of your camera vs. 35 mm full frame camera) which is 4,37.  This means that if you use a 10 mm lens with your camera, your field of view will be exactly the same as what you see in the view finder/screen of a full-frame camera with a 43,7 mm lens on it.  And that's a downside because you use just a fraction of the sensor area and cannot film wider than that unless you use a fish eye lens.

If you still don't get it, I don't know how to make it clear to you.  I am giving up, sorry.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 04, 2020, 03:22:15 PM
i am aware that this might be stupid question, but...how do you guys focus in 5K anamorphic?
In 2.5K I can switch between framing and 5x zoom through Info button, but I wasn't able to replicate it in 5K. Is it even possible?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2020, 03:38:10 PM
Lately theBilalFakhouri accomplished just that. Real time preview plus zoom in preview while recording. I have the code so at some point I put it in.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 04, 2020, 03:46:41 PM
Thank you for the clarification.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 04, 2020, 05:08:28 PM
Stupid question but how do I update Magic Lantern, do I just copy over the new files to the SD Card and overwrite? Or do I have to do more than that? I'd rather not uninstall and reinstall if unnecessary. Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on October 04, 2020, 05:30:24 PM
Quote from: Mythic Cinema on October 04, 2020, 05:08:28 PM
Stupid question but how do I update Magic Lantern, do I just copy over the new files to the SD Card and overwrite? Or do I have to do more than that? I'd rather not uninstall and reinstall if unnecessary. Thanks.

I simply delete the old files and copy the new ones directly from the ZIP archive into the root directory of the card.  Then I just activate the modules and adjust the settings that I need and that's it.  Never had a problem with this type of update.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 04, 2020, 06:18:16 PM
Just overwriting files may cause unwanted side effects if there are incompatible settings or outdated modules. Better (as IDA_ML wrote) just rename/delete autoexec.bin and ML directory and copy extracted build contents to card. Overwriting ML-SETUP.FIR is optional, code hasn't changed for quite some time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2020, 08:52:07 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Oct05.EOSM202_frtp.zip

Adresses 5K anamorphic frtp preset:

- Zooming with halfshutter while recording possible. While recording simply hald halfshutter for a zoom helping to nail focus easier while recording. Release button to get back to real time preview.

- This preset will work with HDMI out with correct real time preview. Didn´t test for corruption but seems stable on 700D. Zoom help disabled when in HDMI out.

- Fix for halfshutter causing cropmarks to disable and not come back. Should work now.

Bleeding edge tet build. Please report what works and if having issues. I look into it when I can.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 04, 2020, 09:59:21 PM
Quote from: Walter Schulz on October 04, 2020, 06:18:16 PM
Just overwriting files may cause unwanted side effects if there are incompatible settings or outdated modules. Better (as IDA_ML wrote) just rename/delete autoexec.bin and ML directory and copy extracted build contents to card. Overwriting ML-SETUP.FIR is optional, code hasn't changed for quite some time.
Alright, thank you.

Quote from: IDA_ML on October 04, 2020, 05:30:24 PM
I simply delete the old files and copy the new ones directly from the ZIP archive into the root directory of the card.  Then I just activate the modules and adjust the settings that I need and that's it.  Never had a problem with this type of update.
Thank you also.

Quote from: Danne on October 04, 2020, 08:52:07 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Oct04.EOSM202_frtp.zip

Adresses 5K anamorphic frtp preset:

- Zooming with halfshutter while recording possible. While recording simply hald halfshutter for a zoom helping to nail focus easier while recording. Release button to get back to real time preview.

- This preset will work with HDMI out with correct real time preview. Didn´t test for corruption but seems stable on 700D. Zoom help disabled when in HDMI out.

- Fix for halfshutter causing cropmarks to disable and not come back. Should work now.

Bleeding edge tet build. Please report what works and if having issues. I look into it when I can.
Thanks for the update, Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 04, 2020, 10:17:27 PM
Quote from: Janke on September 28, 2020, 07:38:25 PM
Since I often shoot 2-hour jazz concerts (usually with three EOS-M cameras, one of them with a C-mount zoom), there would be massive raw files to convert before editing, so I was hoping for something more direct...
You are only shooting 2 hours with 3 EOS M cameras. I would be using raw your case, where as I shoot with 4 cameras for 8 to 10 hours and that is when raw is too much data. In your case all you need is three 256gb SanDisk Extreme Pro cards, which will fill about 204GB on each card give or take, for 1080p Raw at 2 hours. Not bad at all. You are lucky. I wish I could use raw in my case. Run a test in raw and see how long you get until your card runs out, then do the calculations. It should be under 256gb for 2 hours @ 1080p.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ricardopt on October 04, 2020, 10:47:40 PM
Quote from: IDA_ML on October 03, 2020, 01:18:13 PM
I don't get what you don't get.  A "1920x1080 1x1 RAW"...(explanation) If you still don't get it, I don't know how to make it clear to you.  I am giving up, sorry.

Hi IDA_ML, its not just him, there's more people confused with the terminology used here, this is a canon eos-m thread and people keep using terms like "crop factor" for comparing with full frame sensor and then crop factor for recording video modes where only a croped area is used and people tend to get confused about what is what, i know this is for advanced users but people have to start somewhere.

I think everyone apreciates all the help/dedication/time that developers put on ML and still answer questions here...its priceless all the help given here but i think its normal for people to get confused with terms being used to describe 2 different things.

I know its a thread for advanced usage...just my 2 cents.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 04, 2020, 10:53:54 PM
Quote from: Danne on October 04, 2020, 08:52:07 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Oct04.EOSM202_frtp.zip

Adresses 5K anamorphic frtp preset:

- Zooming with halfshutter while recording possible. While recording simply hald halfshutter for a zoom helping to nail focus easier while recording. Release button to get back to real time preview.

Bleeding edge tet build. Please report what works and if having issues. I look into it when I can.

Holy smoke that was quick  :o
Downloading...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 04, 2020, 11:10:58 PM
Quote from: Danne on October 04, 2020, 08:52:07 PM
New test build:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Oct04.EOSM202_frtp.zip

Adresses 5K anamorphic frtp preset:

- Zooming with halfshutter while recording possible. While recording simply hald halfshutter for a zoom helping to nail focus easier while recording. Release button to get back to real time preview.
Bleeding edge tet build. Please report what works and if having issues. I look into it when I can.

OK, so zoom does work nicely, recording works in both full frame/zoom and alternating between the two. Unfortunately, when i try to replay record i get only blank screen and orange led blinking, after long wait metadata header (name+resolution+frame rate...) show up with frame counter increasing, but no video (only static image of other video on the card) i could go back to recording and when i try to replay for the second time, camera freezes completely (so, battery out). Every setting in default, only 5K anamorphic frtp chosen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 04, 2020, 11:18:41 PM
Uploaded a new build again.
THere will probably be some strangeness happening. Much stuff is new. I can play my files over here but I deleted any still images and started with a clean card som maybe that was what was needed. Do try the latest again.

https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2020Oct05.EOSM202_frtp.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 04, 2020, 11:28:02 PM
I deleted everything from the card, loaded new version and now it works like a charm including replay.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 05, 2020, 03:48:11 AM
Is there a way to change the word "Immortal"? I have 5 EOS M cameras and would like to label them.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on October 05, 2020, 06:44:32 AM
Can we have the new zoom mode for 1080p also? I dont know if its just me but whenever i use the old magic zoom in 1080p mode, it takes around 3~5 seconds to get into it and get out of it. The new zoom mode in x5 anamorphic is super quick. So, i wonder of its possible to have that quick and real time zoom in 1080p mode as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2020, 08:05:53 AM
If you know or learn how to compile I tell you where to look. Hard and timely work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2020, 10:32:49 AM
Changes now in regular build and section:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 05, 2020, 12:44:08 PM
Quote from: amitkattal on October 05, 2020, 06:44:32 AM
Can we have the new zoom mode for 1080p also? I dont know if its just me but whenever i use the old magic zoom in 1080p mode, it takes around 3~5 seconds to get into it and get out of it. The new zoom mode in x5 anamorphic is super quick. So, i wonder of its possible to have that quick and real time zoom in 1080p mode as well?

Yes, it's possible, I am planning to do it, a 1080p preset (1736x1158 3x3) which support Magic Zoom V2 (the new zoom mode), but, unfortunately . . not in near future.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: peterkoomen on October 05, 2020, 12:59:15 PM
TheBilalFakhouri and Danne (and all developers), you guys are doing great work. Thanks you so much for the new builds. It is really enjoying and it's making the Eos M a wonderful cinema camera for everybody with a budget. Thanks again!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2020, 03:18:14 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Crude attempt of a zoom function for mv1080p modes. Also for the higher frame rates 48fps etc.

Comes as is. To get it even better we need to alter too many regs for me to do atm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on October 05, 2020, 10:16:46 PM
Quote from: theBilalFakhouri on October 05, 2020, 12:44:08 PM
Yes, it's possible, I am planning to do it, a 1080p preset (1736x1158 3x3) which support Magic Zoom V2 (the new zoom mode), but, unfortunately . . not in near future.
Thats Awesome. You never say no to any request. Keep up the hardwork you are doing for this camera
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 05, 2020, 11:25:38 PM
Quote from: amitkattal on October 05, 2020, 10:16:46 PM
Thats Awesome. You never say no to any request. Keep up the hardwork you are doing for this camera
Then I humbly request 10-Bit H264 with FPS Override, Shutter Range, and Shutter Fine Tuning Support. For when you need to record for 10 hours on multiple cameras. I'm joking, btw. I don't believe that is even possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on October 06, 2020, 02:05:39 AM
Quote from: Mythic Cinema on October 04, 2020, 10:17:27 PM
You are only shooting 2 hours with 3 EOS M cameras. I would be using raw your case, where as I shoot with 4 cameras for 8 to 10 hours and that is when raw is too much data. In your case all you need is three 256gb SanDisk Extreme Pro cards, which will fill about 204GB on each card give or take, for 1080p Raw at 2 hours. Not bad at all. You are lucky. I wish I could use raw in my case. Run a test in raw and see how long you get until your card runs out, then do the calculations. It should be under 256gb for 2 hours @ 1080p.

I have a question about using the M for event shooting. I have a roommate who does standup, and he has a set later in the month he's asked if I'd be game to record for him (2x20-30min sets). We did a test run at a smaller venue, but a longer set and I opted to use ML but not RAW. I have a single 256GB card, and it's speed is adequate, but I was concerned about potentially going over file size limits recording a set of roughly 45 mins. Opting to use h264 ultimately proved to be not the best idea though. Because the files eventually seemed to hit a buffer limit. While the camera continued to record no problem there were small several second gaps every 9-12 minutes. Thankfully we had a second camera that saved our audio, and this was technically only a test run.

I'm looking to do continuous recording, and while on the day of the actual show we will be running external audio, I am worried about running into this video gap again. Would this same scenario occur with MLV as well? It would be nice to be able to have the ability to grade on something more flexible than cinestyle, but I feel like the margin for error may be greater simply because this is bleeding edge MLV stuffs. I have a 70D we will be using as a B cam and I will be posting in their thread for more research as well. But any tips and pointers regarding the EOSM would be super useful.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 06, 2020, 03:09:51 AM
Quote from: Kgncom on October 06, 2020, 02:05:39 AM
I have a single 256GB card, and it's speed is adequate, but I was concerned about potentially going over file size limits recording a set of roughly 45 mins.
I use a 512GB SD Card and have recorded 100 Minutes (1hr 40min) with Magic Lantern Raw 1080 Mode, and could have recorded way more. So if you're not shooting RAW, you're definitely fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on October 06, 2020, 03:47:06 AM
Quote from: ZEEK on October 06, 2020, 03:09:51 AM
I use a 512GB SD Card and have recorded 100 Minutes (1hr 40min) with Magic Lantern Raw 1080 Mode, and could have recorded way more. So if you're not shooting RAW, you're definitely fine.
Thanks Zeek! Love your work, keep it up!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 06, 2020, 12:21:35 PM
At 128 GB, I have about 40 minutes of material in the 1080 setting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 06, 2020, 01:44:13 PM
I did a test the other day in 1080 raw and got 38 minutes with a 64gb card. That was in 2.39:1, though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on October 06, 2020, 02:30:14 PM
Does the EOSM Blue make any difference ? I see everyone else uses Red or Black or Silver and all get excellent results
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 06, 2020, 02:35:31 PM
We have no scientific evidence if and how the colour of a camera has reproducible effects on IQ.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Heatshiver on October 06, 2020, 02:37:56 PM
Hi all, been a long time since I used Magic Lantern, and never tried it on my EOS-M. But when I saw what it was now capable of, I dusted it off and got it ready. I was able to install Danne's most recent build, but I can't seem to get anything to truly work.

I tried different presets, including both 1080P, 4K, and both 5K. I ensured FPS Override stayed off. I tried with and without 10/12-bit options. I tried 2.39:1, 16:19, and OFF options. I tried SD Card overclock at 192MHz, 160MHz, and OFF. I tried with and without raw video. I tried numerous things and almost every time my camera would end up freezing. I was able to get a few seconds of 1080p raw video captured at most.

I believe the culprit might be my SD card. I am using a Lexar 512GB 633x (Class 10, U3, V30, A2) up to 100MB/s read, up to 70MB/s write. When I ran the SD benchmark I got just over 10MB/s and 13MB/s. Am I right in thinking this is the reason this build won't work for me at all? If so, what SD cards should I pick up?

If that's not the case, are there some initial steps I should have taken to get everything running properly? Any help would be much appreciated. Thank you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 06, 2020, 03:53:33 PM
Quote from: ricardopt on October 04, 2020, 10:47:40 PM
its not just him, there's more people confused with the terminology used here

Indeed.

Quote from: theBilalFakhouri on October 05, 2020, 12:44:08 PM
a 1080p preset (1736x1158 3x3)

There you see - how can a 1736x1158 resolution be 1080p ? ??? Horizontally, it's too narrow, vertically, it's too high.
(See: https://en.wikipedia.org/wiki/1080p )

I tried to find a true 1920x1080 resolution (and by that I mean exactly 1920x1080 sensor pixels in a 1080p format), but all I found were different widescreen cropped formats.  (Some call them anamorphic, but they aren't, unless the final video is indeed "squashed", i.e. circles become ovals...)

Quote from: bern047 on October 06, 2020, 02:30:14 PM
Does the EOSM Blue make any difference ? I see everyone else uses Red or Black or Silver and all get excellent results

As long as you use the proper color balance setting inside the camera, the camera's outside color has no effect...  ;) ;) ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 06, 2020, 04:30:05 PM
You have to get your head around that Canon's 1080p mode in EOS M doesn't record using 1920x1080 pixel. It records in what we call "native" resolution which is done by horizontal pixel binning (reducing output pixel count to a third) and vertical line skipping (reducing output pixel count to a third, too). Thus the numbers posted by theBilalfakhouri. Ratio horizontal:vertical is 3:2 because the sensor has this ratio.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 06, 2020, 04:40:49 PM
Quote from: bern047 on October 06, 2020, 02:30:14 PM
Does the EOSM Blue make any difference ? I see everyone else uses Red or Black or Silver and all get excellent results
Nah, they are just aesthetic case choices, in my opinion. You probably see everyone uses black, red, and silver because they are the most common. The blue ones are harder to find, though and sometimes more expensive for that reason. There is black, blue, silver, red, white, and pink. I like the blue one because of how it looks so I bought five of them. It took many months to find them all in very good condition for a decent price. My second favorite look is the black and third favorite is probably silver. Either way, it doesn't matter what color you have.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on October 06, 2020, 05:11:23 PM
Ok just that you seem to have problems, I have 4 EOS M bodies in excellent condition (2 Black and 2 Red) The black looks really professional in a 'Rig Build' with Rode microphones and monitor with external batteries and focus wheel, only paid £80 each max for the bodies, 2 were brand new. They all work really well especially with the new builds, more than pleased with them, I have a large amount of Canon EF and Olympus Zuiko lenses vintage top notch, the  RAW footage I am getting is just phenomenal, love this resource for Magic Lantern
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 06, 2020, 05:16:32 PM
Quote from: bern047 on October 06, 2020, 05:11:23 PM
Ok just that you seem to have problems, I have 4 EOS M bodies in excellent condition (2 Black and 2 Red) The black looks really professional in a 'Rig Build' with Rode microphones and monitor with external batteries and focus wheel, only paid £80 each max for the bodies, 2 were brand new. They all work really well especially with the new builds, more than pleased with them, I have a large amount of Canon EF and Olympus Zuiko lenses vintage top notch, the  RAW footage I am getting is just phenomenal, love this resource for Magic Lantern
Who has problems? I don't have any problems with my cameras. You didn't mention who you are responding to so I have to assume it is my comment above. If you are talking to someone else, you should quote them or mention it, otherwise nobody will know who you are talking about. I certainly don't have any problems, though and not sure what would give you that idea.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 06, 2020, 10:09:20 PM
Quote from: Walter Schulz on October 06, 2020, 04:30:05 PM
You have to get your head around that Canon's 1080p mode in EOS M doesn't record using 1920x1080 pixel. It records in what we call "native" resolution which is done by horizontal pixel binning (reducing output pixel count to a third) and vertical line skipping (reducing output pixel count to a third, too). Thus the numbers posted by theBilalfakhouri. Ratio horizontal:vertical is 3:2 because the sensor has this ratio.

Yes, I know that, and have known it ever since I bought the 550D ten years ago. Since then, I've shot three half-hour Finnish TV broadcast documentaries with one 550D and two M1s - here's one of them, about a six-time champion of hot air ballooning (here with English subtitles):

*Video expired, send PM if you want to see it.*

What I've been looking for is a ML mode that uses the central 1920x1080 pixels of the sensor as such, unbinned and unskipped (which I would call 1:1 - but forget that!), for use with C-mount lenses.

(This would mean a crop factor of a little less than the "3x mode" in ML, utilizing a little more of the C-mount lens's image circle).

I've not succeeded in finding such a mode in the latest ML. Is there no such mode at all, or am I doing something wrong?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 06, 2020, 10:14:00 PM
Quote from: Janke on October 06, 2020, 10:09:20 PM
What I've been looking for is a ML mode that uses the central 1920x1080 pixels of the sensor as such, unbinned and unskipped (which I would call 1:1 - but forget that!), for use with C-mount lenses.
...
I've not succeeded in finding such a mode in the latest ML. Is there no such mode at all, or am I doing something wrong?
Use e.g. "2.5K 1:1 centered" mode and set it to 16:9. Voilà: 1920x1080.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 06, 2020, 10:24:29 PM
Quote from: masc on October 06, 2020, 10:14:00 PM
Use e.g. "2.5K 1:1 centered" mode and set it to 16:9. Voilà: 1920x1080.

Thanks, I'll try that. (Not very intuitive, though... :o)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 06, 2020, 10:27:02 PM
Quote from: Janke on October 06, 2020, 10:24:29 PM
Thanks, I'll try that. (Not very intuitive, though... :o)
Why not intuitive? It is even named "... 1:1 ..." as you also called it. 2.5K because it has a max resolution of 2520x1080. The height is already what you want. The width isn't. So just crop it by ratio feature to 16:9.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 06, 2020, 11:00:06 PM
Quote from: Janke on October 06, 2020, 10:09:20 PM
What I've been looking for is a ML mode that uses the central 1920x1080 pixels of the sensor as such, unbinned and unskipped (which I would call 1:1 - but forget that!), for use with C-mount lenses.

I made 1920x1280p 1:1 just for that (I think it's called "x5crop 1920x1276 frtp" on EOS M), set mlv_lite to 16:9 to achieve 1920x1080p , Voilà with Real-Time Correct Preview.

x5 Crop doesn't refer to the crop factor but to *x5 mode from Canon, read the crop factor from mlv_lite beside the resolution.

*Originally Canon made x5 Mode to be used it for focusing, x5 here is x5 cropped preview compared to 1080p mode preview (1080p mode = mv1080 means selecting 1080p from Canon menu), The RAW data won't have true x5 crop in x5 mode, RAW data has less than x3 crop in x5 mode (and x3 crop here compared to mv1080).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 06, 2020, 11:42:43 PM
Tried those settings, got several CRASHES - needed to remove battery.

Also, before trying to record, the display overlay was in 5x or 10x mode plus 4 arrows, couldn't get a "normal" display mode. Very slow display refresh. When I could record, it was only for a couple of seconds, then it "automagically" stopped.

However, MLV did show the snippets I was able to record.

ML insists on keeping RAW on, even when I set it to off, it goes back to ON.

Do I have the wrong version? (crop_rec_4k_mlv_snd_raw_only_2020Oct06.EOSM202)

Am I missing something obvious? Older versions listed a few days ago get a 404 error. (Please have patience with me, I'll be 70 next year...)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 06, 2020, 11:47:45 PM
When you are in magic lantern menu, on Movie panel, stay on first top option and press set - you will see a lot more presets available.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 06, 2020, 11:50:52 PM
Quote from: 2blackbar on October 06, 2020, 11:47:45 PM
When you are in magic lantern menu, on Movie panel, stay on first top option and press set - you will see a lot more presets available.

Got them, including "x5crop 1920x1276 frtp" - but ML insists on shooting RAW for just 2 seconds even when I set RAW to OFF.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 06, 2020, 11:52:47 PM
Works over here. Maybe you have a shitty SD card. And. You absolutely won´t be able to shoot h264 with this mode. This seems to be the real issue here. By now you should be able and determine what is what and what can be done and not. At least by viewing your recorded file. Either shoot raw and get exactly what you want or live with what you get with h264 calling it 1x1, 5x5, less than 1080 or something else. No hidden extras here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 07, 2020, 12:00:58 AM
Quote from: Danne on October 06, 2020, 11:52:47 PM
Works over here. Maybe you have a shitty SD card. And. You absolutely won´t be able to shoot h264 with this mode. This seems to be the real issue here. By now you should be able and determine what is what and what can be done and not. At least by viewing your recorded file. Either shoot raw and get exactly what you want or live with what you get with h264 calling it 1x1, 5x5, less than 1080 or something else. No hidden extras here.

I undestand I can't get h264.

Do you mean that MLV recordings are always raw, and just short snippets? The card should be OK, 32 GB Kingston Class 10/U1 ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2020, 12:03:39 AM
Of course. What else should it be? Short snippets? There seems to be so many basic misunderstandings around what´s going on. I really can´t point to any that basic threads but before settling abc there will only be confusion. Sorry, but only saying this to get this discussion forward or it will keep on until christmas ;).
Oh, and your card is probably not close shooting raw. But I won´t even open up the can of worms around sd card discussion. I am guessing you have a lot of spare time so using search and really dig into this forum should help out a lot.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 07, 2020, 12:16:33 AM
Quote from: Danne on October 07, 2020, 12:03:39 AM
Of course. What else should it be? Short snippets? There seems to be so many basic misunderstandings around what´s going on. I really can´t point to any that basic threads but before settling abc there will only be confusion.
Oh, and your card is probably not close shooting raw. But I won´t even open up the can of worms around sd card discussion. I am guessing you have a lot of spare time so using search and really dig into this forum should help out a lot.

OK, I'll stop bothering you now ...

- and maybe try a faster card some day, since with "true" 1920x1080 (instead of the basic 3x mode) I could get that little extra 10% wide-angle coverage from the Canon 12.5-75mm f1.8 C-mount lens I have. (Canon's EF-M zoom lenses really don't work well for video, since the f-stop changes during zooming.)

Thanks to you all for your help, in any case!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2020, 12:20:56 AM
Don´t stop posting, but do take the time to check around some more to get to know some basics. There have been so much work around this it takes time of course but if you go for raw(mlv) I can recommend the sandisk extreme pro 170Mb/s card. That one should work right away on eosm with my provided build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2020, 12:22:34 AM
Quote from: Janke on October 07, 2020, 12:16:33 AM
I could get that little extra 10% wide-angle coverage from the Canon 12.5-75mm f1.8 C-mount lens I have.
You also get a sharper image and much more dynamic range to work with.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 07, 2020, 12:26:42 AM
Quote from: Danne on October 07, 2020, 12:22:34 AM
You also get a sharper image and much more dynamic range to work with.

Exactly. I'll get that faster card before asking any more questions...  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whothe on October 07, 2020, 02:10:22 AM
Quote from: Danne on October 05, 2020, 03:18:14 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Crude attempt of a zoom function for mv1080p modes. Also for the higher frame rates 48fps etc.

Comes as is. To get it even better we need to alter too many regs for me to do atm.

Hey Danne,
Just downloaded "crop_rec_4k_mlv_snd_raw_only_2020Oct06.EOSM202.zip"
on 07.10.2020 around 00:30AM CET.

Installed on fresh card. Seems like the install is funky somehow.
"crop_rec_4k_mlv_snd_raw_only_2020Sep12.EOSM202_frtp_hdmi.zip" worked nicely though.

Not sure if this is helpful, but I thought I might as well report back just now:

(https://i.ibb.co/0mR9d5N/IMG-20201007-010625527.jpg)
Lots of features seem to be missing.

(https://i.ibb.co/FqhV89g/IMG-20201007-010709896.jpg)
(https://i.ibb.co/qMrSybZ/IMG-20201007-010758008.jpg)
(https://i.ibb.co/nzrfFwL/IMG-20201007-011511211.jpg)
Sub menues are missing.

Maybe modules not loading properly?
Install routine seemed shorter than usuall...

(https://i.ibb.co/QnmVwPj/IMG-20201007-011122663.jpg)
Not sure if this is relevant...

I did a Rom/Ram Dump in ML and zipped everything on the SD:
https://drive.google.com/file/d/1q7FyUKB6otCwW-P8YuPIMDNSMjf9MszI/view?usp=sharing (https://drive.google.com/file/d/1q7FyUKB6otCwW-P8YuPIMDNSMjf9MszI/view?usp=sharing)

Uppon opening "CPU Usage" under the "Debug" tab the camera locked.
Battery pull was required. Cam started back up just fine.
I then decided not to mess with stuff I don't understand ^^

If this post is not helpfull or irrelevant, please ignore.
Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 02:28:22 AM
Quote from: Janke on October 07, 2020, 12:00:58 AM
I undestand I can't get h264.

Do you mean that MLV recordings are always raw, and just short snippets? The card should be OK, 32 GB Kingston Class 10/U1 ?
You should get SanDisk Extreme Pro SD Cards for raw.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on October 07, 2020, 02:45:25 AM
is the 512 extreme pro faster then the 64?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: thinh23.976 on October 07, 2020, 04:34:13 AM
Quote from: lightspeed on October 07, 2020, 02:45:25 AM
is the 512 extreme pro faster then the 64?

Zeek tested it and looked like it can archive 240mhz overclock with faster write/read speed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on October 07, 2020, 04:51:37 AM
I have one of the older extreme pro 95MB cards I tested it and it's supposed to be getting around 80MB read and write but strangely seems to crash when using 5k mode at 60MB should I get one of those new extreme pro cards as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2020, 05:47:50 AM
Quote from: whothe on October 07, 2020, 02:10:22 AM
Installed on fresh card. Seems like the install is funky somehow.
Fixed. One module was missing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 07, 2020, 08:49:22 AM
Quote from: whothe on October 07, 2020, 02:10:22 AM
I did a Rom/Ram Dump in ML and zipped everything on the SD:

Hi @whothe

ROM/RAM dumps contain copyrighted Canon materials, please delete the download link, these shouldn't be shared publicly . .
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whothe on October 07, 2020, 09:10:30 AM
@Danne
Awsome, thanks!

@theBilalFakhouri
Thanks for the note.
Link should be down now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 07, 2020, 09:28:08 AM
Quote from: Mythic Cinema on October 05, 2020, 11:25:38 PM
Then I humbly request 10-Bit H264 with FPS Override, Shutter Range, and Shutter Fine Tuning Support. For when you need to record for 10 hours on multiple cameras. I'm joking, btw. I don't believe that is even possible.

Haha, I didn't notice the "joking" part, maybe you have edited the post later?

High possibility appears when these kinds of things already implemented or already used in Canon firmware, for example Lossless compression is used in Canon .CR2 format, Developers got it working in RAW video after hard work and research.

H.264 10-bit won't be possible (not implemented in Canon firmware? or Hardware limit), but 8-bit MJPEG might be possible since it used in Photo Mode, 10-bit MJPEG I have no idea.

Quote from: a1ex on May 24, 2012, 02:02:23 PM
Custom codecs
Codecs are not implemented on the general-purpose ARM processor. We can only use what Canon has already included in hardware (H.264, JPEG, LJ92) and fine-tuned their parameters (such as the H.264 bit rate).

The lossless compression used for raw video is the same "codec" Canon uses for CR2. The same processing path (codenamed JPCORE) might be able to handle (M)JPEG. However, we cannot implement additional codecs (such as H.265, JPEG2000 or ProRes). Even if these might be able to run on Canon's image processing hardware, we simply don't know where to start.

FPS Override, Full Shutter Range, Shutter Fine Tuning already working in H.264 video.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on October 07, 2020, 01:00:53 PM
Okay , so I was asked to share here. The RAW zebras in the new 5k anamorphic mode from latest build seems to be way off . I have attached a video to show that:

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

Is this problem with just me or others also have this issue? Can it be solved? Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2020, 01:25:45 PM
Hm, sorry, but I don´t use zebras myself so not a priority.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 07, 2020, 02:19:26 PM
Quote from: amitkattal on October 07, 2020, 01:00:53 PM
Is this problem with just me or others also have this issue? Can it be solved? Thanks
I use Zebras all the time in every mode and false colour. Recently tested this build, Zebras work fine. What you have showing isn't Zebras, it looks like a form of bad focus peaking. Best would be to screenshot your ML Tab 2 Screen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on October 07, 2020, 02:29:29 PM
Quote from: ZEEK on October 07, 2020, 02:19:26 PM
I use Zebras all the time in every mode and false colour. Recently tested this build, Zebras work fine. What you have showing isn't Zebras, it looks like a form of bad focus peaking. Best would be to screenshot your ML Tab 2 Screen.
It is RAW zebras, Ofcourse luma or lumafast works fine but luma zebras are highly unreliable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 07, 2020, 03:36:01 PM
Hi there,

I am trying to understand the relationship between the different presets and the actual fps indicated in the "fps override" menu (which is Off). For example, with the 3k mode, i can see an actual fps of 18fps, switching to the 4k, i see 5fps.

I am using my Eos-m with the rec_trigger function. A Super-8 projector is sending a half-shutter signal for each frame to allow the cam to record in sync. So the fps is actually set externally by the projector, I record around 6fps.

From my readings, I understood that the camera is recording a frame that was already in the buffer when it receive a half-shutter signal. But it seems that the fps is also playing a role (related to the fps of the LiveView?), the higher the fps, the more accurate is the timing of the frame captured. Could someone tell me if it's correct ?

This would explain why I have have some synchronisation problems when I switch to the 4k preset and that it's working fine with the 3k. I guess 4K continuous @6fps should be ok?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on October 07, 2020, 04:41:58 PM
My EOS-M stopped working a few months ago but I was so eager to test the latest improvements that I borrowed one from a friend of mine and tested it briefly this morning.  I am so happy to see that Danne and Bilal brought this camera a few more steps closer to perfection.  The magnified pink preview upon half shutter is such a great relief for accurate focusing and checking focus that I don't know how we have lived without it so far.  Great job, really!  And the pink color is actually not bad at all since in my opinion, it will be better visible in bright sun light than the normal color preview.  Here is some feedback on the 5k full resolution anamorphic mode that I am very much interested in:

1)  The 5k anamorphic flv preset works very well at 1736x2928 resolution and 16 fps and is very stable too.  At 10 bits lossless it provides continuous recording (green indicator) on my 95 MHz Sandisk Extreme Pro 64 GB card (R/W speeds: 94/90 MB/s tested with a card reader).  The only issue that I have noticed are a few corrupt frames that I get even with Global Draw OFF and Sound Recording OFF.

2) I was unable to get the above mode working at 18 fps although the writing on the screen says that it should be possible.  I activated the 25 fps option and turned the aspect ratio to off. The camera defaults to 14 fps and works at that cadence very well.  As long as I try to increase fps to 15, 16, 17 or 18 fps, the LV screen freezes and camera records a black image upon pressing the record button.  Turning Global Draw OFF and Sound Recording OFF and pressing the Menu button does not help either.  I may be doing something wrong.  If so please advise me what should I do to get 18 fps at the full 1736x2928 resolution working even if recording time is quite limited.

And thank you guys for your amazing expert work!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 04:42:19 PM
Quote from: theBilalFakhouri on October 07, 2020, 09:28:08 AM
FPS Override, Full Shutter Range, Shutter Fine Tuning already working in H.264 video.
They can be enabled and the camera acts like they work, but if you record an h264 video and examine it on your computer you can see none of the options stuck. It still uses the options set in the default canon menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 04:44:41 PM
Quote from: Teamsleepkid on October 07, 2020, 04:51:37 AM
I have one of the older extreme pro 95MB cards I tested it and it's supposed to be getting around 80MB read and write but strangely seems to crash when using 5k mode at 60MB should I get one of those new extreme pro cards as well?
As far as I know the only difference between the 1st and 2nd generation extreme pro cards is the label. The 2nd generation has the higher MB on the label, but both cards can still do it but you need a certain SD card reader to get those speeds. I think there is a Gerald Undone video on this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 07, 2020, 05:11:31 PM
Quote from: Mythic Cinema on October 07, 2020, 04:42:19 PM
They can be enabled and the camera acts like they work, but if you record an h264 video and examine it on your computer you can see none of the options stuck. It still uses the options set in the default canon menu.

The metadata would be as Canon settings including FPS, Set 1080p24 from Canon, Set FPS override to 3 FPS, record H.264 video for 1 minute, on your computer the FPS would be 23.976 FPS in that file, but the video would be like a Time-Lapse, you can re-adjust framerate as you put in FPS override in this case to 3 FPS, now you will have correct FPS in that video.

Shutter speeds are working fine here on 700D, I can lower it down to 1/24 and up to 1/31K when recording H.264 @ 1080p24, and there is a visible difference in H.264 video when changing shutter speed from 1/33 to 1/24 and from 1/4000 to 1/31K.

Not sure if there are a problems with these on EOS M.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 05:23:08 PM
Quote from: theBilalFakhouri on October 07, 2020, 05:11:31 PM
The metadata would be as Canon settings including FPS, Set 1080p24 from Canon, Set FPS override to 3 FPS, record H.264 video for 1 minute, on your computer the FPS would be 23.976 FPS in that file, but the video would be like a Time-Lapse, you can re-adjust framerate as you put in FPS override in this case to 3 FPS, now you will have correct FPS in that video.

Shutter speeds are working fine here on 700D, I can lower it down to 1/24 and up to 1/31K when recording H.264 @ 1080p24, and there is a visible difference in H.264 video when changing shutter speed from 1/33 to 1/24 and from 1/4000 to 1/31K.

Not sure if there are a problems with these on EOS M.
Interesting... I only have EOS M cameras to test but I'll run another test to make sure. Thanks. I didn't take into account that it could just be wrong metadata.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 07, 2020, 06:30:48 PM
Quote from: Mythic Cinema on October 07, 2020, 04:44:41 PM
As far as I know the only difference between the 1st and 2nd generation extreme pro cards is the label.
Are you refering to 95 MB/s version as 1st and 170 MB/s as second? Then you are wrong. 1st gen won't switch to proprietary Sandisk transfer mode.
Quote from: Mythic Cinema on October 07, 2020, 04:44:41 PM
The 2nd generation has the higher MB on the label, but both cards can still do it but you need a certain SD card reader to get those speeds. I think there is a Gerald Undone video on this.
Haven't found yet. Please link.
The 170 MB/s is a tad slower when used in cardreaders not able to run Sandisk's proprietary protocol. See www.cameramemoryspeed.com
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on October 07, 2020, 07:24:14 PM
Mines a 95MB tested in benchmark with a 30 second clip and getting 80MB read and write speeds. But crashes when I do anything over 57MB on 5k mode. Also I think the data rate is changing depending on the iso you choose correct? Wondering if the 170MB card will fix my problem.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 09:05:34 PM
Quote from: Walter Schulz on October 07, 2020, 06:30:48 PM
Are you refering to 95 MB/s version as 1st and 170 MB/s as second? Then you are wrong. 1st gen won't switch to proprietary Sandisk transfer mode.Haven't found yet. Please link.
The 170 MB/s is a tad slower when used in cardreaders not able to run Sandisk's proprietary protocol. See www.cameramemoryspeed.com

I think what I meant was in-camera writing there is no difference, but the 170MB can grab files faster from a compatible card reader.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 07, 2020, 09:07:58 PM
Quote from: Teamsleepkid on October 07, 2020, 07:24:14 PM
Mines a 95MB tested in benchmark with a 30 second clip and getting 80MB read and write speeds. But crashes when I do anything over 57MB on 5k mode. Also I think the data rate is changing depending on the iso you choose correct? Wondering if the 170MB card will fix my problem.

Did you try the ML card hack options like sd overlock 192mhz in the movie tab? I haven't tried 5k myself, though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 07, 2020, 09:08:57 PM
I don't get stable overclocking with 1st gen. There will be a hickup in transfer visible in cam benchmark. Hickup will occur at different write steps.
170 MB/s type runs like a clock.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Teamsleepkid on October 08, 2020, 12:35:20 AM
Thanks Walter. I knew there was something wrong. Might have to check into that 2nd gen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mythic Cinema on October 08, 2020, 12:48:19 AM
I have a Sandisk Ultra Plus 80MB/s 64GB and haven't had any overclock issues yet. At least none that I have noticed (yet). I just can't record as long continuously with certain resolutions as an Extreme Pro can, obviously. With that said, obviously if you are going to buy a card make sure its Extreme Pro 170MB/s 2nd generation.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on October 08, 2020, 11:57:38 PM
latest version 5k frtp 1440x1810 as in the picture, at the limit of 60MB per second, no pink frame and no loss frames using the hdmi monitor ... looks great

Inviato dal mio Redmi Note 6 Pro utilizzando Tapatalk

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: marcelo.lippi on October 08, 2020, 11:59:10 PM
latest version 5k frtp 1440x1810 as in the picture, at the limit of 60MB per second, no pink frame and no loss frames using the hdmi monitor ... looks great

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on October 09, 2020, 11:20:15 AM
Has anyone got the 5k anamorphic flv (1736x2928) working at 18 fps?  If yes, could you please share your settings and recording times at 10 bits lossless?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tmilardo on October 10, 2020, 06:20:32 AM
Quote from: Walter Schulz on October 07, 2020, 06:30:48 PM
Are you refering to 95 MB/s version as 1st and 170 MB/s as second? Then you are wrong. 1st gen won't switch to proprietary Sandisk transfer mode.Haven't found yet. Please link.
The 170 MB/s is a tad slower when used in cardreaders not able to run Sandisk's proprietary protocol. See www.cameramemoryspeed.com

I think Mythic Cinema is referring to this video by Dave McKeegan (https://youtu.be/h0Y2ueVfHUQ). Proprietary SanDisk transfer mode at 3:38 (https://youtu.be/h0Y2ueVfHUQ?t=218)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: loknar on October 10, 2020, 05:06:26 PM
I made a (very) short test of 5K anamorphic flv mode and for the good measure i threw in Dual ISO.
I like the looks of it and also color/exposure flexibility from Dual ISO is nice, although it's more difficult to process.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on October 10, 2020, 06:19:35 PM
Excellent video, could you please share your settings, would love to try this out, thanks in anticipation
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 10:32:22 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 5k anamorphic flv preset
Enable 18fps when ratio 16:9 and set 25fps are set. Will only work with framing preview. Realtime liveview will be frozen or else pink frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 11, 2020, 02:54:44 PM
In 5K Anamorphic FLV, Ratio set to 2.35:1 you get 1736x2214 @20fps. This is a very nice resolution.

With the 240Hz Patch or even 192Hz, it's continuous RAW 2.35:1, 1736x2214, 20FPS. I wonder if the preset could possibly be stretched a little from 20fps to 23.976/24p, continuous raw I guess could be taxed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 04:00:39 PM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- 5k anamorphic flv preset

Enable 24fps when ratio 2.39:1 and 2.35:1 and set 25fps are set(yes, aware of contradiction set 25fps becomes 24fps). Will only work with framing preview. Realtime liveview will be frozen or else pink frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 11, 2020, 06:24:14 PM
Would it be be technically possible to enable 18 or 24fps for the 4K preset?

The goal wouldn't be to record at this fps but to have a more precise timing for recording single frames with the Rec-trigger function.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 07:46:17 PM
I think you need to downöoad the code and try and learn. Seems you have some very specific needs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 11, 2020, 08:06:22 PM
Yes I tried to have a look at the code but I couldn't understand where and how the presets are made...I was searching in crop_rec.c

Is there some guidelines somewhere you could recommand?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 08:11:27 PM
No time atm but check in 4k regs i  4k preset. Try and work the timers reg 6014 and 6008 and thlse nearby. Also exists in crop mode sub menu. You could pro ably achange from there. Generally speaking. 4k with more than  7 fps will be hard.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 11, 2020, 08:31:06 PM
thanks, I already played on those reg directly on the cam. The fps increased but the preview and record went corrupted. 
I need to record at around 6fps but somehow need the "Liveview clock" to be faster. I will keep searching and trying :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 09:09:17 PM
Liveview clock? You mean shutter? I mean. 6fps is 6fps or what am I missing? Do you refer to some kind of latency when starting to record?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 11, 2020, 09:36:44 PM
yes, it maybe sounds confusing....

I am using my Eos-m with the rec_trigger function. A Super-8 projector is sending a half-shutter signal to the camera for each frame of the film, this allows the cam to record in sync with the projector.
I record at around 6fps, this is the speed of the projector.

But it seems that the frequency the camera is "checking" for the half-shutter signal is determinate by the fps of the preset (maybe related to the "Liveview clock" from what I read). It only check 5 times a second if the cam is set at 5fps, which give bad timing in the synchronisation. If a use a preset at 18fps or 24fps, the sync is perfect.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 09:41:48 PM
Maybe stick to anamorphic modes  8). Or 3k preset. Eos m really can´t push 4k to 18fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Francois_lune on October 11, 2020, 09:51:47 PM
yes I know recording 4K @ 18fps would be too much for the cam.
I actually only need 4K @ 6fps but with the cam checking for the half-shutter signal 18 times/sec or more, this a really specific and weird need I agree ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 11, 2020, 10:00:40 PM
Don´t think I can help you here. Maybe a1ex or g3gg0 but what happens when pushing timers too hard liveview freezes as you already experienced.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on October 11, 2020, 10:17:49 PM
I'm just checking in if anyone on this board has had success with the 240 SD overclock settings? It seems to function for me but I don't see the benefit, tho I'm not on the 170Mbs cards, just the 90Mbs ones.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: vstrglv on October 11, 2020, 10:31:35 PM
Quote from: tmilardo on October 10, 2020, 06:20:32 AM
I think Mythic Cinema is referring to this video by Dave McKeegan (https://youtu.be/h0Y2ueVfHUQ). Proprietary SanDisk transfer mode at 3:38 (https://youtu.be/h0Y2ueVfHUQ?t=218)


My SanDisk 64GB Extreme Pro 95MB/s does not work at 192MHz (only 20Mb/s w/r). It works at 160Mb/s. But SanDisk 128GB Extreme Pro 170MB/s works at 192 Mhz (175/185Mb/s w/r). So I guess that SanDisk  Extreme Pro 170MB/s a bit better than SanDisk Extreme Pro 95MB/s.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 11, 2020, 10:42:43 PM
Quote from: Danne on October 11, 2020, 04:00:39 PM
Enable 24fps when ratio 2.39:1 and 2.35:1 and set 25fps are set(yes, aware of contradiction set 25fps becomes 24fps). Will only work with framing preview. Realtime liveview will be frozen or else pink frames.
Thanks Danne, this is actually an amazing option for stills, cheers 😎👌🎥🔥
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on October 11, 2020, 10:45:25 PM
I have Canon 700D and Canon EOSM, 240mhz works fine on the 700D but I can only use 195mhz max on the EOSM, both cameras have similar processors and sensors which is fine for me as I can get all the settings and resolutions with the latest build so more than happy with both cameras
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fer.psd on October 12, 2020, 09:16:53 PM
I'm desperate...New EOS M ML user here, installed FD Lenses with the Pixco adapter, everything looks great on the viewfinder, settings, aperture changes etc....but when I hit the Red Dot Record Button NOTHING HAPPENDS... no recording. Anything that might help this newbie out?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 13, 2020, 10:28:12 AM
There is a known issue on the EOS M, especially with the Latest Build [OCT,07]. When using HDMI with a monitor, the EOS M LiveView/Monitor Screen tends to "Lockup" or freeze after exiting the Canon or Magic Lantern Menu. A Reboot is required each time. Not sure what is causing this freeze in LV.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 13, 2020, 10:39:02 AM
Quote from: ZEEK on October 13, 2020, 10:28:12 AM
There is a known issue on the EOS M, especially with the Latest Build [OCT,07].
Can´t really work wiith this info. If it´s known it´s new to me. The official build works better? Why especially with this build? What preset was used, how can we reproduce the issue. How can you avoid the issue? What presets are working better etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 13, 2020, 12:29:07 PM
It happens in all presets, no presets work better than the other. Avoiding the issue would be to not use an external monitor in general, otherwise just live with rebooting the camera after exiting the ML Menu to fix the freeze. The issue will reproduce with any preset used and after exiting the ML Menu. Haven't encountered this in the last build with HDMI or the few previous builds. It's not a Huge deal as I don't use a monitor as often, just thought I'd raise this concern thinking what the issue could be.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 13, 2020, 12:36:29 PM
Don't think older builds works better. If so it would be good if you could present these two builds compared. Would be good also to test against an official build but right now there's simply too many variables not tested to draw any conclusions.
On a general level, thanks for feedback. If we want this fixed more work is waiting...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on October 14, 2020, 07:29:33 PM
Heya Danne, is it possible to enable the customized button functions in picture mode? Changing iso without going through touch menus is something I didn't know I needed!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 14, 2020, 08:34:40 PM
Yes, I was interested in this too but not a big priority and now I have no time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 15, 2020, 06:09:04 PM
Re Remote triggering the EOS M. I have way back in time managed to get the Triggertrap Audio remote function to work. Now I can see the volume peek when triggering on the iPhone but it seems impossible to get a reaction. Do I need to do more than activating the function in the ML menu? If you have time to throw a lifeline?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 0xanon on October 16, 2020, 03:41:58 PM
New user with a few questions:
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 16, 2020, 03:51:35 PM
1. https://web.archive.org/web/20151127025125/http://www.scotttorborg.com/canon-eos-m-teardown
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 0xanon on October 16, 2020, 04:27:56 PM
Thank you, but I did check archive.org before posting, and none of the full resolution images (the useful ones) have been archived, and only very few any of the medium res ones.

I also emailed Scott Torborg, with no response.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 16, 2020, 04:51:30 PM
Have you tried Twitter? https://twitter.com/storborg
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 0xanon on October 16, 2020, 04:54:26 PM
Oh you young whippersnappers and your electric restroom wall, of course I haven't!

Guess I'll have to swallow my pride and make an account, thanks for the tip  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 17, 2020, 12:42:42 PM
Quote from: fer.psd on October 12, 2020, 09:16:53 PM
I'm desperate...New EOS M ML user here, installed FD Lenses with the Pixco adapter, everything looks great on the viewfinder, settings, aperture changes etc....but when I hit the Red Dot Record Button NOTHING HAPPENDS... no recording. Anything that might help this newbie out?

Try manual page 287: C.Fn-7 Release shutter w/o lens.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on October 17, 2020, 05:01:29 PM
Quote from: fer.psd on October 12, 2020, 09:16:53 PM
I'm desperate...New EOS M ML user here, installed FD Lenses with the Pixco adapter, everything looks great on the viewfinder, settings, aperture changes etc....but when I hit the Red Dot Record Button NOTHING HAPPENDS... no recording. Anything that might help this newbie out?

As Walter says, use the C.Fn-7 Release shutter w/o lens setting.

It is factory set to "off", meaning that you can't either without a lens, or with a lens that doesn't have the necessary electric contacts. According to eBay pictures of the adapter, it doesn't have the contacts.

This has nothing to do with ML at all...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 17, 2020, 09:17:30 PM
Some EOS M users reporting flickering problem when using Dual ISO in 2.5K and other presets on MLV RAW ON EOS M (https://www.facebook.com/groups/375018026655820/) Facebook group

I had this problem too in the past on 700D, it was from the generic code for ADTG registers, some ADTG registers present in 700D, EOS M which changes from video mode to another, a1ex included it because his graphs was showing it should change when increasing RAW resolution, using these registers or not using it *doesn't have any effect* on 700D and EOS M, I marked it as unnecessary registers for these cameras, why?

Because it's causing the flickering problem when using Dual ISO, I thought this problem was from some shutter blanking issues or the heavy 100/3200 Dual ISO, or even MLVApp, fortunately I made some tests in the past and narrowed down the following ADTG registers which caused this strange flickering problem, after commenting out these registers the flickering gone:

        //adtg_new[7]  = (struct adtg_new) {6, 0x8173, nrzi_encode(fps_timer_b - 1) }; /* PowerSaveTiming OFF (6D/700D) */
        //adtg_new[8]  = (struct adtg_new) {6, 0x8179, nrzi_encode(fps_timer_b - 1) }; /* PowerSaveTiming OFF (5D3/6D/700D) */

        //adtg_new[11] = (struct adtg_new) {6, 0x82F8, nrzi_encode(readout_end + 1) }; /* ReadOutTiming */
        //adtg_new[12] = (struct adtg_new) {6, 0x82F9, nrzi_encode(fps_timer_b - 1) }; /* ReadOutTiming end? */


Some days ago I found there is another flickering problem when using Dual ISO in 1x3 Binning mode with real time correct preview @ 2.35:1, 2:1 and 16:9 Aspect ratios, not sure what causing this flickering in these presets But in 1x3 Binning 2.50:1 preset with real time correct preview there is no flickering, something is happening here when lowering width RAW resolution and increasing Vertical RAW resolution in x5 mode, I think some registers related to horizontal resolution or vertical resolution or both need to be tweaked

Tested Dual ISO in 1x3 Binning 2.35:1 preset in mv1080 mode with stretched preview, the flickering problem isn't there (it's gone), some registers here appear to control something which cause this problem, these registers are between x5 and mv1080 mode, happy catching

Some examples from EOS M users posted on the Facebook group:
https://www.youtube.com/watch?v=gnHAF1qKLhs (https://www.youtube.com/watch?v=gnHAF1qKLhs)
https://www.youtube.com/watch?v=xuZqeGWCL6k (https://www.youtube.com/watch?v=xuZqeGWCL6k)

You can see the flickering problem clearly in my old 2018 video, I was testing 1x3 Binning mode with Dual ISO:
https://www.youtube.com/watch?v=QmawA6qe-Dc (https://www.youtube.com/watch?v=QmawA6qe-Dc)

Edit: here is my old reporting for this problem:
https://www.magiclantern.fm/forum/index.php?topic=19300.msg207717#msg207717

Quote from: theBilalFakhouri on October 29, 2018, 12:17:23 AM
..It's some kind of flicker(Low contrast frame/High constrast frame something like that) I thought it was from shutter speed bug or aggressive 100/3200 Dual ISO but using same Dual ISO and without crop_rec the problem is gone. That's how I found the problem wasn't from Dual ISO and shutter speed bug (shutter speed was set to lowest value so no flicker was happening) then I tried to comment out other ADTG registers and the problem has been fixed.

I didn't search to find out which specific ADTG registers causing this but the point is not to use unnecessary registers for all cameras maybe that isn't good thing. For small cameras (700D, 650D, 100D and EOS M) the necessary ones is 8172, 8178 and 82b6. I don't have my cam and laptop right now posting examples next week.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 17, 2020, 09:35:11 PM
1 - Check out Levas findings here:
https://www.magiclantern.fm/forum/index.php?topic=15088.msg226690#msg226690
2 - Do not process dualiso with Mlv app. Why. Code ported is old mlvfs code causing subtle bugs like flicker etc.
3 - Compile cr2hdr version from here with latest changes from a1ex code is used in Switch. Proven working https://www.magiclantern.fm/forum/index.php?topic=7139.msg227989#msg227989
Source
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/

Too bad these very hard to detect bugs have been coming and going totally made me, and probably others, leave the dualiso train when it comes to movie files. I think it would have been much more interesting still if we kept using a1ex version from the beginning.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 17, 2020, 09:47:18 PM
Cool, so it might be only MLVApp problem after all that?!

I will make tests with cr2hdr to prove or not prove that since I dealt with these problems from two years ago
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 17, 2020, 10:35:38 PM
Well, you need white level coherency through all files since it could vary depending on how cr2hdr converts every single file. This step is done with exiv2 in Switch.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sm105 on October 18, 2020, 03:17:05 AM
I've had strong flickering issues when using dual iso on the 5D3. I did try using Switch, as recommended by Danne, but the resulting files still had flickering. I should note that I was filming the full moon when it was high in the sky (very bright!), so when exposing for the moon (ISO 100), the rest of the shot (city buildings) was underexposed by at least 3 or 4 stops at ISO 1600.

In another thread a1ex hints that dual iso is not ideal in very underexposed shots (https://www.magiclantern.fm/forum/index.php?topic=24216.0).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 18, 2020, 07:12:14 AM
Could you post a sample from that file? I filmed the moon and I think if exposed correctly it will also work. It did in my case.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 70MM13 on October 18, 2020, 12:45:04 PM
the attachment i provided in the original issue reported (and linked above by sm105) is still valid...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 18, 2020, 12:59:26 PM
a1ex already pointed out this was not recorded with 14bit. Error starts there...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 18, 2020, 01:55:29 PM
Quote from: canoneer on October 15, 2020, 06:09:04 PM
Re Remote triggering the EOS M. I have way back in time managed to get the Triggertrap Audio remote function to work. Now I can see the volume peek when triggering on the iPhone but it seems impossible to get a reaction. Do I need to do more than activating the function in the ML menu? If you have time to throw a lifeline?

Hope you are all well and enjoy more tech fun during local close down periods.

I have a little EosM rig where I would benefit a lot from using a remote trigger.  So any help to get it running would be great.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 18, 2020, 02:09:54 PM
Please don't repost. Try search and find relevant topics, builds or people working around these matters. If you come up empty. Try and fix it yourself.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 18, 2020, 02:11:18 PM
Do you see the line "Audio release ON (xx/20)" on your display?
Finger snipping doesn't work well. Speak to the machine! ;-)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 18, 2020, 09:34:35 PM
Yes, I see the «Audio release on» message on my display.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 18, 2020, 09:48:17 PM
And? Are the numbers "xx" moving? Have you tried shouting at the cam (no joke!). Which build are you using? Have you tried other builds like plain nightly build and older versions of this?
You can switch between different builds fast by renaming autoexec.bin and ML directory and copying other extracted builds to card.
@other EOS M users: Is Audio Remote Shot working for you?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 18, 2020, 10:01:24 PM
Quote from: Walter Schulz on October 18, 2020, 09:48:17 PM
@other EOS M users: Is Audio Remote Shot working for you?
Yapp, works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 18, 2020, 10:35:28 PM
I have one M with nightly 11 august - triggertrap-tested with xx volume meter showing 8, 10, 20, 35 with no trigger response - microphone test same. Different M nightly 19 september - tested same way - no response.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 18, 2020, 10:39:23 PM
Forget Triggertrap for a moment. Have you tried voice and shouting at it? In photo mode with AF deactivated ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 18, 2020, 10:55:44 PM
Tried without troggertrap, with and without external microphone. No xx response in photo or video. It do detect external micrphone - I had to try that as well since I could not make sound load enough with camera mike.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 18, 2020, 10:59:41 PM
I restarted, reconnected mike and I then managed to trigger in photo mode, but not in video.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: sm105 on October 19, 2020, 02:24:22 AM
Quote from: Danne on October 18, 2020, 07:12:14 AM
Could you post a sample from that file? I filmed the moon and I think if exposed correctly it will also work. It did in my case.

Sent in a pm
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 19, 2020, 07:33:19 AM
Sample mlv.
You can post openly, don´t see why not. Your flicker could be the fact it´s a timelapse at around 1fps. Look into deflicker applications. Or it´s cr2hdr treating files individually. It´s the moon surrounded with black. A sample mlv could be interesting to test.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: SponaxSpinax on October 19, 2020, 01:16:18 PM
Hi everyone. I'm sorry if this is the wrong thread or if my question has been answered before, but I coulnd't find an explanation. I installled ML a few days ago and I have been trying and it has been wonderful, but for some reason I can't change my ISO through magic lantern when I'm in movie mode. I have enabled the manual mode and if I try to change the ISO through canon native menu I cand changem, but through the magic lantern it always goes back to 100 (or whatever ISO i have set in the canon menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: canoneer on October 22, 2020, 11:46:05 AM
re  #4600

After numerous approaches I managed to get my long forgotten RC-6 to function for both video (channel#2) and photo. Thanks for your effort Walter Schulz!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 23, 2020, 08:05:35 AM
New build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

- Enabled Kill Canon GUI

When enabled it will exclude arrows from preview window but keep ml graphics. Lucky find in code this morning. Means you´ll get a perfectly clean preview while using theBilalFakhouri´s realtime preview presets. The function is auto set if going through tap display menu.

(https://i.postimg.cc/QMZPrVVx/VRAM0-PPM-500px.png)

(https://i.postimg.cc/W1kKK0NH/VRAM1-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: benoit on October 23, 2020, 10:37:58 AM
WHAOU !! Danne thanks a lot, just what I'm talking about in post #4417 !
One month later, you do it !
Congratulations !
David   :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 23, 2020, 11:00:05 AM
Yes. Still possible to dig out treasures from A1ex code. Uploaded a new build addressing some pink frame issue and a few more fixes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on October 23, 2020, 11:03:06 AM
Congrats! Just tested it, works like a charm. Much more pro-looking now 😎🔥🔥 Cheers 👌
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: benoit on October 23, 2020, 01:49:59 PM
Yes, one thing for more pro-looking would be to fix the focal equivalent indicator with take in account the speed booster coefficient (1; 0.71; 0.64) and the ratio (sensor resolution / raw recording resulution).
The full real time preview is a revolution on EOSM !
Thanks again.
David
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on October 23, 2020, 02:06:01 PM
Quote from: benoit on October 23, 2020, 01:49:59 PM
Yes, one thing for more pro-looking would be to fix the focal equivalent indicator with take in account the speed booster coefficient (1; 0.71; 0.64)
This is already working. The Viltrox speedbooster converts the lens metadata, so e.g. a 16mm lens @f/2.8 is shown as 11mm f/2.0 on the EOSM screen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on October 23, 2020, 05:45:25 PM
can't download the last build , the link is broken (
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 23, 2020, 05:52:01 PM
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 23, 2020, 06:07:56 PM
Ah, yes updated the link again. Download should work again.
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: benoit on October 24, 2020, 09:29:22 AM
@masc yes you 're right about lens conversion. I missed that.
I think it will be better to display to focal equivalent with multiplying with the ratio sensor/raw capture.
Now with my 24mm EF lens on viltrox it displays 17mm eq instead for 2.5K mode : 24x0.71x5184/2500 = 35mm !
Perhaps I missed something again, tell me.
Thanks
David
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on October 24, 2020, 12:03:42 PM
Quote from: Danne on October 23, 2020, 06:07:56 PM
Ah, yes updated the link again. Download should work again.
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959
Now it works , thank you, try to test it today
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Kgncom on October 24, 2020, 08:08:04 PM
Is there MLV pixel maps out for the 5kfrtp mode Yet? Just shot some stuff but realized the built in focus pixel removing tool wasn't having an effect. My resolution is 1120x1890, should I post a framegrab fo you guys?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 24, 2020, 08:19:12 PM
You need the latest map files. Add them inside mlv app.
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 24, 2020, 10:01:49 PM
Yet another build:
https://www.magiclantern.fm/forum/index.php?topic=9741.msg208959#msg208959

Added 2k 1:1 crop frtp(uncropped realtime preview) built by theBilalFakhouri. Took a while getting ratios working here. Also took a dive to see if I could understand how to exclude bvram cached cropmarks?? 16:9 cropmarks always reappearing after finishing recording. Cannot find out how to exclude them so now I am using some workarounds including clrscr(); and whatnot to ba able and get a somewhat clean 1:1 1920x1280 preview :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 24, 2020, 10:04:47 PM
Ill test this build but in one before it i still have problems with full sensor pink frames:
in HD 1080
- turn off aspect ratio so its full sensor recording.
-12 bits
- fps override exact fps 23.976.

I get quite a lof pink frames with that.
no histogram , no digic sharpening etc. just these above changed.
I recorded full sensor quite a bit about year ago, never had so many pink frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 24, 2020, 10:22:29 PM
Seek what is working. I would not trust fps override with those settings. My suggestion is you test:
1 - Set only to 24 fps in canon menu and leave it there
2 - Try to record with 14bit.
If those settings are working try also 12bit. If still working without corruption it´s time to test to use fps override.

Sorry, I really can´t work with reports what was working a year ago. I just tested and my suggestion 1 and 2 works without corruption. Also 12bit works. Didn´t try fps override cause I know it sometimes fails, sometimes works with crop rec.

if you are having corruption still without fps override enabled let me know as well.

EDIT: Also helps to get sample mlv files to check what was filmed and so on.

EDIT: Tested fps override and still no corrupted frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: oercruz on October 25, 2020, 02:17:33 AM
Hi People.
Im pretty new to ML. Never installed in any camera.
I´ve bought a EOS M to test. But it came with 2.0.3 and I understand theres no build for that FW.
So, I wanted to bother, and ask for guidance.

1. Is there a way to downgrade to 2.0.2?
2. Is there some sort of way to install the ML in 2.0.3?

Thanks in advance for your help.
My goal is to install that too in a 6D, but just after test on EOS M.
Thanks for any possible help!

OC.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 25, 2020, 08:41:17 AM
1): Via Canon firmware upgrade.
2): Yes, there is a custom build for 2.0.3.
      But newest developments are for 2.0.2 and have not been ported to 2.0.3.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: oercruz on October 25, 2020, 05:16:00 PM
Thanks Walter!
Glad to know that theres both options.
But, as I stated... Im pretty knew to this. Can you point me in the right direction?
Not sure what is the best, as I read you I think it'll be to down grade to 2.0.2 and use the ML to that FW... What do you think?

If thats so... Do you have some info about that way?

Thanks a lot for your help!

OC.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: names_are_hard on October 26, 2020, 02:28:25 AM
Yes, you can downgrade to 2.0.2, and this is the best plan for testing ML.  You can always upgrade to 2.0.3 later if you want (this will make ML designed for 2.0.2 stop working).

Download the official Canon "upgrade" for 2.0.2 and install it in the usual way.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: vstrglv on October 27, 2020, 08:42:40 PM
My test 5k anamorphic frtp 1280X2160, 10bit, Danne's build 2020oct23EOSM202
1. MLVApp 1.11-exposure, contrast, saturation, white balance, Width and Height Stretch -1.0. Exported as ProRes 4444.
2.Topaz Video Enhance Al 1.6.1, Artemis HQ, 200%(2560X4320), png(8bit lossless).
3a Adobe premiere pro v.14.5. Sequence 2560X1440, Scale Height 33.3%, Scale Width 100%. Export 2560X1440

3b Adobe premiere pro v.14.5. Sequence 1920X1080, Scale Height 33.3%, Scale Width 100%. Export 1920X1080. This is 1920x1080 crop from the previous 2560X1440 video.

The resolution is good for me. Thank you very much Danne.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Art1203 on October 28, 2020, 04:04:55 PM
So I tried search feature and couldn't find so I'm gonna ask.

Has anyone found out how to get a Canon M50 update to get a clean HDMI out with autofocus and disable the 30 minute timeout
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: oercruz on October 31, 2020, 05:32:23 AM
Hi again.
Now, I did managed to downgrade to 202 and I have the ML ready to install. But I read something about ML "persistent changes"... So, I wanted to ask, what means "persistent" specifically.

Seems that ML is more complex to use than I imagined and its taking me a hard time.
Thanks in advance guys.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on October 31, 2020, 06:36:09 AM
Look at ZEEK chanel
https://m.youtube.com/channel/UCCn0RQHYheA41EudwmLnYKA
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 31, 2020, 07:31:49 AM
Quote from: oercruz on October 31, 2020, 05:32:23 AM
But I read something about ML "persistent changes"... So, I wanted to ask, what means "persistent" specifically.

50D will be enabled to do video. And this will be persistent.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on October 31, 2020, 09:43:23 AM
Tried dual iso again, but got purple stripes across over exposed sun. Both cr2hdr and mlvapp gave me same result. Is this a known issue?
1 frame sample: https://mega.nz/#!k0JFHAhI!fB0cCZTVDRxPiId9ilx-JvNkWNZPZW1HmWxiCLuEinQ (https://mega.nz/#!k0JFHAhI!fB0cCZTVDRxPiId9ilx-JvNkWNZPZW1HmWxiCLuEinQ)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on November 01, 2020, 12:16:51 PM
hello everyone, is anyone know how to make process of converting dual iso mlv videos quicker than MLVAPP is converting on my windows PC it takes 1 minute for 1 sec of dual iso video
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 01, 2020, 12:54:38 PM
Quote from: ctfire on November 01, 2020, 12:16:51 PM
hello everyone, is anyone know how to make process of converting dual iso mlv videos quicker than MLVAPP is converting on my windows PC it takes 1 minute for 1 sec of dual iso video
Open as many instances of MLVApp as you have CPU cores, and render in parallel. No faster processing available. Current DualIso algorithms are single threaded.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Gotflores on November 02, 2020, 09:33:14 PM
Quote from: Danne on October 13, 2020, 12:36:29 PM
Don't think older builds works better. If so it would be good if you could present these two builds compared. Would be good also to test against an official build but right now there's simply too many variables not tested to draw any conclusions.
On a general level, thanks for feedback. If we want this fixed more work is waiting...


Hello, I actually wanted to mention that I recently got the builds that Zeek shared, and the Monitor issue is also persisting for my monitor (feelworld 4k) as well. I have to reset it about 5-10 times before it gets stable, but notice that the live view while on the monitor appears to be zoomed in, than when compared to the liveview through the camera LCD. Was wondering what I might be able to provide to see what the issue might be with the EOS M and monitor setup?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on November 04, 2020, 11:09:51 PM
Can someone please give me a link to the latest EOS-M focus pixel maps?  Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Pacerx999 on November 04, 2020, 11:34:27 PM
Quote from: IDA_ML on November 04, 2020, 11:09:51 PM
Can someone please give me a link to the latest EOS-M focus pixel maps?  Thanks.

Latest focus pixel maps:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on November 05, 2020, 07:20:29 AM
Quote from: Pacerx999 on November 04, 2020, 11:34:27 PM
Latest focus pixel maps:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/

Thank you very much, Pacerx999.  Greatly appreciated!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 05, 2020, 08:05:46 AM
Quote from: IDA_ML on November 04, 2020, 11:09:51 PM
Can someone please give me a link to the latest EOS-M focus pixel maps?  Thanks.
You also find them in the MLVApp repos.
https://github.com/ilia3101/MLV-App/tree/master/pixel_maps

If you use the latest revision of MLVApp, it auto-installs all needed maps. So you never need any link again ;)
https://www.youtube.com/watch?v=G8CSpHnCpK0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 05, 2020, 10:05:31 AM
Is it poossible to do update check with checksum instead of timestamp? Or even simple name matching would be suffuicient? Right now I need to update files although I always have my latest pack of focus pixel maps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on November 05, 2020, 10:14:44 AM
Thanks, Masc., very useful video.  In fact, I was aware of it but I am not sure that the focus pixel map repository gets updated every time new resolutions are implemented in the latest builds.  I experienced this several times already when working with the latest build of the 100D.  On some of the resolutions, I don't get focus pixels and everything works fine.  On others, I do have them and have to clean them up manually using the Chroma smooth feature.  And since I also use MLVFS a lot, I prefer to 
download and manually install the entire FPM package.  MLVFS automatically applies the required fpm files to the footage and works perfectly OK. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 05, 2020, 10:17:20 AM
@Danne: we check with sha checksum, and install if it isn't identical to the installed map (if it already exists).
@IDA_ML: all existing maps are in this repository. If it is not there, you'll problably won't find it on another place.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 05, 2020, 10:19:55 AM
Quote from: masc on November 05, 2020, 10:17:20 AM
@Danne: we check with sha checksum, and install if it isn't identical to the installed map (if it already exists).
Strange. I have to check more carefully then. Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on November 05, 2020, 10:37:31 AM
Quote from: masc on November 05, 2020, 10:17:20 AM
@IDA_ML: all existing maps are in this repository. If it is not there, you'll problably won't find it on another place.

The reason I asked was that, testing the new 1280x2160 anamorphic resolution in the latest EOS-M build, I noticed focus pixels on MLV-files recorded at that preset.  When I manually installed the package from the link in post #4642, the focus pixels were gone in both: MLVApp and MLVFS.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 05, 2020, 12:36:12 PM
The files should be identical.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on November 05, 2020, 03:01:20 PM
Anyway, problem solved.  Thanks to all of you.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lind777 on November 09, 2020, 09:33:51 PM
Has anyone succeeded in importing MLV files from the camera over USB (leaving the card in the camera)? I'm on Arch but run macOS and Win as well, and would be happy with any sketch of a solution.

The reason is I am using a cage and external battery solution that partially blocks the battery/card lid.

Thank you all,
L
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 10, 2020, 08:56:32 AM
I think it´s possible to rename the extension from .mlv to .cr2 and it will be recognized. If so a lua script could be created to rename all mlv files temporarily during export.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lind777 on November 10, 2020, 03:53:11 PM
Woooowww! That would be absolutely amazing! So, if renamed, would it even be visible via regular MTP browsing?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lind777 on November 11, 2020, 01:37:41 PM
In Linux, libptp2 gives access to a lot of very useful functions for listing and manipulating the contents of the card in-camera.

~ >>> ptpcam -o

Listing supported operations...
Camera: Canon EOS M
  0x1001: GetDeviceInfo
  0x1002: OpenSession
  0x1003: CloseSession
  0x1004: GetStorageIDs
  0x1005: GetStorageInfo
  0x1006: GetNumObjects
  0x1007: GetObjectHandles
  0x1008: GetObjectInfo
  0x1009: GetObject
  0x100a: GetThumb
  0x100b: DeleteObject
  0x100c: SendObjectInfo
  0x100d: SendObject
  0x100f: FormatStore
  0x1014: GetDevicePropDesc
  0x1015: GetDevicePropValue
  0x1016: SetDevicePropValue
  0x91d5: UNKNOWN
  0x101b: GetPartialObject
  0x9101: UNKNOWN
  0x9102: UNKNOWN
  0x9103: UNKNOWN


...as well as listing battery level, and surely some more (less documented) useful stuff.

If we can get the MLV files renamed in-camera, I could contribute some useful scripts, or possibly even a simple GUI app to navigate all this.

Thoughts?

P.S Windows already has PTP/MTP support built in, so windows user could just drag/drop the .cr2 files and rename them to .mlv
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lind777 on November 11, 2020, 03:29:18 PM
This could all be user error, but after some preliminary testing: just renaming the files doesn't seem to make them appear. I renamed MLV files manually to .cr2, .png and .jpg and none of them appear in PTP file browsing.

The PTP spec documentation states that "...while it is common to think of the objects that PTP handle as files, they are abstract entities identified solely by a 32-bit object ID."

Maybe there is a file header block one could script to be modified instead, and keep the file name?
L
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on November 15, 2020, 12:56:24 AM
Hello, I need some help!  :(
I'm unable to get the resolution 1504x1782 (1x3) starting from the 5K anamorphic frtp preset.
It should be possible since it has been described here: https://www.magiclantern.fm/forum/index.php?topic=25323.msg230933#msg230933 (https://www.magiclantern.fm/forum/index.php?topic=25323.msg230933#msg230933) and I was able to get it with older releases.
I'm currently using Danne build of 27 October.

Another question: how to disable the function to take a picture/snapshot while in movie recording mode?
Thank you for any suggestion.



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 15, 2020, 07:47:22 AM
Why ask here when those presets were built by for other cameras? I can´t find his code either so hard to check sources.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on November 15, 2020, 12:28:02 PM
Nevermind.
I just asked because it seemed to me that I tried that resolution (in frtp) with a previous build and so I thought I now was not able anymore to set it up correctly.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 15, 2020, 02:35:25 PM
Ok. I asked the preview wizard for that code. A little more width if possible can't hurt.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on November 15, 2020, 04:09:39 PM
Waiting in anticipation as I have the 700D, the forum hasn't updated any news on the this, I also have the EOS M and thanks for the tremendous progress on this great little camera, a joy to use
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 15, 2020, 04:41:57 PM
Quote from: bern047 on November 15, 2020, 04:09:39 PM
Waiting in anticipation as I have the 700D, the forum hasn't updated any news on the this,

? https://www.magiclantern.fm/forum/index.php?topic=5951.msg231434#msg231434
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on November 15, 2020, 06:30:49 PM
Thanks or the link, much appreciated  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 16, 2020, 11:51:26 PM
Where should i get focus pixel map file for new 1920x1080 frtp 1:1 mode ? I see focus pixels when i choose 16:9 to get that resolution from 1920x1280.
In mlvapp11 i check which pixel map is used for this but theres nothing highlighted green and i have most recent fpm files in mlvapp folder.
Doesnt work for 16:9 ratio and with no ratio there are fpixels too.
I thought there was map for this new mode, i didnt noticed it cause i had chroma smoothing on but i see that fpixel maps dont work for this new mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 17, 2020, 07:16:34 AM
Mlv sample please. Also a link to where you downloaded your map files.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 17, 2020, 08:48:26 AM
I have a sample video here in the link I recorded earlier today using the Latest OCT 27 EOS M ML Build.

Unfortunately it freezes whenever plugged into an external monitor.
Video Sample:
https://drive.google.com/file/d/1Uvs29vD4aWtDEqHh5eSdydW_PBy0m2au/view?usp=drivesdk

- This happens in all modes 1080, 2.5k, 2.8k 5K FRTP, 8-bit H.264 preset etc, and custom modes ON and OFF. Every time the monitor turns on it shows the Eos m live view and then freezes. You can enter the ML Menu or the normal Canon menu, it's only when in Live View that it freezes.

The build that works fine is the OCT 07 that I have as backup, it doesn't freeze in any of the modes. I just really like the GUI OFF option in the latest build.

*Not sure what the issue could be or how to find it. Tested various monitors and HDMI Cables.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 17, 2020, 10:10:37 AM
Thanks for sharing. Maybe you could try and narrow down the issue? I have very limited time nowadays. Maybe related to moving the audio bar to bottom, or maybe the gui off has to b turned on or something else, idk. Maybe try different settings when working the mv1080p mode and try and get that one working. Start basic. Fresh installed build etc.
Good luck!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 17, 2020, 11:06:35 AM
Thanks for the advice. I wouldn't know if the audio bar being towards the bottom has caused the issue, maybe, or the new LV Layout has tinkered with something

GUI OFF/ON doesn't make a difference or even Global Draw. I'll give it a fresh install and test it out again though. Cheers 👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 17, 2020, 12:28:39 PM
Here are 2 frames in MLV file, 6MB in 1920x1280 cropped to 16:9 - 1920x1080:
https://drive.google.com/file/d/1bvsBGxZJ_heo0dJXsDsTjohGrxgb3df-/view?usp=sharing
I cant get rid of focus pixels.

2.8k works and pixels are removed, 2.5k too, just this new 1:1 HD mode doesnt work.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 17, 2020, 01:36:56 PM
Could you try these files?
https://bitbucket.org/Dannephoto/raw2mlv/downloads/focus_pixel_maps.zip

Uploaded an updated pack.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on November 17, 2020, 01:42:35 PM
80000331_1992x1312.fpm was missing. Uploaded to MLVApp repos. This one works fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 17, 2020, 02:24:13 PM
Thanks. Missed to do this lately.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on November 17, 2020, 04:22:12 PM
Now that works beautifully, thanks a lot guys !

Also, september builds ( sept26)work fine with hdmi but october builds( 23, 24) freeze hdmi
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: johnchang1996 on November 23, 2020, 09:38:20 AM
hey guys,
i got a eos m recently, but i don't know how to downgrade the firmware from 2.0.3 to 2.0.2.
The links in here to downgrade are all lost. Is anyone can give me some direction?
Thanks a lot! i really want to install ML to record video!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 23, 2020, 01:17:06 PM
Basic instruction -> https://www.magiclantern.fm/forum/index.php?topic=18941.msg179783
First chapter applies, you don't need to play around with EOS Utility.

Firmware found in
Top of page -> Downloads -> Download nightly builds -> EOS M -> Installation or Useful Links

Checked links. Everything is fine. If you have troubles using links, instructions, tutorials: Please link those!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Greedence on November 28, 2020, 11:14:06 PM
Hi!

I am trying to use my M as a streaming webcam with 1080p and I am lost.
Using the build crop_rec_4k_mlv_snd_raw_only_2020Nov20.EOSM202.zip I was able to get "clean" HDMI out of my camera but I have large black bars around my image, top is thinner than the rest (tested with HDMI-capture as well as plain TV)

Reading multiple posts, I assume it has something to do with the different aspect ratios and the structure of the live view itself, but to be frank I lost track which component is responsible for what (different recording resolutions with different crops, I got confused)


Thx in advance!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 29, 2020, 11:54:34 AM
Check your resolution or aspect ratio. What are they 16:9 / 3:2? Also in Advance HDMI settings in ML Menu I think from memory bottom Tab 6, change from 3:2 to 16:9/16:10.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Greedence on November 29, 2020, 12:35:37 PM
Hi!
playing around with the Movie settings presets, raw video and ratio settings did the trick (so now only minor black bars left and right, which can be an issue with the capturing device) Funny thing is, I can not undo that, thus I am not sure which setting was the right one for me.

Nevertheless, thx for your help
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: HugoMouteira on December 11, 2020, 02:08:50 AM
Hello guys!
Just so you guys know, you guys are great. Thanks for the awesome work on this community Zeek and Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 01:01:01 PM
2.5k mode is still broken in HDMI, its unproperly squeezed so takes less than half of the screen despite being cinemascope, its thinner than 4:3 and on the left side on monitor, on the right side there are random lines dancing.The same in 2K mode 1920x1280.
I tried to change 2.35:1 everywhere , in ratio and raw menu but it didnt changed anything.Nov20 build.
I think last time everything worked fine with HDMI was in september builds.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on December 12, 2020, 01:52:01 PM
Quote from: 2blackbar on December 12, 2020, 01:01:01 PM
2.5k mode is still broken in HDMI.
Try enabling the 2.5K & 2K Modes from the preset menu by tapping on the screen once and see if that works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 04:22:09 PM
It doesnt help in my caqse, theres always 1/3 of the screen with squashed liveview with about 5:2 aspect ratio and rest of the view is random lines .

BUT
I discovered something...  :D  To record longer in 2.8k and 3K modes go to expsure ML menu and set global draw to quickreview, and some magic will happen, i managed to get over 2 minutes in 3K mode.
Danne is it possible to expand this mode to 3.5k ? Maybe it will work ? Cause if i can get over 2 minutes in 3K  ? I got orange icon and could go on and on.
3000x1276 and no pink frames, its amazing cause i thought that 2.8k is absolute limit but here it records without problem when i enable quickreview.
I know theres 4K but its different than 3k crop, cause this 4K is in 8fps only for me unlike 3k.
Ah so the 3K is in 20fps , can it be in 24 ? Theres sudden drop to 20fps when above 2800 , when i set 25fps in 3k mode then it drops to 2800 as well.Considering its quite stable for over 2 minutes, can we go higher with fps above 3k mode ? Its not like im getting only few seconds, its long and stable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2020, 04:40:05 PM
I think quickreview is more or like giving the same result as global draw off. You can test by selecting kill global draw under raw video menu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 04:41:56 PM
I see, does camera impose that fps limit above 2.8k ? Can we get higher fps somehow when recording is quite stable for over 2 minutes ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2020, 04:43:37 PM
YOu can test yourself. Decrease reg_6014 in the submenu. Works for 25fps at least when set_25fps is enabled.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 04:55:06 PM
Yup, 3 seconds in 3K with 24fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 05:11:09 PM
OK i got 10 seconsd in 3K , 23.somethinalmost24 fps  but i adjusted both regs
-220 for 6014
-34 for 6008

When i went lower with 6008 then image got pixelated and then totally glitchy, but 6008 helps to get extra frames .
Raw detect error with 6008 set to -35, You think theres something more in there, or somewhere else that could help to get more time ?
10 secs is not bad tho.
But after more testing i think it was just luck, still getting about 3-4 secs
Ah but i have black border on right when using reg 6008...
Anyway 4-5 secs of real 3k raw is still great for this little cam, just changing reg 6014 to -300 works to get 24fps in 3K for 5 second clips.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2020, 05:31:52 PM
Yes, usually possible to gain a few more fps but not continuous. I choose to maintain a somewhat continuos preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 05:36:29 PM
Maybe Zeek would get more time in 3K with 24fps and his 512 GB card that was fastest so far... If its better ill consider buying it.
Ive got 128gb sandisk pro with 64MB/s write speed in bench 192hz , his 512 has 68 in 240.
But his is weaker in 192hz with 62 MB/s , i get same 64 result in 192 and 240 but i cant recrd anythin in 240 anyway, it stops.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 12, 2020, 05:50:14 PM
Maybe, maybe not. There's a line where increased fps will affect overall sd card speed no matter how fast the overclocking is.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on December 12, 2020, 06:00:52 PM
Zeek had higher data rate in 240hz , from this post:
https://www.magiclantern.fm/forum/index.php?topic=12862.msg231732#msg231732      Mazybe he would get 10 seconds in 24fps 3K mode .
If he needs info on how to do it + just go to Movie panel in ML, touch presets to expand it (dont press set) and there you have advanced mode, find register 6014 and change it to the left so its - 300, you have 23 somethin in 3K mode, you can go to -310 for 24fps.
I think his card would get better and longer record time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: AaLIEz on December 13, 2020, 05:22:06 PM
Does anyone still maintain and update the ML of Canon EOS M2?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on December 13, 2020, 11:47:49 PM
Quote from: 2blackbar on December 12, 2020, 05:36:29 PM
Maybe Zeek would get more time in 3K with 24fps and his 512 GB card that was fastest so far...
Well after testing a whole heap, my 2 cents is that the 240Hz patch is not reliable enough. In 2.8k 24p 240Hz I got a max of 8 minutes & now testing 3K 24p override, I got a max of 14 seconds with 240Hz patch. However after a few recordings it will go down to about 3/4 seconds with the same patch.
A break is needed and then it will pick up the pace again, but then the same pattern will occur. So then again....
I still think though 512GB is an amazing SD if you travel a lot and plan on shooting heaps of 2.5/2.8K Raw footage. 😎👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 14, 2020, 12:28:35 AM
Overclocking doesn't work well with all card types. I have some cards performing superb without overclocking and failing if put to the edge. You have to run some in-cam benchmarks to see how stable a card reacts. If a card stalls/stumbles often and unpredictable while benchmark runs (and it will only happen in write cycle): Nope, won't do with this frequency.
My good old 128 GB 95 MB/s Extreme Pro is outperformed by some mere Extreme in 240 MHz.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 08:55:39 AM
Hello! Thank you to all involved in this wonderful project. I have noticed something odd when attempting 5k FRTP using Zeek's settings for continuous video, with the Nov 20 build. The recorded video seems shifted to the right, compared to the framing I see on the monitor on the back of the camera. I thought I would mention this here. I have not yet compared this with another build yet but I will attempt with the Oct 24 build.

Thanks again to you all!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 09:00:17 AM
Ah, I meant the Oct 23 build, but I can't see it available for download. I will use 1080p MCM Rewire instead, this works fine!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 14, 2020, 02:10:02 PM
How much shifted would you say? Could you post a few visual examples? Unable to find time to do tests atm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Skinny on December 14, 2020, 03:54:20 PM
Hi guys! I have one theory about overclocking.... do you know why exactly card fails? I mean, if someone with oscilloscope can watch the signal on SD pins, maybe clock edges are not strong enough, or data-edges...
sometimes, in digital electronics, waveform could be improved if you add pull-up or pull-down resistors, they could be installed in the microSD to SD adapter for example.

I can't check this myself because I only have 5D2 and 550D, but just had this idea right now, who knows, maybe it is something useful, or maybe not. Maybe card fails because it cannot complete write cycle in time, physical flash technology limitation, and there is nothing we can do. ALTHOUGH.... maybe under/over-voltage could affect write times... I think it's interesting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 06:35:44 PM
Quote from: Danne on December 14, 2020, 02:10:02 PM
How much shifted would you say? Could you post a few visual examples? Unable to find time to do tests atm.

Thank you for the reply Danne! I hope this helps, I've had to delete most of the footage as I needed the space, but in this shot the subjects nose was in the centre on the camera screen, but it's to the left in the recorded video with extra space on the right that was not visible when framing the shot. (https://letschat.org.uk/M11-1503_frame_1170-smol.png)
Fullsize: https://letschat.org.uk/M11-1503_frame_1170.png (https://letschat.org.uk/M11-1503_frame_1170.png)

And in this one, the top of the hot water bottle was in the centre, with both sides visible. There's about 40mm missing on the left and extra space on the right (the object is about 450mm end-to-end, shot with a 35mm lens): 
(https://letschat.org.uk/M11-1519_frame_1-smol.png)
Fullsize: https://letschat.org.uk/M11-1519_frame_1.png (https://letschat.org.uk/M11-1519_frame_1.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 14, 2020, 06:40:34 PM
<obsolete>
Thanks, baberidge!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 06:51:24 PM
Quote from: Walter Schulz on December 14, 2020, 06:40:34 PM
Please edit. Use thumbnail preview linked to full scale pic.

Oops, sorry. Is the above acceptable?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 14, 2020, 07:05:48 PM
Tested shortly and not very hard but seems ok to me. Are you selecting ratio from the Movie tab and not from under raw video menu? Could help to know exactly what settings were used here.

If you could perform a more revealing test it would probably show the issue more clearly. For example. Do a photo of your liveview screen, and then record a short mlv and post your examples here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 14, 2020, 07:13:56 PM
Here´s an example with ratio 2.35:1

Cell phone screenshot of the screen
(https://i.postimg.cc/4xCxF6YZ/20201214-190733-jpg-scaled.png)

Mlv output as shown by Mlv app
(https://i.postimg.cc/43sNXXvS/Ska-rmavbild-2020-12-14-kl-19-08-38-png-scaled.png)

Looks close enough to me but feel free to show me otherwise.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 07:19:44 PM
Quote from: Danne on December 14, 2020, 07:05:48 PM
Tested shortly and not very hard but seems ok to me. Are you selecting ratio from the Movie tab and not from under raw video menu? Could help to know exactly hat settings were used here.

If you could perform a more revealing test it would probably show the issue more clearly. For example. Do a photo of your liveview screen, and then record a short mlv and post your examples here.

Aha! I believe I selected the ratio from the raw video menu, so operator error. I'll perform the test for you a little later though, just to rule anything out. I've got some editing to do at the mo as I re-shot everything in MCM 1080p Rewire which looks fantastic :D I chose 5k anamorphic last time as I'd had some problems with aliasing when the subjects were wearing shirts with rough stitching but there were no such artefacts today. Thanks again - for the response and the project - we have literally no budget at all and wouldn't be able to do what we're doing with such gorgeous footage without Magic Lantern.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 14, 2020, 07:24:03 PM
Happy to see the results later. Please share if possible.
Aliasing less with HD 1080p(mcm rewired)? Must be a lucky coincidence. 1x3(anamorphic modes) will outperform HD 1080p per always I would say ;). Especially on aliasing side.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 07:32:51 PM
I will do! I don't think I explained myself correctly before, MCM Rewire had aliasing on the rough-stitched shirts shot with a 35mm f3.5 SMC Takumar stopped-down to F8 on a sunny day, which is why I chose 5k anamorphic for the interior shoot yesterday. However when I re-shot today (we were in a hurry) there was no aliasing with MCM Rewire, I'm guessing because of the fine stitching on the blouses they were wearing and the wide-open old zebra Pancolar I used providing a touch of softness to mitigate it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on December 14, 2020, 07:33:38 PM
I also tested 5K frtp here, and also in 16:9. I get (in the MLV) what I see (on the liveview).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 14, 2020, 07:38:56 PM
Great masc.
Yes hd 1080p is not bad. Most shots will work just fine. Zeek uses this setting a lot. To me 3x3 binning fake sharpens footage too much for my liking but I have been comparing ml footage way too long now  :P 8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: baberidge on December 14, 2020, 07:46:15 PM
Thank you masc, I really do think this is my error but I'll certainly do the tests and replicate what I did wrong!

The 5k 1x3 does have a delicious creaminess to it but I'm more than happy with today's results!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on December 31, 2020, 11:46:11 AM
Does anyone know how to remove focus pixel maps if I use dng files workflow in davinci resolve ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on December 31, 2020, 11:52:32 AM
Quote from: amitkattal on December 31, 2020, 11:46:11 AM
Does anyone know how to remove focus pixel maps if I use dng files workflow in davinci resolve ?
Only in the step when transcoding to DNG, so in MLVApp or MLVFS. Resolve can't remove that.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dron47 on January 01, 2021, 11:10:15 AM
Hello everyone. In 2020 I decided to start videoshoting with eos M. To set magic lantern for it, I need a 2.0.2 firmware, but I can't find it anywhere on the internet. It just doesn't exist. Can someone give me some link to download it or send 2.0.2 archive, please??? I just can't use my canon with latest firmware(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on January 01, 2021, 06:18:25 PM
Quote from: masc on December 31, 2020, 11:52:32 AM
Only in the step when transcoding to DNG, so in MLVApp or MLVFS. Resolve can't remove that.
So if i output as cinema dng from mlvapp, there is no way i can remove the focus pixel maps later? because any edit made in mlvapp doesnt apply to cinemadng
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on January 01, 2021, 06:29:12 PM
Quote from: amitkattal on January 01, 2021, 06:18:25 PM
So if i output as cinema dng from mlvapp, there is no way i can remove the focus pixel maps later?
Right.

Quote from: amitkattal on January 01, 2021, 06:18:25 PM
Because any edit made in mlvapp doesnt apply to cinemadng
Then you did something wrong. All RAW corrections will be applied. You probably exported via "fast pass" ( = bypass without any changes ).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ytolun on January 07, 2021, 11:17:12 AM
Hello everybody, I have two problems with ML NOV20 build.

1) I can't use my lens in AF mode while using 5K frtp. It just freezes the LiveView and doesn't focus on anything.
2) I can't use HDMI output to my phone with a capture card for 1080p mode or for 5K frtp mode. On 1080P mode, I get a black screen with no overlays. ON 5K frtp, the overlays work but I see pink distorted lines instead of the video feed.

Do you know any solutions for these problems?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 08, 2021, 08:22:56 PM
1) Skip af when working movie modes. Treat eos m as a manual focus cinema camera for best results.
2) Skip HDMI out altogether when filming with eos m for best results.
If any of above works with af on or hdmi out consider yourself lucky.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tupp on January 09, 2021, 09:01:35 AM
Quote from: ytolun on January 07, 2021, 11:17:12 AM
2) I can't use HDMI output to my phone with a capture card for 1080p mode or for 5K frtp mode. On 1080P mode, I get a black screen with no overlays. ON 5K frtp, the overlays work but I see pink distorted lines instead of the video feed.

@ZEEK posted a video just a few hours ago (https://www.youtube.com/watch?v=-Ayz_rlniVk&t=28m12s) that includes how to get an HDMI monitor working with the EOSM.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2021, 10:38:05 AM
Yeah, that guy is really testing those presets out 8).
https://www.youtube.com/c/ZeekEOSZ/videos

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tupp on January 09, 2021, 09:47:05 PM
Quote from: Danne on January 09, 2021, 10:38:05 AM
Yeah, that guy is really testing those presets out 8).
Well, instead of just discouraging someone by telling them to skip altogether trying to use an HDMI monitor with ML, @ZEEK helpfully:
     ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2021, 09:57:47 PM
Well, that´s what I like with magic lantern. When users finds ways and do the unexpected. Personally I still think af and monitors with eos m is way too much hassle than recording without.
Then again he asks for usage with his phone. Don´t know if that´s possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 10, 2021, 12:08:14 PM
I have to give much appreciation to the developers who have done a fantastic job coding these things for considerably some time. It can be a lot of work for sure! And a lot of things with ML can be unpredictable.

We can't expect things to work straight off the bat, which is why these builds are experimental. Feedback from users with uploaded samples is highly recommended to fix some of the issues.

As for HDMI stuff with Monitors, it can be like playing with fire. The 2.5K HDMI Preset is the best for high resolutions as I have yet to see a dropped frame after a few 1-minute or so recordings. 5K FRTP is also quite good. 1080 mode has it's ups and downs.

Using your smartphone as a monitor with the EOS M is good for 2.5K/2.8K RAW, zero dropped frames and clear image. Other modes go blank. The best would be to test with different capture cards.

But as Danne said, HDMI Monitors will present more issues, I have just tried to exemplify what I have done as I like to use monitors to record myself when sampling lenses for skin tones on different RAW Modes.  8)


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ytolun on January 10, 2021, 12:29:18 PM
Thanks, everyone for all your replies. My post wasn't approved for a while and in the meantime, Zeek has replied to my comment on YouTube.

As for the result, I guess I knew what I was going into when I decided to shoot with an EOS M as opposed to my smartphone  :) Even though it's cumbersome at times, I learned a lot. I didn't even know what an aperture was before all this :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 10, 2021, 02:10:22 PM
@Zeek: I'm interested how you manage audio for your youtube content. Too much content (definitely not yours) suffers in this regard. If you can setup a how-to (what works and what doesn't) about good sound on a budget I think the audience will listen!
Of course if you have a bunch of Neumann mics ... forget it! ;-)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ytolun on January 10, 2021, 02:55:57 PM
Quote from: Walter Schulz on January 10, 2021, 02:10:22 PM
@Zeek: I'm interested how you manage audio for your youtube content. Too much content (definitely not yours) suffers in this regard. If you can setup a how-to (what works and what doesn't) about good sound on a budget I think the audience will listen!
Of course if you have a bunch of Neumann mics ... forget it! ;-)

For YouTube, I tape my very cheap lavelier mic under my t-shirt. Cheap mics don't pick up much reverb and taping it under my shirt keeps it reasonably close to my mouth.

Give it a listen (it's not in English but still) and if you like what you hear, give it a try: https://youtu.be/U1vt1KXNDTw
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: NateM on January 19, 2021, 10:25:52 PM
Hello! After purchasing an EOS M in late 2020 (under the influence of DSLR Video Shooter and Zeek's YouTube videos) I began learning ML. I successfully shot some raw clips and was impressed by the dynamic range when color grading. But extremely frustrated by the camera frequently freezing or the video preview being nonexistent.

I honestly had given up on ML until I came across this video (https://www.youtube.com/watch?v=-r-tI93GZBk&t=34s&ab_channel=PilYang (https://www.youtube.com/watch?v=-r-tI93GZBk&t=34s&ab_channel=PilYang)). I was amazed that the filmmaker had been able to make the shots look sharp and there was almost zero noise in the night scenes. In the description he mentioned it had been shot in h.264 not raw.

So I dove back in ML on my EOS M and realized maybe he had just cranked the CBR to 3x and maxed out the data he could record in h.264. I tried it and loved the fact the camera was more reliable and the clips played back just fine. But then I wanted to confirm that the data rate was actually 3x. I struggled to find the manufacturers bit rate for 1080p at 24fps for the EOS M.

But I found that the T4i shared the same exact sensor and that camera records 1080p at 24fps at a vbr of 48 mbps (See the second photo). So I analyzed the clips I recorded on my camera (1080p at 24fps) with a CBR set at 3x and the bit rate was only 55 mbps (see image). Then I recorded another clip with the CBR turned back to 1x with the same settings. And the bit rate was 47 mbps.

So my question is 55 mbps the max bit rate on the EOS M in H.264? And do we think his video had good image quality simply because he used fast glass and a CBR instead of a VBR?

On a side note I have been renting the new Canon R6 for professional photo and video work and it has been amazing.

Thanks

(https://imgur.com/5BJq1gi) (https://imgur.com/jOjAgoJ)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 20, 2021, 12:51:47 PM
Interested to why you are getting freezes? What build are you using and what settings? When recording h.264 it should be as stable as without magic lantern.
I am yet to find proof that image will get better cranking this setting. I do not think it will make a difference using this setting. Not when I tested it. Better yet to film raw if you want some real magic to happen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: eosmrocks on January 20, 2021, 06:57:08 PM
Hello everyone,

I have a very simple question regarding the zoom assist via half-shutter. You see, I am using manual lenses and from time to time I need to zoom on the live view to check my focus, and there are many instances when the focus peaking feature does not do the job quite enough.
In Canon's GUI for the live view, there is the magnifier button and once I click that I can choose a point in the screen and zoom there, check the focus, zoom back, check my composition and shoot. This process is long. The best solution is to set the half-shutter button to zoom but unfortunately with that I can only check the focus on center. Is there any way to make it such that I would be able to touch on the screen thus moving the focus box to a certain point and then once I press the half-shutter it would zoom at that specific point rather than the center?

Thank you for any help.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Janke on January 24, 2021, 01:22:38 PM
One quick question about the intervalometer and/or low fps settings:

If the battery runs out during shooting, will the file always be saved correctly? (I tried a search, didn't find anything...)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 24, 2021, 04:42:14 PM
Please do testing and report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 01, 2021, 09:25:28 PM
Wheres now working link to recent build ? Due to recent split of the thread , links go nowhere in camera specific thread.
OK, its first page now, i guess thats better.
Also 2.8k lasts longer than previous builds, what kind of magic happened ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2021, 09:56:15 PM
Yes, better. Amazing we are at 119 pages here.
Recently I fixed a bug when using halfshutter while using anamorphic frtp preset.
Also added an experimental "shutter average" function. It will record while changing shutter every 7th frame. An average tool.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 01, 2021, 10:22:07 PM
Yeah, You did amazing work with it.
M is a special cam, really great colours, i cant get them from 5D2 and i keep coming back to M over and over again.
As for shutter, in 1080mcm i usequite often shutter of 1/41 but only with fps override exact fps, it gives me nice non stuttery motion blur while not looking like muddy camcorder blur yet.
It wont work with other fps override methods like lowlight or fps override off. Sometimes i also use 1/45 but only with exact fps.
I noticed that i cant use exact fps in 2.8k and other crop modes , i have to use 1/50, i have lights at 50hz and with fps override exct fps and shutter 1/45 i get no banding , on other modes or fps override off i have to set it to 1/50 to get rid of banding , so exact fps is a special mode where i can get less stuttering on panning and moving objects, motion blur just looks different on it, not sure why and how but it does, without fps override exact fps 1/45 looks too blurry.

I made a color test with M and 5D2, both same light and same exposure, in mlvapp colours look different, especially on 5D2 its kinda orangey where it should be reddish.
Heres 5D2 frame:
https://drive.google.com/file/d/1RKpYa74qClOBkwEOspcC9jj3HnrG997T/view?usp=sharing
M frame:
https://drive.google.com/file/d/1OiF8FNmcuHAJs1kqnnuhw2NRrnaECH_5/view?usp=sharing

Colours from both cams should look like on M.Maybe ill ask ilia and masc whats happening there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2021, 10:43:59 PM
I never use fps override with my crop_rec presets. Could you show me comprable examples of when you are getting banding vs not getting banding modifying shutter, fps override as you describe?

Your comparison between 5D2 and eos m. Is it white balance related? I matched wb and they look pretty similar to me. Adobe camera raw.

(https://i.postimg.cc/MprPXJF3/Ska-rmavbild-2021-02-01-kl-22-39-47-png-500px.png)

(https://i.postimg.cc/kg5Yngft/Ska-rmavbild-2021-02-01-kl-22-39-54-png-500px.png)


fine tuning shutter works with 2.8k
(https://i.postimg.cc/FKdPLntr/VRAM0-PPM-500px.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 01, 2021, 11:01:47 PM
Yes in adobe camera raw it looks similar on both but in mlvapp i get different colours on 5D2 , im sure theres something going on, both colors above yellow should be red and redder, not orangey like on 5D2, i cant get nice red colour from 5D2 no matter how i white balance it in mlvapp.
5D2:
(https://i114.fastpic.ru/big/2021/0202/b9/66762118fb6acccaf2a1d0d1e00fa0b9.jpg)
M:
(https://i114.fastpic.ru/big/2021/0202/4a/ee3ac8ca6bedb82d119a0f053e2aeb4a.jpg)

As for fps override, im talking about rolling shutter timing, it has faster readout in exact fps, 18.7ms rolling shutter value . i can get it to 17.8ms , id like it to stay like that by default( on 17.8 ), i might have to edit sourcecode again.
(https://i114.fastpic.ru/big/2021/0202/35/4b2958b213d52be5b0a96bb3d8df9c35.jpg)
I like the look of motion blur with fps override.Banding is not an issue for me, its just i want fastest readout from sensor and different looking motion blur.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2021, 11:22:40 PM
I guess I never learn the difference with this rolling shutter ;)
You can also fiddle the timer A and B from the crop mode sub menu.
reg_6014 = timer B
reg_6008 = timer A
Maybe you can optimize from there?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 01, 2021, 11:51:03 PM
I dont see these regs affecting rolling shutter value, but i see that rolling shutter lower than 23ms in crop modes will get me no preview/glitchy image.I have it in fps override menu at A ft-106 and B FT+5) but anything lower than 23 and theres no image, i dont know if it was like that long time ago but i remember using fps override in crop modes with success but on other hand iwanst able to record for so long so maybe its a trade off.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2021, 05:51:53 AM
Timers affects performance and evidently output. Question is by how much and when. Would be nice to see examplas from comparison scenes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: a1ex on February 02, 2021, 08:10:00 AM
General rule when optimizing presets: first minimize timer A. You'll want to stop as soon as you start getting black columns on the right side, or any other kind of image corruption.

This will minimize the rolling shutter for a given resolution. At the same time, since you'll need to increase timer B in order to keep the frame rate, this could help you squeeze a few more pixels vertically.

References:
- arbitrary resolution crop_rec PoC for 700D: https://www.magiclantern.fm/forum/index.php?topic=19300.msg205546#msg205546 (around line 930)
- my old 700D notes (same timings expected for EOS M): https://www.magiclantern.fm/forum/index.php?topic=19300.msg205464#msg205464
- Bilal's 700D notes: https://www.magiclantern.fm/forum/index.php?topic=19300.msg197870#msg197870
- Same explanation for 70D: https://www.magiclantern.fm/forum/index.php?topic=14309.msg205996#msg205996
- several other posts scattered throughout the forum :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2021, 10:20:07 AM
Thanks. That´s easy enough to work with. Most presets I built used described workflow above but a few have been tweaked with resolution and reducing corrupted frames in mind. I guess revisiting timers might be good project for the future or anyone with an interest. I´ll guide anyone into specific code parts if so. @2blackbar maybe?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 02, 2021, 12:31:08 PM
 I can tinker when i get enviroment installed again, i hope not much was changed in how it was done, im currently investigating if higher or lower rolling shutter values give me that motion blur im after, cause i see that exact fps actually has bigger rolling shutter value than other fps override presets and  ill try if i can get the motion blur in 2.8k to look similar to non crop.
In 1080mcm With 17.8(lowest rolling shutter settingi can get ) and 1/50 i get typical motion blur as if not using fps override, with 18.8 which has exact fps setting i get i think less motion blur but i can get shutter 1/45 to make it less stuttering than 1/50 while not looking like internaced cause of too much blur, and i got 25.5 rolling shutter to try it out , that gave me even less blur but i have to test that out by filming moving subjects.
Its boring stuff for someone who doesnt care but im trying to find a way to get rid of micro jitters while maintaing nice motion blur, dont care if it says shutter 1/40, if it looks good for me then its good.
Thats why i filmed wits exact fps and 1/41 shutter a lot, i could go handheld and not have micro jitters like on 1/50 because motion blur actually looks different.
I know that progressive 24fps footage stutters with 1/50 shutter but not as much as DSLR's and theres a bit of info on it how rolling shutter affects that.But here i actually use higher rolling shutter values to drown micro stutter in motion blur cause that blur looks different, withhout fps override and shutter 1/45 footage already starts to look like interlaced with too much motion blur.

Basicaly , motion blur without fps override and 1/50 looks more like its current frame and previous frame but the moving part (thats supposed to be smudged out) is just 2 frames in one.It looks to stuttery for me, with fps override exact fps and 1/45 or 41 shutter i get better non stuttery motion blur.
That regular motion blur without any fps override turned on looks Kinda like this :

(https://s3.amazonaws.com/red_3/uploads/asset_image/image/51a636f526465a622a000d94/simulated-blur2.jpg)

https://www.red.com/red-101/cinema-temporal-aliasing
So im looking really for blur characteristics not lower or higher rolling shutter values just to get best math results, im just sharing the info in case i forget later.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 03, 2021, 01:39:41 PM
Thanks for the amazing new build, Danne! The longer record times in 2.5k 2520x1418 preset are amazing; really maximizing the coverage with c-mount lenses.

I have a question about resolution in the anamorphic presets. I feel like a saw a post ages ago about getting a bit more vertical resolution at the expense of horizontal but I can't find it anymore, so apologies for going over old ground:

I am shooting in 3:2 and so was wondering if there was some setting I could tweak to get like 1168x2334 at 24p, which if I understand correctly is slightly less data than the beautifully functioning 1280x2160 at 16:9? For my application I don't need frtp or real-time preview, just framing.

Also, I think I might be doing something wrong, but the max resolution I can get at 24p in the 5k anamorphic preset is lower than in the 5k anamorphic frtp preset. Am I missing a trick with ratio in the movie menu, or set 25fps or similar?

Thanks in advance to anyone who can help!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 03, 2021, 02:16:10 PM
Quote from: byrd on February 03, 2021, 01:39:41 PM
I am shooting in 3:2 and so was wondering if there was some setting I could tweak to get like 1168x2334 at 24p, which if I understand correctly is slightly less data than the beautifully functioning 1280x2160 at 16:9? For my application I don't need frtp or real-time preview, just framing.

Also, I think I might be doing something wrong, but the max resolution I can get at 24p in the 5k anamorphic preset is lower than in the 5k anamorphic frtp preset. Am I missing a trick with ratio in the movie menu, or set 25fps or similar?

Thanks in advance to anyone who can help!
I can´t come closer than maybe around 2280 in height.
Need more info regrding resolution. Not sure what you are asking for. Could you write out the resolutions?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 03, 2021, 02:54:50 PM
Quote from: Danne on February 03, 2021, 02:16:10 PM
I can´t come closer than maybe around 2280 in height.

Those extra 100 pixels would still be helpful!

Quote from: Danne on February 03, 2021, 02:16:10 PM
Need more info regrding resolution. Not sure what you are asking for. Could you write out the resolutions?

Sorry was unclear. This was a separate question, just trying to understand the difference between the presets.

In "5k anamorphic" preset with ratio set to off, resolution can go up to 1736x3256 (1736x2928 in the case of 16:9 aspect ratio) but only at 14p. Obvs if I turn ratio on to 16:9 I get 24p but then I can't select resolution above 1104x1864 in raw menu.

In "5k anamorphic flv" as you know I can get up to 1736x2930 at 18p if ratio and set 25p are both on, but in this preset there seems to be no way to get 24p.

But then if I choose "5k anamorphic frtp" with ratio off the max resolution I get is 1360x1976 but when I turn ratio on to 16:9 the resolution goes up to 1280x2160 at 24p.

So my second question was one of curiosity rather than request for feature. When I was exploring and trying to see if there was any way to use 1x3 binning with a 3:2 ratio to get higher than 1088x2160 resolution, I was testing out the limits of each of these three 5k ana presets and noticed the "5k anamorphic" preset had a lower max resolution than the "5k anamorphic frtp" at 16:9 and I just wanted to understand why.

What's got me confused is that in the 2.5k modes, setting ratio in movie menu seems to cap resolution at whatever is safe and continuous, but if I turn ration off, I can push resolution higher in raw tab. But in 5k ana frtp it seems to be the opposite?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 03, 2021, 03:20:05 PM
Of course in 5k ana frtp, the 1360x1976 and 1280x2160 are very similar amounts of data, so if there was a way to access 1140x2280 that would be wonderful!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2021, 11:08:45 AM
Quote from: byrd on February 03, 2021, 03:20:05 PM
Of course in 5k ana frtp, the 1360x1976 and 1280x2160 are very similar amounts of data, so if there was a way to access 1140x2280 that would be wonderful!

New version in first post.

Added resolution 1136x2280 into the mix. To access it atm do following:
Select preset 5K anamorphic flv
Set ratio to OFF
Enable set 25Fps

Should get you 24fps and 1136x2280. Couldn´t spot any focus pixels in this preset but if you find any please tell and I add a pixel map.
Only works without corrupted frames with preview set to LV frozen and this gives you framing preview. This is done automatically. No real time preview.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 04, 2021, 12:39:21 PM
Quote from: Danne on February 04, 2021, 11:08:45 AM
Should get you 24fps and 1136x2280. Couldn´t spot any focus pixels in this preset but if you find any please tell and I add a pixel map.
Only works without corrupted frames with preview set to LV frozen and this gives you framing preview. This is done automatically. No real time preview.

This is AMAZING, thank you so much! Just tried and it works perfectly, recorded 1 minute at 14bit with no corruption. Not seeing any focus pixels either. It's perfect with my normal eos m lenses. Tried it again with Kiev 16u Vega 20mm to see what sensor coverage was like (in case it made that lens more usable with this mode) and horizontally it's centred but vertically it looks like the framing might be a bit higher than centred?

https://ibb.co/m4Nx6fW

I can't believe I'm whining when you've done such an awesome thing in less than 24h... It's not a complaint! Just had a look through posts from 2blackbar in Nov 2019 about adjusting framing in crop mode but it was over my head. Is it easyish to shift the whole framing down like 400 pixels or so? (that's just a guess)

Thank you again
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2021, 01:05:00 PM
You can adjust cmos 7 from the sub menu. Start by setting it to 2a0 and start from there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 04, 2021, 02:13:45 PM
Quote from: Danne on February 04, 2021, 01:05:00 PM
You can adjust cmos 7 from the sub menu. Start by setting it to 2a0 and start from there.

OK I can go as far as 2a2 and it helps! But if I go further I get a white bar at the bottom, in both framing view and in the actual video. It seems like 2a5 is where I want to be for the top corners.

EDIT: actually at 2a2 there are two rows of white pixels at the bottom and one row of magenta
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2021, 02:48:16 PM
Could you try around cmos 7 and number 324?

EDIT: Or even test 303.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 04, 2021, 03:15:35 PM
CMOS 7 at 325 is perfect. I tried to save as custom mode but it didn't remember. Do I have to reset CMOS 7 each time I want to use this preset?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2021, 03:22:48 PM
Not intended for saving settings. More for testing. Anyway. Updated first build with cmos 7 set to 325.
Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 04, 2021, 03:27:15 PM
Thank YOU!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 04, 2021, 04:19:36 PM
Great to see new modes introduced by Danne in this camera , downloading !
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: vicenzzopaiva on February 05, 2021, 10:34:24 PM
I must say, Danne, you're a hero!
It's a 2012 camera and we're seeing 4k+ RAW video coming out of it... that's insane.
There's any way that i could support you? I've seen you also work on other models builds and i'm thinking of getting a 70D as my primary camera with ML (flip screen, wifi, viewfinder, DPAF)... would you recommend it?

Anyway, returning to the M, can i just overwrite the files of the old build with the new ones in the SD or do i need to uninstall ML, format the card and reinstall it? I usually have some footage in my SD, specially when traveling, and would be great if i didn't need to backup the files to my phone (do not have a computer rn) then put it back into the SD to update the build.

tldr: can i just copy the new build into the sd and replace the files to update the build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on February 05, 2021, 10:40:17 PM
You can delete or rename ML directory and overwrite autoexec.bin and ML-SETUP.FIR.
Overwriting ML directory will preserve your settings but there is a risk of preserving outdated/obsolete modules and presets, too.
I recommend a clean start without old settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2021, 10:44:19 PM
Yes, if you are replacing my ongoing build here. Also possible to uninstall and reinstall the latest build without formatting.

EDIT: Also what Walter says. Older stuff will stay and also old SETTINGS folder and files. If those are changed somehow in a commit it might interfere with older configurations. Reinstall is always more safe. And on eosm it´s only a matter of erasing and unzipping the new build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on February 06, 2021, 12:51:24 AM
just get all folders besides dcim and throw thwm to new folder on card, then move autoexec and studf from ml zip file to card root.
you will regret not having version that wprks best once you collect about 10 builds , you will lose track, so i name the folder for eg working hdmi ,let it stay on card its a small size,  i juggled many build whwn testing my own builds and danne's , so naming folders andnkeeping on sd card helped
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2021, 06:20:56 AM
Not necessary to keep mixed builds. Much better to help with feedback about what is working "better" in one build and fix potential problems. If you share info on what build and why its better we can start compare.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: vicenzzopaiva on February 06, 2021, 06:53:01 PM
Nice, worked great just by excluding all the ML folders except SETTINGS and copying the new build. Everything's working great so far. I'm using the ADATA V90 UHS-II 128Gb 270mb/s that is not that very fast in UHS-I compatibility (around 50-60mb/s), then i'm not able to record much time in 2.5k or 2.8k. Already bought the Sandisk Extreme 170.

Two questions:
1- I'm seeing the effort to get higher resolutions with crop, but is it possible to get higher resolution than the actual 976p without crop? I've seen in other threads some cameras reaching almost 1080p without cropping
2- For the 70D any of these new changes and builds are applicable? (i've seen that some functions are shared with other cameras like the 6D, is that right?) Or the newest build is the one from mar/19?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2021, 08:01:36 PM
Quote from: vicenzzopaiva on February 06, 2021, 06:53:01 PM
Two questions:
1- I'm seeing the effort to get higher resolutions with crop, but is it possible to get higher resolution than the actual 976p without crop? I've seen in other threads some cameras reaching almost 1080p without cropping
2- For the 70D any of these new changes and builds are applicable? (i've seen that some functions are shared with other cameras like the 6D, is that right?) Or the newest build is the one from mar/19?
1 - HD 1080p, Select ratios to OFF(1736x1158).
2 - Not my domain, ask in a 70D thread.

Edit: Noticed you triple post the same question about 70D. Please don´t. Once usually enough.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on March 02, 2021, 05:10:12 PM
Hi it's me again with my tiny lenses... Was having a play today with a Schneider Kreuznach machine vision lens with a very small image circle and found it vignetting slightly off center in 2.5k 2520x1418 preset with ratio set to off and resolution in the raw tab cranked up to 2520x1416. Not a biggie but I wondered if there are some CMOS values I could play with to nudge the framing to the left a tiny bit? Here's a pic of current vignette:

(https://i.ibb.co/d2FkbLW/Schneider-8mm-vignette.jpg) (https://ibb.co/fpfr8n1)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 02, 2021, 04:38:31 PM
Hi. Just got me an EOS M. How do I properly setup 1x3 anamorphic 1280x2160 @ 24fps ?
What do I need to set if starting from a clean camera settings and clean ML settings?
I tried to set it up myself but it shows 14 fps?
What ratio/fps do I need to enable if any?
How should I set up the canon movie settings? Does it matter?

What are the preview options in anamorphic modes? What are the differences between 3 anamorphic modes?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 02, 2021, 05:06:45 PM
https://www.youtube.com/c/ZeekEOSZ/videos -> View both parts of "The CHEAPEST RAW Cinema Camera Money Can Buy!". There is a build linked with predefined settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 02, 2021, 05:57:18 PM
OK, made some progress.
Couple of questions.

1.  5K an works OK but seems to be res limited, right? Can't go higher than 1104x1864?
2.  5K an frtp goes higher and has realtime proper framing... But stops working after a few seconds? Is this how it is at the moment or is it just me doing something wrong?
3.  5K an flv is 16fps? Do I need to override fps here or is it supposed to be like that? What's the point of this mode? Is it just higher res or something else too?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2021, 06:13:03 PM
you have a lot to catxh up to, read and watch zeek vids , easiest route so you wont be asking questions
- m has a lot of rcording modes., highest true res in 24fps is 2800*somethindont remember., in cinemascope crop ratio,about super 16mm frame size not aps-c.
- 5k is slightly better detail than normal 1768* somethin hd mode but isnt real 5k.there are modes with low fps and higher res but 2.8k is highest true res with 24fps
- 3k will drop frames in 24fps, camera card reader is not fast enough to catch up with raw stream.5k and 16 fps is probably actual 5k but higher than 16 wont record without dropping frames.
- m is a true  2.8 k raw camera.other higher res modes upscale in post unless you shoot with low fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 02, 2021, 06:16:50 PM
Read first post and then embrace the posts that follows.
In short. Install magic lantern and use tap display presets. They all are continuous with Movie tab ratios with default settings.
Start messing around, expect all kind of surprises.

If you still not get continuous please share either screen recordings or complete information of all your settings.

Welcome aboard the m train by the way ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 02, 2021, 06:29:00 PM
I've been watching Zeek's videos for last 3 days)))

I'm interested only in 1x3 binning mode, 24fps cont, without corrupted frames, with correct framing realtime preview (also via HDMI) if possible?
Then maximize the resolution (and minimize crop factor) while keeping all of the above working.

OK, I'll try tap presets. Figured out flv needs 25fps enabled...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 02, 2021, 06:37:24 PM
I already maxed resolutions.
5k anamorphic frtp is the pinnacle preset for this cam imo. Stick to Movie tab ratios and you should be fine. It's not perfect. Once in a while cam needs a restart.
1x3 binning is more than a simple uprez mode. It more or less solves heavy aliasing and makes this camera a 4k cinema cam. Way better than hd 1080p.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 02, 2021, 07:12:34 PM
I know. This was the reason why I abandoned raw a few years back. 1x3 binning is a game changer as far as I can see. And I don't even care about 4K. 720p/1080p is more than enough. It all boils down to removing aliasing, crop factor and monitoring.

I tried the frtp tap preset and it IS continuous. Holy shit! And HDMI is working too. Much respect to you Danne and all the devs who made this happen.

Do you guys think any of these phone headsets would be useful for monitoring and focusing (via HDMI)?
(https://i.pinimg.com/736x/e3/3f/d4/e33fd401f1fc1a7fe002a7523211c834.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2021, 07:19:34 PM
i monitorr using phone and hdmi usb grabber but battery drains very fast , this ssetup is possible but its just better to use monitor with own battery.
unless you have dc adapter close.
youd need 120hz phone tonavoid heqdache in vr
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 02, 2021, 07:33:07 PM
I think you can connect phone and the cam via a hub that supports simultaneous charging. I'm powering my cam from a 20K mah usb powerbank, might power the phone from it too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 02, 2021, 09:12:53 PM
i have that one, didnt testes yet like that tho
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 03, 2021, 09:55:41 PM
What is the highest stable write speed with eos M and what uhs overclock preset is used for this?
I need a faster card, wondering which one to get. I know that Sandisk ex pro 95 170 are recommended. Just wondering what exactly is possible with this cam.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on April 04, 2021, 10:11:53 AM
Quote from: far.in.out on April 03, 2021, 09:55:41 PM
What is the highest stable write speed with eos M and what uhs overclock preset is used for this?
I need a faster card, wondering which one to get. I know that Sandisk ex pro 95 170 are recommended. Just wondering what exactly is possible with this cam.

With the Sandisk ex pro 95 170 card I get 77,6 - 77,8 MB/s write speeds in the Play mode with Global draw: OFF.  This is at the SD-overclocking speed of 192 MHz which is stable enough for me.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 05, 2021, 06:31:45 PM
Got a SanDisk Extreme 150MB 128GB, benchmark shows around 60MBps write with 192MHz overclock. 1280x2160 and 1920x1080 is cont, both 14bit 24fps.

How do I start recording with a manual lens? Doesn't seem to react to me pressing rec with a manual lens.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 05, 2021, 06:48:43 PM
Quote from: far.in.out on April 05, 2021, 06:31:45 PM
How do I start recording with a manual lens? Doesn't seem to react to me pressing rec with a manual lens.

RTFM, page 283/287. C.Fn IV Operation/Others -> 7 "Release shutter w/o lens"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on April 09, 2021, 03:32:18 PM
Does rack focus setting work ? I tried to set focus distance with  15-45mm af lens but doesnt seem to work
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 09, 2021, 04:28:40 PM
https://builds.magiclantern.fm/features.html -> Focus -> RACK_FOCUS
Not supported in nightly builds. Just tried Danne's build and Rack Focus worked. Lack of arrow key support, though. Used macro EF 100/2.8 L IS USM.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on April 09, 2021, 08:43:32 PM
How did u made it work?. There are only two settings . Focus end point and rack focus. But in focus end point, no matter how much I move dial and change , the focus doesn't move. Is there any setting on camera that needs to be done?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 09, 2021, 09:35:45 PM
Select "Focus End Point". Press dial left or right -> entry changes to "+/- steps from here". Change to "Rack focus" and press Set.




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: garry23 on April 09, 2021, 10:42:41 PM
QuoteHow did u made it work?

EF-M lens vs EF lens with an adapter.

Maybe  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on April 10, 2021, 05:52:30 AM
Quote from: Walter Schulz on April 09, 2021, 09:35:45 PM
Select "Focus End Point". Press dial left or right -> entry changes to "+/- steps from here". Change to "Rack focus" and press Set.

Well I guess something wrong with my lens because when when I do that and entry changes with + and - the focus doesn't change.maybe it doesnt work with ef-m lenses
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 10, 2021, 03:42:43 PM
If i would want to swap "set" button funcionality to make it go into 1:1 1920x1280 mode  with good preview would simply swapping names around in ML source work ?  i just want that mode to be accessed quicker.
Or is there some other way?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 10, 2021, 04:26:46 PM
You have to learn a lot around crop_rec.c code but a good and useful experience.
I rewired buttons a lot and it´s in this function:
static unsigned int crop_rec_keypress_cbr(unsigned int key)
You can start looking for the MODULE_KEY_PRESS_SET button and then you need to understand how to switch presets and probably store the old one if you want fast access.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 24, 2021, 07:18:04 PM
Danne i asked previously about it (fps override) but i think that in older builds from 2019-2020 i was able to use 16fps with shutter 32 in crop modes like 1:1 or 2.8k, i cant do it now, i can use 16fps and shutter 32 with uncropped 1080 tho.
Is it possible somehow to unlock lower shutter values ? Now lowest shutter in 1:1 crop 1920x1280 is 1/48, when i go lower then its like 4000 again.
Im using it for 8mm film emulation , 16fps and 180degree shutter which is about 32.
fps override code is a separate code you didnt worked on ? Maybe i could bring more shutter values in 1:1 or 2.8k crop modes on my own but i have no clue where to look.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2021, 08:16:12 PM
Enable shutter range I think it's called.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on April 24, 2021, 09:54:30 PM
aaah... 10 years with magic lantern and im still a noob  :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 30, 2021, 03:40:55 PM
How do I enable ISO higher than 3200? I can turn it on in canon menu but it falls back to 3200 set via ML. In ML when I set it higher than 3200 it returns back to 3200 after a fraction of a second.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 30, 2021, 04:21:57 PM
Turn off iso buttons up and down. Under customized buttons.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on April 30, 2021, 06:25:10 PM
Thanks. Can you use a shutter of 1/24 in full sensor 1080p mode? I was able to enable it for 5K frtp with full range option, but it doesn't seem to work for 1080p.
Has anyone tried to record a pinhole video? It looks quite interesting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 30, 2021, 08:04:45 PM
Fine shutter tuning?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on May 01, 2021, 08:58:24 PM
Hey. I've been recording more of pinhole videos (natural outdoors daylight) which are quite low light and I have a few questions about ISO and noise. It looks like ISO 400-1600 produce less noise than ISO 100. Can that be true?
Is there any difference in terms of noise levels between the full sensor mode (3x3) the binning mode (1x3) and the 1:1 mode?
Is there anything one can do to help such low light scenarios?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: siatitel on May 12, 2021, 08:12:52 PM
I have a cuestion regarding the pixel binning methods.
Some time ago i try to find the specific code in which the binning was made. The idea was to define my own binning methods. But i am not an expert or good enough to figure it all for myself.
But i came to some conclusions, as i recall.
1 - The binning was not doing in code. At least not in c code.
It maybe is made in canon script code (less possible). Or it is made in one of the auxiliary chips and the c code only pass the image to that other chip, and the chip returns the image already binning. And thats why the binnings are only 1x1 (no binning at all) 1x3 and 1x5 (and theyre combinations like 3x3 or 3x5) because they are harcoded in hardware and magiclanter only is only taking advantage of the use of that chip. So make another binning methods or matrices are not possible.

Is it right?

2 Some one can implement his own binning methods to bin the image in c code, but the processor it's not fast enough to process the images.
Its true?
Do you think the processor could process... i dont know  maybe 16 fps, 24 fps, or not even 1 fps?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 26, 2021, 07:35:12 PM
A test version is up here:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2021Jun26.EOSM202.zip

Might work or might not work better with HDMI out in usage. I added this change according to theBilalFakhouri:
https://www.magiclantern.fm/forum/index.php?topic=25784.msg235805#msg235805

Primarily test hdmi out and see if it gives less corrupted frames in general. If better then go on and test general recordings and check if files are fine as well without hdmi out. Check for focus pixels and other anomalies in the image.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on June 26, 2021, 11:50:47 PM
Hey Danne. Could you please make a copy of 5k frtp preset but with resolution adjusted to 960x1620 and with correct preview?
I can set this resolution but the preview is still showing 1280x2160.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 27, 2021, 03:44:23 AM
hey Danne, NEW 2021 Jun26 Build tested on the EOS M & Feelworld F6 Plus Monitor. Good news!

Focus pixels are very muted in the middle of the display monitor hard to see which is good.

After recording a sequence of 2-minute clips at 1080 3x3, NO dropped frames at all, ZERO.

5K FRTP Mode works, made sure to record overblown highlights and overexpose for the test. NO dropped frames for 3 minutes and a few other clips

With the other 1:1 modes e.g. 2.5K, 2.8K etc half the screen is pink/purple towards the right side and there is no real-time correct preview, they're all Anamorphic stretch. When recorded, the image is fixed properly on the MLV File and there is no half pink/purple frame on the image. There are dropped frames.

So for 1080/5KFRTP users, it's all good  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2021, 04:22:36 AM
Thanks for the feedback ZEEK. 1080p and 5k frtp, are they better working than with than the former build?
Focus pixels moved from former build?
1:1 modes are behaving different now?

Sorry for the follow up questions but I have no way of testing atm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 27, 2021, 05:47:49 AM
Yes 1080 & 5K FRTP are working perfectly so far better than the previous build. I don't get dropped frames anymore, not even one in 1080. Previous builds were much more frequent with dropped frames in 1080 and sometimes in 5K FRTP.

I never had an issue with the focus pixels showing up on display but they're not as visible, if at all.

Yeah with the 1:1 modes show produce a half-purple screen, but it's no big deal as they have very frequent dropped frames.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2021, 07:45:08 AM
That's a good indication for 1080p and 5k frtp.
I will have to take a look at the 1:1 modes in a week or so. Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on June 27, 2021, 10:14:32 AM
Hey guys. Sorry for distracting you from working on the more important and useful features.
But can you help me make this preset - 5k frtp copy at 960x1620 with correct preview?
I remember that there was some guide for making presets?
I want this preset because I got a 7.5mm lens and I can work with a higher crop factor, and a smaller frame size works better on my slower SD card (70% bitrate reduction, I think) and I get more recording time. Maybe this would be useful for someone else too?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2021, 10:51:26 AM
Hard work and nothing I can provide atm.
What we got now are hard coded presets handmade by theBilalfakhouri. Building what you want includes some heavy tinkering among those registers.
If you really want it done I suggest you talk to bilal and dig in those regs.

Or else run the 16:9 preset and tape your cam ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on June 27, 2021, 11:10:09 AM
So it's that much complicated...
OK. Is there an easy way to add black bars/overlays instead of taping the cam?)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2021, 11:28:59 AM
Not if you haven't found out yourself by now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 27, 2021, 02:42:16 PM
Tested the previous Feb build. Got dropped frames in 1080 mode.

2.5K/2.8k look good on the monitor as the EOS M Liveview, no purple frame issues on the monitor.

They look nice and clean, although "INFO1" button for framing when connected to the monitor doesn't work. ML Framing doesn't work in general with monitors.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 27, 2021, 03:05:15 PM
To make it clear over here in my vacaybrain. 1:1 is working with older builds but not in the test build  8)?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 28, 2021, 01:19:26 AM
Yes that's right.
Older builds produce corrupt frames in all modes.
1:1 Real-time Framing is correct, no half purple screen on the monitor.

Newer build, 1080/5K FRTP work with no dropped frames. 1:1 modes are Anamorphic-stretched like the old Anamorphic mode and half of the monitor shows pink on the right side although this is not recorded in the file.

Also Framing is disabled, even when pressing info1 when connected to the monitor to switch between the framings.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 28, 2021, 07:42:23 AM
I think it's safe to assume framing preview isn't an option with hdmi out by now ;).

I will test some when home again around different streams and see if 1:1 is getting better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on June 28, 2021, 09:22:34 AM
Alright, so the previous monitor I used was the Feelworld F6 PLUS which caused the issue mentioned, this time I tested the Feelworld F5. Everything is fine now. Using the F6 again, oddly it's now fine on the Monitor, no graphic issues.

All modes display correctly as on the EOS M Screen. Just dropped frames for the high resolutions as expected. 1080 & 5K FRTP are perfect for monitoring. Thanks a lot! :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on June 30, 2021, 11:42:53 AM
That's really great news! I was just thinking about getting a monitor too.
What is the highest fps EOS-M can do for every mode (full sensor/1x3/1:1)?

BTW, can I make a donation? How would I do that, and to whom?)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on August 05, 2021, 02:45:43 PM
try last build in 1080p, and only when sound off it's free of pink frame when sound is on footage get couple of pink frames, not many 3-4 for 4 minutes of footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on August 05, 2021, 06:13:59 PM
So the test build still causes corrupt frames?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on August 08, 2021, 01:18:37 PM
Quote from: ctfire on August 05, 2021, 02:45:43 PM
try last build in 1080p, and only when sound off it's free of pink frame when sound is on footage get couple of pink frames, not many 3-4 for 4 minutes of footage.
Haven't experienced this in a while.
Make sure you're not shooting 30fps by accident. Also, this could be so in 1080 high fps mode, use normal 1080 instead if so.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on August 18, 2021, 06:16:40 PM
Quote from: Danne on August 05, 2021, 06:13:59 PM
So the test build still causes corrupt frames?
solve the problem when turning on fps override.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on September 24, 2021, 06:21:13 PM
is it can be any progress yet with  2.8 modes with hdmi out to monitor , or maybe it possible to make 16:9  48fps mode ? In one of old build's i had  once almost perfectly working 16:9 48fps mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on October 04, 2021, 10:39:08 AM
Quote from: Danne on June 26, 2021, 07:35:12 PM
A test version is up here:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec_4k_mlv_snd_raw_only_2021Jun26.EOSM202.zip

Might work or might not work better with HDMI out in usage. I added this change according to theBilalFakhouri:
https://www.magiclantern.fm/forum/index.php?topic=25784.msg235805#msg235805

Primarily test hdmi out and see if it gives less corrupted frames in general. If better then go on and test general recordings and check if files are fine as well without hdmi out. Check for focus pixels and other anomalies in the image.


I have used this test build yesterday. I then used the camera to take some pictures in photo mode. I got graphical glitches / pixels in the photos (both jpeg and raw). The Feb04 build seems fine though. I thought i would write it here! Sorry if this has been written / reported before. ;D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ctfire on October 05, 2021, 01:38:09 PM
Quote from: clubsoda on October 04, 2021, 10:39:08 AM

I have used this test build yesterday. I then used the camera to take some pictures in photo mode. I got graphical glitches / pixels in the photos (both jpeg and raw). The Feb04 build seems fine though. I thought i would write it here! Sorry if this has been written / reported before. ;D

TRY it too, yes there is glitches in photo mode
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2021, 02:31:18 PM
So probably due to changing stream for video mode. Maybe could chnage back to old stream when in photo mode. Very little time for this atm though. Thanks for reports.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 0xanon on October 07, 2021, 06:36:26 AM
Are old binary builds of experimental versions available anywhere? I can only find the 2021 June 26 and February zip files on bitbucket.

And what version would you recommend for shooting 25fps 720p (or downscaled to 720p), from reading the thread it seems that "anamorphic" 1x3 binning would be the best to avoid moiré and to be able to use regular EF-M lenses, so that means shooting 1728 x 2916, the "5K anamorphic" mode and then downscaling to 1280x720? I'll be filming a music concert (with camera on a tripod) so fast preview isn't necessary. (Actually, I don't really need Raw video either, just want to be able to fix any low light problems in post)

Edit: from what I can see, almost everything has been wiped from bitbucket, not just danne's builds? So ML is pretty much dead now? As the only way to try things out is to build from scratch and apply patches, which is difficult to begin with if you are not the original developer, and most documentation and code hints are gone as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on October 07, 2021, 03:55:32 PM
7artisans 7.5mm 2K FRTP
https://www.youtube.com/watch?v=aJCcsMymXdo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on October 08, 2021, 07:22:06 PM
I have these
(https://s9.gifyu.com/images/image_2021-10-08_192011.png)

Heres all EOS M stuff
https://drive.google.com/file/d/1aYPdzzul5OS81WwgO8z19t2zG-dKoF79/view?usp=sharing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pjkulev on October 13, 2021, 06:26:27 PM
Good day to all, I'm new to this forum. I have a question for you, maybe someone came across a similar problem and knows how to solve it. I use canon eos m with the latest release from danne in raw 1280x960 mode with 3x crop mode an aspect ratio of 4:3 and when I open mlv files in the mlv app, there is a strip on the files on top of the frame that bothers me. I am attaching screenshots of the problem
ps there is also a problem in live view in the camera itself, probably somewhere I made a mistake with the settings, I will be glad to any support from you

here the links with images of my problem
( sorry, i dont know how to add images correctly to this forum)
https://ibb.co/vJP7spN
https://ibb.co/4pKhH2q
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: RhythmicEye on November 20, 2021, 01:22:09 AM
Quote from: ZEEK on June 27, 2021, 02:42:16 PM
Tested the previous Feb build. Got dropped frames in 1080 mode.

2.5K/2.8k look good on the monitor as the EOS M Liveview, no purple frame issues on the monitor.

They look nice and clean, although "INFO1" button for framing when connected to the monitor doesn't work. ML Framing doesn't work in general with monitors.

Firstly a big thanks to Danne and all who contribute!

Zeek have you ever experienced this in the 26/06/2021 build (see image)? I've got 2.5k 1:1 Centered HDMI 2.35:1 2520 x 1072 working beautifully now but I get a black bar with a vertical faint red line on the right edge of frame. Am I doing something wrong? I'm using MLV app for post processing.

I'm using a Neewer 5.5" HDMI monitor, nice reference monitor for the price.
https://drive.google.com/file/d/1zghk98pk67xzmD8A_JKC4n7NC9WiYpxP/view?usp=sharing

Update: problem solved - after further testing I discovered this issue is caused by trying to force 24fps in camera. Easily resolved by capturing @23.976 and conforming to 24fps in MLV app
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on November 24, 2021, 10:53:11 PM
Great!
FPS override doesn't work too well with all modes unfortunately, especially when using monitors. 2.5K HDMI is a nice mode 👌
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on November 25, 2021, 04:07:17 AM
Quote from: ZEEK on November 24, 2021, 10:53:11 PM
Great!
FPS override doesn't work too well with all modes unfortunately, especially when using monitors. 2.5K HDMI is a nice mode 👌

Hi zeek.. I watch some of your video in youtube, you did great footage video. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: RhythmicEye on November 25, 2021, 04:54:32 AM
Quote from: ZEEK on November 24, 2021, 10:53:11 PM
Great!
FPS override doesn't work too well with all modes unfortunately, especially when using monitors. 2.5K HDMI is a nice mode 👌

Yeah it's my favourite and being able to use FPS override is very useful for keeping audio in sync so it can be used as a guide track without timeline drift. There is a workaround for everything though and 1080 and 5K modes are simply awesome.

Indeed we all owe you a debt of gratitude for your many great videos over the years. Thank you mate, much appreciated.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on January 14, 2022, 11:17:24 AM
Is it possible to recenter the 2k frtp mode? It is one of the most useful but i noticed it is not fully centered on some c mount lenses that i use. When i use the 1080 mode with 3x crop the lens is perfectly centered. In 2k some lens vignette on one side.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 14, 2022, 09:40:20 PM
I think so. Not been into modifiyng regs for a while but you could check how it's done following this thread and modify numbers from crop rec sub menu.
Check into @2blackbar here:
https://www.magiclantern.fm/forum/index.php?topic=25781.msg224029;topicseen#msg224029
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Nibby99 on January 15, 2022, 04:05:21 PM
@Danne Not sure what the heck might be going on but I had been using the camera successfully with my Feelworld F5 pro and I think the newest crop_rec build for a few months at least. Up until a few days ago I could get 1080p / 2k 1:1 FRTP / 2.5k HDMI /5k FRTP all working properly on the monitor.

I was having some trouble with some settings and I just said, heck with it, I'll reformat the card and reinstall ML. Suffice to say suddenly my 2.5K HDMI and 2K 1:1 modes suddenly on the right half of the screen are distorted and the left side appears squashed but visible? I used the latest build but now I'm wondering if I had some older obscure build on that maybe that is why it was working all this time (as a side not when I first got the monitor even the 1080p live view was freezing, at some point it started working maybe because I tried a later build)
I've posted some screenshots below to demonstrate the issue, so far I've put the latest build on both my EOS-M's and tried two different cables, initially I thought it could be monitor related but I have pretty much ruled that out when I tried hooking it up to one of my Desktop 27" Benq monitors and the distortion is identical on that. 1080P and 5K still show proper on the monitor.

I'm starting to wonder if it's some obscure Canon based setting that might be doing this as I often use the cameras for photography as well with a really old build of ML. I have tried two different SANDisk Extreme Pro 64MB cards and that changed nothing. I'm not familiar with the mechanism by which Magic Lantern loads but from how I understand it it simply sets a boot flag in the firmware of the camera that then points to the SD card to load ML. I was worried that somehow it was keeping a previous setting so I re-flashed the firmware in the canon GUI/camera settings. Basically if I have the newest ML build on the SD card it should only pick up settings from there. I have cleared the cameras settings and custom function settings to no avail. I'm utterly at a loss as to what might be going on. @Zeek had mentioned not to use FPS override or fine tuning but nothing of that is set. Ideas?  ???

(https://i.imgur.com/4QWBaz3.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 15, 2022, 04:12:14 PM
Help tab -> Bottom lines
There you will find the version info.
https://wiki.magiclantern.fm/faq#which_magic_lantern_build_is_running_on_my_camera
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Nibby99 on January 15, 2022, 04:41:45 PM
Quote from: Walter Schulz on January 15, 2022, 04:12:14 PM
Help tab -> Bottom lines
There you will find the version info.
https://wiki.magiclantern.fm/faq#which_magic_lantern_build_is_running_on_my_camera

Thank you, for the likes of me I didn't see that in there. I'm hoping Danne is able to help diagnose my problem with the monitor distortion happening in 2.5K HDMI and 2K 1:1 presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 15, 2022, 05:03:43 PM
?
All builds have their build information there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 15, 2022, 11:40:54 PM
Sorry. Never use monitors. Try ask ZEEK maybe?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on January 19, 2022, 09:31:51 AM
Hi
I have the same problem of Nibby99 with my new Lilliput A5 with "crop_rec_4k_mlv_snd_raw_only_2021Jun26.EOSM202"
Later i try some old release.
If anyone found a solution.....
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on January 20, 2022, 10:47:51 PM
Hi
I have tested "M RAW 2021 JUNE26 Settings.zip" from Zeek (Danne release with Zeek configs) and with 2k preset on external monitor (my Lilliput A5) is ok but 2.5 preset NO.
Then i have tested "EOS-M Zeek Settings [Danne Build FEB04].zip" and with 2.5 k preset is OK.
At this point i will test the "crop_rec_4k_mlv_snd_raw_only_2021Feb04.EOSM202.zip"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 21, 2022, 08:32:12 AM
Quote from: Corallaro on January 20, 2022, 10:47:51 PMAt this point i will test the "crop_rec_4k_mlv_snd_raw_only_2021Feb04.EOSM202.zip"

Tap the screen to access quick presets and use 2.5K HDMI Preset. The original 2.5K will cause lots of dropped fames. 5K FRTP or 1080 should be okay too with Danne's latest build. I use the Feelworld F5/F6 Plus and also Portkeys. 2.5K HDMI is my favourite with monitors. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on January 21, 2022, 09:07:53 AM
Many many thanks Zeek,
Later I test it.

Ciao
Giovanni
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on January 23, 2022, 01:36:21 AM
Hi Zeek....
I certainly don't have understand what ho to do and wich release i need to use.
My test is failed.
Can you tell me how to do, step by step?
Many thanks
Giovanni
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 23, 2022, 02:14:34 AM
I talk about my monitor settings for the EOS M in this video @9:04
https://youtu.be/WqWY0-qXnkM
I'm using Dianne's latest June 2021 build. However it doesn't seem to be up on Bitbucket right now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 23, 2022, 07:56:18 AM
Nice and very informative video, thanks a lot Zeek.

I have a question.  The camera needs 7,4V for proper operation.  How do you adjust that voltage in your power bank and how do you prevent it from outputing more than 8,4V which could damage your camera?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on January 23, 2022, 04:47:04 PM
Quote from: IDA_ML on January 23, 2022, 07:56:18 AM
Nice and very informative video, thanks a lot Zeek.

I have a question.  The camera needs 7,4V for proper operation.  How do you adjust that voltage in your power bank and how do you prevent it from outputing more than 8,4V which could damage your camera?
I think he use this..(dummy battery) like mine for 700d.
(https://i.ibb.co/QNGD1vb/dummy.png) (https://ibb.co/QNGD1vb)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 23, 2022, 08:03:32 PM
Quote from: ML700D on January 23, 2022, 04:47:04 PM
I think he use this..(dummy battery) like mine for 700d.

This means that there is a DC-DC stepup converter (5V to 7,4 V) inside the dummy battery. Possible but I doubt it, for thermal dissipation reasons.  It is not good if it dissipates thermal power inside the camera.  It would be much better if the converter is inside the power bank.  Such variable voltage power banks do exist but I do not know how the output voltage is adjusted at the desired value.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on January 23, 2022, 08:58:41 PM
Quote from: IDA_ML on January 23, 2022, 08:03:32 PM
This means that there is a DC-DC stepup converter (5V to 7,4 V) inside the dummy battery. Possible but I doubt it, for thermal dissipation reasons.  It is not good if it dissipates thermal power inside the camera.  It would be much better if the converter is inside the power bank.  Such variable voltage power banks do exist but I do not know how the output voltage is adjusted at the desired value.

not inside the dummy but inside the usb I think, I tested using voltmeter in the output jack is around 8.4v
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 23, 2022, 10:15:16 PM
I use this dummy adapted for the EOS M:
https://www.google.com/aclk?sa=L&ai=DChcSEwiG4Mvj5Mj1AhVOJSsKHah4DiAYABANGgJzZg&ae=2&sig=AOD64_1AIceOPJYJJV2Lsdsx3QtPQRg1kQ&ctype=70&q=&ved=2ahUKEwiN-cLj5Mj1AhXj63MBHRT0ApUQwg96BAgBEBA&adurl=
The built-in protective IC of the mini adapter has multiple safety protections to protect the camera from excessive current, overheating and overcharging.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 24, 2022, 01:36:27 AM
Thanks Zeek, this makes sense.  The DC-DC converter is built inside the hexagonal piece between the powerbank and the dummy. It converts the 5V coming out of the power bank to 8,4V going inside the dummy.  In this way the heat generated by the converter is dissipated outside the camera.  The dummy just contains the regular protection circuit which does not dissipate heat.  Quite clever, indeed.

I built my own external power supply using 2x 18650 lithium ion cells of 3400 mAh capacity each, connected in series for 7,4V output.  I paid 8$ for both.  For the dummy I used the case of an old battery.  I just took out the two damaged cells and connected the protection circuit inside the case with the two LiIon cells via a short cable going through the hole on the battery door.  The whole thing weighs 70 grams and allows at least 9 hours of operation without turning the camera off.  I filled 6 cards of 128 GB each with 1280x2160 footage in that time and still had some power left.  The greatest advantages of this external power supply is that you can minimize the cable length in such manner that the cable does not dangle around and is not in the way during filming and also it is fully compatible with the original EOS-M charger which takes about 5 hours for safe charging.  The full charge voltage is 8,26V and the red indicator in the camera starts blinking at about 7V.  Camera shuts down at 6,2V.    The thermal indicator never showed more than 57 deg. C at room temperature.  In regular life view the EOS-M draws about 400 mA which increases to about 420 mA while recording.  For the 18650 cells these are very relaxed operating conditions, so a battery pack like this should last forever if used in a regular manner, say every day or once in a week.  If, however, you just use your camera a few times a year, battery life will degrade quite quickly. 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 24, 2022, 06:43:26 PM
Interesting  ;)
Sounds like a nice Powerbank, especially @70 Grams! These things are game changer for the EOS M. Just wished they made shorter DC Cables.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on January 25, 2022, 03:37:38 AM
.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: IDA_ML on January 25, 2022, 12:47:21 PM
Quote from: ZEEK on January 24, 2022, 06:43:26 PM
Interesting  ;)
Sounds like a nice Powerbank, especially @70 Grams! These things are game changer for the EOS M. Just wished they made shorter DC Cables.

Yes Zeek, I plan to make a small battery holder that attaches to the camera hot shoe.  In this case the cable will go underneath the lens and be directly plugged in into the battery pack holder.  Since it can be very thin and short, it will not be in the way at all.  This will make the system very convenient for hand held and gimbal shooting.   In this way the EOS-M will be the smallest and lightest travel RAW-video camera with independent power supply worldwide.  With a 512 GB card you can film an entire rock concert in 4k, (1280x2160 anamorphic/12bit/24fps - about 2,5 hours continuous recording), without running out of power or card space!  Nice, isn't it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on January 25, 2022, 10:51:06 PM
Hi Zeek,

About the problem with external monitor, i made some test based on your video but the only resolution that work properly seems to be the 1080p.
I test with lilliput a5 and also test a cellphone with hdmi/usb converter
The resut is the same....

At 2.5k frtp (that is a resolution that i use) the result as the same of Nibby99.
At this point i try to change something in Canon Menu as the language (i am italian) and video system from PAL to NTSC, and also i change the resolution of recorded video at 720p or less with strange results.

In your eos M wich language, video system, rec resolution you use??
I think to make some random test ...at this point...

Tnx
Giovanni
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Grognard on January 27, 2022, 01:33:59 PM
@bilal and Danne

I've noticed that 5k anamorphic mode works with fps overdrive enabled (24fps) but not 5kfrtp.
How to explain that ?

Is it the key to also make this work on 5d3?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on January 27, 2022, 11:21:21 PM
Quote from: Corallaro on January 25, 2022, 10:51:06 PM
At 2.5k frtp (that is a resolution that i use) the result as the same of Nibby99.
At this point i try to change something in Canon Menu as the language (i am italian) and video system from PAL to NTSC, and I also change the resolution of recorded video at 720p or less with strange results.
Don't record 720p as the results are very bad. 1080 or 5K FRTP should work fine with monitors, select 10 bit. With 2.5K HDMI it will have a small box on the left which is normal as this is showing the correct liveview rather than full liveview with a crop. Don't worry about the glitch at the bottom, as long as you can see the correct liveview framing it will be fine. I've been using this mode a lot.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: jetrotal on January 29, 2022, 11:34:43 PM
Hello, I just bought an hdmi adaptor to connect my EOSM to my computer. But the device only works on Picture Mode.
If I change the camera to Movie Movie Mode, the screen goes black. Any suggestion on how to display the image on hdmi on Movie mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 30, 2022, 04:48:58 AM
Sounds like an issue with your device. You can try to connect cam to another HDMI device (AVR, TV set, computer monitor) and check.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: byrd on February 05, 2022, 06:08:25 PM
[EDIT - fixed] it turns out it was just a problem with the RAW black level (thanks to masc for the help!). I used the repair black level in MLVapp and it was fine.

Hi. I'm looking for a bit of help recovering some files after I may have done something silly. I just tried to record a 2hr timelapse using intervalometer and silent picture, in video mode. It produced an MLV file that's 4.29gb and three files with the same name ending in .M00 (4.29gb) .M01 (4.29gb) and .M02 (1.1gb). The MLV file opens in mlvapp and is fine but seems to be only the green channel, so I am wondering (hoping) the other files contain the red and blue channels? But I don't seem able to open them. Here are my settings:

Video mode
1080p preset
raw video on, 1736x976
Ratio OFF
bit depth OFF
set 25fps off

Intervalometer ON, 2s
Silent picture SIMPLE, MLV

I know it says this works better in photo mode, but I had better luck with doing it in video mode on a test earlier, with intervalometer set to 4s. The only thing I changed this time was setting intervalometer to 2s and that made everything green.

Thanks very much in advance for your help!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: yokashin on February 06, 2022, 12:04:17 AM
Try to do as I do with Zeek advice. https://youtu.be/_fRoGGxmW0A
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kob on February 12, 2022, 05:14:16 PM
Is there an option for QUICK DELETE of last recorded file?


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kob on February 12, 2022, 05:30:34 PM
Quote from: IDA_ML on January 24, 2022, 01:36:27 AM
Thanks Zeek, this makes sense.  The DC-DC converter is built inside the hexagonal piece between the powerbank and the dummy. It converts the 5V coming out of the power bank to 8,4V going inside the dummy.  In this way the heat generated by the converter is dissipated outside the camera.  The dummy just contains the regular protection circuit which does not dissipate heat.  Quite clever, indeed.

I built my own external power supply using 2x 18650 lithium ion cells of 3400 mAh capacity each, connected in series for 7,4V output.  I paid 8$ for both.  For the dummy I used the case of an old battery.  I just took out the two damaged cells and connected the protection circuit inside the case with the two LiIon cells via a short cable going through the hole on the battery door.  The whole thing weighs 70 grams and allows at least 9 hours of operation without turning the camera off.  I filled 6 cards of 128 GB each with 1280x2160 footage in that time and still had some power left.  The greatest advantages of this external power supply is that you can minimize the cable length in such manner that the cable does not dangle around and is not in the way during filming and also it is fully compatible with the original EOS-M charger which takes about 5 hours for safe charging.  The full charge voltage is 8,26V and the red indicator in the camera starts blinking at about 7V.  Camera shuts down at 6,2V.    The thermal indicator never showed more than 57 deg. C at room temperature.  In regular life view the EOS-M draws about 400 mA which increases to about 420 mA while recording.  For the 18650 cells these are very relaxed operating conditions, so a battery pack like this should last forever if used in a regular manner, say every day or once in a week.  If, however, you just use your camera a few times a year, battery life will degrade quite quickly.

Thanks for this post, it helped me better understand why my dumbie battery never works.

It powers on, navigate the menu or record and suddenly cuts power. Assumed i bought a faulty one, or a break in the wire,
but the current flow makes more sense.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ramick on February 26, 2022, 01:27:30 AM
Hi  :) ,

I have been doing some tests with my Eos M for now weeks/months using the Danne's version and first of all I want to say thanks for the work done, that last version from June is very stable, working very well on Eos M.

I have a suggestion for improvement that I would like to share, I am not sure if it has already been explored before.

Today most of the time I am using the 2.8K 24fps mode, but you guys know, come the question of "how could i get more out of this camera :) "

I have been trying to increase the resolution with MLVapp or Davinci Resolve but was never really satisfied by the results and stopped using that function.

Recently I started to take it the other way around, instead of using the software to increase the resolution, why not using AI to double the final frame rate of a higher resolution.

I tested the feasibility with 3K/18fps preset (which is working well) with a bit depth set at 10bit, then apply the x2 frame rate on the final video (after Davinci Resolve) and I should say that I am impressed by the result. Can't really say if the video has been processed through AI (didn't test on fast moving objects).

Then using the same method, the real UHD out of the camera seems to be possible with a 3840x1634 1:1 12fps for example (increase the resolution/decrease of the fps to stay under the limit).
After being processed the same way it would give a UHD 24fps video.

Would it be possible to add another preset on the list that would then open the door to UHD?

Thanks,

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on April 13, 2022, 10:48:10 AM
Hi,
Here's how I made my (poor man) external battery for my EOS-M :
(https://i.ibb.co/dLzyV1g/IMG20220413103901.jpg) (https://ibb.co/JyMPG0Q)

The dummy battery is 3D printed and I use 2 3.7V batteries (18650) from a salvaged notebook power pack (contains 6x18650).
I found the batteries holder on eBay for 4$.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Skinny on April 13, 2022, 03:42:15 PM
cool, I want to do the same for 5D2 using the case from an old battery to make the adapter. If you have an access to 3D printer you can print some kind of a holder for the whole thing, and screw it to the bottom of the camera to the tripod mount.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on April 13, 2022, 04:09:30 PM
Good idea, but the battery pack is larger than the camera  ;)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 14, 2022, 04:02:23 PM
Added a new version:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/

Includes these changes:
https://www.magiclantern.fm/forum/index.php?topic=26443.0

And also changed edmac channel which is supposed to have a positive impact on hdmi out. When using hdmi out fix this first.
"To fix that PINK HDMI screen: in ML tab 3, go to 'customized buttons', Disable x3 Crop Toggle and Focus Aid"ZEEK

Also beware that when using "Lvface+aewb" hack it will affect fine-shutter tuning.

According to ZEEK this version will give zero dropped frames for most presets when using hdmi out. If all working ok I´ll replace the other versions to only this.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on April 17, 2022, 12:04:22 AM
I was a ML user for many years with 5D3 and EOS M following the forum, then I sold it. now I bought again an EOS M but I can't find a way to work with it, only HD 1080 works, the other setting frtp are freeze, no preview, can't even record. :(


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ZEEK on April 17, 2022, 12:34:06 AM
Quote from: anto on April 17, 2022, 12:04:22 AM
I bought again an EOS M but I can't find a way to work with it, only HD 1080 works, the other setting frtp are freeze, no preview, can't even record. :(
What Build are you using? Make sure you're not shooting 30 FPS. Disable AF in Canon Menu or on lens. Disable FPS Override.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on April 17, 2022, 12:38:09 AM
Quote from: ZEEK on April 17, 2022, 12:34:06 AM
What Build are you using? Make sure you're not shooting 30 FPS. Disable AF in Canon Menu or on lens. Disable FPS Override.


I think was the AF. it seams I solved now. First time using ML with AF lenses, idk
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on April 23, 2022, 02:23:10 AM
focus peaking helps me to find some dead pixels on my new used EOS M.
can raw create dead pixel? if yes, there is some fix in MLVapp?
or its just my M sensor?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 23, 2022, 05:03:19 AM
Common to find dead pixela.
masc coded a way to fix those pixels in mlv app.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 23, 2022, 10:25:28 PM
Thanks ZEEK.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 23, 2022, 11:05:51 PM
Quote from: Danne on April 14, 2022, 04:02:23 PM
Added a new version:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/

Includes these changes:
https://www.magiclantern.fm/forum/index.php?topic=26443.0

Just tested crop_rec_4k_mlv_snd_raw_only_2022Apr18.EOSM202.zip

Works like the previous build, I get comparable results to my last test https://www.magiclantern.fm/forum/index.php?topic=26443.msg238437#msg238437 (20 recorded clips).

On my end, the 2.5k Preset still gives pink frames when using hdmi with monitor, 2 times out of 3.
So, the monitor works fine with 5K frtp, 2K, 2.8k
And with a phone and capture dongle (Samsiung S8, LG V30, Hagbis Capture Dongle);2K, 2.5K and 2.8K work, no pink frames, but with 5K frtp, only the interface shows, not the video overlay. (The dongle has to be connected prior to turning the phone on for 2.5k and 2.8K to work)

It is worth noting that, on an hdmi monitor (or Phone with hdmi capture dongle),  the preview for 2.5K and 2.8k are uncentered crops of the actual recorded image. So unless you are recording a landscape or a general frame without any particular point of interest, there will be some randomness in your framing...

An ongoing related issue:

When enabling 7th ML Menu>LV Display Presets (2,3 or 4)
And then 3rd ML Menu>customized buttons>INFO selectable (OFF)

It is possible to use the INFO button to toggle between different Overlay presets (2nd ML Menu), to toggle Zebra or False Colors on and off, for example.

But then, the MENU Button stops giving the menu where you have access to the Aperture, Shutter and Audio Levels settings. It is possible to change 3rd ML Menu>customized buttons>gain (aperture only) to get access to the aperture, but we still lose shutter access and audio level settings. The MENU issue had been addressed at some point, but it seems like it is there again (has been like this for at least the past 3 builds).
False Colors and /or Zebra are a must to have consistency between takes. It would be nice to have a way not to have to go to the ML menu before each take to turn those off.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 23, 2022, 11:33:37 PM
Quote from: Danne on April 23, 2022, 10:25:28 PM
Thanks ZEEK.


Those are really nice images! The Black Mist filter adds a nice finishing touch to the image.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: frejohg on April 24, 2022, 02:24:51 AM
Theres a new upload 23rd April. Whats updated? :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2022, 05:28:40 AM
Quote from: gabriielangel on April 23, 2022, 11:05:51 PM
Just tested crop_rec_4k_mlv_snd_raw_only_2022Apr18.EOSM202.zip

On my end, the 2.5k Preset still gives pink frames when using hdmi with monitor, 2 times out of 3.
So, the monitor works fine with 5K frtp, 2K, 2.8k

It is worth noting that, on an hdmi monitor (or Phone with hdmi capture dongle),  the preview for 2.5K and 2.8k are uncentered crops of the actual recorded image. So unless you are recording a landscape or a general frame without any particular point of interest, there will be some randomness in your framing...

An ongoing related issue:

When enabling 7th ML Menu>LV Display Presets (2,3 or 4)
And then 3rd ML Menu>customized buttons>INFO selectable (OFF)

It is possible to use the INFO button to toggle between different Overlay presets (2nd ML Menu), to toggle Zebra or False Colors on and off, for example.

But then, the MENU Button stops giving the menu where you have access to the Aperture, Shutter and Audio Levels settings. It is possible to change 3rd ML Menu>customized buttons>gain (aperture only) to get access to the aperture, but we still lose shutter access and audio level settings. The MENU issue had been addressed at some point, but it seems like it is there again (has been like this for at least the past 3 builds).
False Colors and /or Zebra are a must to have consistency between takes. It would be nice to have a way not to have to go to the ML menu before each take to turn those off.

You could ask ZEEK what settings he use for the 2.5k preset.

As said earlier. You can experiment with centre framing by tweaking cmos regs by tapping "presets" menu and enter "advanced". If you get better centering write your numbers here.

You could probably customize info button to select zebras etc. Don't have much time here to do this. Code for customization lies in crop_rec.c.
Not sure what the issues are you are describing wirh MENU. How is it suppose to work and is that working so with other eosm builds? Is it working with official nightly build for instance?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2022, 07:39:27 AM
@gabriielangel
Here´s a crop_rec.mo which let´s you select INFO button and let´s you choose between Zebras or false color. Is this how you mean?
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec.mo
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 24, 2022, 08:59:38 PM
Quote from: Danne on April 24, 2022, 05:28:40 AM

You could probably customize info button to select zebras etc. Don't have much time here to do this. Code for customization lies in crop_rec.c.
Not sure what the issues are you are describing wirh MENU. How is it suppose to work and is that working so with other eosm builds? Is it working with official nightly build for instance?

The 2.5k issue seems to be device dependant. Like I said, it works on my phone-as-a-capture-device for 2K,2.5K,2.8K, and works with my monitor with 5KFRTP,2k,2.8k. I will ask Zeek, as he uses several different brands.

As a workaround for now, I start with 2.8K, or 3K preset (Which gives a larger but low fps preview) and lower the resolution from there.


Like I said in the post, it is possible to use the info button to select zebras, but the way I managed to make it work disables the functionality of the menu button (Without any programming that is, only using available functions). I will try to explain it clearly, the procedure takes less than a minute, so you can check the behavior when you have more spare time:

Press the MENU button once, you see the first menu
Press the MENU button a second time, you see the second menu.
Press Menu again and you are back to the  preview screen.

1-Now press trash can to get inside ML menu
2-Go to Prefs>LV Display Presets>select 2 (or 3, or 4)
3-Go to Movie>Customized buttons>INFO selectable>select OFF
4-Go to Overlay, to the top right corner, you will see DISP0 in gray.  Make sure that on this page, nothing is selected besides Global Draw.
5-Tap the screen once, you will see DISP1 in gray in the top right corner. On this page, select  Global Draw and False color.

Press Menu.
Now, pressing the INFO button toggles between False Color and a clean overlay. By selecting 3 or 4 in Step 2, and cycling between different DISP pages in step 5 (By tapping the display), you can use the INFO button to toggle between several different modes while in live view.

Press Menu. Now it goes straight to the second menu.
While it is possible to map the Aperture to the up/down buttons, you still lose shutter and Audio Levels settings(which are located in first menu. Shutter access is kinda needed, as switching presets and speed hacks often changes the shutter values.

This behavior has been there since at least the Feb042021 build (I can't go earlier than this, as I weren't an ML fan before that date :))

On a side note, with the latest build:

When enabling lvface+aewb, and keeping 1/50 shutter, no fine-tuning (Which doesn't matter if you do a static shot) It is possible to get at least 30 seconds of 12bit 2800x1172 23.976 with the 3K preset, and 10bit 21fps continuous-ish with the 5K ana flv.

Those two modes come in handy if you want to have a larger FOV and cannot move back.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 24, 2022, 09:04:40 PM
Quote from: Danne on April 24, 2022, 07:39:27 AM
@gabriielangel
Here´s a crop_rec.mo which let´s you select INFO button and let´s you choose between Zebras or false color. Is this how you mean?
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec.mo

I will try it and report back tomorrow. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 24, 2022, 09:19:55 PM
Uploaded a new build which adds a few alternatives to INFO and tap display.

Regarding your description of conflicts with display function, Menu and INFO buttons I probably won´t change my mofications as they have been done for reasons working with this specific build. Probably possible to achieve same or similar or even better handling with customize button section.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 24, 2022, 10:30:32 PM
@Danne, didn't know I had my camera with me.
It works and it opens the door to many more possibilities! 
One should disregard my previous post completely, as the procedure won't be necessary, unless you want something very specific.

When using a hdmi monitor, Setting Customized buttons to:

x3crop toggle     Off
focus aid           Off
gain                  Aperture only
INFO selectable  INFO1
Tap display         Off

Gives You: up/dpwn buttons= Aperture control, circle knob= Shutter Control, INFO button= select dropdown (but you have to press info again after selecting the preset, to get to the preview).

Zoom, False color and Zebra will most likely be available on your monitor.

Without a monitor:

x3crop toggle     SET
focus aid           sticky push
gain                  Aperture only
INFO selectable  INFO4
Tap display         Tap display 01

Give you INFO button= false color on/off, up/down buttons= Aperture control, circle button= Shutter control and  Tap screen= dropdown menu selection.

The MENU button is now always working as expected, so no access is lost.
(The camera needs to be restarted after modifying all those settings, otherwise some things give unexpected results)

When using 5k Ana mode, the false color (or Zebras) doesn't cover the top part of the preview, so you just need to aim a little higher to check exposure there.

Thank you again. Once you get to understand how everything works, this camera gives some REALLY high quality images.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 25, 2022, 05:59:26 AM
When using hdmi we could probably make use of the SET button too. Maybe add a hdmi customize section?
Could you describe some scenario which would be good here also using the SET button? Maybe switching between aperture and iso? Or false color, or something else?

So info button don´t get you straight to the dropdown list? Need to check some more here.

EDIT:
Added a new version which makes use of SET button under customize button.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 27, 2022, 05:44:10 AM
Regarding hdmi: (Of course, considering that Record fps and Higher resolutions means compromises have to be made)

If anyone knows what kind of signal is output for the live view, framing and interface,
It would allow us to look for the right capabilities when shopping for a monitor, as not every preset displays correctly on every brand.
On my end  for example, while 2K,2.5k,2.8K display correctly when using a phone; only 2K,2.8K and 5K display on my monitor (But with heavy crop)

In 5K ana (Not frtp), you get the whole frame preview, it is squeezed, but it takes the whole available space.
I do not own one, but the newest field monitors allow to unsqueeze (If you use an anamorphic lens).
Even though the interface text will be distorted, this could be an acceptable compromise, if getting a non zoomed crop preview is not possible, in the cropped  modes.

A hdmi customize section would be helpful as @Danne stated. If possible, ideally we would be able to have:

Choose between squeezed (Bigger Image, which could be unsqueezed on monitor)
and a smaller unsqueezed version, like the one we currently have for 5k frtp;

If bandwidth is limited, we could always have a low fps "Frame Correct" preview
Then press Star button (Or half-shutter press) to toggle between Cropped Realtime preview and Framing.
That way, if you need to keep an eye on framing, you can get low fps framing and just keep a consistent distance to the subject to maintain focus (And stop down a little to have more margin);
If you need to follow-focus, you use the center realtime crop.

The way it is now, the hdmi preview is heavily cropped and isn't centered, so it heavily limits its usefulness, As you don't know exactly what is included in the shot.
If Framing is technically non-feasible, then the crop needs to be centered, at least.

Especially when very sunny outside, a monitor is necessary, as even with full brightness (Which drains battery faster) it is not easy to focus on the small screen.
Insigna makes a stick-on hood to put on the eos-m screen, but it gets in the way when using a gimbal.

Regarding Centering:

The presets also need to be centered (Center part of the sensor) when possible, as vignetting, "Maintain Framing when zooming" and peripheral sharpness aren't consistent across presets.
I am aware that a lot of users are into Landscape / Nature / Vacation type shootings, where that stuff isn't too obvious.
But I have seen a few reviews on Youtube blaming those issues on the Lenses and Filters.
With a well performing lens (ef-m 32mm, Sigma), not too obvious, but with a Vintage (Helios and al...)

Right Now:
5k frtp: Lower portion of sesnor is scanned, slightly off center
2K:Leaning towards bottom, leaning towards right
2.5K: Almost centered, leaning towards right
2.8k: When first loading the preset, top and  left heavy. Press menu twice, goes to lower portion slightly to the  left.

I tried changing the CMOS registers, didn't succeed, as the steps are quite coarse, then I got a black screen.

To verify, you can (Use a Zoom Lens):
1-  Start up bypassing ML (Hold Set while powering on) to get a center reference, check zoom.
2-  Restart, In ML, enable  Overlay>Cropmarks, select CrssMtr2.bpm, then have a look at the different presets and check zoom behaviour and peripheral sharpness.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 27, 2022, 06:33:21 AM
All your saying are valid points. Most stuff have been tried to be fixed at some point although hdmi probably hasn't been explored as heavily as  other areas yet.

Exact centering, at least to me, is hard to get. Cmos 5 and 7 maybe also modifying ratios could get you there.

I would like a detailed description how correct display is working over a phone? What program is used, connectors etc.

Regarding customized buttons. There are a few possibilities now for INFO and SET. Would be nice to hear what people in general would use shortcuts for.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 27, 2022, 05:20:16 PM
Quote from: Danne on April 27, 2022, 06:33:21 AM
I would like a detailed description how correct display is working over a phone? What program is used, connectors etc.
Sorry about that, I had to edit my post to keep it slimmer :)

Phones Tested: LG V30 and Samsung S8 (Both work identically, OTG must be enabled if it isn't already)

Capture Dongle: Hagibis UHC06
https://www.aliexpress.com/item/1005003578647111.html?spm=a2g0o.productlist.0.0.f3207226CSULaS&algo_pvid=8c9ae453-45ca-47af-ba6d-ac2e82e713c0&algo_exp_id=8c9ae453-45ca-47af-ba6d-ac2e82e713c0-0&pdp_ext_f=%7B%22sku_id%22%3A%2212000026355134132%22%7D&pdp_npi=1%40dis%7CCAD%7C%7C19.77%7C%7C%7C%7C%7C%402101d91e16510716307594707e6967%7C12000026355134132%7Csea

You will need something like this so you can connect a powerbank to the phone (Battery drains fast)
https://www.aliexpress.com/item/1005003377144632.html?spm=a2g0o.productlist.0.0.ae4559faZe23kH&algo_pvid=342ea171-bf60-4bd0-b33f-c7e3888dea9b&algo_exp_id=342ea171-bf60-4bd0-b33f-c7e3888dea9b-0&pdp_ext_f=%7B%22sku_id%22%3A%2212000025498967128%22%7D&pdp_npi=1%40dis%7CCAD%7C%7C6.38%7C%7C%7C2.19%7C%7C%400b0a556016510717328135199ef60b%7C12000025498967128%7Csea

Android App: USB Camera (Free Version)
https://play.google.com/store/apps/details?id=com.shenyaocn.android.usbcamera&hl=en_CA&gl=US

Connected with a Straight 1 meter Mini hdmi to hdmi 1080P hdmi 1.4 Cable.

From my Previous Post:
When using a capture dongle with a phone and usb camera, the dongle needs to be connected to the phone BEFORE powering it on. That way, 2K, 2.5K and 2.8K presets work (But the screen shows only part of the actual recorded image). When changing presets, resolution, etc, the EOS-m needs to be restarted. Edit: This seems to be fixed, will test some more. My hdmi monitor (Asus) doesn't work with 2.5K (At any aspect ratio), but some people got their monitors working when using a 16:9 ratio) Edit: With the April 26 2022 Build, Pink Frames at 2.5k ARE GONE! (5 clips recorded). Maybe we could post working configurations in a dedicated thread to make it easier for everyone... My USB camera Video Format settings are: MJPEG, 1920x1080 60p (important, otherwise the screen may be blank)

Screenshots of the phone and monitor outputs: (Taken with this build: crop_rec_4k_mlv_snd_raw_only_2022Apr26.EOSM202.zip)
https://drive.google.com/file/d/1zWw8YD_cvj_PawmkjybyozBM20lQokAf/view?usp=sharing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 27, 2022, 07:31:30 PM
Thanks for posting your workflow around using a phone.

Quote from: gabriielangel on April 27, 2022, 05:44:10 AM
end  for example, while 2K,2.5k,2.8K display correctly when using a phone; only 2K,2.8K and 5K display on my monitor (But with heavy crop)
Define display correctly using a phone? Full real time view? Framing? Cropped view?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 27, 2022, 08:33:35 PM
Quote from: Danne on April 27, 2022, 07:31:30 PM
Thanks for posting your workflow around using a phone.
Define display correctly using a phone? Full real time view? Framing? Cropped view?

With yesterday's build:

Phone:

5k: Doesn't display preview, only the interface shows (See the screenshots I linked in my previous post)
2k: Full realtime preview
2.5K: Realtime crop
2.8k: Realtime crop

Monitor:
5k: Full Realtime Preview
2k: Full realtime preview
2.5K: Realtime crop
2.8k: Realtime crop

The state remains the same whether you are recording or not (As opposed to the display turning into Grayscale framing when recording on the 2.8k preset on eos-m display, for example)

2.5K Preview crop (Estimate)
(https://i.ibb.co/JtFCq6H/M27-1356-frame-1-2500x.jpg) (https://ibb.co/xL83Y96)
2.8K preview crop (Estimate)
(https://i.ibb.co/JxGW0pD/M27-1357-frame-1-2800x.jpg) (https://ibb.co/SQMDWmF)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on April 28, 2022, 03:08:26 PM
Some Test Results

Test Parameters:

Build: crop_rec_4k_mlv_snd_raw_only_2022Apr27.EOSM202
Monitor: Asus PB278Q Hdmi in, hdmi 1.4 cable
Phone: LG V30
Capture Dongle: Hagibis UHC06
Capture App: USB Cam (MJPEG 1920x1080 60P)

2 one minute clips and 3 30seconds clips per Ratio/Bitdepth for 5kfrtp with/without monitor

60 clips total with varying presets and bit depths  for 2K,2.5k,2.8k,5kana,5kflv  with/without monitor

Shooting straight at  a lightbulb to make it fill half the frame (Slightly clipping), pan left-right to help spot skipped frames.

5Kfrtp:

Works in 16:9, 2:35 and 2:39 ratios
10,12 and 14bits, continuous
16:9 now gives continuous recording (Did not with yesterday's build)
Half-Shutter and Star Button gives a Zoom. Works with Sticky enabled or not.

I got a few black previews when starting up the camera without hdmi monitor.  (You see the interface, but nothing in preview). Restart Required. I Wasn't able to reproduce the issue on demand.

While recording, using the monitor, there are occasional flashing bars on the external side of the Live View. It does not affect the recording and is fixed by pressing MENU twice.

2.5K

2.5K 2520x1418: When using the Monitor, I get Pink frames. Sometimes, there are black  blank spots on the screen, which are not as apparent as pink frames. 
2.5K Centered: You never get pink frames, but some of the clips have the black spots.
If what changed is not obvious to you, let me know and I will go back to the April 26 build to check if I only got lucky when I did not get any.
Edit: I checked the files recorded with the April 26 Build, some showed the occasional black spots on the image.

When using the phone (3 recordings), I did not get pink frames.
Edit: Did 5 more recordings, the image is always corruption-free.


About 3x crop and focus aid options in Customized Buttons:

When using 2.5k Preset  with hdmi monitor: The x3 and focus aid options cannot be changed (Remains Off) Looks like you've put a safeguard there.

When Using 2.5k Preset with  the Phone:The options can be selected, and even when selected, the preview displays correctly and recording is free of corruption.
Also, the Star and Half-Shutter button work and give a zoom in, zoom out when you release (Or press again if sticky is enabled).

2K, 2.8K: Nothing new to report

5K ana and 5k flv:

I tested 10bits and 12bits and various resolutions. It is possible to get 5k flv (Set 25fps ON) 1520x1906 10bit @23.976 2.39:1 for at least 1 min (Stopped Myself). 
I need to run resolution tests to see if those extra pixels are actually worth the effort...
Every recording was corruption-free.
Half-shutter and Star button work like 5k frtp


About rewiring the SET Button:

when i load one of the cropped presets, If I use the SET button for the dropdown presets,, it goes to the presets list found on top of the movie tab.
The 5Kfrtp preset works as expected, it goes to the "Tap display" presets when I hit SET.

About the half-shutter Focus aid button:

1-Try loading the H264 tap preset, Check.
2-Then turn Raw video on, Check. The process is slower than step 1, but snappier than 5k frtp. Maybe this can be a hint, maybe not.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 28, 2022, 03:17:15 PM
Thanks for reports. Will take a look once in a while when I get more time again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on April 28, 2022, 10:11:14 PM
nice test, thanks Gabrii
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on May 04, 2022, 02:14:54 AM
The latest releases are really great, thanks to Danne!

I don't have suggestions about shortcuts for the buttons INFO and SET, but about the gain button, there's a limitation that perhaps can be avoided.
When dual iso is enabled the gain buttons gets always disabled.
That's perfectly understandable if the gain buttons are set to control iso value, but maybe if set to "aperture only" they don't need to be disabled.
I could be missing the whole point, anyway...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 04, 2022, 04:09:55 AM
Tests for crop_rec_4k_mlv_snd_raw_only_2022Apr30.EOSM202

Presets tested 2K, 2.5K, 2.8k, 5K Ana frtp.

Monitor: Asus PB278Q Hdmi in, hdmi 1.4 cable
Phone: LG V30
Capture Dongle: Hagibis UHC06
Capture App: USB Cam (MJPEG 1920x1080 60P)

Hello Everyone, (And thank you Danne)
I tested the latest build and here are my findings:

This build is a lot more stable than the previous ones: very few camera restarts were required.
One tip for smoother operation is to give the cam time to  operate and reconfigure between button presses.
If you experience something weird (More Below) A camera Restart and Reloading the preset fixes it.

1- 2.5k 1:1 Centered hdmi can be used with an hdmi monitor, or without, (Phone works with 2.5k 1:1 Centered or the default 2.5k preset), without pink frames. But the preview on screen makes it not very usable.
With hdmi, Only 5k Ana frtp gives an  accurate representation of what is being recorded (A few screenshots below)

2-One time Autofocus works better, and can come in handy, once you get a feel for it.

When setting the cam to AF, you can autofocus with the half-shutter button and record. It is not continuous and it may let you refocus only once during the recording.
The best way I found to use it is to press and hold the set button to get to sticky-zoom, Aim, hold half-shutter until focus, keep holding for 1 second, release and it goes back to the preview. You then press record. Can be handy if it is very bright outside and you cannot see the screen properly.

AF+MF behaves like AF. Maybe you could send a dummy MF signal so that it releases the Autofocus after focus confirm, so we could have the option to manually adjust from there, if needs be.

After a few uses, the AF stops giving the confirmation beep, but is still finds the spot.

The results are not always as sharp as if you do it yourself, but it has been usable in every test I did.

Sometimes the screen displays Vertical green lines or gets corrupted. Camera Restart is then required.

3-Half-Shutter button and STAR button work faster and more consistently when used for X10 Zoom.

When used in MF mode, as long as you do not rush the keypresses, both buttons work reliably and as expected. If you press and relase too quick, you may have to do it twice.

4-The Framing / Preview function works reliably across every preset tested.
When using the eos-m screen, what you see in framing is what you get.
Exception: The 5K Ana frtp preset must be used in preview mode. (it says frtp in the title so...)
In framing, the image on screen is shifted downwards, but it records the framing you get in preview.

5-Sometimes, the x10 zoom "Gets lost" somewhere off-center (You may not realize what part of the image you are looking at if shooting a row of flowers or a forest with few distinctive visual cues, for example.
I could not reproduce the issue every time, but there is a screenshot below. Most times it zooms-in close enough to the center.

6- I had a white screen on power up on 2 occasions (Preset reload fixed it). I cannot reproduce it on demand.

7-Recording times are in line with my previous tests, except for the 2.8k preset, I were able to get 14bit 23.976 fps, 2608x1092, at least 1 minute (2022April 10 build).
Now I need to set it to 12 bits to get 1 minute+

Hdmi Monitor and Phone

The chart , a DIY chart made with water bottle wrappers :) (Nice patterns to check for moiré and lots of little characters)
(https://i.ibb.co/tzKH8yv/00-Setup.png) (https://ibb.co/qCjDkbc)

The Recorded Output, 2.5k Centered hdmi preset:
(https://i.ibb.co/NxWmV7Q/01a-Output-M02-2103-hdmi-Mon-2-5k-Centered-Hdim-12bit.png) (https://ibb.co/G7CtxFB)

What we see on the phone-as-a-monitor:
(https://i.ibb.co/qNBgVPJ/01b-Phone-Monitor-2-5k11-Centered-Hdmi.png) (https://ibb.co/Ht7P3kh)

What we see on the Asus hdmi monitor:
(https://i.ibb.co/HBbrthy/01c-hdmi-Monitor-2-5k11-Centered-Cropmark.jpg) (https://ibb.co/zQBSX6g)

I won't post every screenshot to save space, but what we see on the monitors is always a cropped version of the final image; sometimes centered, sometimes not.

Only the 5k Ana frtp preset displays the whole image, but it doesn't work when using the phone. In the latter case, only the interface displays and the preview is scrambled.

x10 Zoom

The recorded output
(https://i.ibb.co/02VdJ2x/02a-Output-M02-1934-EOSM-2-5-K-12bit.png) (https://ibb.co/nm85kmF)

What we see on the Eos-m
(https://i.ibb.co/r5YBnmM/02b-EOSM-Screen-2-5k11-Centered.png) (https://ibb.co/xzWnVDG)

What I saw when I zoomed in (Star Button or Shutter Half-Press)
(https://i.ibb.co/TbW0PPm/02c-EOSM-Screen-2-5k11-Centered-Zoomed-In-1st-Trial.png) (https://ibb.co/9VZ4yys)

It often displays an area close to the center (Easier to notice when on a tripod). Also, if I use the invisible arrows on the tap screen to navigate to a region of interest, the next time I zoom in it will display the default area, and on a subsequent press, the arrow-navigated area.

Edit: With the latest Build, crop_rec_4k_mlv_snd_raw_only_2022May04.EOSM202_test.zip, the zooming has been greatly enhanced. It now always land close to the center and doesn't get lost anymore. It is also more responsive.

Not Exclusive to this build: Image Quality

When recording surfaces with a lot of details (Hair, Fur, certain surfaces), some quasi-static dots appear over those areas. It sometimes make the image look "dirty". Changing debayer type sometimes improves it a bit, but there are always traces left. If I take a picture, those artifacts do not appear.
Is there a parameter that can be tweaked to make the sensor scanning more precise? (Even if it is at the expense of some resolution)

Example 5k Ana frtp
(https://i.ibb.co/db6Ss8X/03a-Example-M02-2016-EOSM-5-KAna-Frtp-12bit.png) (https://ibb.co/rbMgKDq)

(https://i.ibb.co/WpRLpb8/03c-Crop-Example-M02-2016-EOSM-5-KAna-Frtp-12bit.png) (https://ibb.co/XkGqkh0)

Example 2.5k
(https://i.ibb.co/02VdJ2x/02a-Output-M02-1934-EOSM-2-5-K-12bit.png) (https://ibb.co/nm85kmF)

A link to the mlv file
https://drive.google.com/file/d/1zV7A2JUXOpxUrt-ewXol6s-eiM6BhBjB/view?usp=sharing

Also, maybe this is only anecdotal, but when installing a new build, the camera needs an on/off cycle before working with consistency.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 04, 2022, 06:17:52 AM
Thanks for sharing findings.
You can enable auto focus in hack section under raw video. Check under asvanced snd enable af on. Not very reliable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: omygolly on May 04, 2022, 08:52:03 AM
Just wanted to pop in and say a big thanks to @Danne (and everyone else who contributed) for the latest builds. The added funtionality to the customized buttons are brilliant! I LOVE being able to toggle false colors, a huge help for me as I've been struggling with getting correct exposure. Now with the fuctions sorted I'm eagerly watching all the @gabriielangel posts and testing out optimal performance for each mode (w/wo HDMI). You guys are great.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on May 04, 2022, 09:26:43 PM
Dots can be removed using focus pixel maps. Interpolation method 3 looks nice for this example:
(https://i.ibb.co/R3RxH5K/Bildschirmfoto-2022-05-04-um-21-23-12.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 05, 2022, 08:18:11 PM
Quote from: masc on May 04, 2022, 09:26:43 PM
Dots can be removed using focus pixel maps. Interpolation method 3 looks nice for this example:

Yes, I just tried with the other clips and it gives a massive improvement, Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 05, 2022, 09:17:34 PM
Chroma smooth 3x3 is not that bad either.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 06, 2022, 06:36:40 AM
Quote from: Danne on May 05, 2022, 09:17:34 PM
Chroma smooth 3x3 is not that bad either.

Actually, this works a lot on the hair images I were referring to. It gives it the shine back. Thanks!

Your suggestions prompted me to dig deeper into MLV app (I'm still new to the whole ML pipeline)

A question: I saw in MLV app that there is an option to stack TIFF's to get a clean image (Averaged Frame).
Would it be in the realm of possibilities to, instead of scanning the whole .mlv file to average to a single photo image, Output a sequence of Tiff's where each frame in the .mlv file is averaged with the nearby frames? (And just clean the shadows like magic)

For example, given frames 1,2,3,4,5,6,7,8,9...
Frame 1= avg(1,2,3,4,5,6,7,8)
Frame 2= avg(2,3,4,5,6,7,8,9)

Or maybe
Frame 4=avg(1,2,3,4,5,6,7,8)
Frame 5=avg(2,3,4,5,6,7,8,9)
etc.

I "Think" that 8 frames plus slow camera movements would work, maybe?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2022, 07:08:30 AM
Possible. Check scripts included in Mlv app. Yould tweak those directly without recompiling.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 06, 2022, 01:51:16 PM
Quote from: Danne on May 06, 2022, 07:08:30 AM
Possible. Check scripts included in Mlv app. Yould tweak those directly without recompiling.

Are you referring to TIF_CLEAN.command and enfuse_average.command?

If so, yes this is within my reach.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 06, 2022, 03:40:42 PM
Both are useful.
Title: Frame Staking Noise Reduction for Video- EOS M
Post by: gabriielangel on May 10, 2022, 08:52:32 PM
Frame Staking Noise Reduction used on Video

Note: Google makes a preview of the videos in the links with Youtube-like compression.
To get the full Prores 422 quality (Necessary to evaluate the noise processing), you can download the files.


I have been running a lot of tests lately to devise an optimal pipeline for a project. Noise being something to always take into consideration, I were wondering if Frame Stacking, used regularly when taking stills, could be applied to video. There is a built-in script in MLV App based on this idea. I think the original intent was to use the method mainly with frame burst sequences, but I decided to give it a try. Although the results are far from perfect, I thought it was still worth posting as it can still be used creatively if taking some precautions. Also, maybe someone reading this will have a stroke of genius and figure out how to make it more "General-Purpose".

The script is called TIF_CLEAN.command and can be found  in MLVApp's export settings:

(https://i.ibb.co/tMgw67W/00-MLVApp-Export-Settings.png) (https://imgbb.com/)

The process will export your .mlv file as a .tiff sequence which will be post-processed by the script. A Prores .mov file will also be created from the Tiff's.
On first run, Hugin, the program on which this script is built around, will be installed along with its dependencies. The download and install process should take less than 20 minutes. Unfortunately, in my case, in part because I am using an older OSX, I ran into permission problems and a lot had to be installed manually. There are plenty of cues appearing in the terminal window for you to figure it out, IF you have done those kinds of installs before... So it took me about an hour to get it running. If you happen to be terminal or Command-Line Averse, save this for a day where you have plenty of spare time.

Some Examples. (Video files links after the Images, All shot with EOS-M, 23.976fps 1/48th Shutter)

In order to highlight the strenghts and weaknessses of the process, I went a little outside of what would be done normally. I exposed at least 2 stops below optimal and then added 2 stops in MLVApp to increase the noise.
Being able to record underexposed  (and know you can deal with some of the noise later) has its advantages, as it allows you to record higher resolutions in 14bit almost continuous (More details in shadows), have fully intact highlights, etc. Also, when shooting in dimly-lit environments, such as Churches and concert halls, a tiny inconspicuous EOS-M which can be fitted to a tiny gimbal can be preferable to a heavier Full-Frame.

Example 1: Slow Pan, 1 axis Pan, Tripod EF-M 32mm f1.4 @ f2.2, ISO 100

(https://i.ibb.co/0tmNjtP/01-M06-1204-Original.png) (https://ibb.co/cLk5cLz)
Areas or interest with the green arrows. We have Shadows, ok-ish exposed and underexposed.

(https://i.ibb.co/mGkPLFB/02-M06-1204-Original-Plus2-Stops.png) (https://ibb.co/SPbZh7x)
With 2 Stops added (The noise is clearly visible to the right of the image.)

(https://i.ibb.co/b3FxzXH/03-M06-1204-Processed.png) (https://ibb.co/wL7TM4J)
After processing. The noise is completely gone on the Recycling bin, and a little movement is left in the shadows which were lifted to the right of the image.

Original Video: https://drive.google.com/file/d/1lsmxm3iyz4rUvq5QkqQcVY2XobWURuGb/view?usp=sharing

Processed Video: https://drive.google.com/file/d/1n6rY61uKT1Fc-6CLzxsnWyZxfR1ho9J-/view?usp=sharing


Example 2: Slow Pan, 2 axis Pan, Tripod EF-M 32mm f1.4 @ f2.2, ISO 100

(https://i.ibb.co/Fxzx6Wt/04-M07-1426-Original.png) (https://ibb.co/BzBzLPR)
Original.

(https://i.ibb.co/6XgmknX/05-M07-1426-Original-Plus2-Stops.png) (https://ibb.co/kmQxtHm)
2 Stops Added.

(https://i.ibb.co/rfn1hQQ/06-M07-1426-Processed.png) (https://ibb.co/HpmkyKK)
Processed. See how the details in the hair and on the shirt are preserved, and the noise in the leaves is almost gone.

(https://i.ibb.co/RQ8s8VG/07-M07-1426-Processed-And-Smooth-Alias-3-pass.png) (https://ibb.co/MPdtd3y)
Smooth Aliasing 3 pass added on top for good measure. This adds a motion blur to the footage, which could be helpful in some cases, such as the next examples.

Original Video: https://drive.google.com/file/d/1AqdLu6tQyxHspNqyFfKuEKqDb7xg8uGN/view?usp=sharing

Processed Video: https://drive.google.com/file/d/1wVQbrAL9cuOreMxAcWJaWgW4b0gLdVHY/view?usp=sharing

Processed with Smooth Aliasing 3 pass added: https://drive.google.com/file/d/1D1X3WZ4V_TZUJ7CfXBX4YswOojvmTbWT/view?usp=sharing


Example 3: Fast Motion, All Axes, Handheld EF-M 15-45mm @ 15mm f3.5, ISO 800

(https://i.ibb.co/mCCHx44/08-M07-2344-Original.png) (https://ibb.co/XZZzwtt)
After a few exchanges with Danne, it became obvious that this method was severely challenged when having to align images with movement on several axes at the same time. So I shot this one handheld, but with a stabilized lens. One thing to note is that in its original form, the script will report a silent error when images cannot be aligned properly (You end up with a video with a frozen frame where the error occurred. The error tolerance is 3 pixels) In order to give it a larger margin, I edited the script so that it has a 100 pixel margin, to allow plenty of movement. The following options need to be added to align_image_stack (-t 100 -g 20). You end up with: align_image_stack --use-given-order -t 100 -g 20 -a ...
The -g option gives a 20x20 grid (As opposed to the default 5x5) so that, hopefully, the movement would not affect the whole image (More apparent in example 4)

(https://i.ibb.co/HNrgFDk/09-M07-2344-Switch-t-100-g-20-Plus2-Stops.png) (https://ibb.co/SQKvsX9)
Processed. As you can see, when an object is moving fast enogh to cross the 5 frame boundary within a sampling period, we end up with ghosting (The script stacks a total of 5 frames, Current, 2 before and 2 after).

(https://i.ibb.co/M2Mv7jm/08b-M07-2344-Processed-Plus-Smooth-Aliasing-1-Pass.png) (https://ibb.co/yfW9qMr)
Processed with Smooth Aliasing 1 pass added. This adds some motion blur, but not enough to hide the ghosting.

(https://i.ibb.co/RcDGLTy/10-M07-2348-Switch-t-6-g-10.png) (https://ibb.co/FzDkG4V)
Here, I filmed the same sequence but without a car in the middle of the frame. You can still see some ghosting on the cars afar (In the video), but the bulk of the image isn't too affected.

Original Video: https://drive.google.com/file/d/12ScYGKewG3GkjNaP_xzQ2JEJ9X0FLyqT/view?usp=sharing

Processed Video: https://drive.google.com/file/d/1n3_ORRINhAWGQ8vbx9NbhSWLzjD7BsK2/view?usp=sharing

Process with Smooth Aliasing 1 pass added: https://drive.google.com/file/d/1VL225cvRZLfh22tLGQMQSy5XWofCMVeK/view?usp=sharing

Sequence without  Car: https://drive.google.com/file/d/17LyqUbVZk0YpyDo7yq76W3TnQhq8KnHc/view?usp=sharing


Example 4: Fast Motion, All Axes, Handheld EF-M 15-45mm @ 15mm f3.5, ISO 100

(https://i.ibb.co/vVw4yGn/11-M09-1650-Original.png) (https://ibb.co/gmjZqpK)
Original. To find out if night time had anything to do with it, I reproduced example 3 during the day.

(https://i.ibb.co/y0rnDq2/12-M09-1650-Switch-t-100-g-1-Plus2-Stops.png) (https://ibb.co/nrFsTjp)
Processed with options -t 100 -g 1
The ghosting is still there and when the car passes by, the whole image shakes as if it were an earthquake!

(https://i.ibb.co/ygwXzBN/13-M09-1650-Switch-t-100-g-35-Plus2-Stops.png) (https://ibb.co/xzpDn82)
Processed with options -t 100 -g 35
This processes using a 35x35 grid (As opposed to the 1x1 of the previous example). The image is a lot more stable, but still not enough. A finer grid would be required and the ghosting still needs to be addressed.

Original Video: https://drive.google.com/file/d/1Er3r13Vu9n-d1SNKwcvYNESK1MCuno1h/view?usp=sharing

Processed Video 1: https://drive.google.com/file/d/1qW6M0MEFI8TZE2eq9O2sdP9N4mcJ92ZR/view?usp=sharing

Processed Video 2: https://drive.google.com/file/d/1qW6M0MEFI8TZE2eq9O2sdP9N4mcJ92ZR/view?usp=sharing


Example 5: No Motion, Tripod EF-M 32mm f1.4  @f2.0, ISO 3200

(https://i.ibb.co/1K4Szhz/14-M09-2246-Original.png) (https://ibb.co/MpJXBWB)
Original. Here only the moon as a light source at iISO 3200. This example would benefit from more frames in the stack, and maybe from dual ISO.

(https://i.ibb.co/txYXDyC/15-M09-2246-Processed.png) (https://ibb.co/pR4ydCX)
Processed. The noise has been reduced substantially. There is still some movement in the noise, but it shows how powerful this stacking method can be under ideal conditions.

Original Video: https://drive.google.com/file/d/1FrkHYPpgIQbZ_HL4DY1mPzYivtqZQ6af/view?usp=sharing

Processed Video: https://drive.google.com/file/d/17lLcWzV-Lu-xLSV4MkfN8oyWMZOj_EzK/view?usp=sharing

Conclusion

The way it is now, if planned accordingly, this method could allow to film still subjects such as flowers and wildlife (As long as it isn't too windy, as too much movement creates artifacts); Statues, landscapes, Architechture, etc. Using a tripod (or maybe a gimbal) is mandatory.

This is beyond my current technical abilities, but maybe someone with more skills can find a clever way to use the deghosting_mask function present in Hugin. Using a much finer grid would also help a lot (I could not go beyond 35x35 and get a complete video sequence). If there was a way for the system to detect motion and avoid blending frames there, it would also help.

Also, this method isn't for everyone. With a Six Core 3.33GHz, it takes 6 minutes per second of footage to process at 2.5k resolution.

I have seen similar results (minus the major artifacts) with Topaz Vid Enhance AI at 4-6 minutes per frame when using the cpu.
As some of you know, when using temporal noise reduction such as Neat Video or the NR present in DaVinci studio, some details are lost. This is why Frame Stacking is interesting, as fine details are preserved a lot more.

So, this has been tested so far, so anyone with the same idea reading this will have a few examples to start with :)


References:

https://wiki.panotools.org/index.php?title=Align_image_stack&oldid=15916
https://manpages.debian.org/testing/hugin-tools/deghosting_mask.1.en.html
http://enblend.sourceforge.net/enfuse.doc/enfuse_4.0.0.pdf

Example of deghosting_mask  applied on  a still panorama: https://www.miltonpanoramic.co.uk/deghosting.php

.mlv file for Example 4: https://bit.ly/3yvi1yf
























Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on May 22, 2022, 04:13:53 PM
Hi. Thanks for the updated FW!
What is the diff Apr 30 vs May 04?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 22, 2022, 04:54:07 PM
Check commit in source files.
Title: Resolution, Crop Modes and FOV
Post by: gabriielangel on May 27, 2022, 03:57:36 AM
Resolution, Crop Modes and FOV

I ran a few tests to decide which crop mode / resolution I would use for an upcoming project, so I share my results here, in case it may be of use to anyone wondering...

I could not find a proper, affordable test target, so I decided to create one myself. The chart is 23x13 inches (60.96 x 33.02cm) 600 DPI. It can be cropped, but should not be resized, otherwise you'll lose some details. I had it printed at 600 DPI, inkjet, glossy paper at the local print shop. Total $25 and it gets the job done.
You could also print portions of it on a regular sheet of paper. Just set your printer to 600DPI.

Link to the chart: https://bit.ly/3lL7jft (https://bit.ly/3lL7jft)

(https://i.ibb.co/c1WwF4r/Gabriiels-Test-Chart-V1-Preview.jpg) (https://ibb.co/jTCzMnr)

The Videos:

In the first video, I recorded the chart with different lenses at 2.5k, 2.8k and 5k frtp. I then recorded various related real-life scenes to validate what I observed when reviewing the chart recordings.

In the second video, I recorded a football field right from the center at 2.5k, 2.8k and 5k frtp, at different focal lengths, to have a reference for the relationship between Focal Length, Crop Mode and FOV.

Link to the Resolution Video: https://bit.ly/3ajK6hL (https://bit.ly/3ajK6hL)
Link to the FOV Video: https://bit.ly/38LQ2jn (https://bit.ly/38LQ2jn)
Link to the MLV files for the resolution tests with the efm 32mm Lens: https://bit.ly/3LVaGea (https://bit.ly/3LVaGea)
(I did not include every lens tested because of space restrictions)
You have to download the videos in order to view at full Prores 422 resolution.

What to pay attention to when looking at the chart:

(https://i.ibb.co/n84FxDc/Gabriiels-Test-Chart-V1-Instructions2.jpg) (https://ibb.co/5xCPb58)

A: When looking at those patterns, you can see the size of details at which the camera starts creating moiré and other artifacts.

B: The various wheels help exposing any aliasing.

C: The text at various sizes, along with the various patterns, help with the evaluation sharpness.

D: The checkerboard patterns also help at observing moiré, and artifact created when recording repetitive patterns of different sizes. The sharp contrast between blocks will also expose aberrations or high contrast related artifacts, if present.

The Resolution Test

In order to facilitate comparison, I resized the 2.8K and 5K to 2520x1054 (2.5k) in the video. Downscaling the Pixel-Binned 5k has a serious advantage: A significantly sharper image. When using DaVinci Resolve or Topaz Video Enhance AI to upscale, sharpness and most details are preserved, so you will end up with a sharper image than if you left the 5k image as-is.

Also to facilitate comparison, I moved the camera closer to or further away from the target to get the same chart framing, regardless of the recording resolution / crop mode.

As expected, the 2.5k and 2.8k recordings are quite clean, with moiré present only at the smallest detail levels.There are focus dots "Trapped" between the narrowest-spaced lines. Changing the interpolation method in "Fix Focus Dots" in MLV App helps, but will not get rid of all of those. The interpolation method 3 gave the best results.

At 5k, some aliasing is present when recording steep oblique lines, but luckily, the artifacts are not as obvious (if at all) when recording real-life targets (See second portion of the Video).

The FOV Test

(https://i.ibb.co/m5gZ34m/FOV-Test-Example.jpg) (https://ibb.co/chVfjQP)

For this test, the camera was put right at the center of the football field. Only the focal length was modified on the ef-m 15-45mm lens. As you can see (In the video) crop modes have a serious impact on the FOV (Field-of-view). Also, by looking at the net in the goal, you can evaluate when the Focal length / detail size is large enough to avoid moiré when filming repetitive-detailed objects (Nets, fences, hair, fur, screens, rooftop tiles, etc.)

Why is 5k frtp so important?

There is very little difference between 2.8k and 2.5k. You can, for the most part, compensate by moving a few steps closer or away from the subject. The price to pay for the extra pixels in 2.8k is a less fluid recording experience and shorter recording times.

5k frtp gives not only a wider field of view, but also a significantly different perspective when compared to a similar 2.8k or 2.5k framing. frtp allows real-time previews (As opposed to the framing of 2.8k and 2.5k) and downscaling 5k to 2.5k for editing makes the noise finer, less obtrusive and quite pleasing.
The mode has issues with steep, contrasty oblique lines, but moiré has a different quality, far less obvious than in the other modes.

As a rule of thumb, avoiding fine details in the frame, getting as close as possible to the subject and avoiding extra-wide lenses will allow you to get around most problems. If shooting a scene with a lot of steep obliques, using 2.8k or 2.5k would be a good idea. It would also be good to favor lower contrast, less sharp lenses (But keep in mind that Vintage sharpness still has clarity, which is definitely not the case when looking at the softness of the ef-m 15-45mm at some focal lengths and apertures, as you can see in the video)
I do not own the proper adapters to fit older glass on my ef-m, but it would be interesting to compare different lenses to the well known ef-m lenses in such a controlled fashion, for reference.

And the Focus Dots?

When using manual focus, is there a way to forbid the camera to generate those completely? It would help a lot when shooting naked product or things like fences and lace.


Reference for Beginners:
https://martinbaileyphotography.com/2017/04/10/the-effect-of-subject-distance-and-focal-length-on-perspective-podcast-568/


Title: Re: Frame Staking Noise Reduction for Video- EOS M
Post by: tupp on May 27, 2022, 08:01:04 AM
Quote from: gabriielangel on May 10, 2022, 08:52:32 PM
Frame Staking Noise Reduction used on Video
[snip]
I have been running a lot of tests lately to devise an optimal pipeline for a project. Noise being something to always take into consideration, I were wondering if Frame Stacking, used regularly when taking stills, could be applied to video. There is a built-in script in MLV App based on this idea.
[snip]
After processing. The noise is completely gone on the Recycling bin, and a little movement is left in the shadows which were lifted to the right of the image.

Isn't that basically what the ML "HDR Video" feature does?  It "stacks" two consecutive video frames, each with differing gain (iso), to yield higher capture dynamic range.  Hence, lower noise from combining those two consecutive frames.

Here is an old ML HDR Video tutorial (https://youtu.be/5me5jEr4ldQ) that shows the DR increase along with the motion smearing.
Title: Re: Frame Staking Noise Reduction for Video- EOS M
Post by: gabriielangel on May 27, 2022, 02:06:08 PM
Quote from: tupp on May 27, 2022, 08:01:04 AM
Isn't that basically what the ML "HDR Video" feature does?  It "stacks" two consecutive video frames, each with differing gain (iso), to yield higher capture dynamic range.  Hence, lower noise from combining those two consecutive frames.

Here is an old ML HDR Video tutorial (https://youtu.be/5me5jEr4ldQ) that shows the DR increase along with the motion smearing.

Dual ISO is not the same as Frame Stacking (or Averaging)

For example, given this frame, shot at ISO 800: (Click on image to see full size)
(https://i.ibb.co/L0zhs0W/M22-2300-Before.jpg) (https://ibb.co/9p93dpL)

Which looks like this after averaging 75 frames (In MLV App export settings, you select TIFF and then change "Sequence" to "Average Frame":
(https://i.ibb.co/XXgs5pn/M22-2300-After-Stacking-75-Frames.jpg) (https://ibb.co/sjGw1QT)

Look at the details on the brick wall. Everything is almost intact after stacking, where those details were mostly hidden by the snowstorm...

Using dual ISO on this sequence would avoid the lights being clipped, but it would not help reduce noise, because there is very little light hitting the scene as a whole. You would end up with either a lot of noise in the shadows, or a very underexposed image overall.
Dual ISO is used to preserve highlights. It lowers the sensitivity to properly expose the highlights and then uses a normal sensitivity to properly expose the rest. When you have plenty of light available to begin with, you can expose everything properly using Dual ISO (But there are often artifacts at the transition points).

Frame Stacking increases the Signal-to-Noise ratio. The noise is random and is completely different across frames.
On a still shot, the "Signal" (the subject) doesn't move or at least varies at a much lower pace than the noise itself.
Therefore, when you average, the "Signal" average is higher than the "Noise" average, so you end up with an image having a lot more "Signal" and a lot less "Noise", as you can see in the example above.
Title: Re: Frame Staking Noise Reduction for Video- EOS M
Post by: tupp on May 27, 2022, 07:11:07 PM
Quote from: gabriielangel on May 27, 2022, 02:06:08 PM
Dual ISO is not the same as Frame Stacking
Agreed, but "HDR Video" IS the same as frame stacking.

"HDR Video" is a different ML feature from "Dual ISO."

Did you watch the video that I linked above?  Go to a 07:05, and you will see the playback of alternating frames with differing gain (iso).  ML HDR Video creates those alternating frames so that they can be stacked.


Quote from: gabriielangel on May 27, 2022, 02:06:08 PMUsing dual ISO on this sequence would avoid the lights being clipped, but it would not help reduce noise, because there is very little light hitting the scene as a whole. You would end up with either a lot of noise in the shadows, or a very underexposed image overall.
I do not agree here.  Although I have never tried Dual ISO, I have seen the work of others, and Dual ISO and HDR Video (frame stacking) give similar noise reduction and dynamic range results.

It is conceivable that Dual ISO reduces detail, because it necessarily halves the vertical resolution.

Nevertheless, my post above referred to the "HDR Video" feature of ML -- it didn't refer to "Dual ISO."


Quote from: gabriielangel on May 27, 2022, 02:06:08 PM
Dual ISO is used to preserve highlights. It lowers the sensitivity to properly expose the highlights and then uses a normal sensitivity to properly expose the rest. When you have plenty of light available to begin with, you can expose everything properly using Dual ISO (But there are often artifacts at the transition points).
Artifacts and noise are two different things.

The primary drawbacks that Dual ISO suffers are aliasing/moire and the halving of the vertical resolution.  The main problems with HDR Video are motion smearing and the halving of the frame rate.

It is my understanding that Dual ISO and HDR Video are based on the same principle.  Dual ISO "stacks" "interlaced" frames while HDR Video stacks consecutive frames.


Quote from: gabriielangel on May 27, 2022, 02:06:08 PM
Frame Stacking increases the Signal-to-Noise ratio.
So does the ML Dual ISO feature, as it increases dynamic range (very similar to signal-to-noise ratio), thus reducing the relative noise.

Again, what I was referring to in the above post is the old ML "HDR Video" feature, not "Dual ISO."


Quote from: gabriielangel on May 27, 2022, 02:06:08 PM
The noise is random and is completely different across frames.
On a still shot, the "Signal" (the subject) doesn't move or at least varies at a much lower pace than the noise itself.
Therefore, when you average, the "Signal" average is higher than the "Noise" average, so you end up with an image having a lot more "Signal" and a lot less "Noise", as you can see in the example above.
Yes.  The same dynamic range increase happens with Dual ISO and with HDR Video.

By the way, the two "interlaced" frames which are "stacked" in Dual ISO have different noise patterns (barring fixed-pattern noise).

Again, I was referring in the above post to the ML feature of "HDR Video."  I was not referring to "Dual ISO."
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on May 29, 2022, 02:58:25 PM
In newest build i am not able to change iso with customized buttons when set to info switch (i want to change aperture or iso quickly). It opens a canon menu instead. Every other option is disabled and only info switch is enabled under gain. Is this a known bug or am i missing something? Thank you :) Newest build is fire though! Thanks Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 29, 2022, 05:05:06 PM
Clean install, does the iso button work then? If so, what causes the conflict? Try adding one thing t the time.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 29, 2022, 06:07:15 PM
I confirm the behaviour here (May04, April30, April29 builds).

If setting gain to INFO_switch or SET_switch (and disabling the selected button in the other menus),
if you toggle so that aperture is selected (Press INFO or SET a few times, according to the button selected in gain)
When aperture is toggled, up / down varies the aperture.
When ISO is toggled, up goes to the single shooting / continuous shooting menu, down does nothing.

The feature was working properly up to the 2022_Apr24 build
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 29, 2022, 09:17:57 PM
Thanks for reports. Narrowed down the issue. Added a fresh build to my first post.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: clubsoda on May 29, 2022, 11:16:19 PM
Thanks Danne! New build fixed it :) Awesome!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Grognard on June 05, 2022, 12:32:59 AM
EOS M vs 5D Mark III

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

5D III is far better but 1080p is  bad compared to anamorphic or crop mode even on EOS M
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: huyct666 on June 06, 2022, 03:54:57 AM
great build is there a way to get rid of canon's black letterbox while recording? im an avid fan of 3:2 aspect ratio, i shoot everything in 3:2 and i love to have the live view to be 3:2

thanks

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: anto on June 06, 2022, 11:59:31 AM
I think 5d3 shoots are more contrasted, and it seems sharper than it is.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on June 06, 2022, 09:00:54 PM
Hello Everyone, I just purchased a used EOS M and the Menu Button doesn't work.
I updated the firmware to the 2.0.2 version using the EOS Utility App, but the Menu Button is still dead.
Anyone else ever had this problem before?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 06, 2022, 09:06:52 PM
I assume this error is happening with and without ML. So not related to ML at all.
Buttons may fail. And if you want to repair it you have to disassemble your camera and repair or replace the faulty part.

Or return to sender and get a refund because you were not told about the error.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 06, 2022, 10:21:12 PM
@gabriielangel
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on June 06, 2022, 10:45:20 PM
Thanks for the replies! The issue is not related to ML at all.
Since everyone has an eos m here (Sometimes Several) I had a good chance of someone having heard about this kind of issue. I was hoping I wouldn't have to replace the cable @danne :)
I will have a word with the seller...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tupp on June 06, 2022, 11:11:18 PM
Does the Menu button not work at all or does it work intermittently?

There could be many causes of this problem.  There are threads on humidity/condensation and liquid intrusion possibly causing contacts to corrode on Canon switches.  Here is one (https://community.usa.canon.com/t5/EOS-DSLR-Mirrorless-Cameras/Menu-amp-Info-buttons-not-working-on-EOS-80D/m-p/277451).  Here is another (https://photography-on-the.net/forum/showthread.php?t=1363241).

There are potential solutions posted in those threads, but you might try rapidly pressing the button about 10-20 times to see if it starts working again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on June 07, 2022, 12:41:52 AM
@tupp I tried one of the tips in the links you posted, pressing the button about 50 times in quick succession made it work a few times. Now it works intermittently. It looks like there is a problem with the contact, as I can hear it click. Maybe some deoxit could do the trick. Looking at the video link Danne posted, it looks like it's not too much work. Will post results. Waiting for the seller to decide...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: feketeg on June 11, 2022, 12:14:25 AM
Hey guys!

This is my first eos m footage. I struggled a lot with finding focus in bright sunlight as you can tell. I'm not completely satisfied with the final results, I made several mistakes. I couldn't manage to turn IS on the whole time, so I had to stabilize it in Davinci, thats why it is falling apart in some shots. I also noticed that in 5k frtp mode the AF focuses at the center of the screen and not the center of liveview. (I used MF btw)

I'd like to ask some advice from you guys with the following;
- any idea why I can't turn IS on?
- can I use the built in AF+MF function somehow when recording video? Or does AF reduces the write speed? Also; what AF settings do you recommend to use?
- why does the black crop jumping up and down after stabilization?

Any feedback more than welcomed in connection with footage.
The process was the following: MLV export as cDNG lossless, Davinci: correct input size, color grading, color space transform input/output gamma: BMD Broadcast Film Gen 4

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

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on June 13, 2022, 10:25:08 AM
Quote from: Danne on April 27, 2022, 06:33:21 AM
Exact centering, at least to me, is hard to get. Cmos 5 and 7 maybe also modifying ratios could get you there.
Exact cenetering for C mount lenses is not that hard but the issue is on the side of adapters, not all adapters are centered identically, i have two and their center is different just a bit to unhide vignette in the corner one one and hide on another one  + some lenses vignette sooner and some later, lots of variables to take on, its just better to crop and leave as is.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: feketeg on June 15, 2022, 08:23:28 AM
hey guys!

Any idea why I can't turn IS on on my eos m? My settings are pretty standard, I'm shooting in 5k frtp and 2.8k, tried different settings with/without fps override/shutter fine tuning or MF/AF. IS is of course enabled in Canon menu. I'm struggling with this since I'm expremineting with ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fhewes14 on June 19, 2022, 11:15:13 AM
Hello all! First post on the ML forums, hopefully this goes through. I'm the proud new owner of an original EOS M and have been messing around with ML on it after successfully using ML for a couple of months on my 600D. I've been watching Zeek's YouTube videos, which led me here. I've successfully installed the ML build from the main site, which I've heard is outdated, and I can tell the features are quite limited compared to what Zeek posts on his channel. Now to the point:

I'm trying to install Danne's newest build, but when I unzip the folder on my Macbook, it looks like 15 or so folders and a number of individual files... other ML builds just show up as one ML folder, the autoexec.bin file, and the ML-SETUP.fir file... What am I missing here? How do I go about installing this new build? Sorry if this is too noob-ish of a question, or has been discussed before, as I mentioned earlier I'm very new to this whole world (ML is actually the first open-source project I've tried using), and am having some trouble getting off the ground.

Any help is much appreciated!  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 19, 2022, 05:29:04 PM
This is file structure for extracted zip:
- ML (dir with subdirectories)
- autoexec.bin
- ML-SETUP.FIR (optional)

Please check your unzip procedure.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: tupp on June 19, 2022, 06:23:34 PM
Quote from: feketeg on June 15, 2022, 08:23:28 AM
Any idea why I can't turn IS on on my eos m? My settings are pretty standard, I'm shooting in 5k frtp and 2.8k, tried different settings with/without fps override/shutter fine tuning or MF/AF. IS is of course enabled in Canon menu.

Which lens are you using?

There is no IBIS (In-Body Image Stabilization) with the original EOSM -- stabilization is in the lens.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fhewes14 on June 20, 2022, 11:31:37 AM
Quote from: Walter Schulz on June 19, 2022, 05:29:04 PM
Please check your unzip procedure.

I'm clicking "download repository" from Dannephoto bitbucket link,
Saving to my desktop, (66.3mb file, named "Dannephoto-magic-lantern_jip_hop_git-fd976067652d.zip")
Right clicking on zipped file,
Open with Archive Utility.

The resulting unzipped folder looks like this:

15 subfolders, and 13 other various files.

Where have I gone wrong?? Should I rename the enclosing (unzipped) folder as ML and just substitute this for the ML folder in the nightlybuilds download? Again, sorry if this is extremely obvious...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on June 20, 2022, 11:43:25 AM
Quote from: fhewes14 on June 20, 2022, 11:31:37 AM
I'm clicking "download repository" from Dannephoto bitbucket link,
What you downloaded is the entire development data set for this particular build which can be used to edit/compile/build your own Magic Lantern flavour.

Please access first post in Danne's EOS M thread and use first download location only. https://www.magiclantern.fm/forum/index.php?topic=25781.0
ML builds are less than 3 MByte, typically.
Latest build is named crop_rec_4k_mlv_snd_raw_only_2022May30.EOSM202.zip
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: fhewes14 on June 20, 2022, 09:48:12 PM
Quote from: Walter Schulz on June 20, 2022, 11:43:25 AM
Please access first post in Danne's EOS M thread and use first download location only. https://www.magiclantern.fm/forum/index.php?topic=25781.0

Ah okay, I see my initial mistake now, thank you! However, clicking this link produces the following error:

This site can't provide a secure connectionbbuseruploads.s3.amazonaws.com sent an invalid response.
ERR_SSL_PROTOCOL_ERROR

I am located in Istanbul, Turkey. Are there geographical restrictions on bitbucket maybe? I have tried from Safari, Chrome, and Brave

Edit: Successfully downloaded the file! I first downloaded Opera browser and used their builtin VPN. Seems like there is some sort of geographical restriction here, or maybe Turkish government is blocking bitbucket for some reason... Anyway, problem solved. Thanks for the help and patience!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: feketeg on June 24, 2022, 07:13:18 AM
Quote from: tupp on June 19, 2022, 06:23:34 PM
Which lens are you using?

There is no IBIS (In-Body Image Stabilization) with the original EOSM -- stabilization is in the lens.

Kit lens 18-55, IS enabled but in the preview menu the ML system says "no IS".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on June 29, 2022, 03:12:37 PM
I have an issue where no matter what shutter speed i select. As soon as i press recording, the shutter goes into 1/30 and stays there while recording. Any ides why ots happening? I even tried shutter lock but this issue still happens.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2022, 04:50:27 PM
Shutter fine-tuning?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on June 29, 2022, 05:55:42 PM
Quote from: Danne on June 29, 2022, 04:50:27 PM
Shutter fine-tuning?

Found the problem. It was the new tweak , lvface+aewb. If i select this then this issue happens. Lvface alone doesnt have it
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 29, 2022, 06:13:10 PM
Yes, correct.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on June 30, 2022, 04:49:02 AM
Is there way to disable canon gui but have the focus box? Because in 5k frtp mode, if i want focus box and enable gui then cropmarks randomly wont appear and there is flashing in bottom area. Without gui, the flashing rarely happens but then cant get confirmation if press half shutter to focus.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 30, 2022, 05:38:41 AM
Yes. good idea.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: lightspeed on June 30, 2022, 06:05:19 AM
also when you press half shutter focus in 2.8k I get a lot of strange lines that slowly goes away.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on June 30, 2022, 06:44:06 AM
Yes
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on June 30, 2022, 09:36:00 AM
Quote from: Danne on June 30, 2022, 06:44:06 AM
Yes
Thats nice. And maybe make the focus box smaller? Is that possible too? Because in 5k frtp 2:35 mode, the 5x zoom makes focus box too large on already small preview
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pepper_chip on July 03, 2022, 11:07:19 AM
Hi Danne, look, I'm experimenting with registers in advanced mode dropdown menu and found somesing interest with cmos6 register. When I set it in 0xe8d, refresh, and waiting for around 1-2 minutes vertical stripes from preview are gone, I'm record footage, then when I open it in MLV app and set to off any raw corrections I don't see any focus dots in Frame.

I'm not a developer, but maybe you can to recheck it and to do a testing build?

Example:
Regular 1080p, last build, 14 bits, fix focus dots is off, chroma smooth is off,bad pixel Mapp is off

https://youtu.be/LUw7P_xlGKI

And what I think, we try fixed not a Focus dots, its seems more like a Exposition Metter pixels, becouse if you look in front of sensor you see it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on July 07, 2022, 03:02:34 PM
I use C-mount lenses in 2.5K mode on EOS-M, I really love that mode. I currently use the canon-gui arrrows to shift the crop area and center the lens, it's OK, but I was wondering if those X-Y shift values could be read from the camera registers, dumped in the crop_rec config file then restored at startup ?
It's something I can do if someone tell me how to do.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on July 13, 2022, 12:51:13 AM
Hey guys,

after a long hiatus I am back...

I picked up another M yesterday and I'm really pleased to see all the progress that's been made in the last few years. Previously I did some early development on the M and the 7d. I have not been active since 2017. A lot has changed. I could use some help getting back on my feet.

Is there an updated guide on how to setup the development environment on windows? I tried running through the original guide and a lot of the links are now dead.

The MLV app is only finding pixel maps for HD 1080p, where is the repository that has the maps for 5k anamorphic and other new modes?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on July 13, 2022, 10:51:35 AM
I use those maps successfully (5K anamorphic, 2.5K, 1080...): https://github.com/ilia3101/MLV-App/tree/master/pixel_maps
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on July 13, 2022, 11:42:24 PM
About the focus pixel maps:
Launch MLV App while connected to the Internet. When you open your first EOS-M clip, the program will ask you if you want to download a map for the selected clip or all the maps. Those will be downloaded automatically once you make your choice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on July 14, 2022, 02:19:42 PM
Quote from: gabriielangel on July 13, 2022, 11:42:24 PM
About the focus pixel maps:
Launch MLV App while connected to the Internet. When you open your first EOS-M clip, the program will ask you if you want to download a map for the selected clip or all the maps. Those will be downloaded automatically once you make your choice.
'

This is not working on multiple computers

"Update of focus pixel maps failed"

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on July 14, 2022, 04:42:35 PM
Quote from: dpjpandone on July 14, 2022, 02:19:42 PM
'
This is not working on multiple computers

"Update of focus pixel maps failed"
Then you block MLVApps internet connection on multiple computers. Check firewall and/or antivirus. Or install the maps manually. Find them on MLVApp repository.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: samzkri on July 22, 2022, 08:43:33 AM
Hello everyone,
What's the crop factor of 2.5k and 2.8k?

I remember Zeek saying it's 3~3.2x crop
but I'm seeing x5 crop in the menu?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on July 30, 2022, 05:40:57 PM
Quote from: pepper_chip on July 03, 2022, 11:07:19 AM
Hi Danne, look, I'm experimenting with registers in advanced mode dropdown menu and found somesing interest with cmos6 register. When I set it in 0xe8d, refresh, and waiting for around 1-2 minutes vertical stripes from preview are gone, I'm record footage, then when I open it in MLV app and set to off any raw corrections I don't see any focus dots in Frame.

I'm not a developer, but maybe you can to recheck it and to do a testing build?

Example:
Regular 1080p, last build, 14 bits, fix focus dots is off, chroma smooth is off,bad pixel Mapp is off

https://youtu.be/LUw7P_xlGKI

And what I think, we try fixed not a Focus dots, its seems more like a Exposition Metter pixels, becouse if you look in front of sensor you see it.
Inreresting. Applies to other presets as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on July 30, 2022, 09:40:47 PM
Quote from: samzkri on July 22, 2022, 08:43:33 AM
Hello everyone,
What's the crop factor of 2.5k and 2.8k?

I remember Zeek saying it's 3~3.2x crop
but I'm seeing x5 crop in the menu?

Answered in r/magiclantern
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pepper_chip on August 02, 2022, 07:30:24 PM
Quote from: Danne on July 30, 2022, 05:40:57 PM
Inreresting. Applies to other presets as well?

I'm stop experimenting with this cmos reg becouse waiting moderate my massage, look at data 03 July
Doesn't work in another modes/presets
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pepper_chip on August 02, 2022, 07:41:31 PM
Quote from: Danne on July 30, 2022, 05:40:57 PM
Inreresting. Applies to other presets as well?

I'm almost sure our "focus pixels" in fact exposure meter dots. But I can't recheck it becouse dont understand how I can "catch" moment what register is off "metering" (I'm trying edit regs from ADTG.mo
I'm just not a developer so I could be wrong in my "theory"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on August 06, 2022, 12:52:53 AM
Hello, I tried the latest build (Aug 04 2022) and the camera froze twice in a row.
I loaded the 2.5K tap preset, then I selected the 3K preset (In the internal menu). Set 25 fps was on. (So I could get 23.976 fps)

I pressed the Menu button a few times and Crash! Needed to remove the battery.

Tried a second time, Crash again.

Then I could not get it to crash anymore.

Here are the crash logs. Because I filmed two full days with the previous build last weekend, and I only got 1 buffer error and 1 pink frame (Total 180 clips), maybe this crash is significant.



ASSERT: err == SUCCESS
at GUI.c:683, MainCtrl:ff0d7274
lv:0 mode:3

MainCtrl stack: 191308 [1913d8-1903d8]
0xUNKNOWN  @ ff0ceed0:1913b8
0xFF0CDBD0 @ ff144638:191388
0xFF0D7674 @ ff0ccac4:191360
0x00001900 @ ff0d7270:191340
0x0009E558 @ 9e864:191308

Magic Lantern version : Nightly.2022Aug04.EOSM202
Mercurial changeset   : 5b3193b29ac1 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-08-04 08:20:58 UTC by [email protected].
Free Memory  : 220K + 1911K

ASSERT: err == SUCCESS
at GUI.c:683, notifybox_task:ff0d7274
lv:0 mode:3

notifybox_task stack: 1f0d98 [1f0e18-1efe18]
0x000D4A84 @ bd990:1f0df0
0x00001900 @ ff0d7270:1f0dd0
0x0009E558 @ 9e864:1f0d98

Magic Lantern version : Nightly.2022Aug04.EOSM202
Mercurial changeset   : 5b3193b29ac1 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-08-04 08:20:58 UTC by [email protected].
Free Memory  : 220K + 1908K


I remember that at some point, I could get the cam to write a detailed log of every event in a file on the SD card, but I could not find that function today. Anyone knows how to make it happen?
Title: Re: Danne's crop_rec_4k experiments for EOS M ISO not changing, strange behavior
Post by: CalculatinGenius on August 12, 2022, 01:16:02 AM
(first time posting, excuse any weirdness)
My EOS M on the Danne build from May is behaving really strangely. On my camera, it won't let me change the ISO consistently. It seems to only randomly change when I spin the dial. The shutter also won't go higher than 1/150th for some reason?
link to a video of my problem: https://photos.app.goo.gl/iuJn2wAsSkg31TgQ8
Kill canon GUI is on, i dont know how to check for modules loaded but I haven't modified the build myself. shooting at 25fps with the standard 1080p mode 10 bit raw (to avoid pink frames.)
the overexposure issue in the video was fixed by turning off 25fps and restarting the camera and turning it back on? i really don't know and ended up just stopping down the lens a lot for some scenes. also removing the battery and SD card changed nothing.
recording video itself seems to work fine though and i got plenty of usable footage, but losing ISO and good shutter control was a pain.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on August 20, 2022, 11:27:10 AM
I was thinking about pinhole again today... And I think that one can try to make a stereoscopic camera with two isolated pinholes on a single camera. What do you think?

What is new in the latest build? Is there some feature rollback? I think that I saw something about reverting in commit comments. Am I wrong?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: scriptmonkey on August 21, 2022, 12:53:16 PM
Hi, I just installed ML on EOS M and I am completely new to it. It was the experimental version crop_rec_4k_mlv_snd_raw_only_2022Aug04.EOSM202.zip. I did it in a hope of having 5k anamorphic frtp continuous, which is the only video mode which interests me at the moment (low light loss on the sensor and no aliasing). Before installing, I chose "clear camera settings".

So, in this fresh install, firstly I have set the mode: (https://i.ibb.co/x5YMjKj/ml-mode.jpg) (https://ibb.co/f09CpVp)
Then the hacks: (https://i.ibb.co/RvQVJx0/ml-hacks.jpg) (https://ibb.co/8KPSQW5)
As suggested in the mode description, UI kill ON. I have also set basic things as suggested in "display warnings", like the manual mode.

Then I got this strange preview: (https://i.ibb.co/X8tVwjZ/ml-preview-lines.jpg) (https://ibb.co/SrBJL5X)
It is not quite static, the colored fields move slowly.

When resetting the camera or pressing the lens button in the bottom right corner, the preview switches to this: (https://i.ibb.co/d41rkgT/ml-preview-flicker.jpg) (https://ibb.co/1GhLR6g)
The top part shows now a clear preview (dark in the screenshot as there was actually no light) and the bottom part flickers fast random pattern/black.

I never got the nice preview from Zeek's video https://www.youtube.com/watch?v=a8FM_nlA8R8&t=1s, i.e. recording levels on the bottom. Additionally, when pressing the Menu button in ML menus, the camera sometimes bricks. After power cycling there is only the green led blinking. Removing the battery helps returning to ML.

I wonder if there are some settings, not shows in Zeek's video, which allow to obtain his results and stabilize ML?

Firmware 2.0.2, 512GB 120MB/s sd card. LM installed via "update firmware". Under Debug, there is something like this: (https://i.ibb.co/vwx4wSf/ml-debug.jpg) (https://ibb.co/cgchgjR)
I do not know if it is a problem or if it was like that from the beginning or only after a number of freezes/debrickings.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: 2blackbar on August 21, 2022, 06:20:01 PM
pinhole video is crap on M, you need very high iso to shoot with it, cool as one time experiment tho, try it, get disappointed and move on like most folks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on August 24, 2022, 02:47:43 PM
Quote from: scriptmonkey on August 21, 2022, 12:53:16 PM
Firmware 2.0.2, 512GB 120MB/s sd card.

Could you load bench.mo, reboot? Access Debug tab -> Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min).
Immediately after benchmark start press Play button to enter Review/Play mode. Share results.
I suppose Overclocking (in same tab) is adjusted to "192 MHz", right?

Judging by the number shown in first screenshot (16.5 MByte/s) your card is not well suited to run this overclocking speed. You may want to run a benchmark on your PC to verify card's native speed limit (without overclocking). Use a decent cardreader.
If write speed is substantial higher than 16.5 MByte/s you have to rerun benchmark number after adjusting overclocking to 160 MHz and a reboot to enable changes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: scriptmonkey on August 24, 2022, 04:13:51 PM
Quote from: Walter Schulz on August 24, 2022, 02:47:43 PM
Could you load bench.mo, reboot? Access Debug tab -> Benchmarks -> Card Benchmarks -> Quick R/W benchmark (1 min).
Immediately after benchmark start press Play button to enter Review/Play mode. Share results.

at 192 MHz: write=23.6, read=19.9
at 160 MHz: write=54.3, read=57.2

Quote from: Walter Schulz on August 24, 2022, 02:47:43 PM
I suppose Overclocking (in same tab) is adjusted to "192 MHz", right?

Yes. Could it have any meaning, even that I did not even record anything? It seems like I have some GUI problems. The mentioned flickering. Then, in Video mode there is always an indication that Zoom is either x5 or x10. I am not sure if there is really any, perhaps. I can only toggle between these two with the lens on-screen button.

Quote from: Walter Schulz on August 24, 2022, 02:47:43 PM
If write speed is substantial higher than 16.5 MByte/s you have to rerun benchmark number after adjusting overclocking to 160 MHz and a reboot to enable changes.

Yes, as seen it's much better at the lower frequency of 160 MHz. But the flickering is still there. In 5k frtp bottom of the screen flickers if magnify x5, everything becomes garbage if magnify x10. As I said, no way of disabling the "magnification" completely.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on August 25, 2022, 03:17:01 AM
@scriptmonkey, I see that you are using custom modes.
Try erasing all the files on the card and copy only the folders that come with the build.
(Erase the files on a computer reading the card. Do not reformat, otherwise you will have to make the card bootable again)

When loading ML, tap the screen to choose 5kfrtp.
Once it loads, shut down the camera.
Turn on the camera and tap the screen again, then choose 5k frtp.
Record a few clips.

Le me know i this resolves your UI problems...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: grusochsten on August 27, 2022, 08:14:02 PM
I'm having some difficulties with HDMI monitor to a Samsung Galaxy A52s phone on the latest build. I'm using a cheap capture card from Amazon.

HD 1080p: Completely black
HD 1080p 30fps: Fully functional*
2.5K centered: Fully functional*
2.5K 1:1: Fully functional*
3K 1:1: Fully functional*
4K: Fully functional*
5K anamorphic: Completely black
5K anamorphic: Completely black
2.8K 1:1: Fully functional*
2.5k centered frtp: Image goes either white/pink or freezes
2.5k centered frtp hdmi: Image goes either white/pink or freezes
2k 1:1: Fully functional*
5k Anamorphic frtp: Image goes either white/pink or freezes

* Framing does not work.

The only way I get any use out of a monitor with the far from optimal gear I'm using now is 2k 1:1. Could it be the capture card or is it perhaps my camera acting up?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 08, 2022, 08:17:32 AM
Hi guys!
Didn´t test this yet but seems a nice boost for the eos m. Encourage users to help out here:
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240127#msg240127
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 12, 2022, 11:32:55 AM
New version in first post.

Added theBilalFakhouri nice little sd_uhs hack into this eos m version. Default install now is 240Mhz.
Commit:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/6db3b21863c86e9ac0cd208d7977b8b7f6431d24

Source:
https://www.magiclantern.fm/forum/index.php?topic=26634.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Corallaro on September 12, 2022, 11:51:11 PM
Great work Danne!!! :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 13, 2022, 12:05:38 AM
100% theBilalFakhouri's work here  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 13, 2022, 12:29:51 PM
New version.
3k now works with 24 or 25 fps with 240Mhz patch. Only 2.39:1 and 2.35:1 modes will work with 24 and 25 fps.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 14, 2022, 10:59:39 AM
No luck for me  :( SanDisk ExtremePro 170MBs 128Gb "made in China" card here... I hope we can find a fix for those
@192Mhz -> 60.5MB/s
@240Mhz -> 20MB/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 11:28:50 AM
Highly unlikely "Made in China" makes a difference. Mine are chinese, too and do work with 240 MHz.
Do you own a cardreader compatible with Sandisk's 170 MByte/s read mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: wyup on September 14, 2022, 11:49:42 AM
Quote from: cedricp on September 14, 2022, 10:59:39 AM
No luck for me  :( SanDisk ExtremePro 170MBs 128Gb "made in China" card here... I hope we can find a fix for those
@192Mhz -> 60.5MB/s
@240Mhz -> 20MB/s
Exact same results by me with Sandisk ExtremePro 200MBs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 12:00:43 PM
R200 variety comes in 2 flavours:
R200/W140 for 256 GB and up
R200/W90 for 64 and 128 GB

Which one do you own?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 14, 2022, 12:03:07 PM
I tested with :
32Gb 90MB/s -> 50GB/s @ 192 & 240MHz
64Gb V30 U3 microSD (no speed indicated) -> 40GB/s @ 192 & 240MHz
No real gain here...
Frustrating..  ::)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 12:12:58 PM
Please give detailed information about the card you are actually using. Your descriptions are confusing.

If you kept your blister packages: They contain Model Name like "SDSDXXD-256G-GN4IN" and AFAIK this is the only way to tell different card generations apart.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 14, 2022, 12:17:19 PM
I have not kept the blister, unfortunately....
(https://i.ibb.co/kJZF1Zf/IMG20220914121508.jpg) (https://ibb.co/JqZPQZ4)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 14, 2022, 12:19:31 PM
You have a 128gb card. That should work with 240Mhz.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 12:27:57 PM
And your Extreme cards won't. And nobody claimed they should.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 14, 2022, 12:40:27 PM
I know, just a test, weird thing though, the speed does not fall to 20MBs with the non pro card
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ink on September 14, 2022, 01:22:26 PM
Hi guys,

Using Magic Lantern for about a year or so. Always used it with the Sandisk Extreme Pro 128Gb SD cards (on the picture above). @Danne, Is it possible to use the latest build with the Micro SD card like this?

(https://hqgsm.pl/media/catalog/product/cache/1/thumbnail/9df78eab33525d08d6e5fb8d27136e95/s/a/sandisk-extreme-pro-microsdxc-128gb-170-90-mb-s-a2-c10-v30-uhs-i-u3.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 14, 2022, 01:48:43 PM
Quote from: Walter Schulz on September 14, 2022, 12:12:58 PM
Please give detailed information about the card you are actually using. Your descriptions are confusing.

If you kept your blister packages: They contain Model Name like "SDSDXXD-256G-GN4IN" and AFAIK this is the only way to tell different card generations apart.

I still have my original boxes. Both of my cards are SDSDXXY-128G-GN4IN. The only difference I could find (Visually) is the China/Malaysia difference (First doesn't work, second does, and very well).
I tried using chipgenius to see if it could expose something, but the software only works with usb sticks.
Is there a known way to expose the chip types or revisions of the cards?

BTW, the Sandisk extreme 256GB Micro SD now works @192, where it previously worked @160. 192MHz gives 2.5K 1:1 12 bit continuous and  14bit 2+ minutes on EOS M, which is still a good improvement.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 02:17:55 PM
Quote from: ink on September 14, 2022, 01:22:26 PM
Using Magic Lantern for about a year or so. Always used it with the Sandisk Extreme Pro 128Gb SD cards (on the picture above). @Danne, Is it possible to use the latest build with the Micro SD card like this?

Not Danne but I use MicroSD a lot. All tests done for Bilal happened with microSD exclusively.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ink on September 14, 2022, 02:23:31 PM
Quote from: Walter Schulz on September 14, 2022, 02:17:55 PM
Not Danne but I use MicroSD a lot. All tests done for Bilal happened with microSD exclusively.
So are they working fine or are there any issues with these microSDs?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 14, 2022, 02:28:17 PM
Quote from: gabriielangel on September 14, 2022, 01:48:43 PM
BTW, the Sandisk extreme 256GB Micro SD now works @192, where it previously worked @160. 192MHz gives 2.5K 1:1 12 bit continuous and  14bit 2+ minutes on EOS M, which is still a good improvement.
Good to see that there's improvement also in other ways. Bilal's code includes a few different approaches so I guess more stuff could be refined.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 14, 2022, 02:44:44 PM
Quote from: ink on September 14, 2022, 02:23:31 PM
So are they working fine or are there any issues with these microSDs?

If you ask for any issue: Yes, if you insert an adapter without microSD card cam will stall at startup without any error message. Plain Canon firmware throws an error.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ink on September 14, 2022, 03:43:53 PM
Quote from: Walter Schulz on September 14, 2022, 02:44:44 PM
If you ask for any issue: Yes, if you insert an adapter without microSD card cam will stall at startup without any error message. Plain Canon firmware throws an error.
:D

I bet I can cope with that!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: TrincaEspinhas on September 14, 2022, 06:13:07 PM
For some reason with theBilalFakhouri's sd_uhs.mo I can get W 77MB/s & R 86MB/s at 192MHz but with the sd_uhs.mo included in the latest release I can't get past 20MB/s in both W&R at 192MHz.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 14, 2022, 06:15:45 PM
Quote from: TrincaEspinhas on September 14, 2022, 06:13:07 PM
For some reason with theBilalFakhouri's sd_uhs.mo I can get W 77MB/s & R 86MB/s at 192MHz but with the sd_uhs.mo included in the latest release I can't get past 20MB/s in both W&R at 192MHz.
Interesting. Could people having issues with my version of sd_uhs.mo replace and test it with the original one here from bilal:
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240128#msg240128
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 14, 2022, 06:30:40 PM
Quote from: TrincaEspinhas on September 14, 2022, 06:13:07 PM
For some reason with theBilalFakhouri's sd_uhs.mo I can get W 77MB/s & R 86MB/s at 192MHz but with the sd_uhs.mo included in the latest release I can't get past 20MB/s in both W&R at 192MHz.
@TrincaEspinhas.
Could you test latest again? I added a missing code bit in sd_uhs code. Might work better now for 192Mhz.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: TrincaEspinhas on September 14, 2022, 06:39:21 PM
Yeah, the latest sd_uhs build did the trick. It's working again. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 14, 2022, 06:48:05 PM
Thanks for test and report 👍.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 15, 2022, 06:23:40 AM
Some Hi-res results with the latest build:

crop_rec_4k_mlv_snd_raw_only_2022Sep14.EOSM202.zip
Sandisk Extreme Pro 170 MB/s 128GB SD @240 MHz
only  lvface hack enabled (as opposed to  lvface+aewb)
Shutter fine-tuning set to +0.87ms when using the 2.5k preset (Value changes depending on the preset chosen. It gives roughly 1/48s shutter speed)
Histogram on while recording.

Summary:

100GB worth of clips recorded over the course of 1 hour
Only 1 clip was corrupted.

3k (3000x1256, 2.39:1 AR)

10bits @23.976fps : 1 minute +
12bits @20fps : 1 Minute +

2.8K (2880x1170 2.39:1 AR)

14bits @23.976 : 1 Minute + (But often stops before 1 minute)
12bits @23.976 : 1 Minute +
10bits @23.976 : Continuous (Green / Orange Light)

2.5k (2520x1054 2.39:1 AR)

14 bits @23.976: Continuous (Green Light and tolerates some overexposure)

The latest mods added the possibility to record 3k 10 bits @23.976fps, 2.8k 14 bits under controlled conditions; and made the 2.5k mode more robust at 14 bits.
So 2.5k is the recommended mode for moving subjects and situations where the variations in brightness cannot be controlled.


I limited the recordings to about 1 minute for the test, but it is possible to go to 3-4 minutes with proper exposure and
beyond 10 minutes by underexposing the image (But the camera will get above 50 degrees a lot faster).

Follow the method below, but once you are done exposing using the false colors,
drop the exposure so that the histogram reads 2.0 instead of 1.0

Details:

In order to get longer recording times, it is very important to properly expose the image.
I usually use the function Danne added a few builds ago to toggle the False Colors on/off with the SET button.
I also enable the histogram (and I leave it on while recording).

The false colors should be mostly Grey shades and Green for the Main Subject, with some bright Orange on the bright parts;
and only hints of yellow here and there for the highlights BUT NEVER ANY DARK ORANGE or RED!!!
Histogram should be between 1.2 and 1.0
Here is a video of a few clips I recorded using this method: https://bit.ly/3eKo5e9 (https://bit.ly/3eKo5e9)

I use a variable ND filter  on top of a circular polarizer. The polarizer helps taming the highlights so that you can push exposure a little more.
Even when I record 2.8K or 3K, I scale down to 2.5K for editing and export. This gives a finer-grained noise and give you a crisp picture to feed to your favourite 4K upscaler.

I posted pictures of the MLV App screen and one of the Files on disk.
Those who want to verify the actual data rates can have a look at those.
You can also see how the recordings went. For example, because it was a cloudy day, as soon as the sun became brighter while recording, the recording stopped.

If you see a clip of 1 minute or more, it means it was going well (Orange Light) and I stopped it myself.
A clip of less than 1 minute means it stopped by itself.

It is preferable to use a dummy battery and power bank. That way, I only stopped recording for a  minute after recording clips for 43 minutes. The temperature was 54 degrees C.
I tried on my second camera which has an LP-E12 battery and it gets to 52 degrees after recording only a few clips.

Thanks to Bilal and Danne, a lot of us will have even more fun :)

Screenshots:

(https://i.ibb.co/ZWNqPQM/Files-mlv-a.jpg) (https://ibb.co/ChWRZjH)

(https://i.ibb.co/gVktn8x/Files-mlv-b.jpg) (https://ibb.co/16FRSNk)

(https://i.ibb.co/ByhwnRD/Files-finder.jpg) (https://ibb.co/Mcz9BLT)


Recording longer clips:

(https://i.ibb.co/jG27hRR/Long-Recordings-Trial.jpg) (https://ibb.co/K7kC6ww)







Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 06:56:47 AM
Thanks for sharing tests.
What if you disable histogram? Do you enable both hacks as well from bilal? lvface + aewb?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roterabe on September 15, 2022, 09:15:54 AM
New to the forum guys, but just a bit of quick info from me.

The new changes do in fact stabilize 192MHz quite a bit. Running a Samsung Evo Plus 128GB MicroSD at 192MHz now results in around 52-54MB/s versus the 48-52MB/s I used to get at 160MHz and 192 previously resulted in a sudden drop of around 20MB/s.
I have yet to test video recording though. I'll probably do a test with a SanDisk Extreme Pro next month, but I'll probably take the forum's word for it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 15, 2022, 10:38:48 AM
Quick question Danne, I have updated today accordingly (deleted all sd card content, copiew new over and went through original canon update mechanism etc). After that even 1080p could only record for 3 seconds etc. Turning down to 192MHz also didnt help. After that I swapped out the sd_uhs.mo module and now everything works fine but I have a feeling that there is no option anymore to change the sdcard frequency in the menu. Is it now hardcoded to 240MHz? If so all good because after that 1080p worked fine again and now I have run 2.5k preset (without frtp) at 16:9 with 2400px width and 12 bit this one was really stable for me!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 10:50:37 AM
Well, a lot of testing around sd_uhs lately.
Do you mean latest download isn´t working when set to 192Mhz? What sd_uhs module are you using that is working then?
You can test todays download again. I changed to new version a couple of times today.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 12:12:27 PM
Added bilal latest code to sd_uhs just now. Download in first post
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240328;topicseen#msg240328

To be tested is 240Mhz cards working now that did not work from before?
Is 192Mhz working as before with cards using the preset successfully before.

Happy testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 15, 2022, 12:34:44 PM
ahaaaaa today in the morning I have downloaded the build and it said uploaded 17min ago or so. I assumed Bilals 240MHz was part of it already.

In short:
Downloaed 2022Sep15EOSM202.zip and only after replacing with the original from Bilal ( https://www.magiclantern.fm/forum/index.php?topic=26634.msg240128#msg240128 ) it worked again but I have the feeling that now the option is missing for sdcard frequency
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 12:54:53 PM
What exactly is working with Bilals original version? Did you enable the 240Mhz preset? You need to do that manually and it´s under debug menu I think. Enable and restart camera.

Could you also test bilals new version from here? Also needs to be enabled from menu or else nothing is patched. Enable and restart camera.
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240328;topicseen#msg240328

And if they both don´t work. Are you saying 192Mhz is working with older eos m build prior to these new test versions?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 01:01:36 PM
Good news here, the card benchmark reports 40MBs but recording go higher with last build... I've been able to record 2.5K at around 78MBs continuously.
I will do more test this afternoon
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 01:07:38 PM
Nice. Wonder if benchmark is using the orignal patch but recording 240Mhz2? Or maybe I am asstalking  :o.
Bilal. Do you know what's going on? Why two different 240Mhz in same code? Maybe just replace wirh the later one fully?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 01:08:25 PM
I suppose you did something wrong, cedricp. Something like setting SD overclocking frequency and running benchmark without restart.
I think it is impossible to have a 40 MByte/s benchmark run (which is standard for non-overclocking benchmarks) and having 78 MByte/s recording without reboot.
Card used, btw?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 01:11:21 PM
I used the 128gb in the picture I attached earlier.
I did reboot after the setting change...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 01:19:10 PM
Ok, I made a write benchmark and I accidentally pushed the set button,what deactivated the live view... Indeed I get 69MBs now  :D
Thanks for that hack
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 01:21:13 PM
Have you tested your other cards yet?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 01:24:01 PM
Not yet, was too excited to test it at such a speed  :D
I wil for sure do that
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 01:25:02 PM
Quote from: cedricp on September 15, 2022, 01:19:10 PM
Ok, I made a write benchmark and I accidentally pushed the set button,what deactivated the live view... Indeed I get 69MBs now  :D
Thanks for that hack
Ok, might be confusing with all builds here but here is one which replaced older 240Mhz string with bilals latest. If you could test it that would be good. At 240Mhz and 192Mhz:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/sd_uhs.mo
Replaced by eosm full build. Code seems stable.

When benchmarking you could switch to photo mode and just before benchmarks start push play button for maximum readings.

Now only this is present in patch when in 240Mhz:
static uint32_t sdr_240MHz[]     = {        0x3,        0x3,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };

static void WriteClock(uint32_t* regs, uint32_t* stack, uint32_t pc)
{
    memcpy(uhs_vals, sdr_240MHz, sizeof(uhs_vals));
}

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 15, 2022, 02:14:09 PM
Quote from: Danne on September 15, 2022, 06:56:47 AM
Thanks for sharing tests.
What if you disable histogram? Do you enable both hacks as well from bilal? lvface + aewb?


I only use lvface, because I want to use shutter fine-tuning (Shutter speed still drifts when hitting record with +aewb enabled).

If you use lvface+aewb, 2.8k 14bit will stop less often before reaching the 1 minute mark, and it tolerates overexposure more. By that, I mean that if the scene becomes brighter, the recording won't stop immediately.
I did not notice a significant difference at 3k 23.976 fps 14bits when also using +aewb.

Regarding disabling the histogram, I'll record a few clips on my way home later and let you know.

I will update my previous post with those details.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 15, 2022, 02:17:26 PM
Quote from: cannibalferox on September 15, 2022, 12:34:44 PM
ahaaaaa today in the morning I have downloaded the build and it said uploaded 17min ago or so. I assumed Bilals 240MHz was part of it already.

In short:
Downloaed 2022Sep15EOSM202.zip and only after replacing with the original from Bilal ( https://www.magiclantern.fm/forum/index.php?topic=26634.msg240128#msg240128 ) it worked again but I have the feeling that now the option is missing for sdcard frequency

When using Bilal's codes, you have to go in the DEBUG tab, at the bottom. You will see the Overclock frequency there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 02:19:34 PM
Quick test with the 32Gb/90MBs and it looks like perfs are better. I have been able to record 2520x1070@12bits continously. (Benchmark says 62MB/s, got 48MB/s before the 240MHz hack)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roterabe on September 15, 2022, 02:21:23 PM
Quote from: Danne on September 15, 2022, 01:25:02 PM
Ok, might be confusing with all builds here but here is one which replaced older 240Mhz string with bilals latest. If you could test it that would be good. At 240Mhz and 192Mhz:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/sd_uhs.mo

When benchmarking you could switch to photo mode and just before benchmarks start push play button for maximum readings.

Now only this is present in patch when in 240Mhz:
static uint32_t sdr_240MHz[]     = {        0x3,        0x3,                             0x1, 0x1D000001,        0x0,      0x100,      0x100,      0x100,        0x1 };

static void WriteClock(uint32_t* regs, uint32_t* stack, uint32_t pc)
{
    memcpy(uhs_vals, sdr_240MHz, sizeof(uhs_vals));
}


Color me impressed. The new sd_uhs module managed to squeeze 55.2MB/s out of a Samsung Evo Plus MicroSD. It's quite impressive. We should also note that 240Hz works at all.
(https://i.imgur.com/2QgdrPi.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 02:29:20 PM
Same with the microSD 64Gb/90MBs, 62MB/s now (that was the worst case before the hack with 42MBs)
Super happy :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 15, 2022, 02:33:40 PM
Okay, sorry for all the confusion let me explain a few things in correct order because I have now run a lot of benchmark tests.
1. I reverted to the magic lantern version I used before with 192MHz. Results in 59,15MB/s with Apr27 build
(https://i.imgur.com/IeupQRS.png)

2. I updated back to Sep15 the newest build @240MHz with 19.95MB/s and my fault in the morning was when changing sdcard frequency I havent rebooted but now after the reboot 192MHz works as before with 59.x-ish MB/s so sorry for the confusion
(https://i.imgur.com/q4hb7uT.png)

3. I then switch the sd_uhs.mo danne suggested with the 104 patch and voila now I get 67.3MB/s @240MHz
(https://i.imgur.com/96Ker85.png)

4. Lastly I tried out at least to my knowledge the 16:9 mode with highest pixels out 2.5k without frtp at 16.9 maximum resolution which is I think 2512px wide and 1400-is height. The setting was on purpose a touch overexposed (f-stop down no nd filter on) and with 14bit it worked only for a couple of seconds but with 12bit it was already pretty stable (!)
(https://i.imgur.com/VXNbdF9.png)

If a mod can help out please resize the images or tell me what I need to add so I can make them smaller :)

All in all thanks a lot to all of you guys! Impressive to get almost another 10MB/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 02:37:35 PM
Quote from: roterabe on September 15, 2022, 02:21:23 PM
The new sd_uhs module managed to squeeze 55.2MB/s out of a Samsung Evo Plus MicroSD.
Samsung prints a string on card's contact side. Something like MB-MC128G. We need this string to tell which generation is in use because it can make a big difference!

Quote from: roterabe on September 15, 2022, 02:21:23 PM
We should also note that 240Hz works at all.

Ehm ... do you mean "I tested this card with 240 MHz overclocking and it works"?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 15, 2022, 02:43:10 PM
It's better to run benchmarks in Play mode (outside LiveView):

-Load bench.mo from "Modules" tab in ML menu, restart camera
-Turn off RAW video
-From ML menu, "Debug" tab, Click on "Benchmarks" --> "Card Benchmarks" -->   Run "Quick R/W benchmark (1 min)"
-Press Play button quickly

Share the result
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 15, 2022, 02:47:59 PM
In play mode the 128Gb Extreme pro 170MB/s reports a fabulous 95Mb/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 15, 2022, 02:57:02 PM
By the way I wanted to mention while I did a couple of minutes test recordinings as in the fourth picture I started to smell something :D Which was the hot sdcard so I can definetly confirm higher temperatures.

Towards the Liveview/Play Mode I have now only repeated it with the last version plus patch I am running now:
Writespeed1 95.3MB/s
Readspeed1 85.6MB/s
Writespeed2 94.7MB/s
Readspeed2 85.6MB/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Possie on September 15, 2022, 03:23:07 PM
SanDisk Extreme Pro 128GB  170 U3
high 60's with spikes up to 77 read and 86 write

Samsung Pro Plus 128 GB
73 write only

Lexar 64GB 1000x
almost 70, dropping to 49 write only
After 1 run dropping to low/mid 50's

On EOS M sept 15 build + patch
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 03:30:38 PM
Quote from: Possie on September 15, 2022, 03:23:07 PM
SanDisk Extreme Pro 128GB  170 U3
high 60's with spikes up to 77 read and 86 write

Play mode or MV-xxx?
To enter play mode press play button after starting benchmark run.

If benchmark is not running like a clock in play mode you should consider running a low-level format in cam and redo tests.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Possie on September 15, 2022, 03:47:45 PM
Holy cow ! Redid the benchmarks.

Samsung hitting 99 write speed - high 80's read. Insane !

SanDisk 92/85 write/read (most consistent performer)

Lexar does only high read speeds 80's - low write 50
After low-level format of the card it's reversed -barely hitting 60 write. It's a wonky card I use for my M2. 

That play button trick worked a charm
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 15, 2022, 03:50:09 PM
Something is worth taking into account:

You need to restart the camera, load a new preset and try to record a short clip at least twice after copying the new files to the SD Card.
If you don't, you may get the impression that it isn't working, but it maybe will...

Does anyone knows why?

In my case, at first I got a few error messages, saying "frame corruption" on screen, but after restarting, even my Sandisk Extreme 256GB (Red and Gold) works @240MHz!!!!!
(https://i.ibb.co/SNb9KGL/bench10-Sandisk-Extreme-256.jpg) (https://ibb.co/2qxfjHb)

The Sandisk Extreme Pro 170 MHz 128GB which did not work a few days ago @240 also works now!
Will report frame corruptions later.


Here are the error messages I got before the 3rd restart, if it can be of any help:

ML ASSERT:
0
at mlv_lite.c:2892 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1de948 [1de9d8-1dd9d8]
0x0009EC30 @ bddb24:1de978
0x0009E558 @ 9ec8c:1de948

Magic Lantern version : Nightly.2022Sep15.EOSM202
Mercurial changeset   : e4663790da85 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-09-15 10:08:56 UTC by da.
Free Memory  : 219K + 1891K

ML ASSERT:
0
at mlv_lite.c:2873 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1ded50 [1dede0-1ddde0]
0x0009EC30 @ bd6d10:1ded80
0x0009E558 @ 9ec8c:1ded50

Magic Lantern version : Nightly.2022Sep15.EOSM202
Mercurial changeset   : e4663790da85 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-09-15 10:08:56 UTC by da
Free Memory  : 219K + 1890K

ML ASSERT:
0
at mlv_lite.c:2873 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1ded50 [1dede0-1ddde0]
0x0009EC30 @ bd69b0:1ded80
0x0009E558 @ 9ec8c:1ded50

Magic Lantern version : Nightly.2022Sep15.EOSM202
Mercurial changeset   : e4663790da85 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-09-15 10:08:56 UTC by da
Free Memory  : 219K + 1895K

ML ASSERT:
0
at mlv_lite.c:2873 (compress_task), task compress_task
lv:1 mode:3

compress_task stack: 1ded50 [1dede0-1ddde0]
0x0009EC30 @ bd6920:1ded80
0x0009E558 @ 9ec8c:1ded50

Magic Lantern version : Nightly.2022Sep15.EOSM202
Mercurial changeset   : e4663790da85 (crop_rec_4k_mlv_snd_raw_only) tip
Built on 2022-09-15 10:08:56 UTC by da
Free Memory  : 220K + 1911K
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 04:02:38 PM
Quote from: Possie on September 15, 2022, 03:47:45 PM
Samsung hitting 99 write speed - high 80's read. Insane !

Lexar does only high read speeds 80's - low write 50

That play trick worked a charm

Play mode is a method to get card/cam limit without that much overhead by running tasks. You won't get near those numbers during recording.

We need a little more info about your cards.
Samsung prints a string like MB-SD128K on card's contact side. This string is necessary to tell card generations apart and that can make a really big difference!
Lexar is not that easy to read. Manufacturer product string goes like LSDMI32GCBNL1000R. You may find the string on your bill/invoice or somewhere on blister.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Possie on September 15, 2022, 04:12:06 PM
Thanks for the help Walter.

Samsung invoice reads MB-SD128K/EU

The 4 min test in 5K mode passed - even with the whole screen filled with blown highlights it stays orange with occasional red.

Lexar card is from the GH2 hack days so pretty ancient. No blister package or invoice. I'd say it's irrelevant to test my specific old card further.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 15, 2022, 04:26:52 PM
Quote from: gabriielangel on September 15, 2022, 03:50:09 PM
Something is worth taking into account:
Could be several things causing these issues. What preset used, fps, bitrate, using histogram etc will affect what is going on.
Do all tests without any liveview extras and if you then decide to run all bells and whistles it's up to you but tests with extras on will not be a good idea.
Thanks for reports
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 15, 2022, 04:34:30 PM
Yeah, thanks all for your reports guys!
If you face another issue with 240 MHz, you know where to find me :P

Quote from: cannibalferox on September 15, 2022, 02:57:02 PM
... I started to smell something :D Which was the hot sdcard so I can definetly confirm higher temperatures.

I remember my first day too with 700D and 240 MHz :P
It seems my 100D get hotter than 700D, due to compact size and close distant for internals hardware.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 06:25:27 PM
And another one stable @240 MHz:
Samsung PRO Plus 256 GB, R160/W120 MB-SD256KA
(https://abload.de/img/bench36ydcuy.png)
Seems to have same performance as 128 GB variety. Lower capacities should perfom not as well according to Samsung specs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 15, 2022, 07:38:12 PM
Adata Premiere One V90 (UHS-II): Sadly not reliable at write for 240 MHz. Once stellar 98.0 MByte/s then in the eighties. Or other way round.
Insanely bad price/performance ratio for UHS-I anyway.
Title: Re: Danne's crop_rec_4periments for EOS M
Post by: Papa-Yeti on September 16, 2022, 01:07:35 AM
Adding an SD card test result to the discussion.

SD Card: Lexar Professional 256GB 1066x SDXC UHS-I (Silver Series)
Read:Write (OEM claimed): 160MB/s:120MB/s
Preset/bit rate: 5K anamorphic frtp / 14bits
Resolution/Aspect ratio: 1264x2134 / 1:2
Recording Time: User stops @ 2 minutes

(https://i.ibb.co/1KcsTBK/lexar-256-GB-1066x-UHS-1.jpg) (https://ibb.co/Y8gDhJ8)

Will keep testing this card with other resolutions and report back but as of now, I'm happy with the current hack. Thank you, developers! :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 16, 2022, 05:45:03 AM
Thanks for testing Walter.
I uploaded a build with the latest code which seems stable enough coming from reports. Please keep on testing and also report if for instance 192Mhz isn´t working, especially if it was working before and so on.
Expected cards now fully working are sandisk extreme pro cards 170Mb/s and probably also 95Mb/s. Seems a few other cards do work as well but most common card seems sandisk atm.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roterabe on September 16, 2022, 07:15:52 AM
Quote from: Walter Schulz on September 15, 2022, 02:37:35 PM
Samsung prints a string on card's contact side. Something like MB-MC128G. We need this string to tell which generation is in use because it can make a big difference!

Ehm ... do you mean "I tested this card with 240 MHz overclocking and it works"?

Right then, sorry. The Samsung Evo Plus MicroSD manufacturer code is MB-MC128H.

And yes, you are correct. I did test 240MHz with that result.
It seems stable for the moment. For a rather cheap card I had lying around, it's doing well at 14bit 1080p and slightly below 2.3K 12bit. Anything above that is pretty much impossible, but still. Impressive nonetheless.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 16, 2022, 08:04:32 AM
Some tests to check for corrupted frames.

Sandisk Extreme 256 Micro SD (Red and Gold) SDSQXA1-256G-GN6MA

crop_rec_4k_mlv_snd_raw_only_2022Sep15.EOSM202.zip
Didn't touch anything, except for the 2.39:1 Aspect Ratio.

Results: (Click to enlarge)
(https://i.ibb.co/KKBdM4D/Sandisk-Extreme-SDSQXA1-256-G-GN6-MA-Report-2.jpg) (https://ibb.co/WV7Zb80)

Camera Temperature peaked at 54 Degrees C.
I did not notice anything obvious as far as image quality goes, which could have happened because since the camera gets hot to the touch, the sensor could run hotter too.
The card stopped recording when I was close to full capacity (About 10GB free space left). At first I thought it was because of the heat, but only erasing all the files on card restored the speed.

There is a drop of speed when you get in the vincinity of 54 Degrees C. Happened after about 30 minutes recording the 30 seconds clips, sooner when recording 3 minutes clips (Those are still copying to disk as I am writing this).
Taking the card out and blowing air on it fixed it.
I only got corrupted clips when I got close to the full capacity of the card. Everything else is corruption free.

Method:

I shot the following chart at 3k, 2.8k, 2.5k; at every bitrate. (If someone has a more appropriate chart, please let me know)
Since the moiré happening because I am recording an LCD screen has some movement into it, I guess it should put enough strain on the compressor to be realistic.
(https://i.ibb.co/YRMTYJz/ML-Test-Recording-Chart.jpg) (https://ibb.co/1v5JhBD)

Shot at 4 Exposure levels, to check how dark we have to go...
(https://i.ibb.co/1znDgq4/63percent.jpg) (https://ibb.co/XY4hQsG)
(https://i.ibb.co/4dB7SJk/70percent.jpg) (https://ibb.co/nChb1Rp)
(https://i.ibb.co/GxynLRz/80percent.jpg) (https://ibb.co/8KqNp91)
(https://i.ibb.co/7j6BdbV/92percent.jpg) (https://ibb.co/GnbG4Fk)

Files:

(https://i.ibb.co/Fwm7rwS/MLVFiles1.jpg) (https://ibb.co/HzBgSzW)
(https://i.ibb.co/rHj9xbX/MLVFiles2.jpg) (https://ibb.co/yq926hx)
(https://i.ibb.co/fGW03Xr/MLVFiles3.jpg) (https://ibb.co/TqGhQwP)
(https://i.ibb.co/NWDYWVw/Finder-Files1.jpg) (https://ibb.co/r58y57n)
(https://i.ibb.co/mJprKzZ/Finder-Files2.jpg) (https://ibb.co/xhZKb59)

Benchmarks

@240Mhz
(https://i.ibb.co/KrLkkgk/bench-Sandisk-Extreme-256-240-MHz.jpg) (https://ibb.co/5Rnyy3y)

@192Mhz
(https://i.ibb.co/x8KXqZ4/bench-Sandisk-Extreme-256-192-MHz.jpg) (https://ibb.co/93mcHPM)

@160Mhz
(https://i.ibb.co/LZPP9JZ/bench-Sandisk-Extreme-256-160-MHz.jpg) (https://ibb.co/71zzrR1)

Overclock Off
(https://i.ibb.co/92hSwKk/bench-Sandisk-Extreme-256-Oc-Off.jpg) (https://ibb.co/RPNdhrk)

I can also upload the file size and MLV app screenshots for the 3 minutes test, if someone needs to see those.

Also, my Sandisk Extreme Pro 170 128GB which didn't work @240MHz now works flawlessly.
Will add max recording times to the mix when I get a chance.

Thank you to all those involved for pushing it a step further!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 16, 2022, 10:19:08 AM
Quote from: Danne on September 16, 2022, 05:45:03 AM
Thanks for testing Walter.
I uploaded a build with the latest code which seems stable enough coming from reports. Please keep on testing and also report if for instance 192Mhz isn´t working, especially if it was working before and so on.
Expected cards now fully working are sandisk extreme pro cards 170Mb/s and probably also 95Mb/s. Seems a few other cards do work as well but most common card seems sandisk atm.

I think you got it wrong. Using latest sd_uhs modules "Sandisk Extreme Pro 170MB/s" is no longer the only card able to have highest transfer speeds and there are more than just "a few". It may be too soon to have a final word for recording but for benchmarks we got a clear picture: Any UHS-I card labeled W90 or better works above 90 MByte/s writing in EOS M. Including Samsung PRO Plus and EVO Select. I expect others (Kingston Canvas, for example) to do as well.
In Germany you will find special offers for Samsung cards quite frequently. I bought my EVO Select 256 GB for just 21 Euro.
There are two things differing from Sandisk:
You will likely get a deal frequently.
You can get the card size you need for a decent price. For Sandisk you often have to pick a big one (like 400 GB for 60 Euro) or other sizes with much worse Euro/GB ratio. Disclaimer: Samsung cards smaller than 64 GB do perform substantially worse.

Just ordered a EVO Plus 256 GB for 20 Euro and look forward to test it. I'm quite optimistic.*

Euro/GB ratio = 0.078 for Samsung
Euro/GB ratio = 0.15 for Sandisk 400 GB

TL;DR: No more "Gold Standard"? Waiting for more reports.

*EDIT: Results are in and my optimism was on spot this time. https://www.magiclantern.fm/forum/index.php?topic=25781.msg240456#msg240456
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 16, 2022, 10:24:18 AM
Sounds very nice  8)
EVO Plus 256 GB. They are micro-sd cards right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 16, 2022, 12:14:08 PM
Quote from: roterabe on September 16, 2022, 07:15:52 AM
Right then, sorry. The Samsung Evo Plus MicroSD manufacturer code is MB-MC128H.

2020 gen. Specified by Samsung for R100 and W60.
For this generation 256 GB variety is specified R100/W90.
Samsung has different performance levels for smaller and bigger cards (=storage size). For this product line and generation splitt happens between 128 GB and 256 GB. Other types may have gap between 64 and 128.

Will test MB-MC256K soon.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 17, 2022, 06:32:33 AM
Benchmark for Sandisk Ultra 128GB SDSQUA4-128GB (Red and Grey) Micro SD

This card is a No-Go.

@240 Mhz
(https://i.ibb.co/Hhg2fKm/SDSQUA4-128-G-240-MHz.jpg) (https://ibb.co/BnsP5f8)

@192 MHz
(https://i.ibb.co/Bf7nVp4/SDSQUA4-128-G-192-MHz.jpg) (https://ibb.co/9pfZ9Dw)

@160 Mhz
(https://i.ibb.co/ZKTC29S/SDSQUA4-128-G-160-MHz.jpg) (https://ibb.co/QnmGD0k)

OC Off
(https://i.ibb.co/MGTFpqj/SDSQUA4-128-G-Oc-Off.jpg) (https://ibb.co/rcPDMnL)


This is a U1 rated card. So I guess I aimed a little Too Low!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 17, 2022, 06:43:13 AM
Quote from: gabriielangel on September 17, 2022, 06:32:33 AM
This is a U1 rated card. So I guess I aimed a little Too Low!

Thanks for testing, though. ATM we have found no card doing 90 MByte/s (or more) in benchmark without W90 (or higher) label. AFAIK no W80 tested yet.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2022, 10:29:03 AM
Thanks for reports @gabriielangel. Nice to see the progress.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2022, 12:10:18 PM
Posted a new version in first post:

Now possible to switch to sdr 50 "Access". This is useful for some fast cards becoming slow while patching sd_uhs. All thanks to bilal wizardry:
https://www.magiclantern.fm/forum/index.php?topic=26634.msg240421#msg240421

(https://i.postimg.cc/Hn5G529Q/VRAM0-PPM-500px.jpg)

Sidenote: Acces to sd_uhs is in my eosm version under the Movie menu tab. I moved it from Debug menu tab.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 17, 2022, 03:17:58 PM
Samsung EVO Plus 256 GB MB-MC256K performs well in benchmark.
(https://abload.de/img/bench0zvc6k.png)

This card is on sale for 20 Euro right now. Euro/GB = 0.078 which is around half of Sandisk Extreme Pro R170/W90 best offer.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 17, 2022, 03:27:10 PM
On sale, where?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 17, 2022, 03:39:23 PM
Germany, Saturn. They don't ship outside Germany.
https://www.saturn.de/de/product/_samsung-evo-plus-micro-sd-speicherkarte-256-gb-130-mbs-2769067.html
No shipping fees for me.

Other distrubutors may export to other countries but shipping costs will most likely kill the deal. Look for local offers.

EDIT: And I haven't done any real recording sessions with this card. Will take a few hours ... household issues first.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 17, 2022, 05:21:11 PM
This Samsung EVO Plus 256 GB MB-MC256K you benchmarked sits at a very comfortable price point here in Canada. If those cards prove to be as reliable as the Sandisk  Extreme Pro,
it will give the extra space required to record 3K 1:1 to everyone.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 17, 2022, 09:47:09 PM
Samsung EVO Plus performed pretty well in benchmarks and now in recording, too.
Used an older build (02. Aug. 2022) with 14 bit uncompressed, 23.976 fps (Exakt fps) and not much more (Simple hacks = More). And Bilal's "Universal" sd_uhs.mo.

Recorded 4 clips with increasing resolution until recording broke. First 3 clips were stopped manually after 5, 6, 6 minutes.
1824x1026; 5:04; 23,971,658,752 Bytes -> 75.2 MByte/s
1856x1044; 6:03; 29,628,040,704 Bytes -> 77.8 MByte/s
1872x1052; 6:01; 29,973,235,200 Bytes -> 79.18 MByte/s
1888x1062; 0:34/816 frames; 2,874,075,648 Bytes -> 80.6 MByte/s

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 18, 2022, 11:34:40 AM
Just about 2 deals in Germany:

1.) You can get a 10 percent discount on Samsung cards via their chat. Always!
Don't know about other countries but you can get a Samsung EVO plus 256 GB MB-MC256K for 17.91 Euro until September, 25th.

2) Amazon and Saturn in their on-going "Anything you can sell cheap I can sell for the same price" duett:
"Gold Standard" Sandisk Extreme Pro 128 GB R170/W90 for 19 Euro. Via their ebay shops.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 18, 2022, 06:18:45 PM
I were wondering if a static target gave the lossless compression too much slack when testing.
It turns out that the difference between a moving or a static image is 1MB/s @ 2.5k 14 bit.

BUT

The difference between a frame exposed at 92% exposure (0.2 EV before clipping) and a frame exposed at 80% (about 1.0 EV before clipping)
is about 3.3 MB/s

Looking at Walter's Evo Plus figures (I will have a look at my Sandisk numbers tomorrow, there are a lot...), I think the exposure is worth taking into account when testing.

(https://i.ibb.co/xzMKBWR/MLV-Files-Bitrate-Test.jpg) (https://ibb.co/KV9cfd3)

(https://i.ibb.co/Q9t61n0/Finder-Files-Bitrate-Test.jpg) (https://ibb.co/JngzM2Z)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 19, 2022, 01:05:03 AM
Quote from: Danne on September 15, 2022, 06:56:47 AM
Thanks for sharing tests.
What if you disable histogram? Do you enable both hacks as well from bilal? lvface + aewb?

Leaving the histogram on doesn't extend the recording times. I reviewed the clips, and I did not get any frame corruptions though.
We're beyond the 20 minute mark at 2.5k, so it's hard to know. I will try at 3K on the next batch.

It works well at displaying overs (and avoids the pink frames) at 2.5k and 5kfrtp (And 1080p I assume?), but not accurate at all at other resolutions.
You could add an entry in your special menu as False Colors + Histogram. I put the False Colors on the SET button, and it is very quick to operate on/off.

I posted the figures for lvface+aewb in the Sandisk Ultra post last week.

Also, I previously reported that the 3k 24p preset was finnicky regarding the shutter, but it happens to all presets as soon as lvface+aewb is enabled (Sometimes 1/49, sometimes 1/50, without enabling shutter fine-tuning)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 07:51:09 AM
Uploaded yet another build.

I created below resolutions for continouos 24fps anamorphic
1664x2088 24fps
1664x2124 24fps

To enable them select:
5k anamorphic flv and enable 2.39:1 or 2.35:1 ratio. Final step enable set 25fps to enable 24fps. Yes I know it´s contradictory but I have so little time to finalize properly.
Please test and report if working.


EDIT: Seems these presets creates frame corruption. Let´s keep it for a while and tests.
EDIT:
Reverted back from adding the new presets. Too buggy.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 19, 2022, 09:27:35 AM
Yep, just tested it, lot of pink frames.... Too bad, cause it improves image quality on non pink frames :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 11:56:38 AM
Unfortunately bad timing for me tweaking this but might look into it later.
It is more stable in x3 zoom mode the way it's done with the ansmorphic real time preview but that's another rough patch to climb. I think bilal has the regs done on 700d already, at least for framing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on September 19, 2022, 02:03:14 PM
With these new speeds available, how much more resolution / crop factor reduction can we get in 1x3 mode ?
Is it time to make some new presets or adjustments for 5K frtp?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 19, 2022, 02:26:04 PM
Real-Time preview is limited to current 1x3 resolutions.
Going above current 1x3 resolutions --> you no longer have correct real-time preview, a part of preview will be missing.

650D/700D can do 1736x2214 1x3 @ 23.976 FPS 2.35:1 (full sensor width), and it's continuous in 11-bit lossless (hacks enabled). of course with stretched preview.
I don't think that EOS M / 100D can do the same, due to little slower sensor compared to 650D/700D. Will give it a try on 100D soon.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 02:54:38 PM
I got 1736x2178 24fps working. Very nice!
It works with framing atm. But It´s possible to tweak 0xC0F383D4 and 0xC0F383DC I think to at least have the croppped preview right? ANy hints on those numbers? WHat do you set it to for 700D?
       
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 19, 2022, 03:13:34 PM
Quick question whats the prefered 48fps or 50fps setting to go for as of now? Zeek has only one two year old instruction maybe some of you could share which resolution, aspect ratio and bitdepth you use without getting pink frames etc :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 19, 2022, 03:39:05 PM
Quote from: Danne on September 19, 2022, 02:54:38 PM
I got 1736x2178 24fps working. Very nice!
It works with framing atm. But It´s possible to tweak 0xC0F383D4 and 0xC0F383DC I think to at least have the croppped preview right? ANy hints on those numbers? WHat do you set it to for 700D?
     

Cool

That can be achieved by applying the preset in 1080p or 720p modes, I didn't touch preview registers. I can achieve this preset by crop_new module on 700D.
On EOS M you can do it in default 1080p which will act as 720p mode. No need to use x5 mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 03:44:07 PM
Eosm is not optimal in 1080p mode. A lot of corruption. x3 seems handling this corruption free.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 19, 2022, 03:53:09 PM
More likely corruption can be fixed by tweaking some registers. applying the 1736x2214 preset on 700D in 1080p or 720p modes is working perfectly.

I think I made 1736x2214 in x5 mode in the past in crop_rec.c, it's included in my 650D/700D source code and it's called:
CROP_PRESET_1x3_full_width

In that preset I only tweaked 0xC0F38024 to solve broken preview. But the preview is still vertically and horizontal cropped.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 04:02:48 PM
Quote from: theBilalFakhouri on September 19, 2022, 03:53:09 PM
More likely corruption can be fixed by tweaking some registers. applying the 1736x2214 preset on 700D in 1080p or 720p modes is working perfectly.
Be my guest ;). All my presets before your real time magic was built around 1080p concept. Also heavily tested around movie crop mode. It's not working the same as the other cams if you ask me.
Could I ask for source code links to your stuff :P? So many posts.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on September 19, 2022, 04:11:27 PM
My latest source code is always included in first post in Bilal's crop_rec_4k experiments for 650D / 700D (T4i / T5i) (https://www.magiclantern.fm/forum/index.php?topic=25784.msg231049#msg231049).

Quote from: theBilalFakhouri on September 18, 2020, 07:51:30 PM
Source-code:
magic-lantern-bilal (25-5-2022).7z (https://drive.google.com/file/d/1ZhlTQwCPHHb0QNqrpGHqfV8-NVqv30P7/view?usp=sharing) (crop_rec_4k branch)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 04:18:12 PM
Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 19, 2022, 05:29:47 PM
I tested Today's build with 5kflv (Downloaded 2 hours ago),

It doesn't work for me at 23.976 fps (lvface+aewb), but it works at 19.999 fps (Even with only lvface, And at that res, the sharpness is quite nice).

I tried with both Sandisk Extreme Pro cards I have, with SDR50 and SDR104 patches.

Trials here: (I stopped by myself close to 20 seconds if it kept going. 10 am+ is the newest card, 11 am+ is the older card)
(https://i.ibb.co/pQ71Wt8/Tests.jpg) (https://ibb.co/m0jRvLw)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 19, 2022, 05:37:00 PM
I have a version working with 1736x2178. Will try and get cropped realtime preview at least also working before pushing something new out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 19, 2022, 05:43:52 PM
Can't wait to try it !! 5K is my preferred mode because of its "almost-no-crop" nature :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 19, 2022, 05:47:49 PM
Great!

I have results I will post later today. There seems to be some temperature throttling going on.
The temperature polling is not always realtime, but I saw that when it stops recording (On 15 min+ trials, I kept recording while I were watching movies yesterday; the recording stops and then you see that the temp is 50-52 Degrees C)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Bernandelli on September 20, 2022, 12:06:17 AM
Can someone explain to me please what are ALL differences advantages/disadvantages between ''stock'' 1080p raw mode and so called ''5k'' mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 01:15:26 AM
New version out:

- 5k 2.39:1 now works 24fps(1x3 aka anamorphic)

Enable framing preview. Cropped real time preview also works thanks to this EngDrvOutLV(0xC0F38024, 0x45301c7);

Follow these settings to achieve 1736x2178 = 5208x2178

(https://i.postimg.cc/Df8RSVdC/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/v8kk9P0G/VRAM2-PPM-500px.jpg)

(https://i.postimg.cc/2yDHctMW/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/KjD0dNhH/VRAM1-PPM-500px.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 20, 2022, 01:48:54 AM
Quote from: Bernandelli on September 20, 2022, 12:06:17 AM
Can someone explain to me please what are ALL differences advantages/disadvantages between ''stock'' 1080p raw mode and so called ''5k'' mode?

If you are technically inclined, you can start by reading this: https://wiki.magiclantern.fm/pixel_binning

Otherwise, The main differences are:

Field of view:
1080p will give you a wider field of view than 5K frtp, because a larger portion of the sensor is sampled.

Resolution:
5k frtp will give you a more detailed image with less aliasing and less moiré.
Technical reason being that although a smaller portion of the sensor is sampled, none of the pixels are discarded (and more pixels from the sensor contribute to the final image). Each line is kept and each group of 3 columns is averaged.
for 1080p, only 1 line out of 3 contributes to the final image, and each group of 3 columns is averaged.

Disk Space:
5k frtp will obviously consume a lot more disk space than 1080p

High Frame rates:
1080p gives you the ability to record at 40fps Edit: 50fps with the latest 240Mhz Build to get slow motion effects, 5k frtp does not.

Using an external monitor:
It is a lot easier to use an external monitor in 1080p mode.

If you want to see what can be done using the 1080p mode, have a look at this guy's channel, he knows what he is doing: https://www.youtube.com/channel/UCJ28_AuqkDcipyqHoRTV76Q  AND this channel for 5k frtp: https://www.youtube.com/c/DavidKhoirul/videos

For good tutorials, you can check out Zeek's channel: https://www.youtube.com/c/ZeekEOSZ

And if you REALLY want to get comfortable with this camera, the only way is to start from the first post of the current thread and read everything up to this point, as there is no documentation per se :)



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 20, 2022, 02:45:05 AM
Some Benchmarks for the Sandisk Extreme Pro 170 128GB (The one which didn't work at 240MHz at first. Does anyone have a better way to call it?)

(https://i.ibb.co/pPPFny6/Sandisk-Extreme-Pro-170-128-GB-SDSDXXY-128-G-GN4-IN-Report1.png) (https://ibb.co/0XXbQtp)

And the one for the Sandisk Extreme 256GB for comparison:

(https://i.ibb.co/ZGHKYLw/Sandisk-Extreme-SDSQXA1-256-G-GN6-MA-Report2.png) (https://ibb.co/YPD8yRK)


I hope the layout isn't too confusing. I will fill the missing spots as things progress. If something useful is missing, please let me know.

What I found out is that in order for this kind of bench to be significant, each measurement must be taken at least 3 times (Which I didn't do for the Record until Failure column).

For 2.8k 10 bit 192MHz, i did, and I got 3 completely different values: 3:50, 6:53 and 16:28 minutes with lvface hack.

It is also important to record a consistently exposed frame. Try recording 2.8k 14 bit with the lens cap on / off to see what I mean :)

There seems to be some kind of thermal throttling going on, because some times, even though I have Green Light / Immortal; the recording stops. At which point even recording 2.5k 10 bits won't go past 4 seconds (And like I said previously, the temperature displayed is at or above 50 Degrees C). You then have to turn off the camera, wait a little, and start again.

The Sandisk Extreme Pro SD 170 runs slightly cooler at 240MHz than the Sandisk Exterme Micro SD

Finally, Remember that when you use lvface+aewb, you cannot change the shutter angle (Shutter Fine-Tuning) and you will need to fix the white balance for every clip. So if you are strict about color accuracy or if you have a lot of clips to process, it will make your life easier if you film a white card at the beginning of each take.

The cuts in most movies are less than 20 seconds long, so... This new 240MHz mode rocks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 07:29:00 AM
Shameless bump  8)

New version out:

- 5k 2.39:1 now works 24fps(1x3 aka anamorphic)

Enable framing preview. Cropped real time preview also works thanks to this EngDrvOutLV(0xC0F38024, 0x45301c7);(Thanks thBilalFakhouri)

Follow these settings to achieve 1736x2178 = 5208x2178

(https://i.postimg.cc/Df8RSVdC/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/v8kk9P0G/VRAM2-PPM-500px.jpg)

(https://i.postimg.cc/2yDHctMW/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/KjD0dNhH/VRAM1-PPM-500px.jpg)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 08:18:46 AM
New build:
Missed a few pixels on the right. Fixed now!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: roterabe on September 20, 2022, 08:49:34 AM
Quote from: Danne on September 20, 2022, 08:18:46 AM
New build:
Missed a few pixels on the right. Fixed now!

Isn't the new build referencing the 5D Mk.3? It could still be the right one, but I'm not that into the project to know what boot check determines on what camera I'm trying to run this.

Edit: I'm assuming this is related to build options? I'm not seeing anything in the commits which would change the behaviour to be incompatible with EOS M
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 20, 2022, 09:38:11 AM
Working here too :) I had to compile it by myself cause the binaries are for 5D3 ;)
Doing some tests right now
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 20, 2022, 09:41:23 AM
@cedriccp whats the command for compilation? Is there an instruction? Or could you host it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 20, 2022, 09:45:22 AM
Here -> https://drive.google.com/file/d/1MWE1chTVrV3EWb3rUA5ZkCKZpdkN37By/view?usp=sharing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 20, 2022, 09:49:51 AM
thanks a lot!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 09:52:09 AM
I replaced to eosm build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on September 20, 2022, 09:53:54 AM
@Danne! Thanks a lot. So crazy... 5.2K anamorphic on M became reality. Damn. That's great. In my first 2 tests I got no pink frame. Setting: your 1736x2178, but 12bit. MLVApp told 79MB/s and 81MB/s in my first two tests. With 10bit it should be continous also in bright scenes.
You guys are great, bilal & danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 10:01:17 AM
Great.
Yes. 10bit is the way to go  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 20, 2022, 10:24:41 AM
Awesome, tested with wide lens (and speed booster), it's amazing. Using Resolve AI upscaler add even more sharpness to the image.
Great job dudes  8)
I'm wondering what we can expect more from that little beast
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 20, 2022, 11:04:11 AM
 @Danne what does the preview vs real-time setting in the screenshots above help with? On first glance the output looks exactly the same if I use the info button choppy uncropped preview or is switching with the info button turning on preview. No offense just want to understand what I am missing here.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 12:24:54 PM
Nothing missing. Same functions activated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 20, 2022, 03:13:43 PM
Okay I was just confused if your screenshot instructions would have something totally new I have missed :D 5,2k quality is brutal ! If it would be possible to get at least centered and lets say 80% of the real fov this would be insane

Edit: What trickery is behind 16:9 5k and 2.35:1 frtp mode? :) Or would it be possible decrease the size of the stutterfree liveview as in 2.5k preset and then display the whole fov?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 03:43:40 PM
You can try center with cmos5 or cmos7 in the submenu.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 20, 2022, 04:34:09 PM
sorry Google doesnt show me a decent instruction where this submenu is or what it is called and how to switch :/ I only know the possibility to turn on canon gui and use the arrows.

Edit: Found it by accident I think? Play button on the presets if extended with advanced settings has these registers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 04:54:12 PM
Way harder tasks have been solved in this place. Take your time  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 20, 2022, 05:05:05 PM
Interesting, is there any calculation doc about registers settings for cmos5 and cmos7 ?
I started with values taken from the code (0x20 & 0xB87) but it's not clear how it works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 20, 2022, 05:17:16 PM
There's some logic but easier to try small steps and simply check visually. I never got any further than doing that.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 21, 2022, 01:05:03 AM
Quote from: Danne on September 20, 2022, 07:29:00 AM
Shameless bump  8)

New version out:

Works well for me. Able to record 3 minutes consistently at 10bits. Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on September 21, 2022, 02:03:16 AM
Quote from: cannibalferox on September 20, 2022, 03:13:43 PM
Okay I was just confused if your screenshot instructions would have something totally new I have missed :D 5,2k quality is brutal ! If it would be possible to get at least centered and lets say 80% of the real fov this would be insane

You can get it centered almost perfectly by tapping on screen arrows. First turn off "tap display" on custom buttons (otherwise it wont work). Then put the preview in real time ant tap the arrows until it matches the real framing preview. You can get is perfectly centered horizontally. Vertically, you will get very close, just a bit skewed towards the top.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: likwidchz on September 21, 2022, 03:03:45 AM
New user here, happened to hit refresh on a page and saw there was a new build.
Tried it out, the 5k worked at ~1:23 seconds before the buffer filled up @ 14 bits.
Will have to try how long it does constant recordings, looks like @Gabriielangel mentioned 3 minutes. Did the camera auto stop or did you stop it?

Thanks!

Btw, do people see any visual difference between 10-14 bits? or is it a wash?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 21, 2022, 09:05:03 AM
Quote from: Ernani on September 21, 2022, 02:03:16 AM
You can get it centered almost perfectly by tapping on screen arrows. First turn off "tap display" on custom buttons (otherwise it wont work). Then put the preview in real time ant tap the arrows until it matches the real framing preview. You can get is perfectly centered horizontally. Vertically, you will get very close, just a bit skewed towards the top.
Nice tip 👍
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cannibalferox on September 21, 2022, 09:41:49 AM
yes thats what I also tried but after hitting left arrow key a bunch of time the camera has frozen :D but I also wanted to experiment with the arrows today.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on September 21, 2022, 10:32:56 AM
Being a 5.2k, this new setting has so much vertical resolution that dual-iso is no more so much penalizing in terms of loss of detail.
Danne and Bilal did a wonderful job!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: julien becker on September 22, 2022, 01:23:39 PM
Hi,

Danne and Bilal what you offer to the ML community is amazing ! Thank you so much.

I've done some benchmarks with my SD cards and I'm not sure to understand what happens. I've first tested the SanDisk R170 128GB in 5.2K mode (with the settings provided by Danne).
If I launch the benchmark in video mode I get around 40 MB/s and malloc_errors (I don't know what these are). If I do the benchmark in stills mode, I get 68MB write speed and 63MB read speed.
Is that not a bit low ? I've also tested an Sony R260 MB/s W100 MB/s and those figures were even worse, like 19 MB/s.

https://drive.google.com/open?id=1Z41X7BytwAIjmjtOdI982npknXsgWPRZ&authuser=julien%40skilllab.net&usp=drive_fs (https://drive.google.com/open?id=1Z41X7BytwAIjmjtOdI982npknXsgWPRZ&authuser=julien%40skilllab.net&usp=drive_fs)

When I record on the SanDisk, it works continuously for over 6 minutes (I've stopped it). So I guess that's the most important, but I would like to understand the banchmark and these malloc_errors.

Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 22, 2022, 01:45:08 PM
Quote from: julien becker on September 22, 2022, 01:23:39 PM
I've done some benchmarks with my SD cards and I'm not sure to understand what happens. I've first tested the SanDisk R170 128GB in 5.2K mode (with the settings provided by Danne).
If I launch the benchmark in video mode I get around 40 MB/s and malloc_errors (I don't know what these are). If I do the benchmark in stills mode, I get 68MB write speed and 63MB read speed.
Is that not a bit low ? I've also tested an Sony R260 MB/s W100 MB/s and those figures were even worse, like 19 MB/s.
a) Make sure to use Danne's latest build linked in first post of this thread.
b) Highest transfer numbers are only visible in "Play" mode. You will find a line beginning "Mode: PLAY-UNK LCD" in top section. If you get something like "Mode: PH-LV LCD" or "Mode: MVC-1080 LCD" you are in liveview mode. To enter Play mode you have to press Play button immediately after starting benchmark run.
c) If you constantly get malloc errors in benchmarks you should unload mlv_*** modules (if available) and restart camera. Or disable raw/mlv recording.
d) If a card cannot cope with selected overclocking frequency transfer will drop to 20 MByte/s (give or take) which is lowest transfer mode. Select a lower frequency and restart your camera.
e) R260 indicates an UHS-II card. EOS M has UHS-I interface and your card will work in UHS-I compatibility mode and given transfer speeds are not valid here. Without test nobody can say how good any UHS-II card will do in this mode. Furthermore nobody can say (without test) how a card will react to overclocked UHS-I mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: julien becker on September 22, 2022, 01:58:03 PM
Thanks Walter ! Now I get it. Indeed in play mode I got 94MB/s  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: photomotion on September 23, 2022, 06:26:03 AM
Quote from: cedricp on September 20, 2022, 10:24:41 AM
Awesome, tested with wide lens (and speed booster), it's amazing. Using Resolve AI upscaler add even more sharpness to the image.
Great job dudes  8)
I'm wondering what we can expect more from that little beast

May I ask how you scale this in Resolve? In clip attributes, I can only find an option to scale the entire clip. How did you scale height/width separately?

Edit:
I want to export my clip as CinemaDNG. So, I can't use the options in transformation section of the MLV app. In resolve, the closest option I can think of is using a 2.39:1 timeline and selecting the stretch option under Retime and Scaling section.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 24, 2022, 03:07:48 AM
Follow up on the Frame Corruption discussion started here: https://www.magiclantern.fm/forum/index.php?topic=25841.msg240550#msg240550

The problem appears to be that the extra details introduced by focusing on the LCD screen at ISO 400 require more bandwidth than the card can handle.

Details:

I first tried modifying reg_713c and reg_7150 by +-10 each and compared the recorded file sizes to those recorded with the standard preset. Differences are marginal.
So those regs are probably timing related (High values distort the preview). I will test more in the coming days.

I then recorded files slightly soft-focused, and then focused a hair soft right before it breaks. There is a  27.9 MB/s difference between soft and almost full-focus.

So I recorded more files, starting a tiny bit soft focused and getting closer to full focus until it gave the corrupted frames error.
The closest file I got to full focus averages 94.7 MB/s, which is already close or above the benchmarked speed of the card (Sandisk Extreme Pro 170 128GB, 92.8-95.7MB/s)

So the problem appears to be that the extra details introduced by focusing on the LCD screen at ISO 400 require more bandwidth than the card can handle.

For the tests, I did a MLV fast-pass export of frames 25 to 96 (72 frames or 3 seconds) for each file I recorded, to facilitate comparison (Divide the file size by 3 to get MB/s):

(https://i.ibb.co/d7RGGn2/Corruption-Test-Folders.jpg) (https://ibb.co/CWfhhx7)

(https://i.ibb.co/4K74vV8/MLV-Files.jpg) (https://ibb.co/bQPNwKs)

This screenshot is for the folder where I MLV fast-passed 3 seconds for each file, for the focus sharper until it breaks test:

(https://i.ibb.co/xMqBTJb/Progressive-Focus.jpg) (https://imgbb.com/)


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 24, 2022, 11:23:07 AM
How do other presets behave?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 24, 2022, 03:48:16 PM
If I set the camera right on the focus point where it breaks on demand, and then switch presets:

2.5k 14bits and 12bits : Breaks
2.5k 10bits : Record times are similar to a very exposed image, it just stops recording after a while, without any corruption.

2.8k 14bits  : Breaks
2.8k 10bits and 12bits : Record times are similar to a very exposed image, it just stops recording after a while, without any corruption.

5k frtp 10bits and 12 bits : Seems to be unaffected by this issue.
5k frtp 14 bits : Breaks

1080p 10bits and 12bits : Seems to be unaffected by this issue.
1080p 14 bits : Breaks

If we look at my previous tests in an informal manner, and add 27.9MB/s (The additional rate for a "noisy" picture) to the data rate figures:

https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Fi.ibb.co%2FZGHKYLw%2FSandisk-Extreme-SDSQXA1-256-G-GN6-MA-Report2.png&hash=e09c4547a1295a140c4a23cf1a2f91e9

(I didn't publish it, but 5k frtp is 71.7 and 60.2 MB/s for 14 and 12 bits respectively.)

We get one more hint that maybe too much data is being sent to the codec or that the way the codec encodes the extra information yields more data than the card can handle?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MWilcut on September 24, 2022, 09:35:47 PM
I've done *something* and I can't figure out what or how to reverse.

ML was working just fine, no issues.  All of a sudden, when I start the EOS M and longpress the Trash icon, it does not load ML anymore.  I have uninstalled ML and reinstalled ML (even updating the ML to a more recent version of Danne's build).  I have reset all camera functions in photo mode...

What else can I try?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 24, 2022, 09:39:17 PM
Quote from: MWilcut on September 24, 2022, 09:35:47 PM
I've done *something* and I can't figure out what or how to reverse.

ML was working just fine, no issues.  All of a sudden, when I start the EOS M and longpress the Trash icon, it does not load ML anymore.  I have uninstalled ML and reinstalled ML (even updating the ML to a more recent version of Danne's build).  I have reset all camera functions in photo mode...

What else can I try?

Uninstalling ML doesn't reset ML settings.
Delete ML\Settings contents and copy build files to card once more.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on September 29, 2022, 03:40:53 AM
Data Rate Upper Limits Warning: Long Post Ahead :)

Like I said in the previous post, I would like to create a test which can be easily and quickly replicated by anyone, in order to have a coherent comparison between the performances of various cards at different resolutions.

Because filming the LCD Screen leads to moiré artifacts which biases the results, I went outside to film various scenes at 2.5K to get a baseline. I will then create a pattern which can be printed on plain paper and filmed with the camera, with enough details to generate files of comparable size to real life recordings.

This test will also check where the "Data Rate Overload" occurs in real life (See my previous post)

The motivation for going through this is as follows:

1- I just purchased a high-capacity 200MB/s card to test the upper limits, which cost me half the price of the Camera.
2- The Students I help would rather spend that money on beer...
3- It took me 4 months of reading and testing before being able to use that EOS M to its full potential. This negates any low-cost benefit afforded by the cam. But if there was a set of guidelines written in a few posts, newcomers would be able to use the cam to its full potential in a fraction of the time (And with cheaper cards, if necessary).
4-It's always nice to have a list of several alternative cards. For example, the latest Sandisk Extreme Pro did not work well until the latest Overclock module.

Short Answer:
1- A test pattern which can generate 70-80MB/s files at the target exposure and 90MB/s+ at ettr would simulate real-life conditions.
2- The Bench.mo would be a lot closer to real-life use if it also ran a sustained-write test (1-2 min?)

3- With 240MHz Overclock, there is no need to heavily underexpose the image to get decent recording times at 12bits, and 14bits with little restrictions (2.5K tested here, but theoretically applies to 5k frtp and 1080p).

I avoid recording at 10 bits, as it gives a reddish tint to the noise in the image, and more noise overall. So 10bits should be carefully exposed to minimize the noise, and 12/14 bits should be preferred if there are lots of dark regions in the image.

Look at scene 5 below to see a real-life example of exposure triggering a frame corruption message.

Details:
Exposure being a key factor in achieving near-continuous recordings (Or long enough clips), let's establish what I consider a bright-enough, well exposed image. In the examples, I also included graded versions, so that it shows that the tests are not unreasonably brightly exposed.

I had the scopes in my MLV App modified to make it easier to evaluate the image. I left those in every screenshot, so that it shows that no clipping is taking place. (Click or download images to enlarge)

(https://bit.ly/3Sq4C1k) (https://imgbb.com/)

ScopesLabel.cpp
(https://i.ibb.co/hykk85z/00-Scopes-Label-cpp.jpg) (https://ibb.co/xDyy5vT)

A few examples where I exposed with histogram at 1.0 and the main subjects Grey and Green with hints of yellow, when using the False Colors:

Example 1 Before and After Grading:
(https://i.ibb.co/BcMMTZs/00-Well-Exposed1-Before.jpg) (https://ibb.co/KbvvVqy)

(https://i.ibb.co/Q69yt1w/00-Well-Exposed1-After.jpg) (https://ibb.co/JznDgMJ)

Example 2 Before and After Grading:
(https://i.ibb.co/KLwR3cW/00-Well-Exposed2-Before.jpg) (https://ibb.co/jWRB19D)

(https://i.ibb.co/PwCfRqf/00-Well-Exposed2-After.jpg) (https://ibb.co/Lnp2MV2)

Example 3 Before and After Grading:
(https://i.ibb.co/SsC3KnQ/00-Well-Exposed3-Before.jpg) (https://ibb.co/JBJsz7x)

(https://i.ibb.co/PhpvtXc/00-Well-Exposed3-After.jpg) (https://ibb.co/LtwXvjx)

These 3 examples yield between 62 and 64MB/s @2.5K 14bits, and the other clips I have top at 79MB/s which means that it is possible to get a guaranteed 30 seconds per clip (Max 1:45min with lvface, or 3:00+ with lvface+aewb hack) with a Sandisk Extreme 256, without having to heavily underexpose the image. With these parameters, the images are quite clean, with some light noise in the shadows, like any other camera, even the expensive ones... (See the previous video I posted: https://bit.ly/3eKo5e9)

Exposing a little hotter brings the noise lower, at the expense of shorter recording times. Which leads to the next test.

Examples recorded with Histogram showing 0.2

You can look at the Data Rates Here. Each group of 10-12-14 or 10-12-14-14 bits are the exact same image, recorded at different bit Depths. The extra 14 bit recording is to check consistency  or a lower exposure.
(https://i.ibb.co/vqYkMQZ/01-All-Files.jpg) (https://ibb.co/h9fVTZD)

Scene 1, very bright Highlights, 80.39 MB/s @2.5k 14bits
(https://i.ibb.co/NLrWBWq/02-Scene-1.jpg) (https://ibb.co/sFCsYs4)

Scene 1 Graded
(https://i.ibb.co/txn9FnD/02b-Scene-1-Graded.jpg) (https://ibb.co/yYKr7Kq)

Scene 2, Well balanced scene with some bright elements (The shiny objects are usually what chokes the recording). 74.27 MB/s @2.5k 14bits
(https://i.ibb.co/dbcQn60/03-Scene-2.jpg) (https://ibb.co/286jXP7)

Scene 2 Graded
(https://i.ibb.co/Lx7D906/03b-Scene-2-Graded.jpg) (https://ibb.co/fkwVrXt)

Scene 3, Well Balanced scene with less shiny spots (Allows a brighter overall image) 76.5 MB/s
@2.5k 14bits
(https://i.ibb.co/1fB88nJ/04-Scene-3.jpg) (https://ibb.co/KjBFFGz)

Scene 3 with histogram at 1.0, lowers the data rate by 6.5 MB/s, and you get richer colors too
(https://i.ibb.co/9NCb6Hv/06-Scene-3-14bit-Hist-1-0.jpg) (https://ibb.co/80SrqgB)

Scene 3 Graded
(https://i.ibb.co/v12cpft/04b-Scene-3-Graded.jpg) (https://ibb.co/Q9sJLh5)

Scene 4, Closeup with a lot of details and a very shiny object. This combination made the recording stop early at 14bits, with 91.23 MB/s
(https://i.ibb.co/t4MYqbS/07-Scene-4.jpg) (https://ibb.co/JKRrvzN)

Scene 4 Graded
(https://i.ibb.co/8jd8DxT/07b-Scene-4-Graded.jpg) (https://ibb.co/641sRtV)

Scene 5, Triggers frame corruption.

This scene, with a lot of details and reflective mosaic triggered a frame corruption error at 14 bits.
(https://i.ibb.co/x5R9HZC/09-Scene-6.jpg) (https://ibb.co/q1Pq56y)

Graded
(https://i.ibb.co/WVwr3JD/09b-Scene-6-Graded.jpg) (https://ibb.co/hYjGMzX)

Recorded with exposure right before it triggered a frame corruption, 91.59 MB/s at 2.5k, 14bits
(https://i.ibb.co/7VNRbS3/12-Scene-6-Hist-0-2-right-before-corruption.jpg) (https://ibb.co/Y8TybN5)

Lowering Histogram to 1.0 and 2.0 yields a data rate of 88.1 and 76.16 MB/s respectively
(https://i.ibb.co/9TqDjL9/10-Scene-6-Hist-1-0.jpg) (https://ibb.co/vPJF8Gx)

(https://i.ibb.co/0fmfTw3/11-Scene-6-Hist-2-0.jpg) (https://ibb.co/mHbHkx7)

When the image is that bright, bumping up the ISO has a negligible effect on data rates:
(https://i.ibb.co/XW7cpZL/13-Scene-6-Hist-0-2-right-before-corruption-Iso-Var.jpg) (https://ibb.co/Prcq4Zj)


Also note that moving the camera makes motion blur, and a blurry image decreases the data rate.
I won't post those clips, as this post is long enough already!

I did not let the camera record long in this test, to speed things up. For actual recording times, Have a look at the SD card tests I posted, which were in line with the Data Rates obtained here.

Maybe everyone could chime in as to what constitutes "a long enough clip recording time" to get the job done at higher resolutions.

Build Used: crop_rec_4k_mlv_snd_raw_only_2022Sep15.EOSM202
Cards: Sandisk Extreme Pro 128GB 170MB/s, Sandisk Extreme 256GB
Lens Ef-M 32mm F1.4
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 29, 2022, 04:44:51 PM
New build

Fixed pixelated bottom with 5.2k preset. Thanks masc for finding out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: vulcan4d on September 30, 2022, 09:03:06 AM
Got the SanDisk Extreme PRO 256GB 200/140 SDSQXCD-256G-GN6MA card , results were different in camera and playback modes @240Mhz

Camera mode: ~67MB/s write
Playback mode: ~95MB/s write

What do I believe? Is this normal?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on September 30, 2022, 10:04:35 AM
Quote from: vulcan4d on September 30, 2022, 09:03:06 AM
Is this normal?

Yes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on September 30, 2022, 06:23:45 PM
Is it possible to get a less cropped real-time liveview in 5.2K, or is it a limitation ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on September 30, 2022, 10:46:53 PM
Please read up on preview work done in the past. There's your answer.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 01, 2022, 12:52:11 AM
Quote from: grusochsten on August 27, 2022, 08:14:02 PM
I'm having some difficulties with HDMI monitor to a Samsung Galaxy A52s phone on the latest build. I'm using a cheap capture card from Amazon.
...
...

HDMI and crop modes presets aren't well supported (at least in this build) and iirc they weren't fully tested with HDMI . .
I don't have EOS M, maybe Danne can help looking into these.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 01, 2022, 01:13:13 AM
Quote from: roterabe on September 20, 2022, 08:49:34 AM
Isn't the new build referencing the 5D Mk.3? It could still be the right one, but I'm not that into the project to know what boot check determines on what camera I'm trying to run this.
...

Builds shared in this thread is only referring to EOS M.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 01, 2022, 01:21:01 AM
Quote from: likwidchz on September 21, 2022, 03:03:45 AM
Tried it out, the 5k worked at ~1:23 seconds before the buffer filled up @ 14 bits.
Will have to try how long it does constant recordings, looks like @Gabriielangel mentioned 3 minutes. Did the camera auto stop or did you stop it?

If your SD card benchmarks ~90 MB/s write speed in Play mode:

There are many other factors for limited recording time, when using lossless compression it heavily depends on scene and ISO.
Other factors like if you are using hacks (under RAW video submenu) which boost write speed performance during RAW video recording.

Quote from: likwidchz on September 21, 2022, 03:03:45 AM
Btw, do people see any visual difference between 10-14 bits?

Yes, especially in shadows.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on October 01, 2022, 01:25:07 AM
Quote from: julien becker on September 22, 2022, 01:23:39 PM
Danne and Bilal what you offer to the ML community is amazing ! Thank you so much.

Thanks, no problem :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 01, 2022, 04:28:03 AM
Quote from: likwidchz on September 21, 2022, 03:03:45 AM
the 5k worked at ~1:23 seconds before the buffer filled up @ 14 bits.
Will have to try how long it does constant recordings, looks like @Gabriielangel mentioned 3 minutes. Did the camera auto stop or did you stop it?

On that particular test, the lvface+aewb hack was enabled,  and I stopped it myself at 3 minutes  (And I used the Sandisk Extreme Pro 170-128GB, with the regular sandisk extreme 256GB, I got about 1 minute ).
If you want to record longer, use 12bits, which will give you around 20 minutes continuous if your scene is not too bright. Like @theBilalFakhouri said, record time are scene and ISO dependent
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 04, 2022, 10:21:52 PM
Hello, I shot outside today and I noticed something:

Issues with 5k frtp Preset
Build: crop_rec_4k_mlv_snd_raw_only_2022Sep29.EOSM202.zip

1
When pressing * or Half-Shutter to focus (focus-assist), the display becomes a lot brighter than the preview.
This makes it sometimes impossible to focus, as the display will turn completely white (Overexposed) if it is bright outdoors.

To replicate easily inside:

do not use a ND filter
Take a small lamp or lightbulb (I used a 60W Tungsten Bulb)
illuminate a small object or piece of paper
f3.5
ISO 100
Shutter 1/2200

This should be too dark for you to see anything in preview.
Press * or Half-shutter
You should now see the object clearly.

If you go outside in daylight, the display will get washed out when using focus-assist.

This does not happen when using the other presets.

2
When using focus-assist, it is not possible to navigate through the whole frame. The zone that is accessible is roughly a 4:3 square at the center of the display.
If there is something at the edges of the frame, it isn't possible to see it without panning the camera. This can lead to an out-of-focus image at large apertures (Because the distance changes, and the DOF is shallow)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2022, 07:21:12 AM
New upload.

Skipping reduced framerate while previewing in x10 zoom. Tested before trying to resolve freezing bugs. Seems to do little so back to normal again.

2) Focus assist is a very good addition since it works while filiming. theBilalFakhouri built it and it´s pretty complex. Moving it around is not done easily.

EDIT:
Altered real time preview for Anamorphic 5.2k preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: KnowledgeSupreme on October 05, 2022, 10:34:36 PM
Good evening. I am not sure if I am doing something wrong, but with the recent 5k update, the real time preview seems pixelated.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 05, 2022, 11:30:01 PM
Who knows.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 06, 2022, 12:33:43 AM
Quote from: Danne on October 05, 2022, 07:21:12 AM
New upload.

Skipping reduced framerate while previewing in x10 zoom. Tested before trying to resolve freezing bugs. Seems to do little so back to normal again.

EDIT:
Altered real time preview for Anamorphic 5.2k preset.

Tested Today, 1 and 2 are fixed. Thanks!

A Good Way to Extend Recording Times  with High Dynamic Range Scenes at High Bitrates / Resolutions

I filmed outside in the sun today, and it was hard to get more than 10 seconds at 3K 1:1, because there were a lot of shiny surfaces in the frame. So I tried to lower the frame rate, and I were pleasantly surprised!

So, I took the opportunity to make a test with a moving swing. I am posting screenshots of the files, as I wouldn't have believed 16 fps could look that smooth.

With blowing tree leaves (Not included in the sample video), it showed a little as the movement was very fast, but at 20 fps, it was really good. As long as the Camera movements are deliberately slow, 20 fps is a good plan B when needed.

But as you will see in the example, the swing moves pretty fast...

Link to the Video: https://bit.ly/3SXUWeh (https://bit.ly/3SXUWeh)


Files Screenshots:

(https://i.ibb.co/Jz1LSbD/MLV-Files.png) (https://ibb.co/dQT9H38)

(https://i.ibb.co/Y0MxXjr/Da-Vinci-Screen.png) (https://ibb.co/QDR4km5)

I weren't able to set the shutter lower (I guess I needed to tweak som regs), so I think the result would have been a little smoother at 16 fps.

The 5k Anamorphic flv preset is already at 20 fps, with the new high resolution. So those interested can try it right away.
Maybe you could bring back the 20fps mode for 3K (with the Enable 25fps trick)?

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 06, 2022, 06:31:53 AM
Enable shutter range full range to expand shutter expansion.
3k 24fps works here continuosly but I use a technique where I stay in cropped rel time preview and when checking for framing I enter framing shortly, then back to real time cropped preview and so on.

Might take a look at som fps reducing dial but don't hold you breath. Pretty busy over here
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 06, 2022, 08:35:45 AM
New upload:

- Added ability to increase/decrease fps through a submenu.
Will alter reg 6014 directly in the preset.
Note that changes will also be saved and has to be manually set to 0 again to return to original fps. It could be abused by selecting a too high fps which will stop the preset to start obviously. You then have to start the camera in photo mode and reset fps override from there.

(https://i.postimg.cc/sX9ywWMK/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/90L2jjt7/VRAM2-PPM-500px.jpg)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 06, 2022, 08:58:38 PM
Can someone explain me
the difference in setting up aspect ratio
in "Movie" main menu and in "raw video" submenu?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 12:03:36 AM
In Movie menu they are optimized and customized ro each preset. Meaning mostly they will work better not causing corrupted frames and so on.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 07, 2022, 03:34:14 AM
Quote from: Danne on October 06, 2022, 08:35:45 AM
New upload:

- Added ability to increase/decrease fps through a submenu.
Will alter reg 6014 directly in the preset.
Note that changes will also be saved and has to be manually set to 0 again to return to original fps. It could be abused by selecting a too high fps which will stop the preset to start obviously. You then have to start the camera in photo mode and reset fps override from there.


Tested today, works well. It would eventually be better if we could just set it to  "Off", so we could toggle when switching presets.

One thing to keep in mind, with the 4K preset, set 25 fps was used to give 4968x2078, which was very handy to make timelapses and hyperlapses while using almost the full sensor width.
I used it with set framerate at 0.25 fps (You had to set the frame rate after setting focus, as it would slow down the UI considerably) to make cloud timelapses.

It would be nice not to lose that functionality, because when using photo mode with the intervalometer, there is a limit to the number of frames you can "Transcode and Import" in mlv app.

Here is another video where I test the various fps, and I added flowers in the wind, to demonstrate how far this method could be used:
https://bit.ly/3ebL81A (https://bit.ly/3ebL81A)

And a video where I use the aforementioned 5K Timelapse: https://bit.ly/3SMGTss
(It's easier when you choose a spot where birds don't hang out...)



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 06:53:02 AM
It still works with set_25fps when set to ON doesn't it? But the fps override function needs to be set to 0 obviously.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: rev787 on October 07, 2022, 10:55:09 AM
After reading this (https://www.magiclantern.fm/forum/index.php?topic=26497.0), I tried to tinker reg_6014 in order to get rid of dual iso crawling effect in live view.
Preliminary results below:
HD 1080p fps jumping back and forth
HD 1080p 30/46/38 not suffer @30fps, didn't try other fps
3k +1/-3
4k +2/-2
5k anamorphic +2/-2
5k anamorphic flv +2/-2
2.8k +3/-1
5k anamorphic frtp +3/-1
2.5k and 2k 1:1 are not effected.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 11:32:41 AM
Quote from: rev787 on October 07, 2022, 10:55:09 AM
After reading this (https://www.magiclantern.fm/forum/index.php?topic=26497.0), I tried to tinker reg_6014 in order to get rid of dual iso crawling effect in live view.
Preliminary results below:
HD 1080p fps jumping back and forth
HD 1080p 30/46/38 not suffer @30fps, didn't try other fps
3k +1/-3
4k +2/-2
5k anamorphic +2/-2
5k anamorphic flv +2/-2
2.8k +3/-1
5k anamorphic frtp +3/-1
2.5k and 2k 1:1 are not effected.
That´s nice. To permanently change these numbers one can alter regs for each preset in crop_rec.c.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 07, 2022, 02:27:17 PM
Quote from: Danne on October 07, 2022, 12:03:36 AM
In Movie menu they are optimized and customized ro each preset.

Recently I used a build from 2022-05-30
where I have at 1:39
1360 (4080) X 1708 if aspect ratio set in raw submenu
and
1440 (4320) X 1806 if aspect ratio set in Movie menu.

And yesterday Danne present a new build
where we got at 1:39
1736 (5208) X 2178 (and terrible crop preview!) if aspect ratio set in raw submenu
and the same
1440 (4320) X 1806 if aspect ratio set in Movie menu.

Seting aspect ratio in Movie menu gives as the same resolution in both builds.
At the last build we got an incresed resolution, but terrible crop preview.
So setting the aspect ratio in Movie menu is still preferred.
Is this optimization you talking about?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 07, 2022, 02:31:01 PM
Quote from: Danne on October 07, 2022, 06:53:02 AM
It still works with set_25fps when set to ON doesn't it? But the fps override function needs to be set to 0 obviously.

Yes, it does. I probably didn't set it to 0 yesterday.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 03:32:27 PM
Quote from: kolodiazniy on October 07, 2022, 02:27:17 PM
So setting the aspect ratio in Movie menu is still preferred.
Is this optimization you talking about?

I suggest you take some time and read through this whole thread. General knowledge about how presets were created could be found both in code and by following commits over time.
If you want a fast answer you already got it two times.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 07, 2022, 04:19:36 PM
Is there some way to remove unusable presets?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 04:52:21 PM
Yes, in code. Download it, remove whatever you want compile it and off you go.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 07, 2022, 05:32:13 PM
Can it be downloaded with one file?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 07, 2022, 11:49:58 PM
Yes files.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 08, 2022, 10:20:56 AM
There is no such folder.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 08, 2022, 10:37:40 AM
I have a lot.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: scriptmonkey on October 11, 2022, 02:18:40 PM
Hi, which build would be best for EOS M, if I am interested mostly in 5k anamorphic? Danne's build plus theBilalFakhouri's 240MHz module? Or does Danne's build include the module already? Or is Danne's build already good enough for 5k anamorphic at 25 fps?

Benchmark of my card:
at 192 MHz: write=23.6, read=19.9
at 160 MHz: write=54.3, read=57.2
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 11, 2022, 02:29:31 PM
Get another card first. Any UHS-I card labeled W90 or up should do fine with latest sd_uhs.mo @240MHz.
Your card type?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: scriptmonkey on October 11, 2022, 03:00:55 PM
Samsung's "up to 120MB/s". I do not know its write speed. Which card would you suggest as the most reliable in the case of EOS M + ML?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 11, 2022, 03:12:05 PM
Old "Gold Standard" card was Sandisk Extreme Pro in its R170/W90 variety. Expensive one.
And no longer true. As I said: With latest sd_uhs.mo you should be happy with any UHS-I labeled W90 (or better).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on October 14, 2022, 05:27:34 PM
Does the Latest Oct 6 2022 EOS M Build includes the meaningful bits from Bilal's latest 240Mhz Module? https://bitbucket.org/bilal_fakhouri/magic-lantern/downloads/sd_uhs.mo

I found a repeatable way to record a test pattern mimicking real-life conditions, to test SD Cards capabilities (Enough detail level and average exposure).
As it will take a while to test every preset, I'd rather minimize variables...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 15, 2022, 04:27:20 PM
Quote from: scriptmonkey on October 11, 2022, 02:18:40 PM
Benchmark of my card:

Now I use Kingston CANVAS Go! Plus.
It's not expensive, and gives amazing speeds.
And it's become a new "Gold Standard", because Sandisk Extreme Pro just has no more sence.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on October 20, 2022, 10:49:33 PM
Quote from: kolodiazniy on October 15, 2022, 04:27:20 PM
Now I use Kingston CANVAS Go! Plus.
It's not expensive, and gives amazing speeds.
And it's become a new "Gold Standard", because Sandisk Extreme Pro just has no more sence.
Sounds interesting. Can you specify which card you used? exact model? what speeds do you get, what settings/hacks activated?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 21, 2022, 01:29:33 PM
Quote from: far.in.out on October 20, 2022, 10:49:33 PM
Can you specify which card you used?
I use 256 GB model. You can use any of "CANVAS Go! Plus" line, but 64 GB model is a little bit slower.
Here is official datasheet, where you can read all information you need: kingston.com/datasheets/sdg3_en.pdf (http://kingston.com/datasheets/sdg3_en.pdf)

As for settings I shot in "5K anamorphic" - the best usable mode, I think.
I trying do not activate hacks at all, but it depends on exposition (if you don't know).
The main rule is: the more picture is bright - the more bitrate you get.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on October 25, 2022, 09:42:21 PM
Bought the Kingston Canvas Go! Plus microSD 128gb with micro sd adapter. Unfortunately it does not seem to work with the 240mhz overclock. It works in 160mhz and then I get 59MB/s read and write in movie mode and about 69MB/s in play mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 26, 2022, 09:00:17 AM
This would be the first case of an incompatible W90 UHS-I card.
Please give exact build name. See Help screen/tab.
Have you tried to replace build's sd_uhs.mo file with Bilal's?
https://www.magiclantern.fm/forum/index.php?topic=26634.0
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on October 26, 2022, 11:52:09 AM
Probably needs enabling or disabling sdr50. Try switching access from here.
https://www.magiclantern.fm/forum/index.php?topic=25781.msg240442#msg240442
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on October 26, 2022, 11:38:12 PM
Tried that on both 240Mhz and 192Mhz, but did not work. I have returned the card and will try the normal SD-card size instead. It may be something with my camera as well. I only get about 79Mb/s with my sandisk extreme pro 64gb in play mode, but maybe that's normal. I have tried re-installing magic lantern on both card and camera, with the same result.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 27, 2022, 02:15:26 PM
Quote from: essbe on October 26, 2022, 11:38:12 PM
I have tried re-installing magic lantern on both card and camera, with the same result.
ML is a software that loaded from the bootable memory card. Camera is irrelevant.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 27, 2022, 02:30:05 PM
And still haven't lost a word about which build is used ...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 27, 2022, 02:54:23 PM
Quote from: essbe on October 26, 2022, 11:38:12 PM
I only get about 79Mb/s with my sandisk extreme pro 64gb in play mode ...
What is "play mode"?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 27, 2022, 03:02:58 PM
Start Benchmark and press Play button to access play mode.
In this mode you get numbers closest to physical limit because overhead by other tasks is largely surpressed.
Typical numbers in playmode are above 90 MByte/s writing to card. No chance to go that high actually recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on October 28, 2022, 09:07:50 PM
Used Dannes latest build (october 06 I believe). I have the Kingston Canvas Go! plus 256gb on the way, will see what happens when that one arrives.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on October 28, 2022, 09:10:45 PM
Ah sorry, didn't see your post Walter. I am away for the weekend, but I will look into that when I get back home.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 29, 2022, 10:02:30 AM
Quote from: Walter Schulz on October 27, 2022, 03:02:58 PM
Start Benchmark and press Play button to access play mode.

When I reading such answers there is a feeling it was left by the child.
And the correct answer is:
"Play mode is a mode when the system testing not only white speed but a read speed too".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 29, 2022, 10:15:56 AM
Quote from: kolodiazniy on October 29, 2022, 10:02:30 AM
And the correct answer is:
"Play mode is a mode when the system testing not only white speed but a read speed too".
Card benchmark always tests write *and* read and mode doesn't matter in this regard.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 29, 2022, 11:06:26 AM
Quote from: Walter Schulz on October 29, 2022, 10:15:56 AM
Card benchmark always tests write *and* read

Hm. In my case it tests only write.
And I get the message "malloc error: buffer=16777216" in second string.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on October 29, 2022, 11:09:31 AM
Known issue. Turn off RAW/MLV recording or unload mlv recording modules.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on October 29, 2022, 09:53:34 PM
Thanks alot. Really works. But how it's related?!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 02, 2022, 12:27:05 AM
Received the Kingston Canvas Go! Plus 256gb sd card now. Same results basically. It only works in 160MHz overclock for me, and gives benchmarks with read and write at about 59 MB/s, both in normal and play mode, so this is actually a bit worse. My Sandisk Extreme Pro 64gb works in 240MHz but the benchmarks in play mode are 92/86/69/85 and 58/70/62/70 in normal mode. I am using build Nightly.2022Oct06.EOSM202. It also says "Mercurial changeset: 8a324688dbad" in the help folder, if that is relevant. Replacing with Bilal's module changes nothing. Just to see if I have done something worng: First I used low level format on card in camera, then I put the files from Dannes build in root of card, then I ran firmware update with card in camera.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pepper_chip on November 02, 2022, 11:21:05 AM
+ 1

On previous builds my canvas go 128 gb and 256 works in 160 mHz and 192 mHz overlooking and show 80 when Im recording recording,  with last build they works only on 160 mHz  :-[
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on November 02, 2022, 11:47:59 AM
@pepper_chip @essbe

Try changing Access Mode to SDR50, restart camera, does 192 MHz work again?
(try on Kingston Canvas Go! SD card)

https://www.magiclantern.fm/forum/index.php?topic=26634.msg240421#msg240421
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 02, 2022, 08:50:29 PM
Tried that, but it doesn't work. 160MHz works in both SDR50 and SDR104, but that's about it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on November 03, 2022, 10:39:42 AM
Quote from: essbe on November 02, 2022, 12:27:05 AM
My Sandisk Extreme Pro 64gb works in 240MHz but the benchmarks ... 58/70/62/70 in normal mode.

So what speed are you waiting from Kingston Canvas Go! Plus ?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: pepper_chip on November 03, 2022, 06:25:20 PM
Quote from: theBilalFakhouri on November 02, 2022, 11:47:59 AM
@pepper_chip @essbe

Try changing Access Mode to SDR50, restart camera, does 192 MHz work again?
(try on Kingston Canvas Go! SD card)

https://www.magiclantern.fm/forum/index.php?topic=26634.msg240421#msg240421

Yeah, nothing change, 160 mHz works, another 192 mHz and 240 mHz shows low speed 20 21 mbs
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on November 03, 2022, 08:25:01 PM
Quote from: pepper_chip on November 03, 2022, 06:25:20 PM
Yeah, nothing change, 160 mHz works, another 192 mHz and 240 mHz shows low speed 20 21 mbs

Have you tried this sd_uhs version:
Universal SD Overclocking module - DIGIC 5.zip (https://bitbucket.org/bilal_fakhouri/magic-lantern/downloads/Universal_SD_Overclocking_module_-_DIGIC_5.zip)

Same result?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 07, 2022, 07:46:05 PM
Yes, I tried that one, with the same results.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on November 07, 2022, 09:42:57 PM
Can't assist here ATM. Canvas Go! unreasonable priced here and deals seem to be non-existent.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on November 15, 2022, 03:30:01 PM
What is "ATM"?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: elenhil on November 15, 2022, 05:19:49 PM
It's either a cash machine, or 'at the moment'. Suppose it's the latter here, though a 'cannot assist you-type ATMs' may soon become rather common, too :⁠-⁠)

Отправлено с моего SM-G965F через Tapatalk

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 16, 2022, 09:11:51 AM
I returned the Kingston canvas go! plus cards and bought a sandisk Extreme Pro 256gb microSDXC instead and now I get 91/86/91/86 in play mode and 75/70/75/70 in normal mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 16, 2022, 09:12:28 AM
In 240MHz overclock
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 16, 2022, 12:18:51 PM
I have this problem on Dannes latest build Nightly.2022Oct06.EOSM202 that when i press down to lower ISO, the Canon ISO menu shows up, and ISO doesn't change when changing it there. Pressing up to increase ISO is no problem. I did not have this problem in earlier builds. Is there a workaround for this?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: essbe on November 16, 2022, 12:26:39 PM
Please disregard my previous post. I had to change the function for the trash button in the canon menu. It was set to ISO and not normal , for some reason. Apologies.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on November 20, 2022, 03:20:09 AM
Can someone who had an AV cable or a sescom adapter please test this build and let me know if headphone monitoring is working on EOSM now?

http://hipsterhack.com/2022/11/13/magic-lantern-canon-eosm/
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on November 20, 2022, 10:43:41 AM
Did you test it yourself?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on November 21, 2022, 12:09:15 AM
Quote from: Danne on November 20, 2022, 10:43:41 AM
Did you test it yourself?
I don't have the cable. I ordered one last week but it hasn't shipped yet
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: domingoz on November 25, 2022, 09:54:15 AM
hey guys. i just download a latest oct06 build and encounter the 20 mb/s SD cap issue. does anyone have a archive of Dannephoto builds that i can backup to previous versions? i just lost mine ((( 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on November 27, 2022, 03:44:15 PM
Quote from: domingoz on November 25, 2022, 09:54:15 AM
hey guys. i just download a latest oct06 build and encounter the 20 mb/s SD cap issue. does anyone have a archive of Dannephoto builds that i can backup to previous versions? i just lost mine (((

If you want someone to be able to help you, you'll need to provide more info. Which card are you using? Which recording mode? Is the 240MHz (or 192Mhz) Overclock enabled? Did you keep your previous settings? Your issue can have many causes, but the Latest build is not to blame for this one.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on December 16, 2022, 07:43:27 AM
When I try to zoom by pressing half shutter , it usually takes around 2 seconds to zoom and then again 2 seconds to zoom out. It doesnt happen while recording. Then it works instantaneously. Is this common behavior? How can make it faster while not recording. I am using 5k frtp mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on December 20, 2022, 02:07:27 PM
You can't make it faster. The 5kfrtp implementation has to set lots of different registers in a specific sequence to give you a clean preview. When you zoom in all of this is undone, and when you zoom out it all has to happen again in the same sequence. This cannot go faster or the camera will lock up
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on December 20, 2022, 03:00:30 PM
Quote from: dpjpandone on December 20, 2022, 02:07:27 PM
You can't make it faster.

I think it can be made faster, patching and un-patching registers (ENGIO, ADTG, CMOS) is a very fast process and doesn't require much time (like two seconds). my implementation for quick half-shutter zoom while not recording on 650D/700D/100D makes the process instant:


Quote from: theBilalFakhouri on September 18, 2020, 07:51:30 PM
-You can easily check focus by pressing Half-Shutter in LiveView while not recording (works in all 1x3 presets and 1920x1280p 1:1 preset) to get into x10 mode, unpress Half-Shutter to get back to normal LiveView.

[gifv]https://i.imgur.com/augUIo8.mp4[/gifv]

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 20, 2022, 03:28:17 PM
What function are you using? Could you show example code?
My x10 stuff was done in an early stage. Not sure what made me do it the way it´s done now but a refinement would be nice.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on December 20, 2022, 04:16:49 PM
These lines in crop_rec.c (under crop_rec_keypress_cbr):

if ((key == MODULE_KEY_PRESS_HALFSHUTTER) && lv_dispsize == 5 && is_movie_mode()
&& !gui_menu_shown() && lv && patch_active == 1 && !RECORDING && crop_preset != CROP_PRESET_1440p_700D && crop_preset != CROP_PRESET_3K_700D_FIXED)
{
unpatch_memory(ENGIO_WRITE);
unpatch_memory(CMOS_WRITE);
unpatch_memory(ADTG_WRITE);
update_patch();
set_zoom(10);
return 0;
}

if ((key == MODULE_KEY_UNPRESS_HALFSHUTTER) && crop_preset != CROP_PRESET_OFF && lv_dispsize == 10 && is_movie_mode()
&& !gui_menu_shown() && lv && !RECORDING && crop_preset != CROP_PRESET_1440p_700D && crop_preset != CROP_PRESET_3K_700D_FIXED)
{
patch_hook_function(CMOS_WRITE, MEM_CMOS_WRITE, &cmos_hook, "crop_rec: CMOS[1,2,6] parameters hook");
patch_hook_function(ADTG_WRITE, MEM_ADTG_WRITE, &adtg_hook, "crop_rec: ADTG[8000,8806] parameters hook");
patch_hook_function(ENGIO_WRITE, MEM_ENGIO_WRITE, engio_write_hook, "crop_rec: video timers hook");
update_patch();
set_zoom(5);
return 0;
}


These works for all 1x3 presets and 1920x1280p 1:1 preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 20, 2022, 06:28:41 PM
Nice. Will test this out in the future.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MCChristor on December 26, 2022, 10:21:01 AM
1. When using adtg and after taking a picture the croprec doesn't work (changed resolution) especially the 5.7k mode. Do you know why @Danne? I guess it overrides some values.
2. A1ex developed a tool called mini_iso.mo but posted it nowhere. Does anyone here got it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 26, 2022, 01:27:18 PM
Yes, buggy or not working at all when using adtg_gui wirh crop_rec. Mostly I put in my rega directly in crop_rec and modify from there. What are you trying to do?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: MCChristor on December 26, 2022, 01:59:53 PM
I achieved the iso 66 and 77 that a1ex mentioned for the 11.8EVs but only in photo mode. Since I'm new to programming in ml I really don't know how to put code somewhere. :D Do you know why lowering the iso to gain more dr did not get implemented by you and others? So many questions. Also I've got weird lines when using dual iso with +6 Stops. Can Post example later.

Edit: Everything should be on the 5D Mk3 Topic
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on December 26, 2022, 06:03:52 PM
I remember when Bilal introduced frtp modes he showed 4.3k as well as 4.5k mode with 2:39 aspect ratio. Eos m only have 4.3k and 4k UHD frtp modes . Is there a way to get the 4.5k frtp mode i.e 1504x1782?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 26, 2022, 07:31:56 PM
I pushed this preset as far as I could on the eos m.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on December 27, 2022, 01:24:45 PM
Please remind me. Can one shoot cropped H264 on eos m?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 27, 2022, 02:25:21 PM
Define cropped.
You will find a digital zoom option (as in 600D) called cropped mode and 720p + 640x480.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: far.in.out on December 27, 2022, 06:47:23 PM
I thought that cropped H264 means that you get a 1:1 picture (like RAW?) without line skipping and with less aliasing that is then compressed to H264.
Is that how it is? Or what is it about? What is the benefit of this cropped mode over native canon full sensor 1080p mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on December 27, 2022, 06:55:38 PM
Quote from: far.in.out on December 27, 2022, 06:47:23 PM
Is that how it is?

Jupp.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: midnite on December 31, 2022, 06:28:59 PM
Hello everybody,

I am back after a very long break (my last post was in 2014 lol) with the cameras. I just wanted be a camera man once again and found my EOS-M in the junkyard side of my room.

I am really amazed that so many great stuff happened to the EOS-M/Magic Lantern since I left. Holy damn this cheap thing used to be considered junk now records 2.5k raw and rivals 5D MII/MIII, Black Magic etc...

I immediately wanted to try everything ML offers nowadays but then I realized that my 32gb Sandisk Extreme Pro from 2014 isn't that great anymore as It was impossible to overclock it above 160MHz (I got 66mb/s or 64mb/s in photo mode 160MHz If I remember right but 20mb/s on higher settings.) so I bought this card (samsung 256gb micro sd w:130mb/s) recently and I just benchmarked it on my EOS M in photo/playmode (240MHz) and It gave me 94mb/s. (77mb/s in192MHz)

(https://i.imgur.com/zCkxQnE.jpg)

How amazing is this now?

(https://i.imgur.com/Rk4IwUE.jpg)

//

I am kind of confused with the 1080 raw mode though because no matter which card I use, I get crap pink stuff in my LCD view. Is this normal? Because this makes it impossible to focus.

(https://i.imgur.com/IcvCnhN.jpg)

Live View works fine with the 2.5k 1:1 centered (frtp too) preset btw. Is this normal?

Even If I can't make 1080p work, I am still going to be happy with the 2.5k raw I guess as it seems to me it is the most useful mode of this camera. (It is Zeek's favorite mode too)

Edit: 1080p 30/46/38 fps preset works with LV without a problem too. (and appears to have less crop than the 2.5k mode, maybe this preset is going to fit me better)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: midnite on December 31, 2022, 06:35:50 PM
I also see that using a speedbooster on EOS-M makes 5D MarkII almost... unnecessary? Maybe I buy both 5DMkII as a backup and a speedbooster because why not. Haha. I always wanted to shoot with a FF camera but back in the day MkII and MkIII was so damn expensive. I can finally have one but now EOS-M already delivers what MkII does. Daym.

Zeek's: 5DMkII vs EOS-M video:
https://www.youtube.com/watch?v=KE4SEqmuNqU

I am speechless.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on December 31, 2022, 09:41:32 PM
Quote from: midnite on December 31, 2022, 06:28:59 PM
Hello everybody,

I am back after a very long break (my last post was in 2014 lol) with the cameras. I just wanted be a camera man once again and found my EOS-M in the junkyard side of my room.

I am really amazed that so many great stuff happened to the EOS-M/Magic Lantern since I left. Holy damn this cheap thing used to be considered junk now records 2.5k raw and rivals 5D MII/MIII, Black Magic etc...

I immediately wanted to try everything ML offers nowadays but then I realized that my 32gb Sandisk Extreme Pro from 2014 isn't that great anymore as It was impossible to overclock it above 160MHz (I got 66mb/s or 64mb/s in photo mode 160MHz If I remember right but 20mb/s on higher settings.) so I bought this card (samsung 256gb micro sd w:130mb/s) recently and I just benchmarked it on my EOS M in photo/playmode (240MHz) and It gave me 94mb/s. (77mb/s in192MHz)

(https://i.imgur.com/zCkxQnE.jpg)

How amazing is this now?

(https://i.imgur.com/Rk4IwUE.jpg)

//

I am kind of confused with the 1080 raw mode though because no matter which card I use, I get crap pink stuff in my LCD view. Is this normal? Because this makes it impossible to focus.

(https://i.imgur.com/IcvCnhN.jpg)

Live View works fine with the 2.5k 1:1 centered (frtp too) preset btw. Is this normal?

Even If I can't make 1080p work, I am still going to be happy with the 2.5k raw I guess as it seems to me it is the most useful mode of this camera. (It is Zeek's favorite mode too)

Edit: 1080p 30/46/38 fps preset works with LV without a problem too. (and appears to have less crop than the 2.5k mode, maybe this preset is going to fit me better)
Is your fps set to 24, 25 or 30 fps in canon menu?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: midnite on December 31, 2022, 11:51:19 PM
Quote from: Danne on December 31, 2022, 09:41:32 PM
Is your fps set to 24, 25 or 30 fps in canon menu?

In canon menu? As far as I see there are only 4 choices there, 1920/25, 1920/24, 1280/50 and 640/25. I don't see 30fps there.

I read somewhere that I should be using 720p mode when I shoot raw with ML, so I left it at 1280/50.

Am I doing it wrong?

Edit: I see that Video Setting is set to "PAL". Maybe this is the reason?
Edit2: I set it to NTSC and now I can see 1280/60fps setting and 1920/30fps setting. Which one should I choose? 1280/60?
Edit3: I went ahead and tried 1280/60, didn't work. Tried 1920/30 and now LV works with the base 1080p raw mode. Thanks for the help! I wouldn't have done it without your help. I mean I couldn't even remember what the hell PAL & NTSC was...
Edit4: Big question now is, should I be using 1920/30 in canon menu? Where did I read that I should be using 720p... Maybe that was the setting for the vanilla ML, not for this crop_rec build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 01, 2023, 12:21:22 AM
You can skip 720p.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: midnite on January 01, 2023, 09:19:11 AM
Alright I found where I got the 720p thing.

Quote from: CFP on July 27, 2013, 11:45:56 PM
If your buffer fills up you'll get pink frames. To avoid it, set the resoltuion in the Canon menu to 640p @ 30 fps (Lower YUV buffer = more space for other stuff) and use 'FPS Override' to lower the framerate. Also, make sure you have a fast SD-Card that reaches the 600D's 21 Megabyte/s write speed limit and set the 'Pic Quality' to 'SRAW' (And reboot your camera!) to increase the shoot_malloc buffer size. That should help to get rid of any pink frames. If they still appear you can try to use an older build.

By following these steps I haven't got any pink frames since weeks.

I probably read this post or something similar to this but the idea was the same probably. To empty the buffer of the camera.

But this post is from 2013, so I guess this new crop_rec build don't require 720p/640p  in Canon menu anymore.

However,

I just realized I do get pink frames every once in a while in my footage. Yesterday they weren't there, I must have broken something.

After 8 years, again I find myself in the ML rabbit hole. 8)

Edit: I had a good footage without any problems (no pinks, no frame skips) with 640/30-canon settings and 1080p 30/46/38 @ 38fps ML setting. However, I disabled the fps override setting when I was recording this. Maybe It was ruining my earlier footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 01, 2023, 10:22:09 AM
Don't use fps override. Easiest way is to select a preset and change as little as possible. Maybe experment with bitdepth option 10/12/ or OFF for 14bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: chrissul13 on January 04, 2023, 05:33:53 AM
which preset is best if you just want HD or slightly larger? 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 04, 2023, 08:23:22 AM
How do you mean? You tested the presets right?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Alp Korsan on January 04, 2023, 09:00:59 AM
Quote from: chrissul13 on January 04, 2023, 05:33:53 AM
which preset is best if you just want HD or slightly larger?

If you want HD, just use HD mode?

I use 38fps HD mode personally.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 04, 2023, 11:01:04 AM
New upload

Added below code for faster zoom aid for all presets not using movie crop mode. That is it works with 5k anamorphic frtp and x3 crop modes.
Also testing some stabilty fixes around 5k frtp mode. Sometimes the preset gets stuck. Maybe works more stable now.

Quote from: theBilalFakhouri on December 20, 2022, 04:16:49 PM
These lines in crop_rec.c (under crop_rec_keypress_cbr):

if ((key == MODULE_KEY_PRESS_HALFSHUTTER) && lv_dispsize == 5 && is_movie_mode()
&& !gui_menu_shown() && lv && patch_active == 1 && !RECORDING && crop_preset != CROP_PRESET_1440p_700D && crop_preset != CROP_PRESET_3K_700D_FIXED)
{
unpatch_memory(ENGIO_WRITE);
unpatch_memory(CMOS_WRITE);
unpatch_memory(ADTG_WRITE);
update_patch();
set_zoom(10);
return 0;
}

if ((key == MODULE_KEY_UNPRESS_HALFSHUTTER) && crop_preset != CROP_PRESET_OFF && lv_dispsize == 10 && is_movie_mode()
&& !gui_menu_shown() && lv && !RECORDING && crop_preset != CROP_PRESET_1440p_700D && crop_preset != CROP_PRESET_3K_700D_FIXED)
{
patch_hook_function(CMOS_WRITE, MEM_CMOS_WRITE, &cmos_hook, "crop_rec: CMOS[1,2,6] parameters hook");
patch_hook_function(ADTG_WRITE, MEM_ADTG_WRITE, &adtg_hook, "crop_rec: ADTG[8000,8806] parameters hook");
patch_hook_function(ENGIO_WRITE, MEM_ENGIO_WRITE, engio_write_hook, "crop_rec: video timers hook");
update_patch();
set_zoom(5);
return 0;
}


These works for all 1x3 presets and 1920x1280p 1:1 preset.

EDIT: New upload again. Fixed a bug with higher frame rates and using zoomaid.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Carniphage on January 04, 2023, 03:32:58 PM
So.. Having used ML on my 7D a bit. I bought the EOS-M. Looked for the feature to overlock the SD card and ended up with this build.
It works great (I shot something promising this morning.)

There's just one mysterious thing...

My Modules tab only lists one item:the Bench module. (Even though the SD card Modules directory contains everything you'd expect)
Some modules must have loaded, because they are working!

Any suggestions? (or should I ask somewhere else?)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on January 04, 2023, 06:48:21 PM
Hi Danne! Thanks for your builds, I think they're really great! I have two questions I would like to ask you to better understand how ML works:

- In one of his videos Zeek says that 5k resolutions are actually recorded at a lower resolution than HD and then upscaled internally. Are there any other video modes that work this way? If so, what's their real resolution?

- I've found a formula on reddit to calculate the precise crop factor for any video mode. The formula is: 5184 / (selected horizontal resolution) * 1.6. Is this formula correct?

Let me know and thanks for the work you do!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 04, 2023, 08:10:19 PM
Thanks! Glad to know you guys still find time to fiddle with the eosM!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 04, 2023, 09:12:35 PM
Quote from: Carniphage on January 04, 2023, 03:32:58 PM
My Modules tab only lists one item:the Bench module.

Works as designed. Danne's builds only have this module in Module tab/screen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 04, 2023, 09:15:31 PM
Quote from: Mattia on January 04, 2023, 06:48:21 PM
- In one of his videos Zeek says that 5k resolutions are actually recorded at a lower resolution than HD and then upscaled internally. Are there any other video modes that work this way? If so, what's their real resolution?

https://wiki.magiclantern.fm/glossary#anamorphic

Quote from: Mattia on January 04, 2023, 06:48:21 PM
- I've found a formula on reddit to calculate the precise crop factor for any video mode. The formula is: 5184 / (selected horizontal resolution) * 1.6. Is this formula correct?

No idea what you are talking about. Link, please!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 04, 2023, 10:40:55 PM
I spent some hours testing today's build doing a side by side comparison (2 eosMs).
As I understand, this new development supposedly "works in all 1x3 presets and 1920x1280p 1:1 preset".

Sadly, however,  this new build provides little to no advantages over October's build regarding the 10x zoom feature on the M, unlike the 700D where it seems to work fine. It enters the 10x zoom mode almost instantly (just like the older build), but upon release of half shutter, it still takes a couple of seconds to return to live view, albeit slightly differently than before (screen goes black earlier than older build).

I'm uploading a short video with the comparison tonight.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 04, 2023, 10:56:41 PM
Checking the test videos, I do notice this new build gives a 0.4 sec advantage on 3:1 modes over the old build. It's not as great as the 700D, but it is a welcome advantage nevertheless.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 04, 2023, 11:20:52 PM
Quote from: Ernani on January 04, 2023, 10:40:55 PM
I spent some hours testing today's build doing a side by side comparison (2 eosMs).
As I understand, this new development supposedly "works in all 1x3 presets and 1920x1280p 1:1 preset".

Sadly, however,  this new build provides little to no advantages over October's build regarding the 10x zoom feature on the M, unlike the 700D where it seems to work fine. It enters the 10x zoom mode almost instantly (just like the older build), but upon release of half shutter, it still takes a couple of seconds to return to live view, albeit slightly differently than before (screen goes black earlier than older build).

I'm uploading a short video with the comparison tonight.

The advantage is when entering x10 zoom in in x5, x3 crop modes. Includes the 5k anamorphic frtp mode. Also high frame rate modes a bit faster. Code more stable than before.
As you say, upon exit x10 zoom means a bit of waiting. This is because of early code which is doing some hackish stuff. Will take some time to rewrite it correctly and not sure if I will have the time for it.
HD1080p is working as before. I need to exit from movie crop mode so can't do it faster as bilals code will not work effectively in this mode. Maybe it could but will need time and testing.
Thanks for testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 05, 2023, 12:26:24 AM
Thanks for everything, Danne. You're legend!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 05, 2023, 10:20:07 AM
You´re welcome. True legend goes to a1ex ;). And for this find it´s theBilalFakhouri.
Seems magic lantern has frozen in time with digic V models atm, although I can see several developers poking around with later models.
I still love picking up the eosm for so many reasons :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 05, 2023, 09:26:59 PM
New upload

- Fixed zoom aid latency issue going back from being in x10 zoom. Mean no black frame etc. Works for most presets, not HD1080p.

Turned out I had put in some refresh code in mlv_lite.c way back when I started rearranging in code.
I will keep cleaning out code but meanwhile this should work real nice. Thanks Bilal for the find.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 06, 2023, 07:12:49 AM
WOW! This is awesome! Working like a charm! I rely heavily on the 10x zoom to pull focus so this new trick is super welcome.
Zoom feature is improved on all modes, especially on 1:1 where it is almost instantaneous.

The only quirk I found is that sometimes half shutter fails to enter zoom in 1080p or 5k. This peculiarity didn't happen in older builds.
Attached a video to demonstrate.

Again, thanks for this!

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 09:00:45 AM
New upload

Thanks for testing Ernani. Fixed. Accidentally took out too much code for the HD1080p preset before. Added back. Seems to work again.

EDIT:
Uploaded another build right now which adds 40fps with higher framerates when in 16:9 mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 06, 2023, 01:40:56 PM
Tested here and it is perfectly snappy at 2.5K, 2.8k, 5K frtp,
and a little less at 3K (Goes through the black screen phase, But still way faster than before)

This is a great fix, as it also allows to use one-shot autofocus when the camera is on the gimbal very comfortably (Set focus aid to default mode instead of sticky push) !!!

I found 3 issues

These Behaviours were present in Jan 05 build as well:

1-
Set ratio to 2.39:1
Load 2.5K preset
Press Star
Press Star Again

It will show 29.97 fps

Reload the preset to make it go back to 23.976
Does not happen in the other modes (i.e. 2.8k, 5k frtp)

2-
Load 5k Preset
Press half-shutter in-out 2-3 times in a row
Display becomes corrupted

3-
Was present in Jan 05 build, It is less pronounced now, but still there:
Load 2.8k Preset
Press half-shutter in-out 2-3 times in a row
Vertical lines appear on the image, and remains on screen for a few seconds
On one occasion the display became corrupted, but I could not reproduce on demand.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 04:46:59 PM
New upload

- Fixed the bug with 2.5k preset. I simply skipped all patching stuff which seems even better. Maybe fixed the othe bugs as well? Needs testing. Could you check again @gabriielangel?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 06, 2023, 06:17:05 PM
All bugs seem fixed! I couldn't replicate any of the quirks described by Gabriel. Awesome work!
I'm most impressed with the high framerate modes. I don't know what sorcery you did, but besides now working at full 3x3 (1736x976) at 40 fps (!), everything feels way more responsive. 2.35to1 at 48fps works super smoothly, no pink frames, no freezes... just a joy to work with slow motion now!

Very excited right now 8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 06, 2023, 06:19:18 PM
Is there anything special that has to be done on this update? I tried just copying the files but I was having problems: the screen was black and only worked with 10x zoom, some presets like 5K frtp have like 2.5K resolution... lot of weird things going on.
I tried updating the firmware like on a fresh install, but still having the same issues. I'm using the build from 1h ago.
Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 06:21:14 PM
Nice to hear :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 06, 2023, 06:25:22 PM
Quote from: iaburn on January 06, 2023, 06:19:18 PM
the screen was black and only worked with 10x zoom, some presets like 5K frtp have like 2.5K resolution... lot of weird things going on.
I tried updating the firmware like on a fresh install, but still having the same issues. I'm using the build from 1h ago.

Rename ML directory, rename autoexec.bin and ML-SETUP.FIR. Copy extracted build contents to card.
Remove battery, insert battery and card. Startup camera. Report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Ernani on January 06, 2023, 06:32:21 PM
More people share my gratitude:

"Just updated to the latest-latest that was posted an hour ago and it is BRILLIANT. I now has near instant 10x focus aid on 1080P that immediately switches back to LV.
Danne I LOVE U BRO! Thanks so much!"

FB ML group
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 06, 2023, 06:32:40 PM
Hello @danne,

The 2.5k, 29.97  Bug is fixed.

Half-shutter gives a corrupted preview at 5.2k frtp (But preview is ok when using the * button)

The 2.8k vertical lines are still there, and those are recorded to the file.

Frame export of the mlv: (https://i.ibb.co/X55jT1w/M06-1322-frame-1.png) (https://ibb.co/n116S9W)


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 06, 2023, 06:32:55 PM
Quote from: Walter Schulz on January 06, 2023, 06:25:22 PM
Rename ML directory, rename autoexec.bin and ML-SETUP.FIR. Copy extracted build contents to card.
Remove battery, insert battery and card. Startup camera. Report back.

I think something went wrong on the update and now the camera is not working properly. I tried with another card that worked fine this morning and now is having the same issues  :'(
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 06:45:35 PM
Hm, I cannot reproduce your issues. Are you testing fresh install and simply selecting a preset or are you adding, changing settings? If changing stuff do test with settings untouched. Then test with your tweaks but include what you changed so we know exactly what to test 👍.
I suspect 2.8k preset needs some waiting before recording after using zoomaid. X10 zoom runs in 30fps i believe and going back 2.8k will take some time for the regs to settle.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 06, 2023, 06:49:06 PM
False alarm thank god... it was just that I changed the video settings on Canon' menu to 640 from 1080p and it seems to mess things up :O
Working great, so cool that Danne is still finding time to work on this updates, thank you!

For some reason the combination of power and limitations on the EOS M with ML makes it so much fun to use :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 07:00:53 PM
New build

Could repoduce some stuck reg situation with 5k frtp but it was fixed by pushing halfshutter again but I added back the patch hook routine for the 5k frtp preset which seems to make it much more stable. Question remains if the other presets works ok now or if we need to add back more of them.
Could you check @gabrielangel
Did the 2.8k preset work better before on your end?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 06, 2023, 07:19:24 PM
Quote from: Danne on January 06, 2023, 06:45:35 PM
Hm, I cannot reproduce your issues. Are you testing fresh install and simply selecting a preset or are you adding, changing settings? If changing stuff do test with settings untouched. Then test with your tweaks but include what you changed so we know exactly what to test 👍.

This is a clean install, I only changed the ratio to 2.39:1, nothing else.
But my lens (Conon EF 35 f2) was set to AF.

So:

a- 2.8k Vertical Lines
With lens set to AF (Or Autofocus enabled in the canon menu with the ef-m kit lens)
For the 2.8k bug to show, you need to focus-aid in-out a few times in a row for the vertical lines to appear obvious. Those will show in darker areas.

With Lens set to MF (or AF off in canon menu with kit lens), the vertical lines do not appear.

b- 5k frtp corrupted preview
With preset set to 2.39:1,
For the 5k frtp bug to show, try hitting the shutter button very briefly, or vary the time you leave your finger on the half-shutter before releasing. It will show.

But when preset is set to 16:9, the preview appears correctly.

If you still cannot reproduce, I will do a video recording for you later.

Thanks!

EDIT: I did not see your new post, gimme an hour and I will report back.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 07:31:25 PM
Thanks for report. Auto focus is a no go in general working with my builds. Manual always ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 06, 2023, 07:54:05 PM
Quote from: Danne on January 06, 2023, 07:00:53 PM
New build

Could repoduce some stuck reg situation with 5k frtp but it was fixed by pushing halfshutter again but I added back the patch hook routine for the 5k frtp preset which seems to make it much more stable. Question remains if the other presets works ok now or if we need to add back more of them.
Could you check @gabrielangel
Did the 2.8k preset work better before on your end?

a- 5kfrtp, any ratio

When lens is set of MF, it works as expected.

When lens is set to AF, pressing half shutter corrupts the image
BUT, pressing * to get in, and half-shutter to get out works fine.

b- 2.8k, 2.39:1

When lens is set to MF, works fine.

When lens set to AF, * in, half-shutter out works.
Half-shutter in-out gives the vertical lines. Do in-out a few times in a row for those to become obvious.

c-2.5k preset works fine at every setting. AF slightly less snappy, but working fine nonetheless.

Quote from: Danne on January 06, 2023, 07:00:53 PM

Did the 2.8k preset work better before on your end?

With the OCT 6 2022 Build, Everything was working well, except that the camera would not always remember the AF after exiting focus aid (Image would re-become blurry after a successful focus)
This only happened with the EF lens mounted on a viltrox adapter.
When using the kit lens, the AF worked 9/10. (On the Jan 5 2023 build, that part of the story worked well with every lens though!)

The 2.8k preset was also a little more immune to stopping early at 12 bits.

This may, or may not be relevant to help identify an unclosed loop:

When turning the camera on, one-shot AF would lock and beep. Even if you did it 10 times in a row.

But after recording the first clip, it would focus successfully, but the beep would not sound.

SO, MF works fine now at every resolution.

As for one-shot AF, you're not that far. I'm sure that you will eventually stumble upon what's acting out.

Thanks again for the fixes!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 06, 2023, 07:57:44 PM
Ok, Af is the problem.
Manual focusing is the way. I will not test af as it's too buggy.
Thanks for those tests.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: titaniumshell on January 06, 2023, 11:40:50 PM
Appreciate all the hard work you have put into the eosm build. I believe there is an hdmi bug for monitors. Basically plugging in the monitor resets the custom buttons option and disables x3 crop.
It stays like this until you set the buttons up again.
This was present in Oct6 build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2023, 12:29:52 AM
I think I did some automation here yes, can´t remember. But those fixes were there for a reason. What is the problem?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on January 07, 2023, 06:35:10 AM
The issue is he want to press set for 3x with a monitor connected and the option is greyed out (disabled) when you connect a monitor. I think line 2493 in your crop_rec.c is causing this:

/*when enabling hdmi port turn off following*/
if (shamem_read(0xC0F14224) == 0x77F077F)
{
zoomaid = 0;
x3toggle = 0;
}



When i comment out x3toggle = 0; it allows the user to use 3x crop with monitor connected, but I didn't investigate further because the 2k preset accomplishes the same thing as 3x crop (for my needs) and I assumed you did this for stability
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 07, 2023, 07:21:30 AM
Something like that. Don't think it worked with hdmi.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: titaniumshell on January 07, 2023, 10:15:49 PM
Hi Danne
The x3 crop feature becomes unusable
in 1080 mode with a monitor connection.
The set button stops working and wants to open the ML menu.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on January 08, 2023, 03:27:55 AM
Quote from: titaniumshell on January 07, 2023, 10:15:49 PM
Hi Danne
The x3 crop feature becomes unusable
in 1080 mode with a monitor connection.
The set button stops working and wants to open the ML menu.



you don't need this. if you want 3x crop just use the 2k preset, it's the same FOV, it's stable, and it works with the monitor. Even allows you to zoom with half-shutter while recording.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 08, 2023, 04:38:12 AM
Quote from: titaniumshell on January 07, 2023, 10:15:49 PM
Hi Danne
The x3 crop feature becomes unusable
in 1080 mode with a monitor connection.
The set button stops working and wants to open the ML menu.


It's disabled because it's not working with hdmi connected.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 09, 2023, 02:05:26 AM
Tested Jan 8 2023 build today.

When using half-shutter, Focus aid transitions are slightly slower than last build, but 100% reliable and consistent now.

It is possible to Autofocus before recording; and during recording with 1080p, 2K and 2.5K quite reliably (Some limitations) as long as you are in good light.
I was able to follow and auto focus on squirrels and young kids going left and right, with seemingly no impact on usual recording times.

You can't rack-focus (Because it always focus the whole range from back to front). This has to be done manually.

it is worth reporting as it can be useful.

Details.

MF:

1080p: Snappy,  but when focus-aid while recording, it shows a pinkish display.

5k frtp: Snappy, 2k: Snappy, 2.5k: Snappy, 2.8K: Snappy, 3K:  Snappy
Those all zoom in cleanly while recording and return to normal automatically.


AF (With small Hacks set to AF off)
Allows to autofocus before recording, but not while recording.

1080p:
Half-Shutter gives a static frame, * button works.
Pressing while recording behaves like MF.

5k frtp:
Can focus-aid with half shutter only once (Will nail focus), then other attempts will show a corrupted display. Using * to get in, then half shutter to focus and get out works cleanly.
Pressing while recording behaves like MF.

2k:
Works well.
Pressing while recording behaves like MF.

2.5k:
Works well, there is a slight delay to get out of half shutter.
Pressing half shutter while recording will mess up focus, * button works.

2.8K:
Using half-shutter will yield vertical lines, the effect is magnified by half shutter consecutive times.

Zooming in with *, then focus and exit with half shutter works, even when doing it several times in a row.

Pressing half shutter while recording works sometimes but not reliably, * button works.

3k:
Using half-shutter will yield vertical lines, but won't record in file like 2.8k.

Zooming in with *, then focus and exit with half shutter works, even when doing it several times in a row.

Pressing half shutter while recording works sometimes but not reliably, * button works.


AF (With small Hacks set to AF on)
Allows to autofocus before recording and while recording when applicable.

1080p:
The AF is somewhat continuous. It is slow, but AF happens automatically when you move around.
Half-Shutter gives a static frame, * button works.
Pressing while recording gives a corrupted display.

5k frtp:
Before recording, Can focus-aid with half shutter only once (Will nail focus), then other attempts will show a corrupted display. Using * to get in, then half shutter to focus and get out works cleanly, even repeatdly.

Pressing half shutter while recording nails focus reliably, even if you re focus several times.
* button works.

2k:
Before recording, Works well (need to leave your finger on the button long enough).
Pressing while recording works reliably (need to leave your finger on the button long enough).

2.5k:
Before recording,Works well, there is a slight delay to get out of half shutter.
Pressing half shutter while recording works well, but sometimes stops working.

To make it 100% reliable (or to fix it when it stops working), press and hold * then focus with half-shutter.


2.8K:
Before recording, Using half-shutter will yield vertical lines, the effect is magnified by half shutter consecutive times. The vertical lines are recorded in file.

Zooming in with *, then focus and exit with half shutter works, even when doing it several times in a row.

Pressing half shutter while recording works but not reliably, * button works.

3k:
Using half-shutter will yield vertical lines, but won't record in file like 2.8k.

Zooming in with *, then focus and exit with half shutter works, even when doing it several times in a row.

Pressing half shutter while recording doesn't work, * button works.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2023, 07:58:38 AM
Thanks for checking focusing possibilties. I tested around some and conclusions pretty much the same as described. Using * button and halfshutter when not recording works. While recording most presets works kind of which is good.

"Pressing while recording gives a corrupted display."(1080p)
This preset and high frame rate presets has a preview zoom which looks like shit but still useful for manual focusing.

Regarding 2.8k preset. Could you test lowering frame rate a little? Use either reg_6014 or from the set 25fps menu(tap the menu item to get access to fps override and lower it). Want to check if this will fix the issue. Then probably 2.8k is borderline case especially when using auto focus. Fix will be to lower height a little.

Maybe also possible to fix by changing reg_6008 and reg_6014 together. Try increasing reg_6008 and decrease reg_6014 or other way around.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 09, 2023, 06:36:54 PM
Quote from: Danne on January 09, 2023, 07:58:38 AM
Thanks for checking focusing possibilties. I tested around some and conclusions pretty much the same as described. Using * button and halfshutter when not recording works. While recording most presets works kind of which is good.

"Pressing while recording gives a corrupted display."(1080p)
This preset and high frame rate presets has a preview zoom which looks like shit but still useful for manual focusing.

Regarding 2.8k preset. Could you test lowering frame rate a little? Use either reg_6014 or from the set 25fps menu(tap the menu item to get access to fps override and lower it). Want to check if this will fix the issue. Then probably 2.8k is borderline case especially when using auto focus. Fix will be to lower height a little.

Maybe also possible to fix by changing reg_6008 and reg_6014 together. Try increasing reg_6008 and decrease reg_6014 or other way around.


With 2,8k
A)
set 25fps set to on
value of -380, which gives an even multiple of 23.976, 19.986 (makes it easier to fit on a 24p timeline without interpolation or optical flow artifacts.)

AF before recording works, but vertical lines still appear.
AF while recording doesn't work.

B)
Tried setting reg_6014 to -250 and reg_6008 to 250 in increments of 10 (freezes at +-300)
Doesn't improve.

C)
Tried starting from the 3K preset (starting from 2.5k preset) and lower resolution to 2560 then move up to 2880x1206
More Hacks: lvface
12 bits
Af works before and while recording.
Vertical lines still appear while previewing, but did not record to the file.

I would refrain from lowering the 2.8K resolution, as it allows to rescale to 2520, and gain a little sharpness  (or FOV if you don't get closer) and reduce the appearance of noise significantly.

If you tell me which regs affect resolution, I could try starting from 2.5K and up to whatever, to see when the vertical lines start appearing.

It would be good to eventually make the "Set 25fps" behave like the "Frame rate override" (Off turns it off, even if the inside value is not set to 0). This setting is very handy, but easy to forget.
I use startoff presets to circumvent.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2023, 06:59:26 PM
6804 and 713 follows to change resolution. Try lower 2.8 a little.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 09, 2023, 08:12:57 PM
Quote from: Danne on January 09, 2023, 06:59:26 PM
6804 and 713 follows to change resolution. Try lower 2.8 a little.

In the previous test, I had tried to lower the 2.8k resolution by modifying the Raw Video size, didn't work, so I tried starting from 3K instead in C)

D)
Start from 2.8K preset

I  can modify 713c and  6804_height to taste, but changing 6804_width gives a corrupted zoom-in preview.

So I modified height down to 870 with 6804_height only (And followed 713c accordingly), didn't improve.

Then modified the width using Raw video size, all the way down to 2080x870 in 20 pix steps, display and zoom in preview are fine, but still vertical lines and AF doesn't work while recording.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 09, 2023, 08:41:19 PM
Only reducing height should be enough with the mentioned reg should work. also lowering 7150 could work. Width could be left out for now. Changing in Raw video menu will have no efffect on the issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 10, 2023, 02:34:20 AM
I found out that AF doesn't work at 10 bits. To validate, I loaded the 2.5k preset and set it to 10 bits. It won't focus while recording.

So loading the 2.8k preset and setting it to 12 bits before recording, it will Auto focus while recording even at full resolution (But it misses every now and then)

I still get vertical lines though, so I tried reducing height with the reg up to -200, but no luck.

I saw that some combinations of 713c and 7150 have some effect on the way it shows.

So I will try again this week to find out if some reg combinations will get rid of the vertical lines.

In the meantime, using * to zoom in and half shutter to focus and get out works and do not exhibit the vertical lines issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 10, 2023, 11:45:02 AM
New build:

- Fixed 2.8k preset while using autofocus.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on January 10, 2023, 01:28:54 PM
unfortunately bilal's build can't use autofocus while using preset
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 10, 2023, 01:41:01 PM
What camera?
Test turning off small hacks and more hacks and see if that works.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on January 10, 2023, 03:15:35 PM
mine 700d
ok. thanks I'll try it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 10, 2023, 08:27:28 PM
New build:

- More autofocus stuff
With latest sd_uhs speed (240Mhz) and some other fixes around stability it seems autofocus works rather well both while filming and prechecking before recording. Far from perfect of course with old one shot af but nevertheless it works.

Best practice. Probably to turn focus aid to OFF and turn on AF+MF in canon menu, flexizoneAF and then ONE SHOT in movie tab(canon).
Also note following. Under raw video menu set Small hacks to af on and More hacks to only lvface.

Above settings should give ability to prefocus before recording and while recording also obtain correct one shot focus with halfshutter.
Every preset will have its own quirks but hey, it´s free.

Next best practice. Enable focus aid to sticky push and you wil be able and use halfshutter to get into x10 zoom, Push halfshutter again and it will focus and releasing button will get you back to filming preview. This workflow does not work with HD1080p and High framerate presets. In this case use *(star button) to get into x10 zoom and then use halfshutter.

Well. A lot to test here but above should be a good starting point.

Thanks to @gabriielangel for a lot of ongoing testing and for pointing out what works and not. AF working came as a surprise on my end...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 11, 2023, 02:18:59 AM
Jan 10 2023 build Tested with a Canon EF 35mm f2 IS.
Different lenses may behave differently depending on the switches available outside, Full time MF, etc.

In addition to what is stated in Danne's post:
3k 24p 12bit can now record longer clips more easily (Press INFO while recording / Histogram 3.0 Max);
3k 12bit 19.98p (Set 25 fps to ON and -380) behaves like 2.8k 12bit 24p in terms of clip length;
5K Ana and Ana flv also got a boost in recordable clip length at 12 bits.

@danne: 10bit now works on my end, but 12bit still yields more consistent focus results.

Details:

MF
While recording, you only need to press the * or half shutter ONCE. It will go back to normal by itself (Non sticky shutter while recording). If you press twice while using 5k ana / flv, it may not bounce back to normal.

1080p
Before recording: * button and half shutter both work to zoom in.
While recording: not possible to zoom in.

2k
Before recording: * button and half shutter both work to zoom in.
While recording: both buttons will provide some zoom (2X ?).

2.5k, 2.8K & 3k
Before recording: * button and half shutter both work to zoom in.
While recording: both buttons will provide 10X zoom.

5k Ana & 5k Ana flv
Before recording: * button and half shutter both work to zoom in.
While recording: 10 bits, both buttons will provide 10X zoom (it is an anamorphic stretch). 12 bits will give a freezed display.

AF
(Follow Danne's recommendations to the letter and it will work as follows)

1080P
This mode will try to continuous autofocus. it works, but is reeeeally sloooow.
So, if you use bigger EF lenses which make a lot of noise, in Canon menu, set Movie Servo AF to Disable. You will then get a comfy and snappy one shot AF.

Before recording:
As stated in Danne's post, you should use  *, then press and hold half-shutter to focus, then release to go back to normal.

While recording: Pressing * or half shutter, the display will look pink, but holding the half-shutter will AF correctly and go back to normal on release.

5k frtp, 2k, 2.5k, 2.8k, 3k (3k works better at 19.98p)
Before and during recording, both buttons work as expected. 3k is slower to return to preview after successful focus while recording.

5k Ana & 5k Ana flv
like 1080p, This mode will try to continuous autofocus. set Movie Servo AF to Disable.

Before recording: Use *, then half-shutter hold and release to focus.
While recording: Press-hold-release Half-shutter button to focus. (if you don't take your time to hold or release before it is done focusing, display may freeze to the zoomed in state)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2023, 06:29:52 AM
New upload:

- Fixes for other ratios but 16:9 when shooting af focus aid turned OFF
- 3k fix. Same issue as with 2.8k when using af(hot cmos lines).

Thanks for tests @gabriielangel.

Edit: My current workflow with af is to change * button in canon me to last alternative which makes the button focus and now halfshutter is behaving like the * button. Plus here is that manual focusing will work all the time with my 22mm f2 lens instead of after locked focus. Also disable focus aid.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 11, 2023, 02:57:10 PM
Quote from: Danne on January 11, 2023, 06:29:52 AM
New upload:

Edit: My current workflow with af is to change * button in canon me to last alternative which makes the button focus and now halfshutter is behaving like the * button. Plus here is that manual focusing will work all the time with my 22mm f2 lens instead of after locked focus. Also disable focus aid.
That's a good idea. How can I do it? I cannot find where to change * button. I have firmware 2.0.2
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2023, 05:38:35 PM
Among c.fn settings  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 11, 2023, 09:10:46 PM
Tested Jan 11 2023 Build, with a Canon 22mm f2 ef-m lens.

Here only the differences since last post. I still tested every mode.
Will post the 2.39:1 results this evening (My disk is Full!!)

16:9 (15 seconds clips)

AF


3K
Focus before recording: Works
While recording: Displays a black screen both with * and Shutter. Does not focus.

5k Ana flv
Before recording: Works
While Recording: Pressing * or half shutter, The display shows only the uppermost portion of the sensor, so it has trouble nailing focus.
1736x2930 16 fps recorded pink frames on 2 trials

1080p hf
Display is shown as an anamorphic squeeze
Before recording, zoom works
While recording: Displays pink, but still focuses successfully

MF

1080p hf
Display is shown as an anamorphic squeeze
Before recording, zoom works
While recording: No Zoom

5k Ana
If you press half shutter to zoom in before recording, then you record, it may give a Data Corruption error, or freeze.
I am not able to reproduce the issue on demand though (Happened twice out of 8 trials)
1104x1870 23.972 fps Recorded pink frames.

5k Ana flv
Before recording: Works
While Recording: Pressing * or shutter, The display shows only the uppermost portion of the sensor.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on January 11, 2023, 09:33:06 PM
Quote from: ML700D on January 10, 2023, 01:28:54 PM
unfortunately bilal's build can't use autofocus while using preset

Yeah, I disabled autofocus completely for stability reasons. in my 650D/700D/100D builds once you turn on autofocus while crop mode is enabled, crop mode would turn off immediately.
I might re-enable autofocus in future for some presets, or find a cleaner way (and more stable) to use autofocus with crop mode presets.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 11, 2023, 09:34:48 PM
Quote from: gabriielangel on January 11, 2023, 09:10:46 PM
Tested Jan 11 2023 Build, with a Canon 22mm f2 ef-m lens.

Here only the differences since last post. I still tested every mode.
Will post the 2.39:1 results this evening (My disk is Full!!)

16:9 (15 seconds clips)

AF


3K
Focus before recording: Works
While recording: Displays a black screen both with * and Shutter. Does not focus.

5k Ana flv
Before recording: Works
While Recording: Pressing * or half shutter, The display shows only the uppermost portion of the sensor, so it has trouble nailing focus.
1736x2930 16 fps recorded pink frames on 2 trials

1080p hf
Display is shown as an anamorphic squeeze
Before recording, zoom works
While recording: Displays pink, but still focuses successfully

MF

1080p hf
Display is shown as an anamorphic squeeze
Before recording, zoom works
While recording: No Zoom

5k Ana
If you press half shutter to zoom in before recording, then you record, it may give a Data Corruption error, or freeze.
I am not able to reproduce the issue on demand though (Happened twice out of 8 trials)
1104x1870 23.972 fps Recorded pink frames.

5k Ana flv
Before recording: Works
While Recording: Pressing * or shutter, The display shows only the uppermost portion of the sensor.




Sounds about as good as it gets.
3k works nicely here. Turned off focus aid. * button C.fn set to third 3.AE/AF, no AE lock. Think I get af working with all presets like this. Priority presets are:
HD 1080p
5k anamorphic frtp
2k 1:1 crop frtp
2.5k 1:1 crop frtp
2.8k 1:1 crop
HD 1080p hf

The rest are bonus ;).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on January 12, 2023, 01:21:55 AM
Quote from: Danne on January 11, 2023, 09:34:48 PM
Sounds about as good as it gets.
3k works nicely here. Turned off focus aid. * button C.fn set to third 3.AE/AF, no AE lock. Think I get af working with all presets like this. Priority presets are:
HD 1080p
5k anamorphic frtp
2k 1:1 crop frtp
2.5k 1:1 crop frtp
2.8k 1:1 crop
HD 1080p hf

The rest are bonus ;).

Yes, these modes are rock solid and 3k 24P 16:9 works here when using the aforementioned recommendation.
Also, I have seen a lot of folks on facebook reporting the extended recording times and overall stability.

Thanks to Bilal's Overclock and your latest work, we'll be able to squeeze a few more years out of the cam!

For the sake of completeness, the other tests I didn't report earlier today:


2.39:1

AF

5k Ana
1464x1836 will record pink frames each time you try to focus while recording. Pre-record focus works.

1304x1636 12bit 24p works well when focusing before, and while recording.

5k Ana Flv
1736x2180 12bit 19.99p, will record pink frames each time you try to focus while recording. Pre-record focus works.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 12, 2023, 08:29:50 AM
New build

- Fix when focus aid turned off and using autofocus. When using frtp presets second recording would fail auftofocusing.

5k Ana and 5k Ana Flv are two presets I havn´t considered and never use so af use here will probably not work good.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: parallel visuals on January 25, 2023, 09:58:52 PM
This is my first post to the forum and I would like to say a big THANK YOU to Danne and all other contributors without whom my whole Magic Lantern journey could not happen.

I was brave enough using the EOS M with ML for professional work, if you are interested, you may take a look at a festival aftermovie I made using the 1080p 38fps mode:
https://www.youtube.com/watch?v=ZT6hPFegjos

I was so happy with Magic Lantern that when I wanted to upgrade my setup I have chosen the 5D3. Of course an R6 or a C70 was out of my reach, but a big advantage of the EOS M and the 5D3 even compared to those cameras is that I can have raw video at relatively low (HD) resolution, which is enough for youtube/instagram and can be easily edited on computers without a GPU.

So now I am a happy owner of 3 EOS M-s and a 5D3: time to start making multicam music session videos.

If I can contribute with some testing, e.g., EOS M / 5D3 comparison of the new builds, please let me know!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on January 26, 2023, 08:11:17 AM
Quote from: parallel visuals on January 25, 2023, 09:58:52 PM
So now I am a happy owner of 3 EOS M-s and a 5D3: time to start making multicam music session videos.

If I can contribute with some testing, e.g., EOS M / 5D3 comparison of the new builds, please let me know!

Well, I would be interested how EOS M temperature rise differs for powering options: internal Battery, dummy battery powered by 9V (powerbank with PD), dummy battery powered by 7.2/7.4 Volts (external LiON battery pack).
If you are equipped with those, of course.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: dpjpandone on January 26, 2023, 01:15:06 PM
Quote from: Walter Schulz on January 26, 2023, 08:11:17 AM
Well, I would be interested how EOS M temperature rise differs for powering options: internal Battery, dummy battery powered by 9V (powerbank with PD), dummy battery powered by 7.2/7.4 Volts (external LiON battery pack).
If you are equipped with those, of course.

I've several different powering schemes (external battery or AC adapter through step-down converter to dummy battery) It makes no difference as the lp-e12 does not generate a lot of heat to begin with
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: parallel visuals on January 26, 2023, 02:42:00 PM
Hi Walter,

Unfortunately I do not have a dummy battery. But I can say I have never had overheating problems, not even on concerts at Summer evenings (28-30 degrees Celsius). With my EOS M camera on a tripod and the screen brightness all the way down to minimum, I can record about 50-55 minutes with a fully charged battery and this almost fills a 128Gb SD card in the 1080p mode at 24 fps. Then I just change both the battery and the SD card and continue recording without any issues.

I still have to test how the 5D3 behaves in such a situation since it has a larger sensor that might be more susceptible to overheating.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whothe on January 29, 2023, 11:38:58 PM
Danne, thank you for all the effort and time!

Can someone pls validate:
Pink Frames @ 2023Jan29 build / HD 1080p / 3:2 / 14bit / 23,98fps
(known issue?)

No pink frames so far in
HD 1080p /16:9
Ana5kfrtp / ratio off & 16:9 & 2.35:1 & 2.39:1

Thanks again!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 30, 2023, 12:17:23 AM
Validate?
Are you getting pink frames? If so, share your settings.
Title: Re: Danne's crop_rec_4k experiments for EOS M-Bitrate Test
Post by: gabriielangel on January 30, 2023, 09:37:29 PM
I saw a few posts talking about the differences when recording at different bitrates. So here is a test I did last summer.

The 0 reads 98% on the eosm spot meter, and the steps are approximately 1 stop each.
The monitor is probably non-linear, so this test should be seen as relative between the different bitrates recorded and not as an absolute dynamic range test...
You can see all the metadata in the screenshots.

The MLV files and the test picture I used are in this zip file: https://bit.ly/3jhACsk (https://bit.ly/3jhACsk)

An animation you can loop, where I added 2 stops of brightness to make the differences more obvious: https://bit.ly/3XGBTbj (https://bit.ly/3XGBTbj)

Here are the screenshots with the MLVApp interface so you can judge for yourselves (The signal is hotter at 14bits than at 12 and 10bits. I added an appropriate offset to judge equal exposures):


14 Bits
(https://i.ibb.co/T8pRK1L/Bitrate-Test14bit.png) (https://ibb.co/jMBGVzR)

12 Bits
(https://i.ibb.co/FWn6SJ7/Bitrate-Test12bit.png) (https://ibb.co/W3snbFK)

10 Bits
(https://i.ibb.co/qpmjn6v/Bit-Rate-Test10bit.png) (https://ibb.co/L19RPK3)

Save the pics and vids to your desktop to see full-sized.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: whothe on January 31, 2023, 11:16:45 AM
Quote from: Danne on January 30, 2023, 12:17:23 AM
Validate?
Are you getting pink frames? If so, share your settings.

Yes, I am getting pink frames
I am using the 2023Jan29 build.

pink frames happened in

HD 1080p / 1736x1158
NTSC 24p (23.98)
ratio off
bitrate off
Digic peaking slightly sharper
waveform small

those are the only settings modifyed

SOLVED
DIGIC peaking was the problem
no pink frames with DIGIC peaking off

Thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2023, 11:25:54 AM
Exactly :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 31, 2023, 06:12:59 PM
Danne I've installed your latest version (crop_rec_4k_mlv_snd_raw_only_2023Jan31.EOSM202.zip) and I cannot get Dual ISO to work. Anyone else having this problem?

I tried deleting everything on the card and copying just the new files, but doesn't work. I can activate it, but then it says that the dynamic range gain is 0 and it has no effect on the video.
On my other cards with older versions it works fine. Is there a way to download older versions?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2023, 07:12:42 PM
I am experimenting with dual iso. It is set to 100/100 iso from start, needs to be changed after set to on and when previewing it starts recording dualiso when starting to record. Before this it´s actually regual preview. This change is because then one can keep base iso 100 and then move previewing/recovery iso with short cuts button.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 31, 2023, 08:04:20 PM
Quote from: Danne on January 31, 2023, 07:12:42 PM
I am experimenting with dual iso. It is set to 100/100 iso from start, needs to be changed after set to on and when previewing it starts recording dualiso when starting to record. Before this it´s actually regual preview. This change is because then one can keep base iso 100 and then move previewing/recovery iso with short cuts button.

Ahhhhhh got it working now, brilliant idea!! No more going back and forth for focusing  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2023, 08:36:23 PM
Had a little help from theBilalFakhouri   8).
My workflow now is enable dualiso and then I set my highlights according to iso 100. Then I am free to push my other iso around. Not perfect but faster than before at least.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on January 31, 2023, 09:06:48 PM
For some reason I cannot get it to work consistently, not sure what I'm doing different each time...
I understand that it should work like that:
- I set Dual ISO from the settings, and starts at 100/100. I then change it to whatever I want, like 100/1600.
- I go back to live view, and there I'm free to set the ISO for previewing to my liking.
- As soon as I press record, it will automatically set the Dual ISO config (100/1600) and start recording in Dual ISO mode.

It worked after I read your post (not sure if I followed those exact steps), but now it's just recording regular video, even though on the bottom it says 100/1600.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on January 31, 2023, 09:29:52 PM
I will take a look. There´s probably a conflict somewhere with the shortcuts.
I only tested the other way around. i.e 1600/100 so that my recovery iso 100 is always set to 100 whereas 1600 is free to move around iso 800, 400 etc.
I´ll have a look later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2023, 12:29:37 AM
Pushed a fix. It´s updating iso as expected but it will flicker a bit when decreasing iso with gain buttons. Best I could do for now.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2023, 05:00:22 AM
New build:
Major rework of iso shortcuts. Cleaned out a lot of code. Should help with stabilty.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 01, 2023, 09:57:59 AM
Quote from: Danne on February 01, 2023, 05:00:22 AM
New build:
Major rework of iso shortcuts. Cleaned out a lot of code. Should help with stabilty.

Wow...! I've been testing and it had to be a major rework because the feeling of confidence on a button when I press it is now x10  :D

On a side note, I'm new to Magic Lantern and it took me a while to know what a button will do when I press it, but I have to admit that it was not until now that I understand how to configure it properly. Thanks to the fact that on gain there is no "aperture+ISO" option anymore, I realized that it was not related to the wheel selector! So I finally made my mental model:
UP-DOWN -> ISO adjust
RIGHT -> Switch between aperture and shutter speed when rotating the wheel (make sense that the one active, either aperture or shutter speed, is highlighted on a different color or grey out the other one a bit?)
LEFT -> Focus zoom
SET -> Crop mode when available (1080 and 5K) or something else
INFO -> False colors if live view available, or actual frame preview

Dual ISO is working 100% of the time and the new method is sooo much better. Sometimes it's better to preview with low ISO (most of the scene is well lit, but there are some shadow parts) and sometimes with high ISO (just a few highlights on the scene), and now it's a pleasure being able to decide that and have a perfect preview until you click the record button.

I didn't compare the behavior with previous versions in detail, but the feeling is much better (in part due to me realizing how it was supposed to work), awesome!

Note: I had to cleanup my old settings, otherwise weird things were happening
Note 2: I think there was another version with the same name (Danne you never thought you will release 2 versions in one day hahah) that was not working properly for me, just in case someone downloaded the one that was up for a few hours.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2023, 10:30:44 AM
Cool, thanks for testing!
Yes, I push multiple versions often so multiple downloads is a must  :P. I am lousy holding back  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on February 01, 2023, 01:01:11 PM
New updates are great. I have tested all presets and no frame drops so far. Great.
One question though. Is it possible to make the greyscale display that shows up WHILE recording when we set to framing a little bit faster? Not the framing display but the one that shows while recording is going on.  Maybe make it skip more frames so as to keep up with the action. Since realtime preview isnt possible on higher modes, having a little bit faster framing display while recording can make upto it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 01, 2023, 11:10:05 PM
New upload

- Optimizing grayscale preview while recording with framing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 01, 2023, 11:27:30 PM
Quote from: Danne on February 01, 2023, 11:10:05 PM
New upload

- Optimizing grayscale preview while recording with framing.

Do every preview benefit from this commit or only the grayscale ones? A faster framing preview on all modes would be a game changer.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on February 01, 2023, 11:36:53 PM
Quote from: Mattia on February 01, 2023, 11:27:30 PM
Do every preview benefit from this commit or only the grayscale ones? A faster framing preview on all modes would be a game changer.

I have tested. All crop modes benefit from it. The higher the resolution, more laggy it would be but thats normal and still significantly faster. I use 2.5k, 2.8k and they are almost same speed as real time preview. even 5.2k is now totally usable.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 02, 2023, 12:03:43 AM
Quote from: amitkattal on February 01, 2023, 11:36:53 PM
I have tested. All crop modes benefit from it. The higher the resolution, more laggy it would be but thats normal and still significantly faster. I use 2.5k, 2.8k and they are almost same speed as real time preview. even 5.2k is now totally usable.

It doesn't really seem almost the same as real time to me.. Actually, I didn't notice any change on the 2.8k or 3k modes.. What settings/hacks are you using?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 02, 2023, 12:16:15 AM
Quote from: amitkattal on February 01, 2023, 11:36:53 PM
I have tested. All crop modes benefit from it. The higher the resolution, more laggy it would be but thats normal and still significantly faster. I use 2.5k, 2.8k and they are almost same speed as real time preview. even 5.2k is now totally usable.

Ok I made some tests and the 2.8k 10 bit looks almost real time, as bit depth or resolution increases the refresh rate decreases.. Could it be partly because I'm using an old and slow sd card? What card are you using?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: amitkattal on February 02, 2023, 12:30:29 AM
Quote from: Mattia on February 02, 2023, 12:16:15 AM
Ok I made some tests and the 2.8k 10 bit looks almost real time, as bit depth or resolution increases the refresh rate decreases.. Could it be partly because I'm using an old and slow sd card? What card are you using?

Yes higher resolution and bit depth will make it laggier. 2.5k 10 bit is most fast and 5.2k is least but still usable. i am using sandisk pro 200 mb/s
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 02, 2023, 01:11:15 AM
I made some weird discover in my tests of the new build, a nice one actually: in 3k mode, 14bit, at 2.39 aspect ratio the recording slows down and then stops after few seconds. At 16/9 aspect ratio is continuous.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2023, 06:34:40 AM
Uploaded a fix for 5k anamorphic frtp when ratio set to OFF(1736x2178). Cropped real time previewving working.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 02, 2023, 01:33:56 PM
Quote from: Danne on February 02, 2023, 06:34:40 AM
Uploaded a fix for 5k anamorphic frtp when ratio set to OFF(1736x2178). Cropped real time previewving working.

Thanks, I realized yesterday that I couldn't set this mode at 24fps, but now it works :)

What I also noticed is that the view stays on "Real-time" and I cannot change it to "Preview" pressing the assigned button. It looks like internally it changes the value, because if I start and stop recording, then it sets the "Preview" correctly if it was set to it before.
Another thing, that I guess is a side-effect from the Preview speed improvements, is that I cannot get continuos recording anymore at 1736x2178 12bit, not even at 10bit.
If I disable Global draw, then I get continuos again, and even Immortal at 10bit, but I don't know what I'm recording  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2023, 01:41:51 PM
I'll take a look later. Could be more processor heavy now but it's possible to tweak this easily in mlv_lite. Not sure it is a problem though. 10bit is a must with that preset. Did you get better results with older builds?
Not sure what's going on with your preview issue. It's grayscale framing for this preset.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 02, 2023, 02:27:49 PM
I tried again with an old card and the recording at 1736x2178 12bit lasted about the same, but with lower fps preview. Forget what I said, it's better now  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2023, 02:29:21 PM
Cool. That particular preset is a bit on the verge  8)
If you elaborate a little on the preview issue it would be nice to solve. Expected now is that one have to select framing or real time manually.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 02, 2023, 03:32:45 PM
Quote from: Danne on February 02, 2023, 02:29:21 PM
Cool. That particular preset is a bit on the verge  8)
If you elaborate a little on the preview issue it would be nice to solve. Expected now is that one have to select framing or real time manually.

User error... now I deleted my presets, start over with framing selected from the start, and everything working smoothly  8) Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 02, 2023, 11:20:31 PM
New upload:

Added an option to automate previewing in real time but goes into framing grayscale when recording(Real time idle). Affects higher resolutions in crop mode. Better for previewing histogram etc according to a user who reached out:
(https://i.postimg.cc/7hZg76JQ/VRAM0-PPM-500px.jpg)

(https://i.postimg.cc/0QfYbmjw/VRAM1-PPM-500px.jpg)

Also testing being a little more gentle to the cpu following this suggestion:
https://www.magiclantern.fm/forum/index.php?topic=25287.msg241992#msg241992

Not gonna show in speed but might help a little in some cases.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 02, 2023, 11:36:19 PM
Tested Feb 02 2023 Build:

Framing Preview:
The framing preview is now fast enough to track moving subjects (Like someone walking or a squirrel)

Dual ISO:
Dual ISO works best with 5k frtp up to 100/400. Fewer artifacts and no flickering.

With other presets (Especially 1080p, where I would not use it) artifacts are visible on very contrasting objects (Like a black on white address sign), and on very thin objects and lines.

5k anamorphic 1304x1636 exhibits bad pixels when using dual ISO

5k Ana FLV shows more flicker, but no visible aliasing artifacts.

Suggestion: For shadow recovery, it would be nice to have a way to lower the pivot point between highlights / shadows (in MLV App). Right now it is around 75% brightness which is in a very visible range. Maybe having it around 25-30% would bring the flicker down to a less noticeable region?

MLV app doesn't show dual ISO metadata, but all clips (except 2.8k sometimes) now show the dual iso stripes on frame 1.
The 2.8K preset recorded dual iso at frame 2 on 1 occasion, But the last frames are always ok now.
The 2.8k preset sometimes stays on preview and you can't go back to framing unless you switch presets.
2.8k gave me an "Unpatched error" once. I could not reproduce it.

It seems that MLV app is having a hard time with dual ISO and focus pixels maps (Some focus pixels are left behind) and with the fix bad pixels option ( which makes cyan, magenta  and yellow pixels appear, where the non dual ISO recording won't.) See image below, the rainbow pixels only appear when switching on the "Fix Bad Pixels" option, regardless of the interpolation method.

(https://i.ibb.co/rFT3j52/Fix-Bad-Pixels.png) (https://imgbb.com/)

image is from 1736x2180, the problem is a lot less visible in other modes.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 03, 2023, 12:30:41 AM
Just tried the 2023-02-02 22:32 build and it changed the way I see hires modes  :o
I would normally choose 2.5K frtp over 2.8K just because of the live view and 14bit continuos, but now the preview in 2.8K is so responsive, even while recording, that together with the seamless zoom for focus during recording makes me want to use it a lot more!
The same goes for 5K 1736x2180, can't wait for dawn to go trying outside <3
Thanks Danne!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 03, 2023, 03:27:47 PM
@gabriielangel could you share an MLV file with a few frames from that video with the artifacts?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on February 03, 2023, 03:31:47 PM
The latest changes appear to be a big improvement over the version from just a month ago!
The shot preview is pretty much usable in my opinion, so even with the highest resolutions I don't have to be blind frame anymore!
Danne, you did a great job once again!  ;)

I have other cameras, but I honestly find using Magic Lantern easier and more rewarding than other companies' native shooting functions.  :)

Only one detail bothers me, and that's the shutter button. Isn't there a way to block the photo taking functionality?
Personally I only use the camera for video and sometimes it happens that I press the button too much while focusing, ruining the shot.
Does this happen to anyone else or am I the only wimp?  :P

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 03, 2023, 04:00:40 PM
Quote from: BatchGordon on February 03, 2023, 03:31:47 PM
Only one detail bothers me, and that's the shutter button. Isn't there a way to block the photo taking functionality?
Personally I only use the camera for video and sometimes it happens that I press the button too much while focusing, ruining the shot.
Does this happen to anyone else or am I the only wimp?  :P

I asked the exact same question a few days ago on the "MLV RAW ON EOS M" Facebook group! No answers so far...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 03, 2023, 04:16:33 PM
I was looking into this before and had a semiworking solution with unpress halfshutter but buggy as hell. If someone finds a good function here please let me know.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 03, 2023, 04:50:35 PM
Quote from: BatchGordon on February 03, 2023, 03:31:47 PM
Personally I only use the camera for video and sometimes it happens that I press the button too much while focusing, ruining the shot.
Does this happen to anyone else or am I the only wimp?  :P

You can try using the * (Star Button) to focus instead. The shutter button behaves a lot better than last year, where it were a lot more sensitive, but I also press it too far every now and then.

Try using the method Danne outlined here: https://www.magiclantern.fm/forum/index.php?topic=25781.msg241458#msg241458

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on February 03, 2023, 05:22:46 PM
Nice to know I am not alone!

Quote from: gabriielangel on February 03, 2023, 04:50:35 PM
The shutter button behaves a lot better than last year, where it were a lot more sensitive, but I also press it too far every now and then.

Yes, it definitely behaves alot better. I will try your suggestions this weekend, thank you very much!

@Danne
As soon as I get some free time I'll starting looking too, but I don't have big hopes since you know the code so much better than anyone else!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Zag on February 03, 2023, 06:18:43 PM
For some reason this version doesn't work on my Canon eos-m. When i install it it just freezes the camera after restart. Older version from january works fine tho.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on February 03, 2023, 08:33:50 PM
Latest changes to Danne's builds will not work with all cards anymore. Which one are you using?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 03, 2023, 10:35:44 PM
I am enabling 240Mhz blindly upon install. Should be possible to remove sd_uhs.mo before install if we suspect card issues.
Also format card to fat32 if on later mac os systems.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 03, 2023, 11:17:59 PM
Danne since the improvements on dual ISO, files have a "0" on dualMode and isoValue. Any idea why? Not a big deal, but it's nice when MLVApp detects it

typedef struct {
    uint8_t     blockType[4];    /* Dual-ISO information */
    uint32_t    blockSize;
    uint64_t    timestamp;
    uint32_t    dualMode;    /* bitmask: 0=off, 1=odd lines, 2=even lines, upper bits may be defined later */
    uint32_t    isoValue;
}  mlv_diso_hdr_t;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 03, 2023, 11:41:16 PM
I have no reference file or source to what it should look like to be able and autodetect in Mlv App but if it´s not working properly let´s fix it. You reference to mlv.h and here is what to check in dual_iso.c:
/* callback routine for mlv_rec to add a custom DISO block after recording started (which already was specified in mlv.h in definition phase) */
static void isoless_mlv_rec_cbr (uint32_t event, void *ctx, mlv_hdr_t *hdr)
{
    /* construct a free-able pointer to later pass it to mlv_rec_queue_block */
    mlv_diso_hdr_t *dual_iso_block = malloc(sizeof(mlv_diso_hdr_t));
   
    /* set the correct type and size */
    mlv_set_type((mlv_hdr_t *)dual_iso_block, "DISO");
    dual_iso_block->blockSize = sizeof(mlv_diso_hdr_t);
   
    /* and fill with data */
    dual_iso_block->dualMode = dual_iso_is_active();
    dual_iso_block->isoValue = isoless_recovery_iso;
   
    /* finally pass it to mlv_rec which will free the block when it has been processed */
    mlv_rec_queue_block((mlv_hdr_t *)dual_iso_block);
}

I tested dual iso prior to my fixes in the code but metadata was not in there to autodetect in Mlv App. Do you have any reference file which autodetects?

EDIT: Mode 1 is on when I take out my fixes. So some race condition. Let´s have a look.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 04, 2023, 12:14:08 AM
Sure, in this video (https://mega.nz/file/YskCFYpC#e7Mkh49qDhqpPcGDA_5r61P__U-5W_a1lqe8gbfKlp4) the structure looks like this after parsing:

DISO @0x25156def9cb mlv_diso_hdr_t
blockSize 24 uint32_t
blockType "DISO" uint8_t[4]
dualMode 1 uint32_t
isoValue 4 uint32_t
timestamp 17445940 uint64_t


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2023, 12:48:35 AM
WHat build was used? Code source? I probably fkd up my dualiso stuff somehow :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2023, 12:56:38 AM
Should be fixed now. Uploaded a new build.
Still some race condition with 2.8k where the first 2 frames are non dualiso. Need to check into that.
Anyway. Should Mlv App autoenable dualiso when mode 1 flag is on?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2023, 02:02:18 AM
New build:
To fix dualiso when using framing prwview it will apply dualiso as it was working before showing scanned lines. Real time preview will choose base iso when not recording. This should work with all metadata and all frames will be correctly recorded.

EDIT: More fixes. Previewing in x10 zoom and when using halfshutter if in framing will show base iso.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 04, 2023, 07:51:04 AM
Tested 2023Feb03 and 04 version 1 build:

Card: Sandisk Ultra SD 200 MB/s 256GB

Max Recording Time

Interesting, when using my ef-m 32mm f1.4, The 2.8k 12bits and 2.5k 14 bits took a performance hit.

Example:

2.8k/12 Feb 04 2023: 7-9 seconds (Stopped by itself)
2.8k/12 Feb 03 2023: 7-9 seconds (Stopped by itself)
2.8k/12 Jan 13 2023: 43-54 Seconds (Stopped by itself)

I noticed the shorter recording duration, so I recorded, Installed a different build on the card, restarted the camera twice, used identical settings, record. Did the same thing to move back to the latest build, then again to an older build.

I shot a chart lit by a LED panel, with the tripod. So there are no variables other than the change of build.
(Details in the screenshot)

When I switched to the  EF 35mm F2, I got 1 minute+ like before...

Dual ISO

The metadata shows as expected and the ISO stripes show on the 1st frame.
2.8k Dual ISO Clips are ok from 1st to last frame.
No need to force Dual ISO anymore, you just have to set it to "On"
The focus dots / Bad pixels issue I reported earlier is not as bad, but it is still there:

With a Single ISO Clip: Works as expected

With a Dual ISO clip: Enabling fix focus dots will make pixels appear (Less pronounced with 5k frtp).
Using Fix Bad Pixels leads to some pretty nasty artifacts.



I linked 3 clips at the end of the post.

(https://i.ibb.co/YRf5kGv/Dual-ISO-Test-Jan-04-2023.png) (https://ibb.co/X2FnsTm)

Sample MLV (Will remove after 1 week, drive needs cleaning): http://bit.ly/3HxcSs7 (http://bit.ly/3HxcSs7)

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 04, 2023, 09:26:43 AM
Hi, just tried the build from 2023-02-04 06:27, things that I've noticed:
- Dual ISO is now detected by MLVApp! :)
- Didn't noticed a significant drop (something that I can notice) in recording times on my side.
- In Framing preview (tested in 2.8K) once you activate dual ISO, it stays on even after switching it off. I can make it back to normal by switching to zoom focus view (real time) a few times (another race condition?)
- In 2.8K sometimes it switches to Real time preview and there is no way to go back to Framing. Not pressing the button, not going to the menu and back... just switch off and on works. I cannot replicate this every time, so it could be something that I'm doing and I shouldn't do  ;D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 04, 2023, 10:22:05 AM
Quote from: gabriielangel on February 04, 2023, 07:51:04 AM
The focus dots / Bad pixels issue I reported earlier is not as bad, but it is still there:

With a Single ISO Clip: Works as expected

With a Dual ISO clip: Enabling fix focus dots will make pixels appear (Less pronounced with 5k frtp).
Using Fix Bad Pixels leads to some pretty nasty artifacts.

Thanks for the samples, very good tests for debugging the focus pixels issue :)
I tried moving the pixel fixing stuff after the Dual ISO processing and doing the fixing ignoring that it's a Dual ISO video works very well, looks almost identical to the non-dual ISO:
single:
(https://i.ibb.co/qgVpD7T/M03-2329-Single-ISO-frame-1.png) (https://ibb.co/T0dtwY9)

dual:
(https://i.ibb.co/Z2hhGSR/M03-2330-Dua-ISO-frame-1.png) (https://ibb.co/tLbbQzw)

I just need to find out why once I switch fix focus pixels OFF, cannot turn it ON again  ??? Let's discuss this on the MLVApp thread if you don't mind, it's not related to Danne's builds
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2023, 11:04:51 AM
Quote from: iaburn on February 04, 2023, 09:26:43 AM
Hi, just tried the build from 2023-02-04 06:27, things that I've noticed:
- Dual ISO is now detected by MLVApp! :)
- Didn't noticed a significant drop (something that I can notice) in recording times on my side.
- In Framing preview (tested in 2.8K) once you activate dual ISO, it stays on even after switching it off. I can make it back to normal by switching to zoom focus view (real time) a few times (another race condition?)
- In 2.8K sometimes it switches to Real time preview and there is no way to go back to Framing. Not pressing the button, not going to the menu and back... just switch off and on works. I cannot replicate this every time, so it could be something that I'm doing and I shouldn't do  ;D
Thanks. Reproduced the issues. Will fix maybe this evening 👍.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 04, 2023, 02:42:33 PM
Quote from: iaburn on February 04, 2023, 10:22:05 AM

I just need to find out why once I switch fix focus pixels OFF, cannot turn it ON again  ??? Let's discuss this on the MLVApp thread if you don't mind, it's not related to Danne's builds

I noticed that with Dual ISO Clips, I need to be patient :)

Try switching to another clip, moving to a different spot in the file and wait 5-15 seconds after making a change (Focus Dots / Pixel Stuff).
The change will eventually appear.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 04, 2023, 04:22:56 PM
Turning off dualiso issue fixed. New build uploaded.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 04, 2023, 05:00:08 PM
Quote from: Danne on February 04, 2023, 04:22:56 PM
Turning off dualiso issue fixed. New build uploaded.
Rock solid now, I couldn't break it  :D
It records non-stop at 12 bits on 2.8K and 5K 1736x with pretty fast preview!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 04, 2023, 11:45:09 PM
Tested Build Feb 04 2023 4:18 PM

-Presets 1080p, 5k frtp and 2k register all clips as Dual ISO, even when Dual ISO isn't engaged. The clips record properly though.

-The Bulk of the flicker issue is gone. I recorded with the same settings as yesterday and there is slight flickering with the 5K Ana and  5k Ana flv presets, but the other presets are fine.

1080p could cause issues when handheld though (aliasing+Dual Iso).
See video file below. Pay attention to the eyes and neck of the Blonde Haired Doll  (shiny plastic). I forgot to add more reflective surfaces in the frame to make that case more obvious.

There is also a download of 2 MLV files from yesterday and 2 recorded with today's build, for reference.

-The issue with shorter recording times at 2.8 and 2.5k / 14bits and the 32mm f1.4 lens remains. I will try all my lenses later this week to see what's going on there.

-The 2.8k and 2.5k presets won't stay stuck in preview mode anymore. Seems to be fixed.

Here is a video file where I put every preset through a worst-case Single vs Dual ISO test (I don't think anyone would underexpose that much just to save the sky!).
You can see how much improvement in DR/noise can be achieved, especially when recording at 10 bits.
Dual ISO can be very helpful to "Reach into dark corners" when it's working well.

http://bit.ly/3le61ww (http://bit.ly/3le61ww)

MLV Files which exhibit some flicker: https://bit.ly/3jBxozR (https://bit.ly/3jBxozR)


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 04, 2023, 11:57:54 PM
With this new build everytime I stop recording (in any mode) my camera freezes on some weird screen. I have to turn it off and back on to make it work again..

Also, it seems that 14bit depth is no longer usable, after a dozen of frames the recording stops. Only 10bit mode seems to be really usable. And my sd got 92mb/s in the card benchmark.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 02:00:33 AM
Quote from: gabriielangel on February 04, 2023, 11:45:09 PM
Tested Build Feb 04 2023 4:18 PM
MLV Files which exhibit some flicker: https://bit.ly/3jBxozR (https://bit.ly/3jBxozR)
Fixed the metadata issue. Will post a build soon.
Regarding flicker. If you turn off fullres blending it´s getting fixed. I keep saying that fullres blending isn´t reliable in general, don´t use it.
Flicker issues mostly targets post processing apps. When referring to those issues always test against fullres blending ON and OFF since it´s a dual iso code error, not post production one. Will get very time consuming otherwise.
Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 05, 2023, 02:15:02 AM
I don't know what fullres blending is!

Is it an option inside the camera, or inside MLVApp?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 02:20:05 AM
Mlv App :).

New build is up:
commit:
- crop_rec.c,dual_iso.c:(EOSM short cut turning dual iso ON or OFF with SET7 or INFO7, metadata fix when dualiso turned to OFF)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 05, 2023, 03:01:21 AM
I looked for "Fullres blending", can't find it. Is it something  added to MLV App recently?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 03:03:00 AM
All recent dual iso testing should be done with iaburns versions of Mlv App. Older code is not very reliable, never was.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 05, 2023, 10:16:26 AM
Quote from: Danne on February 05, 2023, 02:20:05 AM
New build is up:
commit:
- crop_rec.c,dual_iso.c:(EOSM short cut turning dual iso ON or OFF with SET7 or INFO7, metadata fix when dualiso turned to OFF)

Now it's on the SET button for all my presets  :D

The only problem is that now I need the "Tap screen" shortcuts and it looks like they need to be updated:
If I choose Tap screen 3 for Zebras, it does nothing apparently
Tap screen 4 for false colors, toggles zebras
Tap screen 5 for zebras and focus picking toggles false colors

I love dual ISO, it's like the DR Boost on the GH6, giving an extra where this cam struggles the most, and now it's seamless to use, so cool!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 11:06:01 AM
Yes, noticed missing tap display presets. Will update shortly :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: nicolascuellar on February 05, 2023, 03:57:38 PM
Hi guis, sad to report that im having the same freezing issues, others are experimenting.
The card im using is: Sandisk Extreme pro 200mb/s 128gb. Firmware version 2.0.2

The problems are as follows:
-if i take a foto it goes to black screen and freezes.
-in video mode is imposible to start recording
-trash can to enter menu is not working
-if you enter ML menu touching the screen, it freezes
-you have to remove the battery and card various times in order to make menu button to work, in order to enter canon menu to uninstall magic lantern.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 04:20:26 PM
New build:

Some fixes with tap display buttons and also added short cuts to base and recovery iso when dual iso is enabled. To be tested if useful or not.
Example with set button enabled.
                "SET7 = toggle Dual ISO ON or OFF\n"
                "SET8 = toggle Dual iso Base ISO/Recovery ISO UP/DOWN\n"
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 05, 2023, 05:44:48 PM
I've spent the afternoon testing the previous build, everything worked very well  :D

On this latest build, I tried deleting everything on the card before the update, but the Tap display shortcuts still have some strange things. I see the the 06 and 06 with the same text, but one is activating false colors, but 04 is also false colors xD
The preset for toggle base/recovery ISO works very well, but the way I work I don't see myself using it. I like to set exposure for highlights on ISO 100, press the shortcut to activate Dual ISO so base ISO (or the recovery) is set to current ISO, and then adjust the recovery ISO (or the base) with up/down arrows until the shadows look bright enough. I don't think it can get better than that :o

Side note, while testing this the screen got frozen after stopping a dual ISO recording and couldn't un-freeze it, but maybe it was just a coincidence
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 06:17:25 PM
Pushed a new one with fixes. Feel free to test if you have time. Especially tap display stuff.
EDIT: Seems fixed now :)! Great!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 05, 2023, 06:46:10 PM
Quote from: Danne on February 05, 2023, 04:20:26 PM
New build:

Some fixes with tap display buttons and also added short cuts to base and recovery iso when dual iso is enabled. To be tested if useful or not.
Example with set button enabled.
                "SET7 = toggle Dual ISO ON or OFF\n"
                "SET8 = toggle Dual iso Base ISO/Recovery ISO UP/DOWN\n"


Build Tested Feb052023

Issues
When setting the camera to AF or AF+MF, half-shutter gives a scrambled or frozen preview
When Setting to MF, the preview is clean, but is is cropped a lot compared to the previous builds.

I started noticing yesterday:
If you try to change the movie mode to anything but manual, the camera freeze, and you need to remove the card, start, and change in photo mode, then put the card back in.
In photo mode, Av works, but the "preset" modes will freeze the camera.
In photo mode, Av can be useful, and even though Manual is the only mode to use with ML, it can be changed inadvertently, and a first time user will definitely lock up the camera.

Shortcuts:

-It would be good to add histogram to the list while you are at it. It is the only commonly used option we don't have a shortcut for. It is not Super accurate, but when I use it along with false colors, I never get clipping.

-The new 7 and 8 shortcuts work well. Will test shortcut settings combinations once the preview display issue is fixed, as this could lead to false alerts. For example, Mapping INFO to INFO 3, cycles between auto and  realtime idle, and I don't know if Off would be useful in that loop.

Suggestions
If it isn't a hardware limit, having access to ISO lower than 100 would be very useful. On a very sunny day, a grad ND is often necessary to get the best S/N ratio. If you look at the video I posted yesterday, Dual ISO 100/800 gives a stunning extension in DR, but the noise level is too high for normal use (I exaggerated pushing it in the video of course).
If we could extend the range below iso 200, noise wouldn't be an issue at all.

It would be nice if someone could briefly explain how Dual ISO is managed in MLV App, so that we can test for limitations to avoid any surprises on a recording day.


Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 06:53:29 PM
Quote from: gabriielangel on February 05, 2023, 06:46:10 PM
Build Tested Feb052023

Issues
When setting the camera to AF or AF+MF, half-shutter gives a scrambled or frozen preview
When Setting to MF, the preview is clean, but is is cropped a lot compared to the previous builds.
What are your settings here? If af is on focus aid has to be off if using halfshutter.
Not sure what kknd of cropped preview we are talking about here? What's acting different from before?

Going in and out of photo and movie mode often is buggy. I'd restart if going into photo mode.
Thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 05, 2023, 07:25:37 PM
Quote from: Danne on February 05, 2023, 06:53:29 PM
What are your settings here? If af is on focus aid has to be off if using halfshutter.
Not sure what kknd of cropped preview we are talking about here? What's acting different from before?

Going in and out of photo and movie mode often is buggy. I'd restart if going into photo mode.
Thanks.

I didn't change anything from the way it is when you first turn on the camera after installing the build, except for 2.39:1 Ratio, and changed the focus mode in canon menu to either Af, Mf or Af+Mf.

The Canon menu option to use the Star button to focus wasn't set.  (Custom Functions 5 set to the default 0:AF/AE Lock)
It was it ISO 100, f2.0, shutter 1/33. Tried ef-m 32mm f1.4 and ef-m 15-45mm

The Framing preview usually takes the whole display width, but it was showing a black pillar to the right of the display.
Realtime zoomed in preview would take the whole display as usual though.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 05, 2023, 08:02:46 PM
I think I know what you mean. For some reason the focus box moves to the right too much. If you push SET button it centres again. Some bug.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 05, 2023, 09:55:45 PM
Quote from: Danne on February 05, 2023, 06:17:25 PM
Pushed a new one with fixes. Feel free to test if you have time. Especially tap display stuff.
EDIT: Seems fixed now :)! Great!

Tested and for me everything is working perfectly  :D

I think most of the issues people are reporting come from using auto focus, non-manual modes, not starting clean by deleting presets, etc.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 05:51:24 AM
New upload:

Focus box will always start centered. Should help with af speed consistency and fix preview bug in crop modes when preview screen would get black border when focus box placed too much on the sides.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 10:27:06 AM
New build:

Adressing dualiso flicker. Fps needed finadjustment. Should be flicker free files in mlv app now. HD1080p not fixed because of canon fps atm but I went through the rest.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 06, 2023, 11:02:22 AM
Quote from: Danne on February 06, 2023, 10:27:06 AM
New build:

Adressing dualiso flicker. Fps needed finadjustment. Should be flicker free files in mlv app now. HD1080p not fixed because of canon fps atm but I went through the rest.

Build Feb 6 5:45 am
Card Sandisk Ultra SD 256GB 200 MB/s
Everything Stock, except ratio 2.39:1

Customized Buttons
-When Set Selectable is SET 8:
Recovery ISO Up/Down goes to the wrong screen (Single Shooting Screen)
-All other custom buttons tested and working.

Recording Length
-2.8k/12bits recording length issue is solved.
-2.5k/14bits recording length issue is solved.
-3k 20p/14bits Can now do 1 minute + (Green /  Orange)

Dual ISO
When using dual ISO as xxx/100, metadata is not written. It shows as iso 100
When using 100/xxx, metadata is written correctly

Others
Autofocus works as before, no more corrupted screen.
Manual focus preview works as before. no more cropped/offset  framing window.

Sometimes, when changing presets, for example load 5k ana flv, then load 2.5k or 2.8k:
Press * to zoom and it will stay stuck. Camera restart required.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 11:06:49 AM
Thanks. Will fix the SET8 later. You could try a few dualiso files for flicker from latest build just uploaded. When you have time of course.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on February 06, 2023, 12:25:05 PM
btw danne, what makes dual iso flickering? thanks.
sometimes I got flickering too..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 12:39:35 PM
Fine tuning of fps fixes it. Check the commit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 01:16:41 PM
Quote from: gabriielangel on February 06, 2023, 11:02:22 AM
Build Feb 6 5:45 am
Card Sandisk Ultra SD 256GB 200 MB/s
Everything Stock, except ratio 2.39:1

Customized Buttons
-When Set Selectable is SET 8:
Recovery ISO Up/Down goes to the wrong screen (Single Shooting Screen)
-All other custom buttons tested and working.

Fixed!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 06, 2023, 06:29:22 PM
I had many issues in the past with flickering footage, but it's hard to reproduce it on purpose. I've recorded a bunch of clips with the new version and an old one, and I could clearly see the stripes not moving while recording, which is a good improvement alone already, but couldn't get a sample with flickering after processing with the old version.
Will keep an eye in the future, but I will say that is a big step on getting perfect dual ISO footage. Congrats!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 06:36:01 PM
My files looks great with 1x3 binning. Magic is still happening.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 06, 2023, 06:37:57 PM
If you find this mlv you'll see that every other frame i slightly different in color.
M04-1236-BldFeb042023am.MLV
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 06, 2023, 08:10:00 PM
Quote from: Danne on February 06, 2023, 06:37:57 PM
If you find this mlv you'll see that every other frame i slightly different in color.
M04-1236-BldFeb042023am.MLV

Yes, I was trying to record a video with that problem and then swap the card to your new version, but cannot reproduce it XD Anyway, great progress!  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: BatchGordon on February 06, 2023, 08:56:06 PM
I haven't done extensive testing, but I've discovered a very small problem: when you set the ISO value from the Expo menu to AUTO, you can't even get into the ML menu anymore. You have to avoid loading ML and set it again to a different value from the Canon menu.
It's a really small bug, probably no one is using auto iso in ML (I don't use it myself, I set it by mistake), so it may be a lowest priority problem to fix.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bramo on February 07, 2023, 12:06:09 AM
Quote from: BatchGordon on February 06, 2023, 08:56:06 PM
I haven't done extensive testing, but I've discovered a very small problem: when you set the ISO value from the Expo menu to AUTO, you can't even get into the ML menu anymore. You have to avoid loading ML and set it again to a different value from the Canon menu.
It's a really small bug, probably no one is using auto iso in ML (I don't use it myself, I set it by mistake), so it may be a lowest priority problem to fix.

THANK YOU. This actually just solved the issues I was having, working now :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 07, 2023, 10:17:14 PM
Quote from: BatchGordon on February 06, 2023, 08:56:06 PM
I haven't done extensive testing, but I've discovered a very small problem: when you set the ISO value from the Expo menu to AUTO, you can't even get into the ML menu anymore. You have to avoid loading ML and set it again to a different value from the Canon menu.
It's a really small bug, probably no one is using auto iso in ML (I don't use it myself, I set it by mistake), so it may be a lowest priority problem to fix.
Sounds pretty bad. Might take a look.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 07, 2023, 11:17:04 PM
New build

Fixed autoiso issue.
Dualiso finetuning

Nice to have auto iso. It´s a feature to restric max auto iso in one of the submenus call max iso.
EDIT: Works like shit though in movie mode, especially frtp modes. :P
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2023, 12:26:56 PM
New build:

Fixed so dualiso metadata shows up correctly also when selecting iso other way around:
(https://i.postimg.cc/tgbjzNTX/Screenshot-2023-02-08-at-12-22-07.png)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 08, 2023, 01:56:10 PM
Update frenzy, I love it  :D Will test later, major storm here to be recorded!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 08, 2023, 05:11:57 PM
Quote from: iaburn on February 08, 2023, 01:56:10 PM
Update frenzy, I love it  :D Will test later, major storm here to be recorded!

2023Feb08 12:23 PM Build

I recorded all the clips in sequence, after restarting the camera 3 times after install.

Metadata now shows correctly for every combination

For the following settings, the metadata says Dual ISO, but the clip is recorded as Single ISO (No ISO Lines)

100/100, 100/200, 100/400, 100/800, 200/100, 800/100, 800/200, 800/400

The following settings Show Metadata and are recorded as expected (Iso Lines Showing)

200/400, 200/800, 400/100,200,800


on 400/100,200,800, the is no visual difference at all.

So, there is something to verify:

I first exposed a full white frame to Histogram 1.0
Then I proceeded to record the Dynamic Range Chart.
Whether I change the recovery ISO to 100,200,400,800 or leave it to Single ISO, the Histogram shows 1.8 (But the max white value is still 1.0, since I exposed a full white frame beforehand)

Especially when the base ISO is lower than the recovery, the amount of light which hits the sensor is what the amplifier has to work with.
So if recovery is 400, for example, and I exposed for 100. Too much light gets in.
So Unless the A/D converter has plenty of extra bits to work with before going to Digital 14bits or lower, you will be working with a clipped signal. (Unless the amplifier lowers the gain each other line?)

Someone who really knows the Camera pipeline could chime in to correct me if I am wrong.

EDIT: Recorded clips at 2.5k preset
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2023, 05:30:30 PM
Quote from: gabriielangel on February 08, 2023, 05:11:57 PM
2023Feb08 12:23 PM Build

100/200, 100/400, 100/800, 200/100, 800/100, 800/200, 800/400

200/400, 200/800, 400/100,200,800

Tested all above variations now. They all have dual iso applied and they differ. It´s clear even by simply running playback in camera. Not sure what you use for settings but maybe redo your tests after a clean install and nothing applied but dual iso. Run the tests with 5k anamorphic frtp mode as it´s the first choice.
Thanks again for testing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 08, 2023, 05:34:34 PM
I recorded with 2.5k, Clean Installed.

Will try 5k frtp and let you know later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2023, 05:40:06 PM
Ok, tested. I see now that recovery iso isn´t updated with 2.5k preset. I need to have a look later. Thanks for reporting.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 08, 2023, 05:55:10 PM
Quote from: Danne on February 08, 2023, 05:40:06 PM
Ok, tested. I see now that recovery iso isn´t updated with 2.5k preset. I need to have a look later. Thanks for reporting.

Also check toggling Dual ISO on, record, off, record.
I think the problem is that it won't always acknowledge the Dual ISO on/off change.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2023, 06:00:56 PM
Think I fixed it now. Could you check latest build?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 08, 2023, 06:06:48 PM
I can't right now, but will do in a few hours, no problem.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 08, 2023, 08:00:03 PM
Just tried the latest version from an hour ago on my favurite modes (5k frtp, 2.8K, 2.5K): Not a single bad thing to report  :D
Swapping back and forth from dual ISO with the shortcut worked every time, not more problems with the preview staying on Live view instead of Framing on crop modes, the workflow in general is super smooth... A pleasure to use this firmware :clap: :clap:
And I have also noticed that I don't have this shift in white balance from frame to frame when recording dual ISO, specially in 5K modes... it was very noticeable and now it's gone!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 08, 2023, 08:43:20 PM
Cool  8). Thanks for testing. Wish I had more Mlv app testing time  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 09, 2023, 01:17:54 AM
Link to the 2.5k Dual ISO Files: http://bit.ly/3DTLCTX

Build: 2023Feb08 5:59 pm

All the clips record metadata correctly in both directions (100-xxx / xxx-100);
All clips record dual ISO Correctly;
Turning Dual ISO on/off doesn't affect ISO Recording;

All the clips have been recorded with a full white frame reference at -1.0

Have a look at clips M08-1705 (ISO 100), and Clip M08-1709 (Iso 100-800)
Just add 1.0 Exposure on both clips, nothing else, and you can see the shadows clearer  about 1 stop deeper.
(Clearly visible in the MLV App Waveform Monitor.)
So This works as expected.

The gain in the other Base/Recovery ISO pairs is not as straightforward, but as long as there is a 1.0 EV headroom, I did not see any hard clipping up to 800.

Some Clips have the suffix MaxHistogram, on those I exposed the white frame while Dual ISO was on, and set 1.0 there. Those clips are then recorded slightly hotter.

I did not include the 5k ana frtp clips, but I also tested. I think 5k ana frtp needs a little more headroom to work well (maybe 1.5 or 2.0) this has to be confirmed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: otisw on February 09, 2023, 01:50:49 AM
Hello - Trying Dual ISO for the first time with latest Feb8 build and can't seem to set the ISO base when using 1080p.  I'm showing red "buttons" next to Memory Patches debug with this build, and also the Jan13 build as well, which I wonder is expected or is indicates is a real problem?  I also don't seem to be able to get it out of Auto ISO mode in any of the presets I've tried (when the top rotary switch is set to the Movie icon).

Dual ISO does seem to work, MLVAPP gets rid of horizontal lines when enabling dual ISO.  Some of the frames are corrupted after exporting from MLV app though, but only tried 1 recording.  My SD card is a Sandisk Extreme Pro 200 MB/s 128 GB and it records 1080p OK with a green boxed counter as the recording progresses IF I don't go higher than 24 fps.  I've only been following this thread for a few weeks, and it's difficult to be sure I've followed the proper protocol folks are using since the info is scattered throughout the thread.  I started from scratch with a new install of ML with a freshly reset camera and my steps are listed below.  If you see something I'm missing that would enable me to set both the base/recovery ISO's properly or some other step I've done wrong I'd appreciate some help.  Nice work with this in any case, very cool what I've managed to get working so far!

1 Uninstall ML
2 Clear camera settings (Canon)
3 Erase ML autoexec, ml-setup.fir, ML directories
4 Copy ML firmware from 2/8/2023 build to card (Sandisk 200MB/s 128 gig)
5 Power on EOSM, select AV mode, update firmware, reboot after update
6 Press down button on rotary dial, Select 1080p in ML Movie menu
7 Exit ML menu and set Movie Rec. Size to 1920x1080[24
8 Memory Patches debug screen shows 5 red circles, 2 green circles, 1 red circle from top to bottom8
9 Canon ISO speed menu is unchangeable from Auto
10 ML Expo ISO setting is unchangeable from Auto
11 Dual ISO Recovery ISO shows 100, can be changed, set to 800 and back to Expo menu, Dual ISO shows 0/800
12 Recent menu shows ISO Auto, Dual ISO 0/800, Dual ISO - Recovery ISO 800, presets HD 1080p, startup presets none selected

Thanks, Wayne



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 09, 2023, 10:06:04 AM
Which version are you using? I fixed auto iso issues lately. Also dualiso fixes.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 09, 2023, 10:23:30 AM
@otisw I know you tried your best explaining your steps, but it's hard to follow and know what you are doing.
If you could post a video showing so the process it would be easier to find out I guess.
Also, to update the firmware once ML was already working on your card, you just need to delete all the files on that SD card and copy the new ones from the zip.
No need to uninstall and install again updating firmware on photo mode.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: otisw on February 09, 2023, 04:16:26 PM
I was using your last build from Feb 8th.  The timestamp after opening the zip file on windows was 5:59pm, not sure what time zone that is after opening on my system.

On the iso, it just seems it's stuck in auto when I select 1080p.  Neither the ML menu or Canon menus allow me to change it from Auto IF I'm in movie mode on the camera's top 3-position selector.  The steps I posted seem long, but it seems logical.  Clear any previous settings, load the firmware, select 1080p, set 24fps using the Canon Menu, then try to change the ISO from Auto, which is not possible.  When I enable Dual Iso, only the recovery ISO I think it's called is changeable. The ability to see the dynamic range improvement in the Dual Iso menu isn't there, and the "tool tip" says it can't calculate it because it's in Auto ISO.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 09, 2023, 04:42:11 PM
New build:
Added yet another fix for in dual_iso.c to prevent unpatch error.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on February 09, 2023, 04:57:55 PM
Quote from: Danne on February 09, 2023, 04:42:11 PM
New build:
Added yet another fix for in dual_iso.c to prevent unpatch error.

can it be used in 700d?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 09, 2023, 05:03:26 PM
I did some changes in crop_rec but for pausing scanning lines in real time etc should be fairly easy to do for any cam.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on February 09, 2023, 05:35:59 PM
Quote from: ML700D on February 09, 2023, 04:57:55 PM
can it be used in 700d?

What do you want to use on 700D?
Dual ISO waterfall lines fix is already implemented (https://www.magiclantern.fm/forum/index.php?topic=25784.msg238983#msg238983).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ArK on February 09, 2023, 06:01:29 PM
Quote from: otisw on February 09, 2023, 04:16:26 PM
I was using your last build from Feb 8th.  The timestamp after opening the zip file on windows was 5:59pm, not sure what time zone that is after opening on my system.

On the iso, it just seems it's stuck in auto when I select 1080p.  Neither the ML menu or Canon menus allow me to change it from Auto IF I'm in movie mode on the camera's top 3-position selector.  The steps I posted seem long, but it seems logical.  Clear any previous settings, load the firmware, select 1080p, set 24fps using the Canon Menu, then try to change the ISO from Auto, which is not possible.  When I enable Dual Iso, only the recovery ISO I think it's called is changeable. The ability to see the dynamic range improvement in the Dual Iso menu isn't there, and the "tool tip" says it can't calculate it because it's in Auto ISO.

@otisw Just guessing here, but you mentioned resetting your camera in the canon menu. Did you set your movie mode back to manual from auto in the canon touchscreen menu after resetting it?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on February 09, 2023, 06:10:10 PM
Quote from: theBilalFakhouri on February 09, 2023, 05:35:59 PM
What do you want to use on 700D?
Dual ISO waterfall lines fix is already implemented (https://www.magiclantern.fm/forum/index.php?topic=25784.msg238983#msg238983).

ow I didn't realize that..  :D
I thought this is something new

thank's bilal you are the best!
Title: Re: Danne's crop_rec_4k experiments for EOS M- To recover from menu lockups
Post by: gabriielangel on February 09, 2023, 07:30:00 PM
Quote from: otisw on February 09, 2023, 01:50:49 AM
Hello - Trying Dual ISO for the first time with latest Feb8 build and can't seem to set the ISO base when using 1080p.  I'm showing red "buttons" next to Memory Patches debug with this build, and also the Jan13 build as well, which I wonder is expected or is indicates is a real problem?  I also don't seem to be able to get it out of Auto ISO mode in any of the presets I've tried (when the top rotary switch is set to the Movie icon).

Dual ISO does seem to work, MLVAPP gets rid of horizontal lines when enabling dual ISO.  Some of the frames are corrupted after exporting from MLV app though, but only tried 1 recording.  My SD card is a Sandisk Extreme Pro 200 MB/s 128 GB and it records 1080p OK with a green boxed counter as the recording progresses IF I don't go higher than 24 fps.  I've only been following this thread for a few weeks, and it's difficult to be sure I've followed the proper protocol folks are using since the info is scattered throughout the thread.  I started from scratch with a new install of ML with a freshly reset camera and my steps are listed below.  If you see something I'm missing that would enable me to set both the base/recovery ISO's properly or some other step I've done wrong I'd appreciate some help.  Nice work with this in any case, very cool what I've managed to get working so far!

1 Uninstall ML
2 Clear camera settings (Canon)
3 Erase ML autoexec, ml-setup.fir, ML directories
4 Copy ML firmware from 2/8/2023 build to card (Sandisk 200MB/s 128 gig)
5 Power on EOSM, select AV mode, update firmware, reboot after update
6 Press down button on rotary dial, Select 1080p in ML Movie menu
7 Exit ML menu and set Movie Rec. Size to 1920x1080[24
8 Memory Patches debug screen shows 5 red circles, 2 green circles, 1 red circle from top to bottom8
9 Canon ISO speed menu is unchangeable from Auto
10 ML Expo ISO setting is unchangeable from Auto
11 Dual ISO Recovery ISO shows 100, can be changed, set to 800 and back to Expo menu, Dual ISO shows 0/800
12 Recent menu shows ISO Auto, Dual ISO 0/800, Dual ISO - Recovery ISO 800, presets HD 1080p, startup presets none selected

Thanks, Wayne

When you run into problems of stuck canon menu items (Movie Mode, ISO) , just remove the card, power on the camera and the stuck menu will likely be "Unstuck". Set it, turn off then power the camera on with the card installed.

But the he camera saves certain files internally and sometimes, those are very stubborn. The easiest way to reset those is to install a different working ML build, restart the camera, and then proceed to install a new build.

Both cams I purchased came with a cheap 8GB card. I use those cards to save an older working build in case something goes wrong. You won't be able to record anything with those, but that's not the purpose :)

Try starting from STEP 1. If this doesn't work, then redo it by starting from step A (For very stubborn lockups)

A-I nstall an older working build on a cheap card (I see you have Jan 2023Jan13 at your disposal. This one worked well)
B- Put the cheap card in, power on the camera in Photo Camera mode (The Mode in the Middle)
C- Press INFO, tap the icon on the screen, top left corner, Set it to manual.
D-Press MENU, go the the wrench menu with 4 squares (The wrench menu right before the star, extreme right)
E-Select Clear settings, then clear all camera settings.
F-Select the Last item (firmware ver.:2.0.2), press SET.  If it's not 2.0.2, you'll need to update the firmware.
G-Select Camera, press SET. Then Update firmware by clicking OK. The camera won't update the firmware, but this step is required to set the bootflag on your card.
H-Restart the camera when prompted.
I-Go to the offending previously stuck menu and set it accordingly.

Then in the future, you will only need to do steps D,E and I

You can then proceed by modifying the procedure you stated slightly:
(Some steps are redundant if you started at A, but follow just for simplicity's sake)

1 Uninstall ML
2 Clear camera settings (Canon Menu, Just like in steps D,E)
3 Erase ML autoexec, ml-setup.fir, ML directories from the  Sandisk 200MB/s 128 gig (Leave the cheap recovery card alone!!)
4 Copy ML firmware from 2/9/2023 build to card (Sandisk 200MB/s 128 gig)
5 Power on EOSM in Photo mode, select M mode, update firmware, reboot after update (Just like in steps B,C; to set the bootflag if it isn't there already)

6
Power on camera in Movie Mode, press MENU
Tap on the top left corner icon and select Manual Mode (M)
Tap top right icon and set ISO 100
Then tap on the icon in bottom right corner and select 1920/24
Press Menu

7 Press down button on rotary dial, Select 1080p in ML Movie menu
Tap screen, Select 1080p

8 Press trash iicon to go in ML menu, In first menu (Expo) go select Dual iso, press SET, press play button and set recovery iso to 800 or what you prefer.
9 Press MENU, it should show ISO 100/800


With 1080p and 5kfrtp modes, the "Dynamic range gained" in Expo menu /Dual ISO shows 0.0.
This does not prevent the cam from recording dual ISO properly.
It displays correctly in the other modes though (2.5k, 2.8k, 5k ana flv, etc.)

P.S. It would be nice to have such a recovery procedure (In a more generic form of course) in a sticky somewhere in the forum. To expect a newcomer to read through the whole thread to gather the bits and pieces needed just to recover from a stuck menu makes no sense!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 09, 2023, 09:29:47 PM
Quote from: theBilalFakhouri on February 09, 2023, 05:35:59 PM
What do you want to use on 700D?
Dual ISO waterfall lines fix is already implemented (https://www.magiclantern.fm/forum/index.php?topic=25784.msg238983#msg238983).
I do another route. When real-time preview I choose base iso, and when recording it starts with dual iso. Also fixed those fps timing stuff to get static scanning lines needed for proper post processing.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on February 09, 2023, 10:02:31 PM
Quote from: Danne on February 09, 2023, 09:29:47 PM
I do another route. When real-time preview I choose base iso, and when recording it starts with dual iso.

These are preferences . . for me I like it as it is in official builds. I just disabled Dual ISO in x10 mode for checking focus easily.

I might change it later to make like HDR feature, previewing both ISOs while not recording:
e.g. if you select 100/1600 from Dual ISO, instead of showing interlaced Dual ISO lines while not recording, show exposure at 100 ISO for 1 second then show exposure at 1600 ISO for 1 second in loop, after hitting recording button turn on Dual ISO.


Quote from: Danne on February 09, 2023, 09:29:47 PM
Also fixed those fps timing stuff to get static scanning lines needed for proper post processing.

That's mainly what I am referring to, in 700D I fixed (https://www.magiclantern.fm/forum/index.php?topic=25784.msg238983#msg238983) moving Dual ISO lines last year by tweaking FPS Timer B a tiny bit when Dual ISO is on, to avoid both flickering and crawling artifacts.
I called moving Dual ISO lines a "waterfall" effect.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: otisw on February 10, 2023, 12:00:43 AM
Thanks guys for the tips on resolving dual iso.  It appears having Canon Movie mode set to Auto, the camera is going to adjust shutter speed, f-stop, AND ISO automatically.  If you want to use the ML dual iso feature, you must be in Manual mode, and then every exposure / fstop / ISO setting is fixed by you and stays that way.  I was thinking I could have the camera handle the shutter/fstop and just fix the two ISO settings on my own.

Thanks for the detailed procedure to set up the camera and how to use a second "unfreeze" firmware SD card version to fix that.  Fortunately, I haven't had that issue yet but if I do then now I'll know how to get out of it.

So no problem then with the red "buttons" next to the memory patches? 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 10, 2023, 06:46:02 AM
Build 2023Feb09 4:40 pm Clean Install
(I only reformat the card when I notice speed drops, as it is easier to write on a formatted SD card, than having to write over files deleted manually. This is probably why RED forces you to reformat the whole mag...)

All clips recorded with a white frame exposed to -1.0 as a reference

5k frtp/14bits

Dual ISO
100/200, 400/800 and 400/200 : Recorded dual ISO starting at frame 2
100/800 : Did not record dual ISO into the file even if the metadata registered the Dual ISO Flag

Now, even a Single ISO gives you the option to turn Dual ISO on, where before the Force button would appear.
As far as I am concerned, this is not a problem per se, as you know that if you see dual lines...

The image is rock steady and there isn't any movement at all in the frame. No flicker so far(The ultimate test being with an actual scene)

Not a single recording error.

2.5k 1:1 Centered/14bits

One lock up on zoom screen. Sometimes recording a clip brings it back to framing after recording stops, which worked on that occasion.

The metadata shows as expected for both Single and Dual ISO

No Flicker, but some movement in the frame, which is also present in single ISO (Is this to avoid fixed pattern noise?)

2.8k/12bits

Errors

while recording 100/400:
error Black 1/5 mean too different (2034, ref 10575 +- 0.0)
error Black 2/5 stdev too large (7098/100, ref 8781100)

One frozen zoom screen, not even a preset change got out of it. Restart required.

Dual ISO
The metadata shows as expected for both Single and Dual ISO.

No Flicker, but some movement in the frame, which is also present in single ISO.


Histogram

If I expose a full white frame and histogram says 1.0:
at 2.5k histogram will say 1.8 when aiming at the test chart, despite the max white square being at 1.0
at 5k frtp histogram will show 2.5
and when using dual ISO the values go +- 2 depending on the combination.

What we need is an absolute value, and maybe the 3 color clip dots. I don't think anyone is actually using the histogram for the graph, as it is so small. Maybe it could be modified to only show a number?

When using Dual ISO, f the exposure is not monitored closely, you end up with clipped highlights which often show pink, and not even playing with white level will fix, especially when recording at 12bits (or the whole frame can get a green tint) .

So some kind of peak luminance value would be very useful, if not mandatory.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2023, 07:21:54 AM
Quote from: gabriielangel on February 10, 2023, 06:46:02 AM
Build 2023Feb09 4:40 pm Clean Install

5k frtp/14bits

Dual ISO
100/200, 400/800 and 400/200 : Recorded dual ISO starting at frame 2
100/800 : Did not record dual ISO into the file even if the metadata registered the Dual ISO Flag
Tested and could not reproduce. All files registered dualiso from frame one and metadata included.

Quote from: gabriielangel on February 10, 2023, 06:46:02 AM
Now, even a Single ISO gives you the option to turn Dual ISO on, where before the Force button would appear.
As far as I am concerned, this is not a problem per se, as you know that if you see dual lines...
Can´t follow. Good or bad thing :)?

Quote from: gabriielangel on February 10, 2023, 06:46:02 AM
2.5k 1:1 Centered/14bits
No Flicker, but some movement in the frame, which is also present in single ISO (Is this to avoid fixed pattern noise?)
No flicker after processing you mean? I could have a look. Which ratio was selected?


2.8k/12bits

Quote from: gabriielangel on February 10, 2023, 06:46:02 AM
Errors

while recording 100/400:
error Black 1/5 mean too different (2034, ref 10575 +- 0.0)
error Black 2/5 stdev too large (7098/100, ref 8781100)
Indicates some copression error I think. Did you enable histogram or something else during recording? If not we might need to fine tune the preset with reg_713c.

Quote from: gabriielangel on February 10, 2023, 06:46:02 AM
No Flicker, but some movement in the frame, which is also present in single ISO.
No flicker after processing you mean? I could have a look. Which ratio was selected?

Thanks for tests.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2023, 08:10:24 AM
New build

- Reducing reg 713 by 5 units for 2.8k. Might reduce ocmpression errors. Also starting off in 10bit not 12bit.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 10, 2023, 08:43:42 AM
Quote from: Danne on February 10, 2023, 08:10:24 AM
- Reducing reg 713 by 5 units for 2.8k. Might reduce ocmpression errors. Also starting off in 10bit not 12bit.

How can this change affect the recording? Can reduce recording time or other things at the expenses of less chance of compression errors?
I'm asking because I don't remember having any errors on 2.8K 12bit, I wouldn't like having to record in 10bit to get long recording times  :'(
For me 10bits is like the last resort. 10bit with log curves can be great, but in RAW data reduces too much the already low dynamic range on this camera
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2023, 10:57:21 AM
Well. I didn't change anything that affects overhead. If it works with 12bit just apply 12bit as before. Maybe it's just my card that's a bit slower.

EDIT: Also uplaoded new build again  8). Rewrote some of the dual_iso code again. Needs to be tested more...
EDIT:2 Adding back 12bit on 2.8k when enabled from tap display again.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on February 10, 2023, 04:09:27 PM
Just tested this ver last build and 2.8K 12bit works as good as always: started on orange and got the green Immortal after a few seconds recording  :D
Dual ISO also works also very well, not having any issues in any mode lately. Metadata ok, detected on MLVApp, stripes not moving, no flicker, shortcuts work... perfect!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 10, 2023, 04:13:55 PM
Because there are a lot of state changes, when I get certain errors, it could be that I am interrupting a routine before it is complete. So, here is the exact procedure I used (After Answering your questions)

With 2.5k:
a single ISO clip has the Dual ISO section in MLV App disabled. You can enable the section by clicking on "Force";
a Dual ISO clip will enable the Dual ISO Section and you can turn Dual ISO to "on" (It defaults to "off", so you can see the dual ISO lines clearly.)

with 5k an frtp:
a Single ISO clip has the Dual ISO section enabled, but it is set to "off"
a Dual ISO clip also has the Dual ISO section enabled, but it is set to "off"

I make the assumption that the "force" option was added in case a Dual ISO clip isn't detected as such.
So, as long as it is consistent across presets, the behaviour we have at 5k ana frtp is more simple: on or off.
As long as the user is made aware that a Dual ISO clip looks like a Dual ISO clip :) no need to auto-enable the "on" switch in MLV App if it detects a Dual ISO clip,  and therefore no need for the "force" button

When I say no flicker, yes I mean after processing in MLV app. I export the clip as h.264 mov High Quality. Then I look at it to see if there is flicker.

Procedure:

Lens: ef-m 32mm f1.4@ 1.4
Circular polarizer (to reduce moiré)
VND2-400 Filter (To adjust Exposure without having to modify shutter speed)
Camera on Manual Focus
Shutter speed to 1/30 (Which usually shows as 1/33 in ML) This is necessary to gather enough light, otherwise I need to get too close to the screen, which will show all the little pixel dots and prevent the camera from recording.


Erase the ML folder, autoexec.bin and ML-SETUP.FIR
Copy the latest build on the card.

Turn on cam. Set ratio to 2.39:1 (I will eventually test the other ratios, but this one has proven to be the most efficient, so we can get SD data rate out of the way)

Power off, restart (Twice)

Tap Screen to load preset
Go in ML menu to change bitrate if required

[Begin Loop]
Enable Histogram and spot meter, exit
Put the white Frame on screen
Set the base ISO
Expose to get 1.0 on the histogram / 81-82% on spot meter (By turning the VND).
ML Menu, Disable Histogram and spot meter, exit
Record about 4 seconds -Stop
(See NOTE:)
Put the Dynamic Range Chart on screen (The one I included in yesterday's package)
* button to focus or check focus, slightly off focus to remove moiré as much as possible (Too much moiré will cause a compression error)
Record about 4 seconds -Stop
ML-Menu, enable Dual ISO, select Recovery Value (From 100 to 800), exit
Record about 4 seconds -Stop
[End Loop]

And I repeat the loop for the next Recovery ISO. When I reach 800, I satrt Over with another Base ISO, from 100 to 800.

NOTE: On some clips, I recorded the white frame in Dual ISO also, to check for clipping potentially introduced. So this would add a "ML Menu, Enable Dual ISO, Exit, Record-Stop, ML Menu Disable Daul ISO, Exit" Sequence at that particular point.





Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 10, 2023, 04:26:52 PM
Quote from: iaburn on February 10, 2023, 08:43:42 AM
How can this change affect the recording? Can reduce recording time or other things at the expenses of less chance of compression errors?
I'm asking because I don't remember having any errors on 2.8K 12bit, I wouldn't like having to record in 10bit to get long recording times  :'(
For me 10bits is like the last resort. 10bit with log curves can be great, but in RAW data reduces too much the already low dynamic range on this camera

I agree with the 10 bit point. From what I have read in the early posts, you reduce the bit rate by truncation without dither. The result is that the shadows are blotchy and unstable.
So Unless we are recording outdoors on a sunny day where everything in the frame is well exposed, we end up with a very annoying kind of noise.

You can check the samples I posted yesterday, I think we'll agree that especially when recording Dual ISO, 12 bits is the minimum.

If you (or Bilal the Magician) can find a way to pimp the JPEG lossless a little, 2.5k/14 might be all we need...

EDIT: There were no 10 bits examples in yesterday's post. I posted the difference here: https://www.magiclantern.fm/forum/index.php?topic=25781.msg241870#msg241870
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2023, 05:50:47 PM
Is dualiso in Mlv App not working as before you say?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 10, 2023, 06:44:50 PM
Quote from: Danne on February 10, 2023, 05:50:47 PM
Is dualiso in Mlv App not working as before you say?

Before, it behaved in MLV App like what I described for 2.5k, regardless of the resolution preset.
Now, there is one behavior for crop modes, and one behavior for 5k frtp.

If you meant the final output of a processed Dual ISO clip, many things changed in the last iterations.
in the first tests I did, 100/200 looked better than 100/800, now 100/800 looks better. But I lowered the recording level and you made some changes, so I guess we have to look at the clips I posted yesterday (2 days ago for you I guess) as a reference to evaluate against going forward.

Maybe a few others could chime in to give their opinion on how it should be optimized?
The main variables are Noise Level, DR Expansion, loss in resolution and optimal exposure.
Some kind of a compromise is necessary of course.
It would help if I knew how Dual ISO is managed on the camera side.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 10, 2023, 09:26:44 PM
Hard time follow. I am not sure it's related to my build? Metadata should work the same. You could test recording 5k frtp with framing on. Then it should do exactly as crop modes. If that works something must be fixed again  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 11, 2023, 12:35:08 AM
Quote from: Danne on February 10, 2023, 09:26:44 PM
Hard time follow.

The difference I were talking about:

Single ISO 2.5K, look at the force button and Dual ISO is grayed out.
(https://i.ibb.co/gZ3H5cZ/Single-ISO-25k.png) (https://ibb.co/r2mTCX2)

Single ISO 5K ana frtp, there is no force button
(https://i.ibb.co/CmdH05z/Single-ISO-5k.png) (https://ibb.co/8N378D0)

Dual ISO 2.5K
(https://i.ibb.co/PFsQvf6/Dual-ISO-25k.png) (https://ibb.co/ZGRmpkM)

Dual ISO 5K ana frtp
(https://i.ibb.co/RCcGSXb/Dual-ISO-5k.png) (https://ibb.co/cNQKvW3)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2023, 12:50:46 AM
Strange. What does it mean? That 5k frtp misses some metadata for dualiso? Did you try the framing trick?

EDIT: Just tested 5k frtp and 2.5k dualiso and no "force" button would show at all. Hm, are you running latest build? What version of Mlv App?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 11, 2023, 04:38:14 AM
I have the latest MLV App version available on their website, 1.14 macOS-Intel
I recorded this with 2023Feb09 4:40 pm

I also tried with the MLV App version I compiled from iaburns branch, it gives me the same results, but as it gave me compiling errors and I am not a Dev...
I only use those self-compiled versions for the level lines on the waveform monitor and to export frames, as the 1.14 version freezes when you try to export too many .png's

I'll be able to try Feb10 version over the weekend. I'll try the framing trick then.

I'd lean towards a metadata flag set differently on the 5kfrtp file, but on that front, I can only speculate.

A Single ISO 5k ana frtp file recorded with Build 2022-08-04 08:21:10 UTC (Taken from the file's header) will show the force button (and so will 2.5k and 2.8k recorded with that build).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 11, 2023, 06:27:51 AM
I tested latest and worked as planned.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 11, 2023, 09:01:02 PM
I confirm, all metadata now works as expected. Will post more details soon.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 12, 2023, 02:27:32 PM
Hi Danne! Do you plan to implement on the Eos M the mode Bilal is working on? 1736x2214 @ 23.976 FPS with full real time preview?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2023, 02:42:46 PM
No code, no plan. It's up to bilal when/if he gets ready.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 12, 2023, 05:04:49 PM
Bilal, do you have any plan about releasing that code? :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2023, 05:24:03 PM
I think he explained pretty clear in his post what his plans were?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 12, 2023, 06:47:54 PM
I beg your forgiveness! I repent for my inconvenient question!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 12, 2023, 07:14:01 PM
This thread is about eos m. There's a proper thread which Bilal started around your topic. If you want more info I suggest you ask there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Mattia on February 12, 2023, 07:44:53 PM
But I'm interested in the Eos M, that's why I was asking here. Anyway, I'll wait for the next Bilal move, thanks.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 12, 2023, 11:35:36 PM
Build 2023Feb10
All files recorded with stock build.
Only change to the presets is 2.39:1 ratio and 14/12bits when required.

First, you can have a look at the files contained here (Small Download): http://bit.ly/3E2bhdc (http://bit.ly/3E2bhdc)

You will see the real power of Dual ISO. This is as challenging as it gets for a scene. Lots of dark and very bright areas. There are 3 files, one at ISO 100, the same ISO 100 brightened and the same scene recorded at Dual ISO 100/3200 with same brightness settings applied (exposure -1.71 and Lighten 93) .
No noise reduction was used. As you will see, the gain in shadows quality is phenomenal.
I salute the amount of work and tweaking put into that build to reach such a result.

Now, as I briefly outlined in a previous post, the way the image is exposed is of paramount importance.

For example here is a reference image recorded at ISO 100, -1.0 EV
(https://i.ibb.co/YhLSq1Q/Exposed-1-EV-iso100.png) (https://ibb.co/pdLT9Mw)

Here is the same scene recorded at Dual Iso 100/800, exposed -1.0 EV for ISO 100:
(https://i.ibb.co/cJKbV1k/Exposed-1-EV-iso100-800.png) (https://ibb.co/v1CsRHV)
By looking at the waveform monitor, you can see that although there is still headroom left, the flat line indicates that some Limiting / Clipping is taking place in camera.

Same Scene with Dual ISO Processing Applied:
(https://i.ibb.co/z2rh0w7/Exposed-1-EV-iso100-800b.png) (https://ibb.co/NNs6Hzm)
In this example, iimage looks  fine. But the amount of clipping will dictate how the file will look when played. Sometimes it will be fine, sometimes you will get pink highlights and  sometimes the quality of the file will be seriously diminished and flickering will be introduced.
I included several example MLV files at the end of the post, so you can all judge for yourselves.

Same Scene recorded at Dual ISO 100/800, but exposed at -1.0 EV for ISO 800 before Dual ISO Processing:
(https://i.ibb.co/GRCr60q/Exposed-3-EV-iso100-800.png) (https://ibb.co/1TR4gLk)
As you can see on the waveform, there is far less Limiting / Clipping happening, as you don't see a total flatline in the red at the top, from left to right.

Same scene as above, with Dual ISO processing applied:
(https://i.ibb.co/Lg39SrB/Exposed-3-EV-iso100-800b.png) (https://ibb.co/Ydxf2XJ)
As you can see, the scene is a lot darker. When exposing this way, there won't be any visible Dual ISO artifacts nor flicker under normal circumstances. But once you brighten up the scene, you will gain some level of noise in the midtones.

So in order to find the proper exposure point, we would need to know what happens in camera regarding the exposure of both ISO's and how limiting is applied. Otherwise the results will be too unpredictable, depending on the overall brightness of the scene, the presence of reflective objects, etc. If we underexpose to the max just to play safe, we lose some of the benefits gained by using Dual ISO in the first place.

It is also unclear where MlvApp sets the pivot points between Swadows, Midtones and Highlights. Ideally, the Midtones should not be touched by the Dual ISO processing.
A happy balance has to be reached.

For the MLV files I included, pay attention to those areas of interest when evaluating:
(https://i.ibb.co/WD5hL5b/Areas-Of-Interest.png) (https://ibb.co/0B27x2g)
Those are the areas where artifacts are most likely to occur.

I recorded the files on 2 different days. One day was sunny and the other had an overcast sky. The effects of brightness on the image will be obvious.

I included 2520x1054 23.976p files, and also 1736x2178 20p files, as the latter emphasize the effects of brightness, binning and scan rate on the image.

p.s. There is some vignetting in some of the examples, because I forgot to bring a large ND filter to put on the wide lens.

Link To the MLV Files (Large 3GB Download): http://bit.ly/3RT9RXW (http://bit.ly/3RT9RXW)   (will erase in 1 week)

Finally, when testing, one has to do at least 4-5 recordings per setting. The timestamps on the files will show that two recordings in a row may give two different results. So some problems may be hard to pinpoint, reproduce or observe when only recording once or twice.




Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hastings on February 14, 2023, 09:14:50 AM
Hi, new here...  ^_^
Both in the 3 Feb and 10 Feb builds I noticed that ML crashes after recording in 5k anamorphic frtp if the sound is disabled?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 14, 2023, 07:02:32 PM
Good catch. Some race condition interfering with other hacks making auto focus work. Hacked again and works better.
New build is out.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on February 14, 2023, 11:30:13 PM
Thanks Danne and hastings for reporting the bug, solved my problem me thinking it was my card or settings, all good now : )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: hastings on February 15, 2023, 02:17:37 PM
Just tested latest build and can confirm the fix! Thanks! Doing tests for a project with 5k anamorphic in 4:3  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on February 15, 2023, 06:05:50 PM
Tested Build 2023Feb14

2.5k Centered 1:1 preset is not centered anymore. It records the same sensor area as the default 2.5k preset. This behavior was present in the last build also.

Tested the build's default 16:9 Ratio this time, using the same procedure described here: https://www.magiclantern.fm/forum/index.php?topic=25781.msg242204#msg242204 (https://www.magiclantern.fm/forum/index.php?topic=25781.msg242204#msg242204)
Clean Install, stock settings, AF+MF enabled in Canon menu.

Tested presets 5k frtp, 2k, 2.5k, 2.5k 1:1 Centered, 2.8k, 3k (This preset  requires to record from the preview state to get enough record time at 12bits. The 2.8k/12bits  preset would be better suited for Dual ISO use, if 2.5k is not enough)

-Dual ISO behavior is on par with the previous 2.39:1 test. All metadata shows properly and dual ISO clips all record from frame 1 as expected.

-The new "State Change" routine, for lack of a better term, solved most of the issues related to crop modes getting stuck on the preview / zoom state. This problem occurred only once, while switching from the 5k frtp preset to the 2.5k preset.
Because the 5k frtp preset runs in real-time preview mode by default, it occasionally passes that state to the next preset being loaded. The preset then starts in cropped preview mode. Sometimes pressing info goes back to framing preview, but sometimes a restart is required. It happened only once out of 54 clips recorded.
So this is a big improvement.
This also seems to have fixed the problem where a low res preview state was sometimes getting recorded. More testing will be required to be sure.

-The responsiveness of the wheel and up/down buttons is significantly slower than before. As long as one is aware that  a little pause is required between each press, it doesn't affect usage too much.
All the key presses and wheel turns are registered, but the display just takes a while to update.

Not Exclusive to this build:
For autofocus to work properly, it should be set to Flexizone Square (As opposed to Flexizone() )
Commit 281bc80 made Autofocus more accurate for 5k ana frtp and 2.5k.
For 2.8k, and 3k to a lesser extent, there seems to be too big of an offset between the framing and the preview area alignment. The focus box is now perfectly centered, but it looks as if it doesn't know that the sensor area being scanned is offset to the left.

EDIT: I also tested 2.35:1 ratio, which behaves like 16:9 and 2.39:1
For this batch, I set exposure then turned off the histogram and restarted the camera. This should remove any doubts that the Histogram may have something to do with it.
Note that none of the artifacts showed when recording the test chart. So, recording a scene with enough details (and possibly handheld) is necessary.

Some MLV clips to look at the 2.35:1 artifacts: http://bit.ly/3Idlpku (http://bit.ly/3Idlpku)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aiyik on February 24, 2023, 01:10:51 AM
Hi,

I would just like to report an issue with the latest build regarding the area of the sensor that is being displayed/recorded. It appears that this area has shifted horizontally since the previous build and is now way off center, causing some mechanical vignetting on lenses intended for smaller sensors.

Below are two examples, shot with the same lens (COSMICAR PENTAX 16mm 1.4 with C-mount adapter) in 3K mode 3032*1436px (x5 crop).

TEST 1

First shot taken on previous build has no visible vignetting.
(https://i.postimg.cc/wyYFygPs/1.jpg) (https://postimg.cc/wyYFygPs)
(crop_rec_4k_mlv_snd_raw_only_2023Jan08.EOSM202)

Second shot now displays mechanical vignetting on the right hand side.
(https://i.postimg.cc/XBV8Lxnj/2.jpg) (https://postimg.cc/XBV8Lxnj)
(current crop_rec_4k_mlv_snd_raw_only_2023Feb14.EOSM202)

TEST 2

A second test with another, wider lens (COSMICAR 8.5mm 1.5 with the same C-mount adapter) and the same settings as above.

The shorter focal reveals that the offset crop issue was already present on the previous JAN23 build and has just been made more visible with the latest FEB23 one.
(https://i.postimg.cc/zLZPWCHB/X1.jpg) (https://postimg.cc/zLZPWCHB)
(crop_rec_4k_mlv_snd_raw_only_2023Jan08.EOSM202)

(https://i.postimg.cc/pyXcDXrD/X2.jpg) (https://postimg.cc/pyXcDXrD)
(current crop_rec_4k_mlv_snd_raw_only_2023Feb14.EOSM202)


If time allows it I will do other tests with older builds, following the same procedure and trying to pinpoint one whose scan/sensor area was not skewed left/right.

Hope this helps!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 24, 2023, 08:26:17 PM
I changed some presets CMOS 5 regs due to issues when using af.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: aiyik on February 24, 2023, 11:45:33 PM
Quote from: Danne on February 24, 2023, 08:26:17 PM
I changed some presets CMOS 5 regs due to issues when using af.
Hi Danne, not sure you were responding to my post but could you perhaps point me to a build that does not include those CMOS registry changes in order to get a more centered crop?

Thank you. And also thanks for your wonderful work so far, this got me buying an EOS-M and into videography a couple of months ago and I've had a lot of fun with it.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 25, 2023, 04:08:47 AM
You can check commits in source code. But it's around where you point out somewhere.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on February 28, 2023, 10:01:48 AM
I am having the same issue with the offset crop and lenses with small image circle.  Is there a repository for older builds?  Is it possible to build an older version from source somehow?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on February 28, 2023, 11:54:21 AM
Yes. Fully possible.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: bern047 on February 28, 2023, 12:25:54 PM
GrantB, yes all open source so fully possible as this is still experimental go for it and share on here : )
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 01, 2023, 01:20:49 AM
Quote from: GrantB on February 28, 2023, 10:01:48 AM
I am having the same issue with the offset crop and lenses with small image circle.  Is there a repository for older builds?  Is it possible to build an older version from source somehow?

You can join the "MLV RAW ON EOS M" facebook group. Do a search for eosm builds, there is a repository with the older builds there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 01, 2023, 04:03:03 AM
Quote from: gabriielangel on March 01, 2023, 01:20:49 AM
You can join the "MLV RAW ON EOS M" facebook group. Do a search for eosm builds, there is a repository with the older builds there.
Thanks for the helpful comment, that's just what I was looking for.  I'm not going to join that site though, so I suppose I will have to learn how to build ML.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 01, 2023, 07:48:00 AM
Commit from 2023-01-11 is when cmos 5 was changed in this commit:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/commits/b43a94ca7373e3ff8a76e5f7dfdac743f2f43e52

     if ((CROP_PRESET_MENU == CROP_PRESET_3K_EOSM || CROP_PRESET_MENU == CROP_PRESET_28K_EOSM || CROP_PRESET_MENU == CROP_PRESET_4K_EOSM || CROP_PRESET_MENU == CROP_PRESET_2K_EOSM || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_frtp || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_hdmi) && is_movie_mode() && get_halfshutter_pressed() && !RECORDING)

     {

-        return 0;

+       if (zoomaid) return 0;

     }



     //sticky push feature

     if (zoomaid == 0x2 && lv_dispsize == 10 && !get_halfshutter_pressed() && (CROP_PRESET_MENU == CROP_PRESET_3K_EOSM || CROP_PRESET_MENU == CROP_PRESET_28K_EOSM || CROP_PRESET_MENU == CROP_PRESET_4K_EOSM || CROP_PRESET_MENU == CROP_PRESET_2K_EOSM || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_frtp || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_hdmi) && is_movie_mode())

     {

-        return 0;

+        if (zoomaid) return 0;

     }



     //To be able taking photos while in movie mode. Will not work with isoauto or sticky push

                // {

                  //   return;

                // }

-                cmos_new[5] = 0x280;             /* vertical (first|last) */

+                cmos_new[5] = 0x300;             /* vertical (first|last) */

                 cmos_new[7] = 0xaa9;            /* horizontal offset (mask 0xFF0) */

                 if (ratios == 0x3)

                 {

-                    cmos_new[5] = 0x200;            /* vertical (first|last) */

+                    cmos_new[5] = 0x300;            /* vertical (first|last) */

                     cmos_new[7] = 0xf20;

                 }

                 break;


This was the old one:
cmos_new[5] = 0x200;            /* vertical (first|last) */
If you set cmos 5 in camera to 0x200, is it working better?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 02, 2023, 08:14:38 AM
Quote from: Danne on March 01, 2023, 07:48:00 AM
If you set cmos 5 in camera to 0x200, is it working better?
I tested this with Cosmicar 8.5mm f1.5, my smallest image circle lens.
2.8k 1:1 at 2.39:1

with CMOS 5 : 0x200 the image circle was offset by approximately the same amount as default, but to the other side

with CMOS 5 : 0x280 the image circle is approximately centered with even vignette in the corners (horizontally anyway, maybe the vertical can be tweaked with CMOS?).  All my other C mount lenses show no vignette with this setting.

https://imgur.com/a/7OH77Oq

At 0x280 I was able to record a video normally, but taking a photo while recording video did not work properly.  The video recording stopped and the CR2 was mostly black with a pink & white static bar.

Personally, I would love to have the option to disable photo during recording in favor of centered crops.  Even if a lens doesn't vignette, it is not performing at it's best when the crop is not centered. I'm happy to try poking some other registers to get a better vertical center if someone can point me in the right direction.

Edit: I just noticed that a previous poster had an issue with 3k.  The value I posted centers the display in 2.8k but it is not centered in 3k.  More experimenting... (0x240 works for 3k)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 02, 2023, 08:19:12 AM
The problem is below 0x300 if af is enabled we have issues.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 02, 2023, 08:49:22 AM
Quote from: Danne on March 02, 2023, 08:19:12 AM
The problem is below 0x300 if af is enabled we have issues.
Well it's fortunate that C mount lenses don't have af then ;)
I see your point.  Should I test values between 0x300 and 0x3ff then?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 02, 2023, 09:18:31 AM
New build

Quote from: GrantB on March 02, 2023, 08:49:22 AM
Well it's fortunate that C mount lenses don't have af then ;)
I see your point.  Should I test values between 0x300 and 0x3ff then?
I put back the center values to 2.8k and 3k presets again. AF routines are working when zoomaid is turned to off and we have to live with the temporary hot lines when af and zoomaid is turned on as eosm mostly is about manual focusing. More or less 22mm f2 is the only lens I can use with af effectively. So, should be centered again. Could you check?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 02, 2023, 07:24:42 PM
Quote from: Danne on March 02, 2023, 09:18:31 AM
New build
More or less 22mm f2 is the only lens I can use with af effectively.

Keep in mind that most AF missing issues are due to the fact that the camera seems to be using the "Cropped Preview" area as a reference (As opposed to the "Framing Preview" Area).
The cropped preview's center is offset in relation to the Framing preview's center, offset varies depending on the preset being used.

Just to verify (As this is not the preferred way of doing it):
Load 2.8k preset
set focus aid to "sticky push";
Then press *, put your focus target in the center, press half-shutter.
You will hit target 8-9/10 times, depending on the lens being used.

I tested this using the Feb 14 2023 build and prior.

But having the recorded area closer to the center is better, not only for c mount, but also with very wide and fisheye lenses, as it makes it a lot easier to have even distortion on both sides, when filming a building, for example.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 02, 2023, 08:18:04 PM
Quote from: Danne on March 02, 2023, 09:18:31 AM
New build
I put back the center values to 2.8k and 3k presets again. AF routines are working when zoomaid is turned to off and we have to live with the temporary hot lines when af and zoomaid is turned on as eosm mostly is about manual focusing. More or less 22mm f2 is the only lens I can use with af effectively. So, should be centered again. Could you check?
Thank you for the new build.  I have given it a quick test looking at framing preview.  2.8k (and 2.5k) are centered but 3k is off center.

Is the new build changing CMOS 5 to 0x280? That value works for 2.8k but 0x240 works for 3k.  I should have made a new post about that instead of editing my old one.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 02, 2023, 09:56:41 PM
240 gotcha. Uploaded a new build but no camera at hand. Could you check 3k preset again?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 02, 2023, 10:42:53 PM
Quote from: Danne on March 02, 2023, 09:56:41 PM
240 gotcha. Uploaded a new build but no camera at hand. Could you check 3k preset again?

Both 2.8K and 3K seem centered to me  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 03, 2023, 05:38:08 AM
Quote from: iaburn on March 02, 2023, 10:42:53 PM
Both 2.8K and 3K seem centered to me  :D
Looks good to me too, thanks Danne
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 03, 2023, 07:26:47 AM
Nice.
Thanks for feedback iaburn and GrantB.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: GrantB on March 04, 2023, 01:41:02 AM
Not sure if it is known already.  ML menu > Debug > Free Memory will display but it freezes the camera and battery must be ejected.  Not stopping anyone from filming, but it's there.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 07, 2023, 08:22:05 PM
Hello,
There are differences and some mislabeling in the way the preset names are displayed on screen.

For example, load the 2.5k preset by tapping the screen.
You will see "2.5K 1:1" written in green at the bottom of the screen. All is well.

But the following Preset / Ratio combinations are mislabeled:

Load the 2.5k tap preset then set the ratio to 2.35:1, it will say 2k 1:1;
Load the 2.5k tap preset, Set 25 fps to on, set ratio to 2.35:1, it will say 2.k 1:1;

Load the 3k preset from the ML menu, Set 25 fps to on, set ratio to 2.39:1, it will say 2.8k 1:1;
Load the 3k preset from the ML menu, Set 25 fps to on, set ratio to 2.35:1, it will say 2.8k 1:1; Resolution switches to 2800x1190 here.


Load the 4k preset from the ML menu, the preset name (4k) is not displayed. Only the ratios are displayed accordingly (2.35:1, 2.39:1, 16:9). Preset name (4k 1:1) is displayed when ratio is set to off.

5k ana and 5k ana flv:
The nomenclature is different here. you have (anamorph or flv) followed by the current ratio (2.35:1, 2.39:1, 16:9).
So it displays, for example, flv 2.39:1, flv 2.35:1, anamorph 2.35:1, etc.

The behaviour is consistent except for the following:

"5k anamporphic flv" tap preset, ratio OFF, displays as "flv";

"5k anamorphic" tap preset, ratio OFF, displays as "anamorph flv".

Concerning the display space available, "anamorph 2.35:1" displays correctly, and it is the longest description.

So "2.8k 1:1 2.35:1", or "2.8k 1:1-2.35:1" would be possible, if you want to keep it consistent across all presets.

Tested with the latest build, 2023 mar 02.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 07, 2023, 09:45:06 PM
Learn how to compile and "fix" any issues directly by searching in crop_rec.c.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 08, 2023, 12:45:47 AM
Quote from: Danne on March 07, 2023, 09:45:06 PM
Learn how to compile and "fix" any issues directly by searching in crop_rec.c.
Like I said earlier, I already have a hobby, I don't need another one. So I guess that won't happen.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 08, 2023, 03:17:14 AM
Not likely. What you could do is open up crop_rec.c, apply changes and then I could compile it and have a look at the suggestions.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 08, 2023, 03:56:43 AM
This is relatively easy. So I would need to know 1 thing:
In order for all the presets to be the same, you'd have to add about 16 lines per preset (about 4 per ratio);
or just remove the extra lines where those are.

Example: This is from lines 7639 to 7798 inclusive



/* EOSM */
    if (CROP_PRESET_MENU == CROP_PRESET_anamorphic_rewired_EOSM)
    {
        if (ratios == 0x1)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2.39:1");
        }
        if (ratios == 0x2)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 2.35:1");
        }
        if (ratios == 0x3)
        {
            snprintf(buffer, sizeof(buffer), "anamorph 16:9");
        }
        if (ratios == 0x0 || presets == 0x9)
        {
            snprintf(buffer, sizeof(buffer), "anamorph");
        }
    }

    /* EOSM */
    if (CROP_PRESET_MENU == CROP_PRESET_anamorphic_rewired_flv_EOSM)
    {
        if (ratios == 0x1)
        {
            snprintf(buffer, sizeof(buffer), "flv 2.39:1");
        }
        if (ratios == 0x2)
        {
            snprintf(buffer, sizeof(buffer), "flv 2.35:1");
        }
        if (ratios == 0x3)
        {
            snprintf(buffer, sizeof(buffer), "flv 16:9");
        }
        if (ratios == 0x0 || presets == 0x9)
        {
            snprintf(buffer, sizeof(buffer), "flv");
        }
    }

    if (CROP_PRESET_MENU == CROP_PRESET_Anamorphic_EOSM_frtp)
    {
        snprintf(buffer, sizeof(buffer), "Anamorphic frtp");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_2K_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "2.5k 1:1");
        if (ratios == 0x2)
        {
            snprintf(buffer, sizeof(buffer), "2.5k 1:1");
        }
    }

    if (CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_frtp || CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_hdmi)
    {
        snprintf(buffer, sizeof(buffer), "2.5k centered");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_CENTER_Z_EOSM_1920x1280_frtp)
    {
        snprintf(buffer, sizeof(buffer), "2k 1:1");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_3K_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "3k 1:1");
        if (ratios == 0x2 && set_25fps) snprintf(buffer, sizeof(buffer), "2.8k 1:1");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_28K_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "2.8k 1:1");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_4K_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "4k 1:1");
        if (set_25fps) snprintf(buffer, sizeof(buffer), "5k 1:1");
        if (ratios == 0x1) snprintf(buffer, sizeof(buffer), "2.39:1");
        if (ratios == 0x2) snprintf(buffer, sizeof(buffer), "2.35:1");
        if (ratios == 0x3) snprintf(buffer, sizeof(buffer), "16:9");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_4K_3x1_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "4K 3x1 24fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_5K_3x1_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "5K 3x1 24fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_4K_3x1_100D)
    {
        snprintf(buffer, sizeof(buffer), "4K 3x1 24fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_5K_3x1_100D)
    {
        snprintf(buffer, sizeof(buffer), "5K 3x1 24fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_4K_5x1_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "4K 5x1 24fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_3x3_mv1080_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "HD 1080p");
        if (x3crop == 0x1)
        {
            snprintf(buffer, sizeof(buffer), "HD 1080p 1:1");
        }
    }

    if (CROP_PRESET_MENU == CROP_PRESET_mcm_mv1080_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "HD 1080p");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_3x3_mv1080_48fps_EOSM)
    {
        if (ratios == 0x0) snprintf(buffer, sizeof(buffer), "HD 1080p 30fps");
        if (ratios == 0x1 || ratios == 0x2) snprintf(buffer, sizeof(buffer), "HD 1080p 48fps");
        if (ratios == 0x3) snprintf(buffer, sizeof(buffer), "HD 1080p 40fps");
        if ((ratios == 0x1 || ratios == 0x2) && set_25fps == 0x1) snprintf(buffer, sizeof(buffer), "HD 1080p 46fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_3x1_mv720_50fps_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "mv720p_50fps");
    }

    if (CROP_PRESET_MENU == CROP_PRESET_3x3_1X_EOSM)
    {
        snprintf(buffer, sizeof(buffer), "3x3 720p");
    }

    if (!raw_lv_is_enabled() && is_movie_mode())
    {
        snprintf(buffer, sizeof(buffer), "H264 MOV");
    }

    if (is_EOSM)
    {
        item->color_fg = COLOR_GREEN1;
    }

    /* a bit buggy but better when changing back from photo mode into movie mode */
    if (photoreturn && is_movie_mode() && (CROP_PRESET_MENU == CROP_PRESET_anamorphic_rewired_EOSM || CROP_PRESET_MENU == CROP_PRESET_anamorphic_rewired_flv_EOSM || CROP_PRESET_MENU == CROP_PRESET_mcm_mv1080_EOSM))
    {
        menu_set_str_value_from_script("Movie", "raw video", "ON", 1);
        photoreturn = 0;
    }
}



I corrected the typos on lines 7656,
7691 (May now not be necessary)
 
if (ratios == 0x2)
        {
            snprintf(buffer, sizeof(buffer), "2.5k 1:1");
        }


and 7708, but for the others, you have to decide if you want to make all the presets behave like 4k 1:1 (add ratio lines), or like 2.8k (remove ratio lines).

on line 7654 it may need to be presets == 0x8

That I can do easily as it wont affect anything else. Just tell me if adding a bunch of lines affects performance / your labeling preference.

Suggestion:
4k 1:1 or 4k Crop   (Same regardless of ratio selected)
or
4k Crop 2.39:1  (1 label per ratio, Crop may be easier on the eyes for some, as opposed to 4k 1:1 2.39:1)
(which means you would have Crop, ana, flv, ana frtp)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 08, 2023, 08:01:55 AM
When you have something done you can share the full code and I can compile and give it back for you to look at. When I get a chance I'll do the same :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 08, 2023, 04:00:53 PM
Here is the file (Please rename to crop_rec.c, I renamed to make it obvious): http://bit.ly/3F3n4s0 (http://bit.ly/3F3n4s0)

Changes start at line 7639
I added a few comments inside, so it will be self explanatory.
I did not touch 1080P and hf, since having the frame rate info is useful.
Too many letters make the focus distance disappear from screen, so I made the titles short.

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 08, 2023, 04:19:17 PM
Here´s a binary:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec.mo

Think you´re skilled enough to create a compiling environment but this works too for now. I´ll have a look when I can.
Thanks
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 08, 2023, 11:33:01 PM
Nice, thanks!

It works as expected.

I overlooked two things though:

2.8k 16:9 records at 2800x1190 (2.35:1), this is the maximum resolution to get long recordings at 12 bits.
So maybe it should display 2.35:1 instead of 16:9? (or just 2.8k?)

2.5k Centered 1:1 16:9 records 1920x1080. I assume this has to do with hdmi display.
Maybe this one should display 2k 16:9 when loaded?

I know this is not a big deal, but it avoids having to go back into the ML menu to make sure. So it was worth doing. Thanks again.



Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 09, 2023, 09:05:21 AM
Do your corrections as you like them. Sure they'll be fine.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on March 10, 2023, 05:54:58 AM
Here is the crop_rec.c with what I missed last time: http://bit.ly/3YAy2MC
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 10, 2023, 03:04:43 PM
Here you go:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crop_rec.mo

ANybody watching feel free to feedback on the changes.
Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 10, 2023, 03:16:09 PM
Hi there,
Is there anybody here who found a way to use focus peaking with dual iso active when recording ? I use fast lenses (1.4, 1.2) and it's really hard to focus correctly without it. I love that dual iso thing, and I understand there are limitations, just wondering if something could solve it.
Cheers
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on March 11, 2023, 10:39:47 AM
use 10x mode for focusing
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeEYE on March 13, 2023, 11:21:14 PM
Re: 1080p mode an external Monitor Preview

Hi there, First Thanks for all the awesome builds and work over the months/years! Im still toying with them and they are great. Noticed some time ago that the Video\ Preview on External monitor stopped working in 1080p mode on later Builds...

I was wondring why and if I were to copy over something from a previous build where it worked...would it? LOL Probably not, but just curious. Im stumped why it Does NOT work anymore. Perhaps its just in my config.
BUt Its awesome to get the following Modes working with the latest BUILD (3/2/23) on External Montior
5kfrtp 12bit 2:39
2k 1:1 FRTP 12bit 2:35:1 and also at 14bit 2:39
2.5k rtp (although its 5xcrop in preview its still great) 12bit 2:39 (no Sound)

I guess Im just confused why 1080p, a technically  LQ mode would not work on a monitor? Personally I like 1080p for the lack of crop factor on my lenses. and happy with Quality of Raw 12 bit over standard X264 compression.

Thanks!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 14, 2023, 06:33:58 PM
I've done some dual iso test footages last weekend, and I noticed some frames are slightly flickering, link to a trunkated MLV : https://drive.google.com/file/d/1aQcLp2_wlmjrBse15pRtoWiISgTF8l-z/view?usp=share_link

You can see the difference on frame 26, it's not obvious, but strange when played back.
Edit: it's easier to check the histogram to find frames.

I read that a varying black level could lead to that behaviour, so I enabled logs in dual_iso.c and got this :
Edit: Checked black/white levels, all is OK

frame x :

ISO pattern     : dBBd RGGB
White levels    : 11795 16383
Noise levels    : 8.00 8.00 8.00 8.00 (14-bit)
ISO difference  : 3.18 EV (905)
Black delta     : 23.36
Dynamic range   : 10.25 (+) 10.81 => 13.99 EV (in theory)
Edge-directed interpolation...
Semi-overexposed: 4.45%
Deep shadows    : 12.12%
Full-res reconstruction...
ISO overlap     : 4.1 EV (approx)
Half-res blending...
Building alias map...
Filtering alias map...
Smoothing alias map...
Final blending...
Noise level     : 8.00 (20-bit), ideally 8.00
Dynamic range   : 16.25 EV (cooked)

frame x+1:

ISO pattern     : dBBd RGGB
White levels    : 11730 16383
Noise levels    : 8.00 8.00 8.00 8.00 (14-bit)
ISO difference  : 3.11 EV (865)
Black delta     : 11.70
Dynamic range   : 10.24 (+) 10.81 => 13.92 EV (in theory)
Edge-directed interpolation...
Semi-overexposed: 4.47%
Deep shadows    : 9.68%
Full-res reconstruction...
ISO overlap     : 4.1 EV (approx)
Half-res blending...
Building alias map...
Filtering alias map...
Smoothing alias map...
Final blending...
Noise level     : 8.00 (20-bit), ideally 8.00
Dynamic range   : 16.24 EV (cooked)

It seems that calculated values are slightly different from frame to frame..
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 14, 2023, 09:40:33 PM
What preset was used?
I exported with iaburns mlv app version. A version which fixes several problems. I couldn´t see any problems with the output.
Check this file:
https://bitbucket.org/Dannephoto/mlv_app_compiler-git/downloads/deml.mov
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 14, 2023, 10:01:15 PM
I found a more obvious example : https://drive.google.com/file/d/1Riq3LxV1JCRnFSFObnEmzpVMZcmfZm_k/view?usp=share_link
switch between frame 5 and 6, it should be visible. I use iaburns version too, but the issue is the same (Linux).

Edit: I used 1080p mode no fps overrides, I had to problem with 5K footage too.
Edit2: it's even more visible with Dual ISO preview mode.
Best regards
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 14, 2023, 10:33:36 PM
Here's what I can see :
(https://i.ibb.co/p4FG0gY/2.png) (https://ibb.co/tYrkmSV)
(https://i.ibb.co/vkj2mRw/1.png) (https://ibb.co/JHsX2gB)
the red/blue channels seem crushed, I raised exposure to get a more clear difference.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2023, 12:23:59 AM
You are right. Frames are calculated differently. Too bad :(. Is this happening with mlvfs too, do you know? Or with pfficial Mlv app which has the same code as mlvfs more or less.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 15, 2023, 09:43:59 AM
Hi! I know why it happens, but I don't know how to fix it... It's the same with this video:
https://mega.nz/file/IsdixQAK#0FKj5UmoOOx_hBEpZ7s4W7rIgozZC49Ejg95E_LbU30

There is a "match_exposures" function inside dualiso.c that seems to need some work. I tried playing around and I could get rid of flicker issues but that was adding more banding, and also the other way around... It was also not enough keeping the same values for all frames, it was actually worse on my tests.

I hope someone with more understanding on this topic can take a look, in the meantime the only solution is to disable "Fullres blending" if you are using my build.

You can bring this issue to the MLV App thread, not a problem with Danne's code.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2023, 09:49:02 AM
Oki, so disabling fylldes blending fixes the issue? Let's make that default for movie file In say  8). Nothing worse than random, subtle errors...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 15, 2023, 09:57:17 AM
Ok, I did some more test, MLVFS has the same problem and indeed it does not seem to be related to Danne's code (input looks OK).
I tried to disable fullres_blending, but it does not fix the problem.
I also tried to use constant values instead of using match_exposure function (I had an intuition about it too), but it still not improve things.
Edit: Using the dual ISO preview mode shows the same problem and has a total different algorithm.
I keep searching on my side.
Thank you

Edit 2: I played with dual ISO preview mode function, if I give constant value to a and b (line ~200) values, it's OK
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2023, 10:46:05 AM
Would be very welcome addition if this was fixed.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 15, 2023, 12:06:50 PM
Found out that the problem is the same in the final dual ISO mode, values a and b in match_exposure function vary a lot, I'm figuring out how to smooth that from frame to frame.
Edit: Got a fix that "bakes" correction values for a clip in mlvapp. I will make a patch if you're interested.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 15, 2023, 06:07:44 PM
Quote from: cedricp on March 15, 2023, 12:06:50 PM
Found out that the problem is the same in the final dual ISO mode, values a and b in match_exposure function vary a lot, I'm figuring out how to smooth that from frame to frame.
Edit: Got a fix that "bakes" correction values for a clip in mlvapp. I will make a patch if you're interested.

I'm interested  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 15, 2023, 06:46:58 PM
Quote from: cedricp on March 15, 2023, 12:06:50 PM
Found out that the problem is the same in the final dual ISO mode, values a and b in match_exposure function vary a lot, I'm figuring out how to smooth that from frame to frame.
Edit: Got a fix that "bakes" correction values for a clip in mlvapp. I will make a patch if you're interested.
Cool!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeEYE on March 15, 2023, 09:07:08 PM
is 1080p external monitor dead?  Just checking, I think the last time it worked was a Oct 22 build. But I love the latest build, just 1080 on external monitor doesn't work.

I detailed the modes that work (for me) ,  Here just a bit ago.
https://www.magiclantern.fm/forum/index.php?topic=25781.msg242752#msg242752

Thanks!!!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 15, 2023, 10:28:12 PM
There's a quick fix here : https://github.com/cedricp/MLV-App
I added a "Bake" button in the Dual ISO group to freeze HDR exposure curve at the current frame, once clicked, it's used for the whole clip.
I hope it's a correct fix. I'll do more testing later.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 15, 2023, 10:53:50 PM
Quote from: cedricp on March 15, 2023, 10:28:12 PM
There's a quick fix here : https://github.com/cedricp/MLV-App
I added a "Bake" button in the Dual ISO group to freeze HDR exposure curve at the current frame, once clicked, it's used for the whole clip.
I hope it's a correct fix. I'll do more testing later.

Thanks, I'll try it.

You can also try to change this line (https://github.com/anibarro/MLV-App/blob/c63b486a36f0259348b7351c26ab42cfa6ceea56/src/mlv/llrawproc/dualiso.c#L705) on my branch, set it to "1" instead of "3" and then on MLV App activate the "horizontal stripes fix". It works with your test clip, but it's making somo other clips worse...
static const int sample_size = 1; //3;
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 15, 2023, 11:06:31 PM
I tried that too, but if you modifiy sample_size, you also need to change the increment of x and y here (https://github.com/anibarro/MLV-App/blob/c63b486a36f0259348b7351c26ab42cfa6ceea56/src/mlv/llrawproc/dualiso.c#L676)
If you don't, buffers are partially zeroed and calculus is wrong, I tested it too. Note that it changed nothing to the issue.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 15, 2023, 11:18:59 PM
Quote from: cedricp on March 15, 2023, 11:06:31 PM
I tried that too, but if you modifiy sample_size, you also need to change the increment of x and y here (https://github.com/anibarro/MLV-App/blob/c63b486a36f0259348b7351c26ab42cfa6ceea56/src/mlv/llrawproc/dualiso.c#L676)
If you don't, buffers are partially zeroed and calculus is wrong, I tested it too. Note that it changed nothing to the issue.

Just tried your change and seems to be working very well  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 16, 2023, 09:58:07 AM
Glad to hear it, I pushed new commits to enable that to preview mode too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 16, 2023, 10:15:25 AM
Fantastic. Question. Will it be possible to add the change to dualiso.c code itself as well?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 16, 2023, 10:21:05 AM
What do you mean, globally ? for other software ?
The logic is in dualiso.c but it needs an external structure to hold exposure curve values.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 16, 2023, 11:54:36 AM
I thought the issues are coming from dualiso.c originally?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 16, 2023, 12:26:54 PM
It is, just I need to hold precomputed values outside of that file to avoid precision errors from frame to frame. That remains a hack  ;) Not a final solution.
I hope it could be possible to do better.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 16, 2023, 03:00:06 PM
What is not clear is how to decide which values to take when pressing the "bake" button. The ones from the first frame? How can we know in which frame the values are correct or calculated more accurately?  ::)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 16, 2023, 03:08:23 PM
Just click "bake" on the frame (on the viewport) you wanna freeze values from. There are updates on the repo.
QuoteHow can we know in which frame the values are correct or calculated more accurately?
I think it's a visual test. The idea is to stop the flickering. It's not a great idea to do it on a flawless footage.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 16, 2023, 08:19:53 PM
People are going to need a master to edit Dual ISO clips with so many options xDD
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 16, 2023, 08:24:56 PM
So is shooting with magic lantern  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 16, 2023, 08:33:35 PM
I forgot half of the functions I implemented into my own eos m branch  8).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 17, 2023, 10:34:29 PM
I made some tweaks in the dualiso code, it fixes my filckering clips without baking and seems to not alter image (expo slope values remain very close to original code without large jumps between images). If you can try it and tell me if it's OK for you too...
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 18, 2023, 12:12:58 AM
Quote from: cedricp on March 17, 2023, 10:34:29 PM
I made some tweaks in the dualiso code, it fixes my filckering clips without baking and seems to not alter image (expo slope values remain very close to original code without large jumps between images). If you can try it and tell me if it's OK for you too...

I have a couple of "flickering" clips from previous posts that seems to flicker still, maybe you can give it a try also:
https://mega.nz/file/JptAECbS#BXImCPVcmdXe6UXIXspeyZzNhy5kJWD1-aK39UyuJvU (https://mega.nz/file/JptAECbS#BXImCPVcmdXe6UXIXspeyZzNhy5kJWD1-aK39UyuJvU)
https://mega.nz/file/pkkDkIDZ#e9aHgJtdIaYyiESYEbAXgoNifEO9QxIg85tmOgjXL0Y (https://mega.nz/file/pkkDkIDZ#e9aHgJtdIaYyiESYEbAXgoNifEO9QxIg85tmOgjXL0Y)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 20, 2023, 11:06:02 PM
I spent some hours to try to find a better solution, but I failed :(
I removed some omp directive that caused wrong results and added more caching stuff, so that should be slightly faster to export.
The "baked" expo matching remains the best fix for that so far.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 21, 2023, 08:12:23 AM
Quote from: cedricp on March 20, 2023, 11:06:02 PM
I spent some hours to try to find a better solution, but I failed :(
I removed some omp directive that caused wrong results and added more caching stuff, so that should be slightly faster to export.
The "baked" expo matching remains the best fix for that so far.

The bake button is a good compromise for now. Can you make a pull request to my fork with your changes? I'll take a look at the omp directives that you had to remove, maybe I we can fix them  :)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 27, 2023, 10:04:46 PM
I found the ML's dual iso pdf doc on the internet that helped me to better understand the code and I finally got better results for the exposure ISO matching function. It should also be slightly faster.
For those interested the doc is here (http://dhilung.com/vault/ml/dual_iso.pdf)
I pushed the code on my gitub if you wanna try. It's not perfect, but it solves almost all the problematic shots.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on March 28, 2023, 02:39:04 AM
Quote from: cedricp on March 27, 2023, 10:04:46 PM
I found the ML's dual iso pdf doc on the internet that helped me to better understand the code and I finally got better results for the exposure ISO matching function. It should also be slightly faster.
For those interested the doc is here (http://dhilung.com/vault/ml/dual_iso.pdf)
I pushed the code on my gitub if you wanna try. It's not perfect, but it solves almost all the problematic shots.
nice finding.. I don't understand coding
I hope ML dual iso getting better next..

btw, is it for eos M user only?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 28, 2023, 08:06:49 AM
Quote from: cedricp on March 27, 2023, 10:04:46 PM
I found the ML's dual iso pdf doc on the internet that helped me to better understand the code and I finally got better results for the exposure ISO matching function. It should also be slightly faster.
For those interested the doc is here (http://dhilung.com/vault/ml/dual_iso.pdf)
I pushed the code on my gitub if you wanna try. It's not perfect, but it solves almost all the problematic shots.
Nice work.
Are these the changes? Anything else modified?
https://github.com/cedricp/MLV-App/commit/0028db617a9efb9c5a5933c487e05d8c5547674c

Possible to fix original source code in here?
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/modules/dual_iso/dual_iso.c
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 28, 2023, 09:24:08 AM
Quote from: ML700D on March 28, 2023, 02:39:04 AM
nice finding.. I don't understand coding
I hope ML dual iso getting better next..

btw, is it for eos M user only?
Thanks, no, it's a fix for dual iso blending, so for all cameras supporting dual ISO.

Quote from: Danne on March 28, 2023, 08:06:49 AM
Nice work.
Are these the changes? Anything else modified?
https://github.com/cedricp/MLV-App/commit/0028db617a9efb9c5a5933c487e05d8c5547674c

Possible to fix original source code in here?
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/modules/dual_iso/dual_iso.c
Yes changes are there, and the code in the ML firmware is OK so far. The changes are for postprocess only.
It seems that fullres reconstruction works better too.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 28, 2023, 09:59:07 AM
Quote from: cedricp on March 28, 2023, 09:24:08 AM
Yes changes are there, and the code in the ML firmware is OK so far. The changes are for postprocess only.
Yes of course, my mistake. I mean put in the code in here:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/src/master/modules/dual_iso/cr2hdr.c
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 28, 2023, 10:16:03 AM
Interestingly, cr2hdr has a different (maybe more robust) ISO matching function, trying it right now :)
Edit : That method is the best I tested ! No flickering at all and very good dynamic range staging.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 28, 2023, 12:36:42 PM
Good. The code is the latest I believe, from a1ex. Would be great if this code is reviewed in whole and implemented in Mlv app :).
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 28, 2023, 02:31:29 PM
I did a quick review. I've adapted and updated my MLVapp repo with the updates from cr2hdr command line utility. The only missing feature is noise computation. Indeed a CR2 (digital still) file seems to contain some special rows/columns of black bars to measure noise, it does not exist in a video clip because of the crop I guess.
I'll do a more accurate analysis of the a1ex code to check if all is up2date.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on March 28, 2023, 06:49:26 PM
This is so good!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on March 31, 2023, 08:03:05 PM
cedricp I just merged your improvements on my fork to test it. Do you think that we can get rid of the "bake" button after your last commit?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: cedricp on March 31, 2023, 08:45:18 PM
Not necessarily, cause you can get faster export if enabled though.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on April 04, 2023, 09:47:12 AM
Maybe a bit off topic, but what is the reason for having only 1x (crop) and 3x (standard) modes available?
What's the technical limitation for something like a 2.5K 2x mode?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: masc on April 04, 2023, 02:00:30 PM
Quote from: iaburn on April 04, 2023, 09:47:12 AM
What's the technical limitation for something like a 2.5K 2x mode?
The bayer matrix on the sensor.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on April 04, 2023, 03:01:36 PM
Quote from: masc on April 04, 2023, 02:00:30 PM
The bayer matrix on the sensor.

Wouldn't it be possible to take every other 2 rows?
With 3x3 we read the red-green row, jump 2 rows and read the green-blue row.

Cannot we read the first 2 rows (red-green and green-blue), skip 2 rows, and read again 2 rows, so we get half of the sensor?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: ML700D on April 04, 2023, 04:10:01 PM
Quote from: iaburn on April 04, 2023, 03:01:36 PM
Wouldn't it be possible to take every other 2 rows?
With 3x3 we read the red-green row, jump 2 rows and read the green-blue row.

Cannot we read the first 2 rows (red-green and green-blue), skip 2 rows, and read again 2 rows, so we get half of the sensor?
I'm just curious if 2x2 or 1x2 binning mode is possible..what would it be like?
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on April 04, 2023, 04:54:00 PM
Quote from: ML700D on April 04, 2023, 04:10:01 PM
I'm just curious if 2x2 or 1x2 binning mode is possible..what would it be like?

That would be like a 2.5K mode with no extra crop, and I guess aliasing and artifacts at a similar, slightly lower, level than current 1080HD mode

Edit: I've been reading some old posts and it seems like ML is using the reading modes already available in Canon's firmware. So unless there is some magic register combination to enable this, I guess this is sadly not possible u_u
(https://i.ibb.co/sHKFnsZ/pattern.png) (https://imgbb.com/)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: crossroads on April 18, 2023, 05:14:55 AM
hey danne can you please fix the crop mood mess and release a new build, i ve been using your builds for a long time and i trust your ability to fix anything
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: K-Rim on April 18, 2023, 12:03:46 PM
Hey guys I'm currently on the newest Build and I have issues with my HDMI output.

I tried a SmallHD and the Atomos Ninja V Monitor, but both get no signal from the Canon EOS M.

The screen of the EOS M goes black as i put in the HDMI cable into the canon, but the screens get no signal.

I tried all ML modes and no changes.

Any guess why it doesn't work?

Thank you guys.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: theBilalFakhouri on April 18, 2023, 02:00:32 PM
Quote from: K-Rim on April 18, 2023, 12:03:46 PM
I have issues with my HDMI output.

Hi,

AFAIK, Danne build isn't well supported regarding HDMI currently.
You may want to use crop mood build (https://www.magiclantern.fm/forum/index.php?topic=26851.msg242974#msg242974), HDMI is supported there in all presets in all outputs.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on April 18, 2023, 02:13:15 PM
Yes, recommend bilals build in general and port goodies from this build.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Skinny on April 18, 2023, 06:13:31 PM
Quote from: iaburn on April 04, 2023, 04:54:00 PM
Edit: I've been reading some old posts and it seems like ML is using the reading modes already available in Canon's firmware. So unless there is some magic register combination to enable this, I guess this is sadly not possible u_u
(https://i.ibb.co/sHKFnsZ/pattern.png) (https://imgbb.com/)
I think it can be done but there will be some limitations.. For example it is possible to read the whole sensor at low FPS, so it should be possible to do it but just skip (not record) every two pixels, saving half of the card space.. So if 10/12 bit recording is possible, it is just lsb truncated? Maybe not recording some pixels also could be done.. But the fps will be limited to the sensor speed probably. Which still can be a good option for recording things such as calm scenes, timelapses and so on. Because full 5k recording takes A LOT of card space..

p.s. I don't really know how it all works so maybe I am saying some total nonsense  :D
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: iaburn on April 18, 2023, 08:03:05 PM
It might be possible what you say, but I was aiming to find a mode that works well and has high resolution... that was of course before the latest news  :D

Another thing that I was asking on discord and no one answered is this approach:
(https://i.ibb.co/rHtLS9k/alternate-1x3.png) (https://imgbb.com/)

Recording 1x3 mode but offset 1 column every 2 rows, with the intention of minimizing the horizontal aliasing and then do the debayer horizontally.
Not sure what the result would look like and if it would really reduce aliasing, but I think it would be interesting if that recording mode is possible
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Skinny on April 18, 2023, 09:00:19 PM
I still think something could be done at the post-processing stage, like reconstruction to full 5k image while smoothing aliasing here, guess additional pixel values based on something, maybe using gaussian function or other algorithms..
And only then feed this properly reconstructed image to the raw converter.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: K-Rim on April 19, 2023, 10:59:56 PM
Quote from: theBilalFakhouri on April 18, 2023, 02:00:32 PM
Hi,

AFAIK, Danne build isn't well supported regarding HDMI currently.
You may want to use crop mood build (https://www.magiclantern.fm/forum/index.php?topic=26851.msg242974#msg242974), HDMI is supported there in all presets in all outputs.

Hey I'll definitely give your build a try and will install it tomorrow, thank you!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on April 27, 2023, 03:29:12 PM
Hello guys.
What is the best SD-card for EOS M in 2023? The "gold standart".
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 27, 2023, 04:48:01 PM
Lexar 2000x
Not sure about what best means. This is the fastest so far.

After Bilal's sd_uhs discoveries we no longer have the need of a gold standard as before.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: kolodiazniy on April 27, 2023, 05:00:37 PM
Quote from: Walter Schulz on April 27, 2023, 04:48:01 PM
After Bilal's sd_uhs discoveries ...
Where I can read about it? Now I don`t understant the feature.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 27, 2023, 05:55:10 PM
https://www.magiclantern.fm/forum/index.php?topic=25841.msg234228#msg234228
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeEYE on April 27, 2023, 06:10:48 PM
Re:Cards, Just get what works. Its known to work regardless of peoples tests with latest builds.

Sandisk Extreme Pro SD UHS-I Card (extreme pro in gold lettering)
UHS 3, V30 C10

;)  the one i use is 200mbs (at least the on the card says  so) but real word max use is more like 90

They are pretty cheap for what the can do. I also have a lexar that works. But because of the reliablity of the former, I tend t pick them up when I can .

Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Walter Schulz on April 27, 2023, 06:18:00 PM
Quote from: DeEYE on April 27, 2023, 06:10:48 PM
  the one i use is 200mbs (at least the on the card says  so) but real word max use is more like 90

Read the specs. https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/sandisk/product/memory-cards/extreme-pro-uhs-i-microsd/data-sheet-extreme-pro-uhs-i-microsd-200mbps.pdf
200 is for read only. And it requires a reader with proprietary oc protocol. With other devices it is just another UHS-I card. Fits with 90MByte/s. Give or take.
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeEYE on April 29, 2023, 01:46:24 AM
Ah yes, thanks,.\
I just meant, it says that, that card works as it gets 90 i dont have any need for anything over that. In fact im usually at 60mbs probably. Thanks for the link!
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: DeEYE on May 18, 2023, 11:09:12 PM
1080p mode is more reliable to me in the Danne build than Crop Mood build. Does anyone else find that or is it just me? Trying to decide why I find 1080p mood unstable on the Crop Mood, it often frezzes and or goes to black frame when trying to frame or fucus. No such problem with Danne Build.The only "bad thing" about the danne build would be a brief pink screen when using AF, but Tend to do manual mode anyways. ) I also feel the exposure is diffreent, could I be wrong?
Currentyly Ive decided to have Crop Mood 4-5k on one card and Danne Build CM to 1080p mode on the other. Just for reliability. Or perhaps Im just having a hard time letting go? lol 
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: Danne on May 19, 2023, 08:58:09 AM
Thanks for feedback.
Wish I had more time playing with bilals build  8)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: gabriielangel on May 19, 2023, 03:55:17 PM
Quote from: DeEYE on May 18, 2023, 11:09:12 PM
1080p mode is more reliable to me in the Danne build than Crop Mood build.

What is good with Danne's build is that it is set up to work as good as possible by default. Bilal's build requires a little more work before you can use it.
For 1080p mode to work, you need to get into x10 zoom mode and press the onscreen down arrow once or twice to offset the preview. The black screen will disappear.
Also, Kill Global Draw must be set to ON.

@bilal, it would be a good idea to ask the forum admin to add a second post right after the first one on your thread, where you could just add version history / new releases and found fixes. As a lot of things must be set manually and it varies depending on which mode you are using, this can get confusing pretty fast for someone just starting using it... :)
For example, some very important info is only available on pages 5 and 8 (Custiomize Buttons, Preview Toggle,etc.)
Title: Re: Danne's crop_rec_4k experiments for EOS M
Post by: procopy on August 28, 2023, 09:51:12 AM
Quote from: DeEYE on May 18, 2023, 11:09:12 PM
1080p mode is more reliable to me in the Danne build than Crop Mood build. Does anyone else find that or is it just me?

It's pretty much the same for me in 4.2k. I counter black screen by pressing menu and then shutter and it get backs to normal, but the fact of the matter is it's annoying. The other issue is camera constantly overheating and to me that's major issue. A ton of corrupted and pink frames, dead pixels, autostops and so on make it really unreliable and after shooting for few months, I don't share everyone else's hype about it. The only reason I resorted to Crop Mood lately is I get what I see but honestly don't like the tradeoff. Might as well spend few more seconds framing for way more reliable results.