BL Blog

Working With Magic Lantern RAW Files

Tips & Tricks

In case you missed it, we started carrying a version of the Canon 5D Mark III modified with the Magic Lantern firmware modification last year. One of the really cool features of this tweaked body 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.

.RAW file from a Magic Lantern 5D III

.RAW file from a Magic Lantern 5D 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.

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 upcoming 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!

Thank you for reading this post. Leave a comment or subscribe to the RSS feed and have future articles delivered right to your feed reader. Love BL? Become an affiliate today!
The following two tabs change content below.
Sohail Mamdani is a writer and photographer based in the San Francisco Bay Area. Follow him on Twitter, Facebook or Google+. You can find his portfolio on his website at sohail.me as well as on 500px and Flickr.

Latest posts by Sohail Mamdani (see all)

Comments

  • This is awesome. Well done.

  • James says:

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

  • Massimo says:

    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!

  • Pablo says:

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

  • Brian Broeckelman says:

    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

  • RTomSizemore says:

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

  • Leave a comment, a question, or show us your work!