Danne's crop_rec_4k experiments for EOS M

Started by Danne, December 03, 2018, 06:10:17 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

ricardopt

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.

2blackbar

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.

ricardopt

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.

2blackbar

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.

jetrotal

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

gravitatemediagroup

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

baris3

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.

marcelo.lippi


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

2blackbar

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.

baris3

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.


baris3

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.

2blackbar

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.

baris3

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

Walter Schulz

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!

Danne

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.

AF-OFF

I would recommend also to format card in cam either after step one (delete ML config) or with step two (enable modules).


AF-OFF

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?

2blackbar

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

baris3

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 ?

nlantz

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.

2blackbar

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 ?

baris3

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 ?

Danne

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.

baris3

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 ?


geroinnn

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