Author Topic: Bilal's crop_rec_4k experiments for 700D / T5i  (Read 2814 times)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7126
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #25 on: October 10, 2020, 08:29:32 PM »
Cool.

What preset? 16:9? Are the other ones working better?

SubZeroz

  • New to the forum
  • *
  • Posts: 18
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #26 on: October 10, 2020, 09:59:57 PM »
Cool.

What preset? 16:9? Are the other ones working better?

2.35:1

I didn't push it to the git yet, a local repo (So what I've published earlier should work anyway).

All Presets are working great, I just wanted to see it on my entire phone-screen.

The problem was that in that build, the fixed liveview contains a rect at the top of the screen with the real image, so I've pulled it down to the center, and then scaled it to fit my entire screen.
I need to slice the configuration (shutter etc') from the bottom, because its out of the screen, thanks to the changes above :-)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7126
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #27 on: October 10, 2020, 10:36:23 PM »
I see. So corrupted frames occur with 2.35:1.

I checked 700D sources. in crop_rec.c there´s this for 2.35:1 preset:
Code: [Select]
        case 0xC0F06804: return 0x748018A;

        case 0xC0F06010: return 0x1C9;
        case 0xC0F06008: return 0x1C901C9;
        case 0xC0F0600C: return 0x1C901C9;

        case 0xC0F0713c: return 0x755;

You could try changing C0F0713c to the same as beginning of 0x748. So change it to:
Code: [Select]
        case 0xC0F0713c: return 0x748;If still getting pink frames you could increase timer regs:
Code: [Select]
        case 0xC0F06010: return 0x1C9;
        case 0xC0F06008: return 0x1C901C9;
        case 0xC0F0600C: return 0x1C901C9;
This means you´ll gonna have to decrease reg 6014 to compensate back to 24 or 25 fps.


My preset in eosm code look like this as comparison example:
Code: [Select]
        case 0xC0F06804: return 0x748018A + reg_6804_width + (reg_6804_height << 16);
        case 0xC0F06014: return 0x8ec + reg_6014;
        case 0xC0F0600c: return set_25fps ? 0x2470247 - 24 + reg_6008 + (reg_6008 << 16): 0x2470247 + reg_6008 + (reg_6008 << 16);
        case 0xC0F06008: return set_25fps ? 0x2470247 - 24 + reg_6008 + (reg_6008 << 16): 0x2470247 + reg_6008 + (reg_6008 << 16);
        case 0xC0F06010: return set_25fps ? 0x247 - 24 + reg_6008: 0x247 + reg_6008;
        case 0xC0F0713c: return 0x755 + reg_713c;

I think increasing timer registry around the same as on eosm should do the trick:
Code: [Select]
        case 0xC0F0600c: return 0x2470247;
        case 0xC0F06008: return 0x2470247;
        case 0xC0F06010: return 0x247;
        case 0xC0F06014: return 0x8ec;
        case 0xC0F0713c: return 0x755;

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #28 on: October 11, 2020, 12:15:53 PM »
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?

1- Unfortunately it's not a simple task, LiveView is very complex, we can't control this part yet, it may take weeks or months to achieve this, it won't be any time soon.

2- During my previous tests I didn't get corrupted frames in 1x3 Modes with the correct previews, I will make more tests in future, in other normal modes like 1080p or 2.5K I got some corrupted frames, it's an overhead yes when the output is 1080i which affects all builds, changing HDMI output to 720x480 probably would solve this problem, not sure how 720p output would perform.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #29 on: October 11, 2020, 12:51:04 PM »
It seems I missed two replies here.

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?

You're welcome

HDMI output won't be benefited from these modes regarding quality also Dual ISO (which needs to be processed in post, otherwise if you used it in streaming you will get lines in the image), as you said you will get the benefits from these modes only when recording RAW data to SD card, the best Mode for streaming using HDMI is the normal 1080p.

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

Hello, thanks

Set video mode to 720p @ 60 FPS (NTSC) from Canon Menu, then enable "Crop mode V2" and do the following:
https://i.ibb.co/NSGfybb/3x3-48-FPS.png



Then press Menu button twice to apply the new settings, this will give 1736x868 2:1 AR @ 48 FPS in 3x3 Binning mode, the preview would be stretched!
- You can increase Y resolution more, but you may get corrupted frames.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7126
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #30 on: October 11, 2020, 01:45:38 PM »
2- During my previous tests I didn't get corrupted frames in 1x3 Modes with the correct previews,
Do try my last suggestion. Also match 713c with 6804. Typically what will solve pink frame issues.

SubZeroz

  • New to the forum
  • *
  • Posts: 18
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #31 on: October 11, 2020, 10:22:51 PM »
Thanks Danne.

Bilal is there any chance you'll test this?

I'll get an environment ready to compile but it would take me some time.

_______________________________________

I Have a special version of the Android App which should suites the last build.
In this one when you open the App you'll see the same screen as the Camera LiveView, but when you'll single-press the screen it would enlarge only portion of the screen - where the real image is (And not black edges etc')

I Currently use this with HDMI-INPUT 1920x1080, and 4.3k preset. I'm not sure how this will look with the other modes.

But it's really cool that you can see a big preview :-)

https://drive.google.com/file/d/1lGLnwsvirNw-rz3AAu5oJS0ZvhWwNOlY

IBIRRU

  • New to the forum
  • *
  • Posts: 43
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #32 on: October 14, 2020, 03:16:00 PM »
Hi Bilal, is it possible to add a preset for "full resolution liveview 1:1) in your custom crop_rec module for 700D?

I tried to use crop_rec new but the preview in 5x is not usable and it stop working immediately after the start also if I reduce fps to 4.

I would try to take a video of the full moon at 1600 mm of FL to obtain a "mineral moon" picture.

Thanks for your great work

Fabio
EOS 700D 1.1.5, EOS 500D

Morfeus77

  • New to the forum
  • *
  • Posts: 2
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #33 on: October 16, 2020, 05:03:20 AM »
It seems I missed two replies here.

You're welcome

HDMI output won't be benefited from these modes regarding quality also Dual ISO (which needs to be processed in post, otherwise if you used it in streaming you will get lines in the image), as you said you will get the benefits from these modes only when recording RAW data to SD card, the best Mode for streaming using HDMI is the normal 1080p.

Hello, thanks

Set video mode to 720p @ 60 FPS (NTSC) from Canon Menu, then enable "Crop mode V2" and do the following:
https://i.ibb.co/NSGfybb/3x3-48-FPS.png



Then press Menu button twice to apply the new settings, this will give 1736x868 2:1 AR @ 48 FPS in 3x3 Binning mode, the preview would be stretched!
- You can increase Y resolution more, but you may get corrupted frames.


Thanks a lot for the explanation, I'll will try now.
Good job

alt1

  • New to the forum
  • *
  • Posts: 8
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #34 on: November 02, 2020, 04:39:54 PM »
deleted.

alt1

  • New to the forum
  • *
  • Posts: 8
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #35 on: November 05, 2020, 03:30:36 PM »

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

Sorry, but I don't see 1440x1836 map in this archive. The latest map here is from 2018 year.

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #36 on: November 05, 2020, 05:30:51 PM »
In focus pixel maps we are calculating the black areas too, so:

Naming of focus pixel map  RAW resolution
Naming of focus pixel map  > RAW resolution

In your case the map you are looking for is "80000326_1512x1864.fpm", extract all the focus pixel maps in MLVApp folder, you should be fine in all crop_rec presets automatically.

-You can also use the latest MLVApp which can download all the required focus maps automatically too, or you can drag and drop the focus maps from the archive into MLVApp interface, and this will install the focus maps in MLVApp.

Original focus map created in 2018 which covers all focus pixels on the sensor, and we are using the same map for all 1x3 Binning modes (I am duplicating it), remaining thing is to identify which RAW resolution we are using now and calculate the offsets for current resolution (to match the focus pixel map with MLV file), and we can achieve this by just changing the naming of the focus pixel map to include RAW resolution + black areas, in this case the focus pixel map date will stay 2018 (renaming won't affect the date).
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

alt1

  • New to the forum
  • *
  • Posts: 8
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #37 on: November 05, 2020, 05:51:19 PM »
New Focus Maps:
https://raw.githubusercontent.com/bilalfakhouri/magic-lantern/master/700D%20Focus%20Pixels%20Maps.zip
-Added 4.3K Anamorphic 1x3 Preset 1440x1836 map.
[/quote]

Unfortunately, with 650D after extracting files into MLVAPP folder when I record 1440x1836 I have focus dots

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #38 on: November 05, 2020, 06:38:28 PM »
Ah, I thought you are using 700D (Why not to post on 650D thread?)

Mostly all 700D focus pixels maps are identical to 650D too, in this case you need only to change the ID in focus pixel map files from 700D ID to 650D ID; from "80000326" to "80000301":

Just did it for all focus pixel maps, try these focus maps for 650D (It should work with all crop_rec presets using my 650D build):
650D Focus Pixels Maps.zip

Please let me know if these work for 650D in all presets.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

alt1

  • New to the forum
  • *
  • Posts: 8
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #39 on: November 05, 2020, 06:53:33 PM »
Thank you very much theBilalFakhouri. All presets work fine now. Except these presets I use also not registered " 1736*696 1x1  48fps" from new Crop_Rec V2 menu and it has focus dots. Is it simple to create focus map for this preset?
 

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #40 on: November 07, 2020, 04:00:41 PM »
You're welcome

Please provide short MLV sample for the mode you are using, you can cut it in MLVApp, two frames are enough, export it as MLV (fast pass)

I can make a simple tutorial about how to generte focus pixel map for any resolution (using Crop rec V2) for both 1x3 and 1x1 modes.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #41 on: November 07, 2020, 04:15:42 PM »
Hi Bilal, is it possible to add a preset for "full resolution liveview 1:1) in your custom crop_rec module for 700D?

I tried to use crop_rec new but the preview in 5x is not usable and it stop working immediately after the start also if I reduce fps to 4.

I would try to take a video of the full moon at 1600 mm of FL to obtain a "mineral moon" picture.

Thanks for your great work

Fabio

Sorry for the delay, I didn't use full resolution LiveView much in the past, so I spent some weeks playing with it.

I am preparing for a new build which solve ML Framing in x5 mode, and also added custom FPS in crop_new, this will allow using the full shutter speed in any framerate, from 360° to 1° angles.

Adding full resolution LiveView preset in crop_rec won't perform any better from crop_new, Canon preview would be broken in both modules, in this case you should use ML Framing (which has a problem currently in my latest build, fortunately I fixed it now, will realease a new build soon)

Guess what: Full resolution LiveView = 5208x3478 @ 5 FPS is continous in 12-bit lossless  :) , of course when using 240 MHz overclock. More info coming soon.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

IBIRRU

  • New to the forum
  • *
  • Posts: 43
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #42 on: November 09, 2020, 02:28:36 PM »
Great news !!

Many thanks Bilal!! :D

I will wait the next relaease.
EOS 700D 1.1.5, EOS 500D

pteichner

  • New to the forum
  • *
  • Posts: 5
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #43 on: November 11, 2020, 08:18:27 PM »
Hey guys, could you point me to the latest mostly stable build that included the sd_uhs mod please. Also what can you achieve on the 700D? Is 240MHz stable? It's been working on on my 6D, need a B-roll camera and I've got a 700D lying around.

CameraGobbl

  • Just arrived
  • *
  • Posts: 1
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #44 on: November 25, 2020, 04:20:37 AM »
Wondering if someone can help me.

I studied and was into filmmaking about a decade ago, and am looking to get back into it. First off, though, I want to get better at photography, so I'm in the market for a very cheap but capable DSLR, and I'm looking at used Rebels and I might be able to get a pretty good deal on a 700D.

I'm also quite interested in using this camera as a low budget cinema camera down the line with ML, though I know it takes a bit of learning and tweaking. I'm fine with that. I've seen some great images come out of both the EOS M and the Canon 700D using ML RAW. The RAW excites me because more than 4k, what I want is something with no compression and higher dynamic range and bit depth. But I'm not completely sure of the 700D's capabilities with ML, so let me just ask some quick questions.

1. Since the EOSM and 700D have the same sensor and processor, can the 700D create the same quality of video I see on EOS M videos like from Zeek's channel?

2. I know ML won't work miracles. I don't care about true 4k or slow mo. But I'd like something stable, RAW, and around 1080p true resolution (I want to shoot 4:3 too, so 1440 x 1080 would be great).

tl;dr- I'm looking for a very cheap camera that I can practice photography on as well as shoot decent video with ML. RAW 1080p with a minimum crop to avoid aliasing (2x would be fine) is essentially what I am aiming for, and was just wondering if the 700D could do all this. If not, I might just go for a cheaper option like a used t2i.

Thanks

AllWashedOut

  • New to the forum
  • *
  • Posts: 3
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #45 on: November 29, 2020, 05:55:39 AM »
Could you add the option to disable 30-minute live view timeout? It's present in the 700D "Lua Fix" builds. Or perhaps it's just been renamed in this build?

Original name: Prefs tab -> "Powersave in Liveview" -> "30-minutes timer"

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 7879
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #46 on: December 09, 2020, 09:10:36 AM »
Add to which build? What is "this build"?

lightwriter

  • New to the forum
  • *
  • Posts: 6
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #47 on: December 12, 2020, 01:37:44 AM »
@theBilalFakhouri

Hi there!

I have a Canon 700D and a SanDisk Extreme Pro 95MB/s SDHC V30 speed class U3 32GB. Is SD Overclock at 192Mhz stable with this card?

You referred the 1x3 Mode which can be used with this configuration: 1600x2040 @ 23.976 FPS 2.35:1 AR. How can it have a 2.35 aspect ratio with  a resolution of 1600x2040? Does it have to edited in MLV app to get the correct aspect ratio?

Does the 1x3 Mode get rid of the aliasing?

theBilalFakhouri

  • Developer
  • Hero Member
  • *****
  • Posts: 576
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #48 on: December 12, 2020, 04:34:10 AM »
Hello @lightwriter

Yes, 192MHz overclock is stable for Sandisk Extreme PRO 95MB/S  cards, you need to do low level format in the camera at least for once, this prevent speed drops if it were there.

You can get 1x3 1600x2040 in crop_new (Crop mode V2):

Set Binning mode to 1x3, Y resolution to 2040, FPS to 23.976, keep X resolution as default (zero)

Press Menu button twice for refreshing LiveView to apply our new settings, from mlv_lite set the resolution to 1600, Aspect ratio to 2.35:1, now you should be okay, check the resolution from mlv_lite (RAW video)

MLVApp would read the file as 1x3 Binning, and would stretch the footage automatically --> So the stretched resolution from 1600x2040 file would be after stretching 4800x2040, now it's 2.35:1 AR

The Preview would be stretched in LiveView, there is no real-time correct preview in this mode, you want to use ML Framing to check framing.

Yes there is no aliasing in 1x3 Binning, this is the huge advantage for this mode! also 1x3 Binning reduces moire patterns a lot.
700D 1.1.5 | no more ISOless LV err 8 / SDR104 @ 240 MHz - Constant! | Fixed Scrambled LiveView in Higher resolution | Real-Time correct framing in the Way

AlexPace

  • Just arrived
  • *
  • Posts: 1
Re: Bilal's crop_rec_4k experiments for 700D / T5i
« Reply #49 on: December 12, 2020, 08:58:53 AM »
Is it possible to get a full 16:9 ratio over the HDMI output without the black vertical sidebars at any resolution?  I mean straight out of the camera without processing.  I know the T5i can't do a full-screen 1080i, but stretching or cropping with OBS software introduces some lag that is awkward on Zoom calls.

Note: I tried Canon's EOS WebCam software that uses USB instead of HDMI but the frame rate was way too low for reasonable Zoom calls.