Author Topic: Danne's crop_rec_4k experiments for EOS M  (Read 186998 times)

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 893
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2650 on: September 23, 2020, 08:09:08 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
New custom build for 100D/SL1 is up:
https://www.magiclantern.fm/forum/index.php?topic=26511.msg239125#msg239125
Porting still work in progress!

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2651 on: September 23, 2020, 08:28:26 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!

ZEEK

  • Senior
  • ****
  • Posts: 329
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2652 on: September 23, 2020, 08:32:43 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 🎥🔥👍
EOS M

benoit

  • New to the forum
  • *
  • Posts: 30
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2653 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

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2654 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.



Teamsleepkid

  • Member
  • ***
  • Posts: 247
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2655 on: September 24, 2020, 06:22:15 PM »
Awesome! Thanks for the mattes Danne. Much better than the flicker😎
EOS M

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2656 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.

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 1985
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2657 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?
5D3.113 | EOSM.202

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2658 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:
Code: [Select]
       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);

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 1985
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2659 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!
5D3.113 | EOSM.202

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2660 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.

Gubrik

  • Just arrived
  • *
  • Posts: 1
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2661 on: September 24, 2020, 09:45:09 PM »
Does new 2.5k hdmi preset work with external monitor as well as 1080 do?

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 893
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2662 on: September 24, 2020, 10:39:58 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

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

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 . .
New custom build for 100D/SL1 is up:
https://www.magiclantern.fm/forum/index.php?topic=26511.msg239125#msg239125
Porting still work in progress!

masc

  • Contributor
  • Hero Member
  • *****
  • Posts: 1985
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2663 on: September 24, 2020, 10:56:42 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! ;)

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!
5D3.113 | EOSM.202

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2664 on: September 25, 2020, 05:34:20 AM »
Actually. I wouldn't mind the 1600x2040 preset  :P.

loknar

  • Freshman
  • **
  • Posts: 78
  • 550D, EOS M
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2665 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  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  :)

ChaseChimeric

  • Just arrived
  • *
  • Posts: 1
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2666 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?

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2667 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.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2668 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.

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8341
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2669 on: September 26, 2020, 06:59:05 AM »
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


2blackbar

  • Hero Member
  • *****
  • Posts: 506
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2671 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.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2672 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.

2blackbar

  • Hero Member
  • *****
  • Posts: 506
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2673 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.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Danne's crop_rec_4k experiments for EOS M
« Reply #2674 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