How to Record: -- 60/50 fps RAW Video for 5D3 & others --

Started by RenatoPhoto, May 17, 2013, 04:46:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RenatoPhoto

This original post is now outdated.

See:
Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)
MLV Lite
Crop mode recording (crop_rec.mo) (1:1, RAW/H.264, 25/30/50/60 fps)
crop_rec on steroids: 3K, 4K, 1080p48, full-resolution LiveView

Updated September 26th 2013

Before you try this you may want load up on the most recent compile!!

Nightly builds with Raw recording support
http://www.magiclantern.fm/forum/index.php?topic=6362.0

1. Make sure you have CF card selected.
2. Switch your camera to video mode (flip the video lever), focus your subject and adjust for the scene .  Works in M, AV, TV modes.
3. Select the 60 fps  video specification from Canon Menu by pressing Q button.
4. Use the Joy stick to move and make "blue" the video mode.
5. Scroll through the videos to 1280 60fps.
6. Press half shutter to return to Live View.
  [b]If you have not loaded the raw_rec module then:[/b]
7. Press trash button and go to Modules Tab using your joystick or scroll wheel.   (It is an icon with four little squares)
8. Use the scroll wheel or joystick to highlight the raw_rec module and then press the set button to enable it.
9. Reboot the camera, then press trash button and if the module loaded correctly you will see it in bright white with a green dot on the left.
10. Scroll to Movie Tab with the small scroll wheel or joystick and then scroll to [b]Raw video[/b] with the large scroll wheel or joystick.  The Raw Video should be OFF.
11. Enable RAW video by pressing the Set Button.  Look at the video settings and also look near the bottom of the screen for information about CF speed requirements to meet current fps and frame size.
12. Press Q and Set to chose the appropriate Resolution, or use the little scroll wheel to scroll from available options.  If your card is not fast enough then select acceptable resolutions.  Remember to look at the bottom of the screen to see how resolution affect card speed requirements.
13. Scroll to Aspect ratio 16:9 is the default.  You can scroll with the little wheel or press Set to change it.  By changing the aspect ratio the camera chooses an appropriate video height.  Some heights are not the most common ones but these combinations offer better writing speeds.  You may have to crop your video in post.
[color=red]14. (AUDIO NOT AVAILABLE RIGHT NOW, USE EXTERNAL RECORDER-->)[/color] [s]If you want to record audio (wav file to SD card) scroll to Sound and select Separate [b]WAV[/b], or [b]sync beep[/b], or [b]OFF[/b][/s]
14. [b]Preview: Auto[/b].  Press [b]Set [/b]to change it to: Canon, [b]ML Grayscale[/b], [b]Hacked [/b](see note 6)
15. [b]Digital dolly: OFF[/b] On to allow the recording area to scroll from left-to-right or up-down during cropped video or when recording at smaller resolutions then max (1920x1080)  Use the Joystick to control the direction of the scroll.
16. [b]Frame skipping: OFF[/b] To continue recording even if skips frames then scroll to and select [b]Allow[/b].
17. [b]Card warm-up: OFF[/b] Press set to select a warm-up file size when camera boots.  Some speed improvements obtained.
18. [b]Memory hack: OFF[/b]. Press Set to on  This frees up more memory to get extra frames in the buffer.
19. [b]Small hacks: OFF[/b] to improve the use of memory to increase recording buffer.
20.  [b]Playback [/b]  After recording a RAW file you can preview it by coming back to this menu and scroll to Playback selection and pressing [b]Set[/b].
21. Press [b]Q[/b] and then move to [b]Overlay[/b] and set [b]Global Draw[/b] to [b]OFF[/b].  See note 7.
22. To get back to LV just press trash button or half shutter.
22. To start and stop recording press the LV button
[size=12pt][b]
Option for 50 fps recording:[/b][/size]

23. Move to the Movie tab and select FPS override with the scroll wheel.  (see note below)
24. Press the Q button
25. Change the Desired FPS to 50 using the small (top) scroll wheel.
26. Move to the Optimize for with the large scroll wheel.
27. Change to Exact FPS with the small scroll wheel.
28. Press the Q button and then press the Set button (on the center of the large scroll wheel) to enable FPS override
29. Now FPS should read 50.

-------------------------------------------

Note 6. [b] Canon [/b]preview is standard full color, [b]ML Grayscale[/b] is in B&W and also shows the video in its final cropped view (used for framing),[b] Hacked[/b] is special fast hack to increase card writing speed at the expense of freezing Live View.

Note 7.  If you set Global Draw OFF you will loose histogram, zebras, etc.  But you will gain speed.  In some cases Global ON is more likely to get pink frames since CPU is working very hard, and also consumes much more power.
----------------------------

[size=12pt][b]VERY IMPORTANT[/b][/size]

Make sure that in Canon Menu:
Image Quality = Raw
Auto Lighting Optimizer = OFF
Long exp. noise reduction = OFF
High ISO spee NR = OFF
Higthlight tone priority = OFF
Multiple Exposure = Disable
HDR Mode = Disagle HDR
----------------------

[size=12pt][b]Other technical aspects:[/b][/size]

The frames recorded at 60 fps are squashed and need to be corrected in post.  This is a Canon sensor property that cannot be changed.  Probably to sample the sensor at 60 fps it can only be done skipping some lines therefore the image is squashed, not at full resolution, and with aliasing.
The height stretch factor is approximately = 1.67
That means 1440x480 should be stretched to 1440x790 to look correct.

On a 1000X 32gb Lexar can get:
1440x480 at 60 fps --> When stretch it becomes 1440x803 very close to 16:9
1600x540 at 50 fps (using FPS Override) --> stretced to 1140x903

-----------------------------------------

Quick and dirty Post Processing Guide:

[b]60fps -- RAW video Post-Processing Workflow[/b]
http://www.magiclantern.fm/forum/index.php?topic=5538.0


Since the quality of RAW is so good, maybe these videos could upres to ???x???.  I have not tested this yet!

-----------------------------------

Here you can see some frame grabs from standard RAW video compared with 60 fps (stretched) and Canons 60 fps.
The RAW version is an improvement over Canons but not as good as standard RAW.
So the stretching does some damage!!!  I dont know if it is possible to get 60fps non squashed video!!

[img]http://s20.postimg.org/mhnxnv8vh/RAW_vs_Streched_vs_MOV.jpg[/img]


----------------


OTHER HELPFUL LINKS:

To help the DEVS and everybody it would be a good idea if specific RAW video issues are discussed in a separate thread based on the camera under discussion.

5D3  Uncompressed 14-bit RAW video testing - 5D Mark III
HERE:  http://www.magiclantern.fm/forum/index.php?topic=5473.0

5D2  Raw video on 5DMK2
HERE:  http://www.magiclantern.fm/forum/index.php?topic=5419.0

600D Uncompressed 600D Raw Video
HERE: http://www.magiclantern.fm/forum/index.php?topic=5494.0

6D 6D + Raw thread (with instillation guide)
HERE: http://www.magiclantern.fm/forum/index.php?topic=5530.msg37766#msg37766

650D I dont see a specific RAW video thread.  Should there be one??  Anyone care to propose so I can update this message?


--------------------

Magic Lantern Best Practices:
http://www.magiclantern.fm/bestpractices

How to install Magic Lantern on 5D Mark III
HERE: http://www.magiclantern.fm/forum/index.php?topic=2602.0

Where to get Canon Firmware 1.1.3 (Windows version)  for sure:
HERE: http://pel.hu/eoscard/

Where to get Canon Firmware 1.1.3 (Mac version) for sure:
HERE: http://hdslr.com.br/2012/06/20/atualizacao-de-firmware-para-5d-mark-iii-versao-1-1-3/

How to install Magic Lantern on 5D Mark III
HERE: http://www.magiclantern.fm/forum/index.php?topic=2602.0

Where to get Canon Firmware 1.1.3 for sure:
HERE: http://pel.hu/eoscard/

Where to get Compiled Nightly Builds?
HERE: http://www.magiclantern.fm/forum/index.php?topic=5413.0

All questions regarding RAW VIDEO POST PROCESSING on any OS
HERE: http://www.magiclantern.fm/forum/index.php?topic=5404.0

All questions regarding RAW_REC MODULE COMPILATION/INSTALLATION/USAGE
HERE: http://www.magiclantern.fm/forum/index.php?topic=5405.0

Card benchmark - what's the optimal write buffer size?
HERE: http://www.magiclantern.fm/forum/index.php?topic=5471.0

Supported 1000x CF cards for continuous RAW recording
HERE: http://www.magiclantern.fm/forum/index.php?topic=5391.0

*************************

PLEASE !!! PLEASE!!

Please help us keep our Forum Organized.  We have very specific areas for certain topics so try to conform so that everybody benefits.

If you have a question, don't post it! First use the search function on the forum (near the top left) and search for the key word.  If you have made a reasonable effort and cannot find an answer then please post your question in the appropriate forum.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

a1ex

QuoteCANON SHOULD GIVE YOU A MILLION BUCKS, JUST FOR STARTERS.

Looks like Sony did the same to Hotz... sort of :P

http://www.tssznews.com/2011/01/13/court-docs-sony-sent-1-donation-to-hotz/

RenatoPhoto

Ha Ha..  I think in this case Canon will profit from new equipment sales so you might get a fatter paycheck.. At least more than one buck!
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

squig

They've got a few C cameras that need fixing.

RenatoPhoto

Quote from: squig on May 17, 2013, 06:42:58 PM
They've got a few C cameras that need fixing.

Ha.. Ha.. That is so funny.

Now if Canon is really smart they should pay ML team to develop new ML for C models and 1Dx.

Next Canon Firmware update comes from ML!
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

Okello

What's funny is the people that choose the D800 over the 5D Mk3. They called it useless and over priced. I can all most feel their regrets.

If this feature means we can shoot 14 bit Raw 1080 at 60fps/50fps then the 5D MK3 is going to be around for a long long time, well until canon release a Dslr that shoots 14 bit Raw 1080 60/50fps for 3K. I am sorry but even at 14-bit Raw 1080 and 2k 24/25fps is phenomenal for Dslr that only cost 3K. The image quality is comparable to high end production cameras that cost 20k+

The future is bright, the future is Magic Lantern.

;D

RenatoPhoto

For now I am getting distorted (squashed) frames at 60 fps.  I can stretched them back to original ratio but sure hope this can be fixed at some point.

For example if I set the RAW resolution to 1280x672 (which is the closest allowed to match the canon 1280x720) the frames come out at 1280x672 but have to be re-sized to 1280x960 to look normal.  Of course at this size I only get 250 frames before it skips.

Also if I press the zoom button the video gets recorded at 29.9.. fps and does not need stretching.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

a1ex


1%

Overrides on 600D (I think ) and 6D for sure.. 5d3?

RenatoPhoto

Quote from: 1% on May 17, 2013, 08:04:27 PM
Overrides on 600D (I think ) and 6D for sure.. 5d3?

On 5D3 I used FPS override with zoom but does not work.  Got some black frames at 57. fps
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

Rush

QuoteThe frames recorded at 60 fps are squashed and need to be corrected in post.

Can you calculate how squashed are frames? For 600D height needs to be upscaled to 166%. Interested in 5D Mark III height upscale.
Greetings from Russia!

RenatoPhoto

Will do later today..

Update.... Done =  1.6473 multiplier or 164.7 %
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

RenatoPhoto

Quote from: core_32 on May 19, 2013, 08:52:12 PM
Sorry to bother you guys but did anyone tested 60p yet? I didn't found a sample on the web.
It seems to me that 720p 60p RAW can be nicely scaled up into 1080p 60p. The only doubt for me is the moire/aliasing behavior at 720p.
Any information would be greatly appreciated!

According to some test I ran, on 1000X 32GB Lexar the largest frame size for continuous recording for 60 fps is 1440x480.  Now this image is squeezed and has to be stretched to 1440x790 to have the proper stretch.  That is a 1.6473 multiplier!

The strange thing is that the write speed to the card is significantly reduced for this process.  For example the Lexar 1000x is capable of 85 MB/s.  BUT at 60 fps the camera maxes out at recording speeds of 69 MB/s and starts skipping frames after that!

The DNG files are 1.19 megs each x 60 = 71.4 MB/s.  Something does not add up (multiply) correctly.  HELP
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

DjJuvan

Maybe twice as many files to write and CF card can't handle it?

a1ex

Quote from: RenatoPhoto on May 20, 2013, 12:08:23 AM
The strange thing is that the write speed to the card is significantly reduced for this process.

This is where the hacked mode kicks in ;)

RenatoPhoto

Indeed!  I went from 1440x480 to 1440x540!  That is amazing, I hope that LV is enabled during Hack3D some day.

I am running some test to report speed improvements of Hack3D.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

Rush

So 16:9 1460x820(500) 60p can be achieved with 5D3? Nice.
Greetings from Russia!

anchoricex

So this thing can do 60fps raw? Which means there's no reason it shouldn't be able to do regular ol' H.264 1080p @ 60fps... right? Or am I missing something and this is already achievable with ML?

Thank you for the writeup!

anchoricex

Also what is the best method of "re-stretching" the picture? Complete that step in whatever video editing suite you use (Avid, PP, FCPX) ?

RenatoPhoto

Good question for a New Topic in the Post-processing Workflow.  I will make one if anyone cares to contribute:

60fps -- RAW video Post-Processing Workflow

http://www.magiclantern.fm/forum/index.php?topic=5538.msg38022#msg38022
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

1%

QuoteI am running some test to report speed improvements of Hack3D.

Can't have it with LV on.. it works by disabling LV.

QuoteWhich means there's no reason it shouldn't be able to do regular ol' H.264 1080p @ 60fps... right?

Sure there is... it just can't process that fast. We're not doing anything to the image. H264 has already been tried., it starts jerking above a certain fps.

Khoi

I'm not sure why this isn't getting any more hype!

I have yet to see any samples, does anyone have any they would be able to take so I can play with the workflow before I try the build?

I'm still awaiting my 1000x CF card to ship before I can try this out, but I'm dying to see it and use it in action

core_32

I'm too desperately waiting for the 60p RAW sample. Everyone seems to be obsessed trying to reach the maximum resolution with 24p forgetting the beauty of slow-motion   :-\

RenatoPhoto

Unfortunately I have very slow bandwidth so I will post some frame examples which I was planning to test.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

RenatoPhoto

Ok, I have posted some frame grabs on first post here: http://www.magiclantern.fm/forum/index.php?topic=5472.msg36346#msg36346

There is a fair amount of quality loss due to the squashed image, but  it is definitely better that canons.

I dont know if someday we will have 60fps NON SQUASHED image, I am not a DEV.
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X