Working With Magic Lantern RAW Files

One of the really cool features of a Canon 5D Mark III tweaked with Magic Lantern is that you can now shoot 1080p video in RAW format.

Still shooters know what this means: better control over white balance and a file that stands up to post-processing really well. RAW is still something of a new bag for video shooters working with DSLRs, however, and there are a few things you should know when you start working with RAW files from the 5D Mark III.

Making the Magic Lantern RAW File Usable

Let’s start with this: The RAW file you get from the 5D isn’t immediately editable. It’s a single file with a .RAW suffix that none of the popular video editors, neither Final Cut nor Premiere, currently recognize without additional plugins like GingerHDR. So you have to modify this file to work with it.

.RAW file from a Magic Lantern 5D III

.RAW file from a Magic Lantern 5D III

The converters for Magic Lantern RAW files essentially do one thing: they take a single RAW file and split it into a sequence of image files in either DNG, TIF, or JPEG files. Your video clip is then available to you as a folder full of hundreds or thousands of single images, each one representing a single frame of footage. That’s not ideal in that you now have a fairly large number of files to manage, but it’s not too difficult to work with them.

But first, you have to get to that point where you have those hundreds of files. For this, you have a few options.

If you’re a Windows user, your current option is to use the app called Magic Lantern RAW, available here. I was unable to test this properly, however; on my machine, the app’s controls are squished into a tiny window, making it unusable. If anyone has had experience working with this app, please feel free to sound off in the comments.

The Magic Lantern RAW Video app on Windows.

The Magic Lantern RAW Video app on Windows.

The state of affairs on the Mac side is better. You have two pretty solid apps that work well, and do exactly what they advertise.

The first one comes to us from the folks at Magic Lantern themselves, and is called RAW2DNG. Drop your ML RAW file on it and it splits that apart into a sequence of DNG files that you can then assemble into a video clip (more on how to do this below). I typically don’t use this for the DNG files; I use this tool because it also generates a single video file in ProRes format. Because it’s coming straight from a RAW file, the resulting ProRes file holds up really well in post production, allowing you to push the footage around a bit. Also, it’s a lot easier to deal with that ProRes file than hundreds of individual DNGs.

RAW2DNG gives you two outputs, a series of DNGs and a ProRes video file.

RAW2DNG gives you two outputs, a series of DNGs and a ProRes video file.

Again, I realize that the question you’re asking is “What do I do with all those DNG files?” Hang tight – that’s coming up, but first I want to discuss the other ML RAW to DNG conversion tool, RAWMagic.

RAWMagic does something very similar to RAW2DNG in that it breaks apart the ML RAW file into DNGs. But the DNGs you get with this tool are actually in the CinemaDNG format, a format pioneered, then briefly abandoned by Adobe (they’re slowly coming back to it). These DNGs are actually preferable to the ones RAW2DNG generates, for one really important reason – camera profiles in Lightroom (and Adobe Camera RAW).

The RAWMagic Workflow

The RAWMagic Workflow

Wait, you say. We were talking about video. How did we land on Lightroom?

Here’s where things get interesting.

Working With DNGs

Lightroom has the ability to apply profiles to RAW images from manufacturers it recognizes. Open a RAW file from the Canon 5D Mark III in Lightroom, then scroll down in the right-hand panel till you come to “Camera Calibration.” There, you will be able to see a “Profile” option and clicking on that will let you pick a specific profile for that RAW image, such as “Camera Neutral,” “Camera Faithful,” etc.

RAW file profiles in Lightroom.

RAW file profiles in Lightroom.

Now, in my screenshot above, you’ll see that there are options for a bunch of classic film profiles as well. That’s because a few plugin manufacturers such as VSCO have tapped into the power of camera profiles, and make plugins customized to specific cameras. VSCO makes classic film emulation plugins that I can now use to apply effects to RAW files, and those effects are tailored specifically to supported cameras.

The issue is that this feature doesn’t work with the DNGs generated by RAW2DNG, but it does work with the CinemaDNG files generated by RAWMagic – and they work really well, too. Also, to my eye, Lightroom seems to render the DNGs from RAWMagic more accurately (but I’m willing to believe that’s totally subjective).

So, here’s what I like to do with my DNG files.

  • I bring them into Lightroom, arrange them into a collection, then apply the VSCO (or other) look I want to the first image.
  • I right-click that image, select “Settings” from the menu, then “Copy Settings.”
  • I de-select that image, then select the rest of the ones in that range, and right click on them. I select “Settings“, then “Paste Settings.”
  • I then export the range of DNGs as TIFs (using the standard File -> Export option).
  • I go get tea.

Using the Image Sequence in Adobe Premiere

I come back from tea, then pull the resulting image sequence into Premiere as an image squence (File -> Import -> select the first image in the sequence and make sure that the “Image Sequence” check box is checked.

 

Importing the TIF sequence into Premiere

Importing the TIF sequence into Premiere

And viola! they show up in Premiere as a single graded clip, ready to edit.

The graded clip, ready to edit in Premiere.

The graded clip, ready to edit in Premiere.

 

You can adjust the framerate of the footage by right-clicking on it and selecting Modify -> Interpret Footage.
Modify_Clip

And What About Final Cut X?

Final Cut users can do something similar with the image sequence in FCPX. Import the entire sequence, then add it to a project. Once you do, hit Command-A to highlight the entire range of images in the project, and hit Control-D to change the duration. Type “1” to change the length of each image to one frame.

Using the Image Sequence in Final Cut X

Using the Image Sequence in Final Cut X

That makes each image play at the accurate length of 1 frame, with your overall framerate being determined by your project. If you need to change that, you can hit Command-J to bring up your project properties, then click on the Modify Settings button.

Project Properties in Final Cut X.

Project Properties in Final Cut X.

Editing ML RAW The Free Way

Of course, both of the above editors cost money. Fortunately for all you frugal folks who want to save your money for the important stuff (ahem: equipment rental), there is a third option that lets you completely remove the intermediate step of using Lightroom (though you do lose out on easy grading in an interface still shooters are typically comfortable with). Blackmagic Design, the company behind the Blackmagic Cinema Camera, the Pocket Cinema Camera, and the Production Camera, make what many consider to be the pinnacle of color grading systems, DaVinci Resolve.

Now, DaVinci Resolve costs $995 for the full version. That includes support for higher than 1080p resolution, multiple GPUs, etc. If you’re only shooting and editing 1080p, however, they also make Resolve Lite, which is completely free.

For most shooters working with DSLRs, Resolve Lite can do just about all that you need. Version 10.1 of the software also includes an “Edit” module that features the familiar timeline metaphor editors the world over are familiar with, so you can conceivably produce your entire project right in Resolve.

The best part is that once you’ve split your Magic Lantern RAW file into component DNGs, Resolve Lite can import those files really easily. That includes DNGs produced by both apps, RAWMagic and RAW2DNG.

Importing DNG sequences is easy as drag and drop.

Importing DNG sequences is easy as drag and drop.

As you can see, it treats the CinemaDNG files a bit better, showing it as an actual movie clip, while the folder containing the standard DNGs looks like a folder. Drag them to the Master Media Pool, and they both look like normal movie clips, and behave like them too.

One caveat – before you import anything into the media pool, you have to set your timeline framerates, because Resolve will not let you change the framerate for a timeline once you’re done. To do this, go to File -> Project Settings and change the framerate in “Timeline frame rate,” “Playback frame rate,” and “Video format” to your desired framerate.

Make sure to change the project settings for your project before importing media.

Make sure to change the project settings for your project before importing media.

From there, you’re good to go.

Final Word

Of course, there are other ways to edit your Magic Lantern RAW file. There are more than a few variations to the steps I’ve outlined above, as well as all-new workflows that are nothing like what I’ve described. Please sound off in the comments below if you have alternate processing methods — we’d love to know how you use your Magic Lantern RAW footage!

Sohail Mamdani is a writer, filmmaker, and photographer based in the San Francisco Bay Area.

11 Comments

  • Lenny Carlos

    thanks. My current workflow after grading in ACR, I export as JPG (not TIFF, for smaller files) then import to premiere as sequences. For some reason, my setup can’t handle editing very well in premiere without unexpected crashes and issues, but I still love the warp stabilizer in premiere, so after stabilizing, I export media as prores 444 (.mov file), and edit in iMovie 11. Any suggestions on how to lose as little quality as possible with this ridiculous workflow? here is an example of my work https://www.youtube.com/watch?v=mnbEeCgMaTk

  • Sohail Mamdani

    Hi Jack. Yes, I’m afraid each clip has to be imported into Premiere Pro individually.

  • Jack

    With this process, after grading in LR, do you have to export/import to Premiere Pro each clip individually?

  • Sohail Mamdani

    Hi Tom,

    Unfortunately there isn’t anything as comprehensive as Magic Lantern for Canon on the Nikon side. https://nikonhacker.com has some info on what is available for Nikon cameras, but it’s not much.

    Cheers,
    Sohail

  • RTomSizemore

    Is there a NIKON BIOs or other software ‘fix’ to replicate what you’ve done with the Cannon?
    Thanks! Tom

  • Brian Broeckelman

    Sohail, thanks for the post! I’m hoping you can tell me which ML Raw build BorrowLenses loads to their cards (obviously a secure build, if you’re willing to market it in rentals). Beyond that, have you worked with Magic Lantern’s newish MLV format (video + audio internally), and if so, which build version?

    Cheers!
    Brian

  • Sohail Mamdani

    Hi Pablo,

    When you’re recording in RAW, you’re not recording audio at all. You have to use an external device for that.

    Cheers,
    Sohail

  • Pablo

    Hello i have a question i hope it can be answered, do you lose the audio when you convert to dng?

  • Massimo

    Hey mam, this is the step-by-step explanation ever. Thanks for putting it all together. Too bad you guys don’t have shops in Italy too. You’d def rock this old country!

  • James

    Wow! Thanks you soooooooooo much for this step-by-step explanation of things! Beyond grateful buddy!

  • Bob Heathcote

    This is awesome. Well done.

Post a comment

Your email address will not be published. Required fields are marked *

Get 20% your first rental with promo code BLOG20

Cameras
Mirrorless, Medium
Format and more.

Lenses
Anamorphic, Cinema,
Wide Angle and more.

Lighting
Aputure, Manfrotto,
Profoto and more.

About BL

BorrowLenses is an online camera gear rental service that started in the San Francisco Bay Area in 2007. We offer a wide selection of camera gear ranging from camera bodies, lenses, lighting and accessories. We make it easy to rent gear by shipping your order straight to you.