Author Topic: ML raw/mlv resolution, write speed and crop factor calculator  (Read 41023 times)

rbrune

  • Freshman
  • **
  • Posts: 64
Since the topics of maximum SD/CF card writing speeds, achievable maximum resolutions and how the different recording modes affect the crop factor come up over and over again I put together a little javascript calculator that should help understanding the capabilities of the respective cameras better - and might be useful for planning shoots.

How to use:
Select your camera model, select the desired recording mode (zoom, 1080p, 720p) which determines the pixel subsampling mode, pick an aspect ratio and frame rate. Ideally also type in the max. writing speed of your SD/CF card measured by magic lantern (otherwise it uses the limit of the SD/CF interface which might not be achievable with your card).


http://rbrune.github.io/mlraw/
(updated April 20th, 2015)

If you miss a feature or something doesn't seem right please let me know.



Disclaimer:
  • The pixel width given by the calculator might not be selectable in magic lantern on your camera since it currently doesn't offer finer grained selection (the calculator allows for all multiples of 32 while magic lantern only has a subset of those selectable).
  • I tried to include as many quirks and limits for each listed camera (max crop recording sizes, no 1080p mode on EOS-M, fps limitations of 500D, ...). Please report any inconsistencies and additional quirks!

chmee

  • Hero Member
  • *****
  • Posts: 1031
  • raw2cdng
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #1 on: April 07, 2015, 10:56:29 PM »
good job. handy.

Kharak

  • Hero Member
  • *****
  • Posts: 795
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #2 on: April 08, 2015, 06:13:00 AM »
Really nice!

Thanks!
once you go raw you never go back

Danne

  • Hero Member
  • *****
  • Posts: 4308
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #3 on: April 08, 2015, 07:11:25 AM »
Nice one.

dubzeebass

  • Senior
  • ****
  • Posts: 360
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #4 on: April 08, 2015, 02:31:13 PM »
Can u add ability to calculate run time per card size? Great job!

rbrune

  • Freshman
  • **
  • Posts: 64
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #5 on: April 09, 2015, 08:50:49 AM »
Can u add ability to calculate run time per card size? Great job!

Great idea - and done.
Added a snippet on how many minutes a 32GB card will be good for.

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3081
  • 5D3 / M1 / 7D / 70D / SL1
ML raw/mlv resolution, write speed and crop factor calculator
« Reply #6 on: April 10, 2015, 08:25:39 PM »
Definitely a great tool!



Thanks for sharing @rbune!
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

skrull

  • New to the forum
  • *
  • Posts: 15
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #7 on: April 10, 2015, 08:55:27 PM »
This is really interesting!

I would like to see something like this calculator into ML as a separate module, or better yet, inside MLV module as a menu option... I would code it myself, but I'm too busy atm... I will see it.

Walter Schulz

  • Hero Member
  • *****
  • Posts: 6173
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #8 on: April 10, 2015, 09:06:14 PM »
? There is a calculator included. Each time you choose resolution and/or change ratio and/or frame rate you will see bandwidth required.
What are you missing?

budafilms

  • Hero Member
  • *****
  • Posts: 711
  • 5D Mark a1ex
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #9 on: April 11, 2015, 06:43:19 AM »
A personal experience is about select the lens for the shoot.
For example, a medium shot could be nice with a 50 mm than 85.

As you know, exist an optical tool to do this. And is very expensive.

I have enough resolution for my movies at Full HD, this is one of the advantages to get 4K: crop, have more possibilities, less takes for insert...

Maybe could be a very nice option in live view, pressing a button an select the crop factor lens to know how could be your shoot: 24 MM, 35, 50, 85.

This one was an old idea when I see the graphical representation by @DeafEyeJedi.

Thnks!


vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #10 on: April 20, 2015, 12:00:21 PM »
Nice tool, thank you !

Maybe can you add 60D ?  :)

Ottoga

  • Member
  • ***
  • Posts: 194
  • The Ox is Slow but the Earth is Patient
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #11 on: April 20, 2015, 12:32:25 PM »
Nice... Even works on my mobile.
EOS 7D.203, EFS 55-250mm, EF 75-300 III, Tamron 16-300 DiII VC PZD Macro, SpeedLite 580EX II.

rbrune

  • Freshman
  • **
  • Posts: 64
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #12 on: April 20, 2015, 03:57:19 PM »
Nice tool, thank you !

Maybe can you add 60D ?  :)

Done (it is basically a 600D)
.
But since I do not have a 60D, can you confirm to me that
a) the max SD card write speed is about 21MB/s
b) the max selectable resolution in crop mode is 2512x1080

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #13 on: April 20, 2015, 04:23:53 PM »
Thank you !

Quote
a) the max SD card write speed is about 21MB/s
b) the max selectable resolution in crop mode is 2512x1080

a) Yes, max 21 MB/s with a fast card exFAT formatted   :(
b) No, max selectable crop is 2496x1080

rbrune

  • Freshman
  • **
  • Posts: 64
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #14 on: April 20, 2015, 09:18:05 PM »
Thank you !

a) Yes, max 21 MB/s with a fast card exFAT formatted   :(
b) No, max selectable crop is 2496x1080

Awesome, thank you.

@b) 2512 is probably the actual max - but mlv_rec only allows multiples of 32 (like my calculator), so everything is correct now.

vertigopix

  • Senior
  • ****
  • Posts: 281
  • EOS M - 60D - 6D
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #15 on: April 21, 2015, 09:27:06 AM »
You're welcome.

Great tool and working offline ! I've copied the 2 files to my phone and tablet and it's working with Chrome !  :)

Lucas7

  • New to the forum
  • *
  • Posts: 3
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #16 on: April 22, 2015, 11:25:43 PM »
Hi

That seems to be a great tool
But how do you set up the subsampling in Magic latern ?
(In fact I would like to have the full width with my 650D in 1280x720 24 fps without having to crop, is it possible ?)

Cheers

baranbaran

  • New to the forum
  • *
  • Posts: 2
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #17 on: April 23, 2015, 08:39:34 AM »
that is an amazing idea .....well done
Graduated from Soran University with First Class Degree with Honours in Computer Science.

Grzegorz

  • New to the forum
  • *
  • Posts: 17
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #18 on: May 06, 2015, 09:37:38 PM »
This is great - thank you!

It solved my problem! Til 5 minutes ago I though I had a poor card, as I could not reach the limits with my 50D - looking hard at your table I realised I had been shooting 30 fps and comparing it to your limits at 24 fps! ::)

Grzegorz

  • New to the forum
  • *
  • Posts: 17
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #19 on: May 07, 2015, 11:06:04 AM »
Canon 50D today, with Lexar x1066 64GB, in crop mode managed over six minutes with no frames skipped at 1728 x 1080, aspect 16:10, I stopped the recording myself. :)

Would someone pls. direct me to a thread explaining framing in crop mode? What I see is obviously not what I get...

rbrune

  • Freshman
  • **
  • Posts: 64
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #20 on: May 07, 2015, 03:15:15 PM »
Canon 50D today, with Lexar x1066 64GB, in crop mode managed over six minutes with no frames skipped at 1728 x 1080, aspect 16:10, I stopped the recording myself. :)

Would someone pls. direct me to a thread explaining framing in crop mode? What I see is obviously not what I get...


Regarding the framing, open my calculator again and look at the rectangle that shows you the portion used of the sensor. Of course you have to comapre it to the APS-C sized grey frame to see how much/little of the full sensor area you're using. Also the calculator gives you the crop factor with which you can multiply your lens focal length with to get the effective focal length.
Also there are some settings regarding framing indicators in the ML mlv settings, play around with those.

Now [email protected] for 6mins is about 75MB/s. Are you sure those are your settings and really no frame was dropped? I thought the theoretical limit of the 50D interface is about 70MB/s and you exceeded it by quite a bit.

Grzegorz

  • New to the forum
  • *
  • Posts: 17
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #21 on: May 07, 2015, 09:01:12 PM »
Hi,

Thanks for your advise!

 
Regarding the video I am reasonably sure - I did not check the frame numbers (did not extract frames) for anything missing BUT the recording stops when a frame is dropped, doesn't it? I mean I have seen this message several times when trying to record at 30 fps and the recording would always stop  after a few hundred frames once the message was displayed. And I did not change any settings regarding this. I still have this video, so if there is anything you would like me to check, (even upload - but I do not know where to upload - it is almost 30GB - 8957 frames) then I will. I watched it through MIRawViewer. There is also a MRX file - I do not know what are the info inside, is there an information about frames ? Or is there any other method to check the frames apart from extracting and counting?

In my previous post I forgot to mention it was 23.976 fps using nightly 2015May03.50D109

Grzegorz

  • New to the forum
  • *
  • Posts: 17
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #22 on: May 08, 2015, 09:35:32 PM »
Confirmed. I have just converted the files using raw2cdng.1.6.5. which resulted in 8957 consecutive frames.

One strange thing, though. MIRawViewer v.1.4.3 states: 1728 x 1080 23.976 FPS, 8957 frames, BUT when I open .dng in RawTherapee 4.2.147 the actual image size appears to be 1720 x 1072. Any ideas?
 

Grzegorz

  • New to the forum
  • *
  • Posts: 17
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #23 on: May 08, 2015, 11:44:24 PM »
Well, it seems 50D is capable of even more  :)

I have just managed to record 8393 frames (no dropped frames) at 1792 x 1080 at 23.976 fps (according to ML settings and MIRawViewer, but extracted dngs are 1784 x 1072).

keel

  • New to the forum
  • *
  • Posts: 24
Re: ML raw/mlv resolution, write speed and crop factor calculator
« Reply #24 on: February 29, 2016, 07:38:10 PM »
edit: problem solved