Bilal's crop_rec_4k experiments for 650D / 700D (T4i / T5i)

Started by theBilalFakhouri, September 18, 2020, 07:51:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

theBilalFakhouri

**Download links in the End of the post**
   
This new OP created in 24-5-2021

My custom builds are splitted now from the official 650D/700D threads, now we can focus the discussion on my builds, I will share future updates and tutorials frequently in this thread.

Welcome to:

Once upon a time, Trammell Hudson said:
"if it breaks your camera, you get to keep both pieces". Nothing changed, same applies here and in every build you are using :D

Q&A:
-Why would you use my builds?
It's included features might be useful or interesting to you, read below.

-Why wouldn't you use my builds?
These builds include bleeding-edge developments, it might break your camera, Don't use it if you are afraid!. However, to some point I know what I am doing, I only use my builds on my camera, never bricked it, some users used my builds too without resulting in a broken camera, the stats look good, Relax.

Features:
-SD Overclocking module with selectable presets 160MHz, 192MHz and 240MHz.
-High resolutions pre-made presets (crop_rec) 1920x1280p/1440p/3K 1:1, 4.5K/4.3K/4K/UHD 1x3 and more (Including preview fixes, correct framing real-time previews in 1x3 modes)
-Magic Zoom V2 (LiveView zoom in to check focus while recording!) for some (crop_rec) presets.
-Changeable resolutions, framerates and binning modes module via (crop_new), you can get Full-Resolution LiveView 5208x3472 continuous in 10-bit lossless @ 5 FPS!
-ISOless 8 & 15 Dual ISO fix for some 700D users.
-You can use lower bit-depths in lossless compression when shooting in high resolutions.
-Shutter speed is correct when using any preset, or FPS override.

-Enhanced experience for 1x3 Binning modes (Disabled Canon GUI, ML top bar would go to bottom automatically for better preview)
-Bit-depth is showing in ML bottom bar when using Crop mode.

[gifv]https://i.imgur.com/qbuxkiG.mp4[/gifv]




How to use this build? Tutorial
I am preparing full video tutorial about this build included other related info, it may take a while!
Currently you can follow this post as guide, let me know if you have questions

General notes:
-You can load both crop_rec and crop_new modules, but don't activate them at the same time (use "Crop mode" or "Crop mode V2").
-Use maximum aspect ratio and and resolution from mlv_lite when using crop_rec presets with real-time correct preview, otherwise mlv_lite won't crop the RAW data correctly.

-Loading the modules
After installing the build, some modules should be loaded manually for once to be able to record RAW video, use crop modes, view recorded RAW clips . .
I recommend to load the following modules to get the best out of my builds:



crop_new: Second version of crop mode (read below).
crop_rec: First version of crop mode (read below).
dual_iso: Dynamic range improvement (read about it here).
mlv_lite:  Records RAW video.
mlv_play: RAW video (MLV) player.
mlv_snd: Adds sound recording to RAW video.
sd_uhs: Does SD overlocking which increase write speed (continue reading).

-Load these modules from "Modules" tab from ML settings, highlight a module and press SET button for each module, then restart the camera.
-Loading other modules is fine if you need them.

-SD Overclocking
We can bypass SD Controllers write/read speed limits using sd_uhs module:

-Select a preset (160, 192 or 240 MHz) then restart the camera.
-The highest preset 240 MHz gives ~ 68 MB/s write speed in video mode, and 240 MHz preset is stable when using Sandisk Extreme Pro 170MB/s Card.



-Best compatible SD card is Sandisk Extreme PRO UHS-I U3 170 MB/s (works in all presets, stable at 240 MHz).
Second-best is Sandisk Extreme PRO UHS-I U3 95 MB/s (works well in 160 MHz and 192 MHz presets)

-Perform "Low level format" in camera to get stable write speeds (at least for once), image on the left before low level format, image on the right after performing low level format; stable as hell:




-Crop mode (crop_rec) with Pre-Made Presets


1- 2.5K Expanded Preview: Experimental Real-Time Correct Framing Preview in default x5 Mode.
2- 1440p 1:1: 2560x1440 16:9 @ 23.976 or 25 FPS with Fixed Cropped Preview.
3- 3K 1:1: 3072x1308 2.35:1 @ 23.976 FPS with Fixed Cropped Preview.
4- 4.5K 1x3: 1x3 Binning 1504x1782 with 1.86 Crop factor ~2.50:1 @ 23.976 or 25 FPS with Correct (Un-Stretched) Preview.
5- 4.3K 1x3: 1x3 Binning 1440x1836 with 1.94 Crop factor 2.35:1 AR with Correct (Un-Stretched) Preview.
6- 4K 1x3: 1x3 Binning 1360x1976 with 2.05 Crop factor ~2:1 @ 23.976 FPS or 25 with Correct (Un-Stretched) Preview.
7- UHD 1x3: 1x3 Binning 1280x2160 with 2.18 Crop factor 16:9 @ 23.976 or 25 FPS with Correct (Un-Stretched) Preview.
8- 1920x1280p 1:1: 1:1 1920x1280p @ 23.976 or 25 FPS with Correct Preview.
9- Full-Res LV 1:1: 1:1 Full-Resolution LiveView 5208x3478 @ 2 FPS.
10- 720p50 3x3: 3x3 Binning in 720p (square pixels in RAW) 1736x698 @ 50 FPS with Correct (Un-Stretched) Preview.

-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]


Crop mode submenu settings:
-Shutter range: Full range allows you to get the lowest shutter speed and highest shutter speed possible with camera Hardware, e.g: down to 1/24 shutter speed, up to 1/36K shutter speed @ 23.976 FPS.
-Bit-Depth: This allows you to get 10/12 Bit-Depths with higher resolutions presets:
Always select 14-bit lossless from mlv_lite, select 10-bit or 12-bit from crop_rec submenu.

-Set FPS: Change the framerate for some presets to 25 FPS instead of 23.976 FPS (works in all 1x3 presets, 1920x1280p 1:1 and 1440p 1:1).

-Magic Zoom V2
-3K and 1440p presets aren't supported, you can use regular x10 mode.
-I had corrupted frames when using Magic Zoom V2 with *HDMI monitor, don't use Magic Zoom V2 with HDMI monitor attached while recording.
*However attaching HDMI monitors isn't recommended in general for these small cameras; it cause problems even with official builds.

-4K and UHD 1x3 Presets do have Magic Zoom V2, but with not perfectly centered preview or stretched zoomed preview, but it's valid for focusing.

Features:
-Nail your focus While recording!
-Works with All presets with real-time correct framing preview.
-You can trigger it by Zoom button or SET button.
-No overhead or slowness, didn't have corrupted frames during my tests (on camera LCD screen).
-Real-Time as Canon Preview, it's a Canon preview actually, but zoomed.
-Works with Global Draw OFF.

[gifv]https://i.imgur.com/H81QemC.mp4[/gifv]


-Crop mode V2 module (crop_new) with Arbitrary Resolutions:
Instead of pre-made presets, this is the new version of crop_rec from a1ex, which allow you to select any preferred resolution, framerate and binning mode.

-How to use it?

Select "Pixel binning" mode, set your X resolution and Y resolution, set your desired Framerate option, Press SET button in LiveView to apply the settings.



-Using 10/12 Bit-Depths in crop_new:
Always select 14-bit lossless from mlv_lite, and use 10/12 Bit-Depths option from crop_new submenu.

-Refresh LiveView manually after changing the settings by pressing SET Button in LiveView.

-Shutter range: Full range allows you to get the lowest shutter speed and highest shutter speed possible with camera Hardware (360° to 1°), e.g: down to 1/24 shutter speed, up to 1/36K shutter speed @ 23.976 FPS, or
in low framerate presets e.g @ 2 FPS loweset shutter speed would be 0.5", 360° and highest shutter speed 1/12K, 0°

-Fix Preview: Fix pinkish preview in x5 Mode, max X resolution should be 3112.

-x10 Mode will be valid for focusing, and won't be patched.
-This module doesn't include any recent preview fixes.

-Using HDMI:
-Connecting HDMI works, in general there is an overhead when using HDMI with 1080i output you may have corrupted frames especially in high resolutions like x5 mode/1440p/3K 1:1, but using HDMI in 720x480 output doesn't seem to make an overhead (it just act like camera LCD)

-The following crop_rec presets will only work with 1080i output! and with Full Canon preview (toggle between Small and Full preview by pressing Info button in LiveView):
  • All 1x3 presets which has real-time correct preview which are 4.5K/4.3K/4K/UHD in addition to "2.5K Expanded Preview"
  • "720p50 3x3" preset may not work with HDMI, didn't test it.

-I didn't have corrupted frames with 1x3 (real-time correct preview) presets and HDMI 1080i output, don't use Magic Zoom V2 while recording it will produce corrupted frames between the switch (Normal/ZOOM preview).

-Write speed improvement:
-You can get ~13 MB/s write speed increase when using the new hacks, total write speed in LiveView is 82.8 MB/s!, more info in this thread: LiveView hacks (write speed improvement).



-Looking for more recording times?

-Check Image quality and its effect on memory (more RAM 4 free).

Quote from: theBilalFakhouri on June 15, 2022, 06:37:18 PM
-Results on 700D:

-1736x2214 @ 11 bit-lossless at 23.976 FPS, 240 MHz overclock, no GD (~78MB/s required write speed):

JPG:  first clip: 1 Minutes and 54 Seconds, second clip: 1 Minutes and 13 Seconds.
RAW: I have to stop it manually after 6 Minutes of recording :D


Downloads:

700D:
-Download the New build: crop_rec_4k.2022May25.700D115.zip
-Download the New build with re-solved Dual ISO ISOless 8 & 15 for some 700D users: crop_rec_4k.2022May25.700D115_ISOless_8_15.zip
-Some users have stuck shutter value issue in ML menu, please try this build: crop_rec_4k.2022May25.700D115_Shutter_Blanking.zip
-Some users may have both stuck shutter value issue in ML menu and ISOless Dual ISO errors, try the following build which contain both fixes: crop_rec_4k.2022May25.700D115_Shutter_Blanking_ISOless.zip

650D:
-Download the New build: crop_rec_4k.2022May25.650D104.zip
-Download the New build with re-solved Dual ISO ISOless errors for some 650D users: crop_rec_4k.2022May25.650D104_ISOless.zip

Source-code:
magic-lantern-bilal (25-5-2022).7z (crop_rec_4k branch)

-Original post has been moved to Reply #2.



Upcoming tutorial: Shooting in Full-Resolution LiveView 5208x3472 continuously in 10-bit lossless @ 5 FPS (or in 12-bit lossless @ 4 FPS).

SubZeroz

Quote from: theBilalFakhouri on September 18, 2020, 07:51:30 PM



Really Really cool

Some questions regarding the regular Crop Mode (Because I would like to use the fixed Live-View):

1. All presets are 23.976 fps. Can I change it to 25 via the menu option?

2. Can the 4.5k anamorphic mode resolution be changed? (I prefer going 2.35 ratio)

In the other Danne's build, I could use the 5k Anamorphic and change resolution from the mlv_lite, and also have 25 fps.

Thanks!

theBilalFakhouri

Original OP started:
**Download links in the End of the post**

New Build for 700D
New-Build" border="0
Build-modules" border="0

Included:
-SD Overclock with selectable presets 160, 192, 240 MHz.
-crop_rec with the higher resolutions with fixed LiveView and the latest real-time correct preview presets.
-The new crop_rec from a1ex with arbitrary resolutions under the name "crop_new" or Crop mode V2.
-ISOless 8 & 15 Dual ISO fix.
-You can use Lower bit-depths when shooting in high resolutions in both crop_rec and crop_new.
-Shutter speed is correct when using any preset, or FPS override.

Using SD Overclock (sd_uhs.mo):
-Select a preset (160, 192 or 240 MHz) and restart the camera.
-The highest preset 240 MHz gives ~ 68 MB/s write speed in video mode, and 240 MHz preset is stable when using Sandisk Extreme Pro 170MB/s Card.
SD-Overclock" border="0
SD-Overclock-Presets" border="0

Default Crop mode (crop_rec) with Pre-Made Presets
You have these presets:
Crop-rec-with-Presets" border="0

1- 2.5K Expanded Preview: Experimental Real-Time Correct Framing Preview in x5 Mode, To be used in x5 Mode.
2- 2.5K Expanded Preview HDMI: Experimental Real-Time Correct Framing Preview in x5 Mode, To be used in x5 Mode when HDMI monitor is attached @ 1080i in FULL size Canon preview.
3- 1440p 1:1: 2560x1440 16:9 @ 23.976 FPS with Fixed Preview, To be used in x5 Mode.
4- 3K 1:1: 3072x1308 2.35:1 @ 23.976 FPS with Fixed Preview, To be used in x5 Mode.
5- 4.5K Anamorphic 1x3: 1x3 Binning 1504x1782 with 1.86 Crop factor ~2.50:1 @ 23.976 FPS with Correct (Un-Stretched) Preview, *To be used in x5 Mode.
6- 4K Anamorphic 1x3: 1x3 Binning 1360x1976 with 2.05 Crop factor ~2:1 @ 23.976 FPS with Correct (Un-Stretched) Preview, *To be used in x5 Mode.
7- UHD Anamorphic 1x3: 1x3 Binning 1280x2160 with 2.18 Crop factor 16:9 @ 23.976 FPS with Correct (Un-Stretched) Preview, *To be used in x5 Mode.
8- 1920x1280p 1:1 Preview: 1:1 1920x1280p @ 23.976 FPS with Correct Preview, To be used in x5 Mode.
*We are patching back x5 Mode to 1x3 Binning (Anamorphic Mode) to achieve the correct preview.

-Using 10/12 Bit-Depths in higher resolutions with crop_rec:
1-Always select 14-bit lossless from mlv_lite.
2-Go to crop_rec submenu by pressing Q button, Now you can see "Bit-Depth" option, Select 10 or 12, that's it.
Crop-rec-Shutter-Range" border="0

Bit-Depths" border="0

-Full Shutter range allows you to get the lowest shutter speed and highest shutter speed possible with camera Hardware, down to 1/24 shutter speed, up to 1/36K shutter speed both @ 23.976 FPS.

New Crop mode module (crop_new) with Arbitrary Resolutions:
Instead of pre-made presets, this is the new version of crop_rec from a1ex, which allow you to select any preferred resolution, framerate and binning mode you want.

-How to use it?
Select "Pixel binning" mode, set your X resolution and Y resolution, set your desired Framerate option, press Menu button twice to apply the preset.
New-crop-rec" border="0

Showing-Pixel-binning" border="0

-Using 10/12 Bit-Depths in crop_new: I think you saw it already, remember you should always select 14-bit lossless from mlv_lite when using 10/12 Bit-Depths from here.
-You should always press Menu button twice for refreshing LiveView to apply the new settings, after changing them in crop_new "Crop mode V2", even when you turn off the module, you should press Menu button twice.
-You can create your Time-Lapses from this module in high resolutions, you can use FPS override too.
-x10 Mode will be valid for focusing, and won't be patched.
-This module doesn't include any recent preview fixes.

New Focus pixel maps for the previous presets:
Download it from 700D Focus Pixels Maps.zip, drag and drop them in MLVApp interface directly.

More info about:
-The Advantages of 1x3 Binning.

Download the New build: crop_rec_4k.2020Sep30.700D115.zip
Download the New build with re-solved Dual ISO ISOless 8 & 15 for some 700D users: crop_rec_4k.2020Sep30.700D115_ISOless_8_15.zip
-Links are being updated for the Latest build and focus maps.

Great time for 700D users, Have fun :D
Original OP ended.



Then this Reply#1 comes




Original Reply #2 started:
Quote from: SubZeroz on September 19, 2020, 10:16:51 AM
1. All presets are 23.976 fps. Can I change it to 25 via the menu option?
2. Can the 4.5k anamorphic mode resolution be changed? (I prefer going 2.35 ratio)

1 -Done
2- Done

New Build for 700D:
New-Preset" border="0

1- Added New 4.3K Anamorphic 1x3 Preset 1440x1836 1.94 Crop factor 2.35:1 AR with Correct Preview
2- Added option for 25 FPS in crop_rec
3- Added 9/8 Bit-Depths for both crop_rec and crop_new
4- In crop_new Now there is an Option for fixing Preview in x5 Mode Max X resolution should be 3112
5- Fixed Black Level in preview when using lower bit-depths 10/9/8 in crop_rec


9-and-8-Bit-Depths-options" border="0

25-FPS-option" border="0

Preview-FIX-crop-new" border="0

How to use this Build and more details about it:
https://www.magiclantern.fm/forum/index.php?topic=25784.msg231049#msg231049

Download the New build: crop_rec_4k.2020Sep30.700D115.zip
Download the New build with re-solved Dual ISO ISOless 8 & 15 for some 700D users: crop_rec_4k.2020Sep30.700D115_ISOless_8_15.zip

New Focus Maps:
https://raw.githubusercontent.com/bilalfakhouri/magic-lantern/master/700D%20Focus%20Pixels%20Maps.zip
-Added 4.3K Anamorphic 1x3 Preset 1440x1836 map.
Original Reply #2 ended:

Danne

Where do you publish crop rec code changes? Nice with 2.35:1.

theBilalFakhouri

Thanks,
I didn't create another online repository after Bitbucket did what it did :P, Planning to use Heptapod and import the repository, not sure if this would work easily, I am doing it locally for now . .

theBilalFakhouri

Quote from: Ballinger on September 23, 2020, 03:51:43 AM
I'm experiencing weird LCD screen artifacting with your latest build whilst utilizing the 2.5K expanded fixed preview crop mode preset.  Both the regular 2.5K and the HDMI 2.5K modes only fill up part of the LCD display while at the same time a pink color bar covers the bottom 1/3 or the LCD screen.   Framing seems correct in the actual footage shot, but the LCD display is just weird looking except for a skewed display of the actual correct framing preview that is offset to the upper left part of the LCD display.   Additionally, the pink color bar is sometimes replaced by an out of focus, pixelated portion of the subject in the frame.    Other times, the entire display seems to just go completely crazy with no discernible image at all, requiring a camera power down to reset it.   

This is normal, the bottom half of preview should be black, these artifacts are showing because there is no RAW data to show on the bottom of the preview, this can be controlled from Canon registers to cut this part and make it black, still working on it, Danne made Crop Marks for now to hide these artifacts, you can find it here:
https://bitbucket.org/Dannephoto/magic-lantern_jip_hop_git/downloads/crpmks_frtp.zip

Also I am working to add black bar baked in each preset directly, and without enabling Global Draw instead of changing it each time from Cropmarks.

Removed off-topic quoted from deleted posts //Audionut

theBilalFakhouri

Please read through the following article, which I mentioned many times earlier, also included in how use this build some people are too lazy to read or understand, don't be like them, the article containing:
https://www.magiclantern.fm/forum/index.php?topic=25323.0

Quote from: theBilalFakhouri on September 10, 2020, 03:02:55 PM
Introducing the New Expanded Real-Time preview in x5 Mode

Quote from: theBilalFakhouri on September 10, 2020, 03:02:55 PM
Known Limitations:
-Black Bar in the right instead of the right part of actual RAW data.

Notes:
-The Preview is in the Top Part of the screen, not centered on screen.
-You may compare ML Framing vs The New Preview to trust it.
-Turn OFF Global Draw for better Preview.
-Feel the responsive.
-Instead Normal of x5 Mode Preview? Wow!
-Still working on Black Bar limit.



Quote from: theBilalFakhouri on September 10, 2020, 03:02:55 PM
Known Limitations:
-Black Bar in the right instead of the right part of actual RAW data.
Quote from: theBilalFakhouri on September 10, 2020, 03:02:55 PM
Notes:
-The Preview is in the Top Part of the screen, not centered on screen.
-You may compare ML Framing vs The New Preview to trust it.

Quote from: theBilalFakhouri on September 10, 2020, 03:02:55 PM
-Still working on Black Bar limit.


The artifacts are totally okay, Do you remember when we had the broken-pinkish preview in the initial crop_rec from a1ex:
Quote from: a1ex on April 01, 2017, 11:15:41 AM
* Canon preview is broken in most modes; you need to use the grayscale preview in the raw recording module.

It's the same thing here regarding Safety but in a different look, this preview still in Experimental Stage, don't use it if you are afraid, however many 700D, EOS M users have tried it, they pretty happy because they knew how to use it and they read this article before they used it:
https://www.magiclantern.fm/forum/index.php?topic=25323.0


-New build is coming soon containing:
1-All presets will support HDMI output with real-time correct preview.
2-You can ZOOM while recording to check focus instead of stopping recording, checking focus, starting over.
3- Black Bars instead of artifacts.
4-When you enable a preset, you will be automatically get into x5 Mode, to avoid crashes when you are enabling the presets on other modes.

Tidied this post up a little //Audionut

theBilalFakhouri

**Download links in the End of the post**

New Build for 700D

What's New:
-crop_rec:
1- When you enable any preset you will get into the right mode automatically, No more frozen LiveView or Camera crashes again (Stability :) ).
2- Autodetect HDMI support for the Real-Time presets, which means all presets works with HDMI now, no further selections needed.
3- Magic Zoom V2: Now you can use Magnification button or SET button to get zoomed preview to check focus, and this works while you are recording!
4- Better Centering for 3K preview.

-mlv_lite
1- Black Bar instead of preview artifacts.
2- Prevent using lower bit-depths for 3K and 1920x1280p presets, to avoid corrupted frames, use lower bit-depths in crop_rec submenu.

Autodetect HDMI
-The presets will only work with 1080i output! 720x480 or other outputs won't work.

Magic Zoom V2
-3K and 1440p presets aren't supported, you can use regular x10 mode.
-I had corrupted frames when using Magic Zoom V2 with HDMI monitor, don't use Magic Zoom V2 with HDMI monitor attached while recording.
-4K and UHD 1x3 Presets do have Magic Zoom V2, but with not perfectly centered preview or stretched zoomed preview, but it works for focusing.

Features:
-Nail your focus While recording!
-Works with All preset with real-time correct framing preview.
-You can trigger it by Zoom button or SET button on 700D and 650D.
-No overhead or slowness, didn't have corrupted frames during my tests (on camera LCD screen).
-Real-Time as Canon Preview, it's a Canon preview actually, but zoomed.
-Works with Global Draw OFF.
-It may work also with normal mv1080 Mode in theory, but didn't make a preset yet for this mode.

First Video showing Magic Zoom V2:
https://www.youtube.com/watch?v=1wFeCccCsLo

-To achieve better preview in real-time correct preview presets use this setting:
Go to ML Settings --> "Display" Tab --> Advanced settings --> Screen Layout --> "Bottom,under 3:2", Here is how it should look like:
https://www.magiclantern.fm/forum/index.php?topic=25323.msg231271#msg231271

How use this build and more Info about it: (Read all of them)
https://www.magiclantern.fm/forum/index.php?topic=25784.msg231049#msg231049
https://www.magiclantern.fm/forum/index.php?topic=25784.msg231134#msg231134
https://www.magiclantern.fm/forum/index.php?topic=25323.0

Download the New build: crop_rec_4k.2020Sep30.700D115.zip
Download the New build with re-solved Dual ISO ISOless 8 & 15 for some 700D users: crop_rec_4k.2020Sep30.700D115_ISOless_8_15.zip

Download Focus Maps for All Presets: 700D Focus Pixels Maps.zip

Source Code with All commits: magic-lantern_zoom_function.7z

Nigel95

Amazing to see all the developments on this camera.

I have a few questions does the Eos m offer a lot more features than the 700d for magic lantern raw recording or quite similar now a days? I like the form factor of the 700d more and my EF-S collection fits directly on it.

Beside the 1,6 crop factor of the 700d. Are there any high quality raw recording modes with no additional crop on top of the 1,6? For example would I been able to use my canon 10-18 @ 10mm and get a 16mm equivalent look in any raw video modes? If it's possible at all, is the footage usable as I read that ultra wide angle lenses can suffer from aliasing.

Are there any higher frame rates than 25 for example 50 possible for raw video recording?

Is single autofocus by touch possible to grab focus?


theBilalFakhouri

@Nigel95

Thanks,

EOS M and 700D are identical, same capability here and there regarding RAW recording yes, but I would prefer EOS M for Speed Booster support, and 700D for Flip Screen, if the size doesn't matter.

You can't have both 1.61 Crop Factor without aliasing. There are 1x3 Modes which solve aliasing problem but it has crop factors more than 1.61, or 1:1 modes which has a lot of cropping compared to 1x3 modes, also without aliasing.

There is 1x3 Mode which use full width sensor (1.61 Crop) which is 1736x2214 @ 23.976 FPS 2.35:1 AR you can achieve it by crop_new on 700D, however this mode isn't continuous even with the 240 MHz overclock and 10-bit lossless, you may lower the resolution to 1600x2040 @ 23.976 FPS 2.35:1 AR with 1.74 Crop to get continuous recording or You can stuck with 1736x2214 but lower framerate to @ 21 FPS to get continuous recording, However these two modes have stretched (not-correct) previews.

You can get 1736x868 3x3 2:1 AR @ 50 FPS, not continuous, (or 1736x738 2.35:1 @ 48 FPS this would be continuous @10-bit lossless) and with stretched preview. Or you can use the regular 5x3 Mode from Canon which have a lot of aliasing and Moire 1736x522 (1736x868 After stretching) 2:1 AR @ 50 FPS, this one is continuous with correct preview.

Autofocus by touch screen is possible, but the autofocus system is not that good on both EOS M and 700D. Autofocus won't work with the real-time correct preview 1x3 presets or x5 Mode.

AllWashedOut

Thanks for the new features. Very interesting.

I'm using my 700d for streaming (using the HDMI output). I do not record to the SD card. Do settings like high resolution or dual-iso now have any benefits for HDMI output, or only for the video recorded to SD?

Morfeus77

Hi to everyone , thanks for you hard work. About 48fps record I have some dudes. Please can someone post the steps for a right configuration. Should I change the resolution in canon menu? Thanks for your attention

SubZeroz

Very Cool!

I'm using an Android phone as a screen and found some issues when using this version with HDMI:
(I'm using the 4.3k preset)
1.  In order to get HDMI to work, I need to press the 'info' once, otherwise no image is being updated
2. Sometimes there's a strange and wierd flickering on the sides
3. Focus Peaking doesn't work, just shows lots of noise at the bottom
4. Probably not related to HDMI - I can't set the shutter speed. It's stuck at 1/26 and ignores my cannon shutter speed. I've tried going into the ML menu and change it but I can only change the 'TV' which doesn't seem to affect the shutter?


Because of '2' and '3' I Decided to also check this in Danne's Build listed above.

I've built (Based on source code online with some changes) a small Android app that gets HDMI input and stretches it. The result is actually pretty cool:

Camera:



Vs Phone (6.1 inch):




It seems like Danne's build also has issues with the HDMI:
1. Focus Peaking doesn't work here aswell
2. After recording, I've checked the videos in my computer. it seems like every few seconds there a PINK corrupted frame. This doesn't happen If i record without HDMI.


Any idea how to fix the Focus Peaking & Shutter?


Danne

Are you using what code for what cam? Will you share your android app source and application? Would be nice to test it out.
I tested hdmi with eos m and seems to work fine. Try 24 fps and see if that clears corrupted frames.

SubZeroz

Using this build: https://bitbucket.org/Dannephoto/magic-lantern/downloads/crop_rec_4k_mlv_snd_isogain_1x3_presets_2019Apr02.700D115.zip
for 700d.

I've tried changing to 24 fps but with no luck :\ Perhaps the HDMI to USB recorder i'm using is causing some issues, But thats a bit strange...


Is there any place I can access the source of that build?

____


The app is based on:
https://github.com/jiangdongguo/AndroidUSBCamera
which is based on some other repo...
I've mostly deleted lots of stuff and added the stretch code.

Currently It only stretches to support 2.35 ratio, and there's some code-mess.
If you'll still wish to get the source before I make some order & clean up I'll create a repo and upload it.

Here is a link to the APK:
https://drive.google.com/file/d/1MOXTtCjS4b0XovfBStPua7nu2Q3pLccD/

1. I've looked at the other git repos, and from a quick look - it seems O.K, but that code was not written by me, so use this app at your own risk :-)
2. Tested it on my phone screen ratio, I have no idea how it would look on your screen (Would appericiate a screenshot though).
3. My phone is running Android 9
4. If people need this I can add other stuff such as choosing the desired ratio etc'


How to install:
allow install apk from unknown sources

Run:
Simply run the app. It would show a blank black screen. Once you plug in the otg cable it would tell you it has recognized the camera.
The best camera liveview mode is the last one (by clicking 'info'), but any should work.
In Bilal's build only the second preview works. The first doesn't show any image.

Danne

Cool. I think I'll wait for a cleaned up build though  :P.
Regarding shutter speed it's probably related to shutter blanking. theBilalFakhouri is aware about that so hopefully he will take a look.

SubZeroz

Quote from: Danne on October 09, 2020, 07:02:58 PM
Cool. I think I'll wait for a cleaned up build though  :P.
Regarding shutter speed it's probably related to shutter blanking. theBilalFakhouri is aware about that so hopefully he will take a look.

Uploaded it here:
https://www.magiclantern.fm/forum/index.php?topic=25406.0

theBilalFakhouri

Quote from: SubZeroz on October 09, 2020, 04:13:42 PM
Very Cool!

I'm using an Android phone as a screen and found some issues when using this version with HDMI:
(I'm using the 4.3k preset)
1.  In order to get HDMI to work, I need to press the 'info' once, otherwise no image is being updated
2. Sometimes there's a strange and wierd flickering on the sides
3. Focus Peaking doesn't work, just shows lots of noise at the bottom
4. Probably not related to HDMI - I can't set the shutter speed. It's stuck at 1/26 and ignores my cannon shutter speed. I've tried going into the ML menu and change it but I can only change the 'TV' which doesn't seem to affect the shutter?


1- Yes, you should be in Full Canon preview when you are using HDMI with Real-Time Correct Preview presets, you can toggle between full canon preview and small preview by pressing INFO button.
2- I had flickering on sides problem in the official builds too, this problem not related to this build exclusively, it's related to mlv_lite, also to crop_rec with the new presets, nothing to do, you can get rid of it by pressing Menu button twice or refresh LiveView.
3- Yeah, Focus peaking isn't working fine when using HDMI, this problem are there in the official builds too, not related to this build, no idea how to fix it.
4- I don't have this problem, any steps to reproduce the problem? can you explain more what settings are using and mode etc.. ?

SubZeroz

Quote from: theBilalFakhouri on October 10, 2020, 01:55:38 PM
1- Yes, you should be in Full Canon preview when you are using HDMI with Real-Time Correct Preview presets, you can toggle between full canon preview and small preview by pressing INFO button.
2- I had flickering on sides problem in the official builds too, this problem not related to this build exclusively, it's related to mlv_lite, also to crop_rec with the new presets, nothing to do, you can get rid of it by pressing Menu button twice or refresh LiveView.
3- Yeah, Focus peaking isn't working fine when using HDMI, this problem are there in the official builds too, not related to this build, no idea how to fix it.
4- I don't have this problem, any steps to reproduce the problem? can you explain more what settings are using and mode etc.. ?

Hi!
I've also replied at the other thread.

1. O.K, just wanted to let you know
3. Yes, as I wrote in that post - It didnt work on Danne's build aswell :-(, I Hoped that mybe you have any clue about this.
4. Do you simply change the shutter speed from the main screen while in Manual mode? its number has red color, and when I go to the Magic Lantern menu it is stuck at 1/26.
Perhaps I should just ignore what's written in the ML menu?
Is there any way to check in-camera the REAL shutter speed?

theBilalFakhouri

3- I don't use focus peaking personally, I will let you know if I get any clue about how to solve it and I will try too . .

4- Tried your steps, shutter speeds are working fine in all presets, and both from ML and Canon menu shutter speed is showing correctly . .
You don't need to ignore what's written in ML menu, this problem is fixable I had something like that in the past . . Let's debug the problem first:

I think your camera are using different addresses for shutter blanking, Does Danne's build have the same shutter speed issue?

SubZeroz

3. Thanks!
4. In Danne's build its working perfectly. How can the addresses be different? Aren't we running the same 1.1.5 Firmware?

theBilalFakhouri

My theory is correct, in my build, I am using these addresses:
#define FRAME_SHUTTER_BLANKING_ZOOM   (*(uint16_t*)0x40452d18) // ADTG register 805f
#define FRAME_SHUTTER_BLANKING_NOZOOM (*(uint16_t*)0x40452d1c) // ADTG register 8061
#define FRAME_SHUTTER_BLANKING_READ   (lv_dispsize > 1 ? FRAME_SHUTTER_BLANKING_NOZOOM : FRAME_SHUTTER_BLANKING_ZOOM) /* when reading, use the other mode, as it contains the original value (not overriden) */
#define FRAME_SHUTTER_BLANKING_WRITE  (lv_dispsize > 1 ? &FRAME_SHUTTER_BLANKING_ZOOM : &FRAME_SHUTTER_BLANKING_NOZOOM)


in Danne build he is using these addresses:
#define FRAME_SHUTTER_BLANKING_ZOOM   (*(uint16_t*)0x40452918) // ADTG register 805f
#define FRAME_SHUTTER_BLANKING_NOZOOM (*(uint16_t*)0x4045291c) // ADTG register 8061
#define FRAME_SHUTTER_BLANKING_READ   (lv_dispsize > 1 ? FRAME_SHUTTER_BLANKING_NOZOOM : FRAME_SHUTTER_BLANKING_ZOOM) /* when reading, use the other mode, as it contains the original value (not overriden) */
#define FRAME_SHUTTER_BLANKING_WRITE  (lv_dispsize > 1 ? &FRAME_SHUTTER_BLANKING_ZOOM : &FRAME_SHUTTER_BLANKING_NOZOOM)


Try this build, added Danne addresses:
https://drive.google.com/file/d/11v53g04TANxRxDOS9HfI_aNqPa7HfVpA/view?usp=sharing

Quote from: SubZeroz on October 10, 2020, 03:05:05 PM
4. In Danne's build its working perfectly. How can the addresses be different? Aren't we running the same 1.1.5 Firmware?
This something related when Canon firmware copies something from ROM to RAM, explained by a1ex here:
https://www.magiclantern.fm/forum/index.php?topic=25976.msg231177#msg231177 (a1ex was talking about Dual ISO problem, same thing applies here regarding why we are having shutter blanking issue and different addresses)

SubZeroz

Tried it now - WORKS GREAT!!!! Thanks!

Also, You are correct, the preview colors look better.

Couple of questions:
1. Are you going to change the position of the liveview? (Like - putting it in the center?), I need to know because I plan to change the Android-App to stretch the image to the entire screen, removing the black edges (Bigger image, No flickering or black!).

2. Out of 60 seconds 3 seconds with pink flickering. Its not only in ur build, it also happened in Danne's build. Does this happen because the camera CPU is under heavy usage? (This doesnt happen in NON-HDMI), Lowering the resolution should fix it?

Danne

Are you still running 25fps regarding pink frames? On Eosm I only tested 24fps but no pink frames. Also had reports from another user hdmi working with no pink frames.
Moving the full live view content to centre is not trivial.

SubZeroz

Yes, still going 25fps because 24fps didnt fix it  :'(

Anyways, no need to move the liveview now, I did the following in the Android-APP:

1. Stretch HDMI-INPUT to the bottom & to the sides
2. move the entire INPUT down

Result (Screenshot from my phone):


Only problem is that u cant see current shooting configuration. Perhaps I'll slice the bottom (Which isn't on the screen) and paste it.
Not sure how much work this is