Magic Lantern HDR Compose: Free Final Cut Pro X generator

This is an unpolished effect that I’m releasing early so that the few people who need it can give me some feedback.

Magic Lantern is a system for adding features to Canon DSLRs, Unified is a recent ML package enables some cameras to shoot footage that can processed to produce content with a larger exposure range – i.e. High Dynamic Range.

The files produced are made up of alternate frames of under- and over-exposed footage. My new generators take these frames and give you the control to define how the overexposed frames are overlayed on top of the underexposed frames.

For more information on Unified and Magic Lantern and the software to for your Canon DSLR, visit the Wiki

Note that you must shoot footage at twice the framerate you need, as 25 fps footage results in 12.5 fps HDR footage. These generators don’t do any interpolation.

Workflow

1. If you have Motion installed, or you have already installed third-party effects, download the effect archive from here.

Expand the ZIP archive and add the folder to Movies : Motion Templates : Generators :

If you don’t have Motion installed on your Mac and you’ve never installed any third-party effects, download the archive of the Motion Templates folder with the Alex4D ML HDR Compose generators in the correct sub-folder. Expand the ZIP and put the resulting Motion Templates folder in the Movies folder of your home folder.

2. Start Final Cut Pro X, add your HDR footage to an event, create a new project at the native frame rate of your footage.

3. Add your ML footage to the project.

4. Go to the ‘Alex4D’ section of the Generators panel:

The Magic Lantern HDR Compose generators default to a duration of 10 minutes, so to set the correct length, drag the generator you need on top of the ML footage:

When you release the mouse button, a pop-up menu will appear. Choose ‘Replace from Start’.

5. The ML footage isn’t automatically added to the generator, so you need to click it, click the clip well and choose your ML footage.

The generator defaults to simply showing the overexposed frames.

There are many settings, but I suggest you try changing the following in this order:

The Opacity Out setting defines how much of the brightest parts of the overexposed frames are overlaid onto the underexposed frames. Start by reducing this value, so less of the most blown out parts are shown.

The Opacity Gamma setting defines how smoothly the overlaid image fades out the brighter parts, gradually increase this value.

The Gamma setting defines the contrast of the overexposed frames, increase this a little.

This may result in a desaturated image, so use the Overall Saturation setting to increase the saturation.

The Black In, Black Out, White In and White Out controls give more control over the contrast of the overexposed frames.

Here’s a demo showing the results of these settings of some night-time footage (which you can download from http://vimeo.com/34028226 )

Check out my other free effects and articles on my Final Cut Pro X home page.

Advertisement
Explore posts in the same categories: FCP X plug-in, final cut pro x

36 Comments on “Magic Lantern HDR Compose: Free Final Cut Pro X generator”

  1. Marc Says:

    Great plugin! Anyway of doing 60fps to 30fps? That way your final footage comes out as 30fps. Will that be available in the future because I think a lot of people are going this route. Thanks!!

  2. trundicho Says:

    Very nice plugin! Unfortenately I’m not a FCP user so I wonder if it is portable to sony vegas pro? Greetings.

  3. Fred Robin Says:

    Great template thank you Alex….

  4. Claudio Says:

    Hi Alex and everybody,
    i try to use the lupgin with a 29.97 fps clip on 29.97 fps timeline using proper alex4d generator but i-m still getting the flickering results as it was the original ML footage.

    Here is the 1 min workflow videoclip i used,
    can anyone give me a hand?

    http://vimeo.com/34574096

    Thanks!

    • Alex Says:

      Could you send me a link to your source file – perhaps the fault is with my generator. I don’t have a large variety of footage to test.

      • Claudio Says:

        Sure alex, i’ve sent you an email to production@a…… with the source code. let me know if it helps

      • Claudio Says:

        Ok, i did some tests
        - 25 fps WORKS (with my clip and ML source clip)
        - 50 fps WORKS

        -29.97 DOESN’T WORK
        -59.97 DOESN’T WORK

        i didn’t try the 23.97
        Seems the problem is for the NTSC footage

        Let me know if i can help

      • Alex Says:

        Thanks for your 29.97 footage. It didn’t work with my generator (unlike my test footage).

        I’ve modified the 29.97 and 59.94 versions, so hopefully they will work for you.

      • Claudio Says:

        Great Alex!
        It works perfectly on the 29 and 59 fps footage now.!
        I not sure about a 23 fps version,
        check it out cause maybe it has the same problem of the other version!


  5. [...] Magic Lantern HDR Compose: Free Final Cut Pro X generator « alex4d: Editing organazized. [...]


  6. Wow Alex4D this looks amazing. Well done!

  7. patrik Says:

    hello Alex
    THX for that.
    But, can u fix 60 and 30frames.
    pls…

  8. Carmel Says:

    Hi Alex

    if you could help with that one:
    how can I use it on FCP 7 ?
    (I have been trying for 3 hours till I realized it’s meant for fcp x … )

    Thanks for answering

    • Alex Says:

      The method for making FCP 7 plug-ins is completely different from X. It would be much harder to provide the same kind of effect for 7.

      There are two strategies you could follow: Use Motion 4 to create a template for FCP 7 or use effects built into 7 to create your own workflow.

      I might get onto this once I’ve refined the FCP X version further.

      • Alex Says:

        FCP7 method

        1. In the timeline, apply the Strobe effect (Duration: 2) to your source footage on v1. This will make v1 show the underexposed frames only (at half the frame rate).
        2. Option-drag the video layer upwards to make a copy of the footage on v2.
        3. Trim one frame off the front off the copy on v2, and move it back one frame to line up with v1. This will make the clip on v2 show only the overexposed frames.

        How you then combine the two layers depends on your HDR method of choice – in some cases a luma key works:

        4. Apply the Luma Key effect (Final, Key Out Brighter, Copy to Alpha, 20, 100) to v2 so that it only shows the bright parts of the image you want to overlay onto v1.

        As I’m more of an FCP user than an HDR expert, you might want to search for other composition methods elsewhere on the internet.

      • Carmel Says:

        Hi Alex,

        thanks again for the workflow suggested to fcp 7.
        It worked just fine with preparing the two layers.
        What you suggested with LUMA Key Effect creates a “milky” kind of image.
        If anyone working with FCP 7 has an idea to that one?
        (combining the two layers).

        Cheers!

  9. Carmel Says:

    I will try that

    but before hand, thank you very much for the infos!

  10. Rishi Rocker Says:

    Hi Alex,
    Please help me with the problem. How do I proceed after dragging the generator onto ML footage in project timeline ? It gets replaced by generator and I am not getting any window which shows the overexposed frames. Please help me. Thank You.

    Rishi

  11. Rishi Rocker Says:

    Thank You Alex !! Appreciate it !!

  12. Rishi Rocker Says:

    Hi Alex,
    If say I want to use a slow motion tool like twixtor or optical flow which needs a minimum footage of 60fps, Is it possible to get a HDR for that ? Like If I shoot in 60 fps ML footage for HDR, it gives me 30 fps output. So to get a 60 fps HDR footage for twixtor, I need to shoot 120 fps video which is unavailable in DSLRs. How can we shoo this problem. Please help. Thank You

    • Alex Says:

      The solution is to use a slow motion tool that can deal with any frame rate. Final Cut Pro X, Motion and Compressor can do optical flow processing. The catch in this workflow is that they need a file on a hard drive to analyse.

      I can make FCPX and Motion produce 15 and 30fps dark and light frame sequences from ML HDR flicker footage, but they won’t produce the intermediate frames unless those sequences are exported to a QuickTime file.

  13. Rishi Rocker Says:

    cud u elaborate that please. Dont FCPx need 60fps minimum for extreme slow motion ?

    • Alex Says:

      Optical-flow software works better if it has more frames per second to deal with. In FCPX you can slow down any file-based sequence as much as you want. You get better results if there are more source frames to work with.

      Remember that once you’ve slowed down a clip with the timing menu, you can also use the same menu to tell FCP X to use Optical flow to analyse the clip.

  14. Funky Says:

    Would be great to have this plugin for FCP 7 too. Is this possible?


  15. yeah i got it working finally on 50fps, now tesing 25fps, 30fps and 60fps, will let you know any findings and settings i think are any use for everyone.

  16. Claudio Says:

    Hi Alex, i wrote you couple of email.. (form claudio giovenzana). How is doing the plugin work? are you implementing the feature we discuss about. Just give me a hollar :-)
    Talk soon!
    CLa

  17. Claudio Says:

    Alex, any news?

  18. wouloulou Says:

    Thanks a lot Alex for this plugin. I am always so impressed that Magic Lantern always comes up with something new.
    I did some tests and I have two issues :
    - ghost frames seems to appear on the sides of moving objects
    - i am having a hard time producing contrasted images.

    Is there any tips to avoid / minimize this ?

    Thanks !

  19. Denis Says:

    Great work Alex!

    but my camera 50D generates 30fps footage. When I choose 29,97fps the final result unfortunately still flickers. Is there a way to use your template with 30fps footage? Thanks!


  20. Hi Alex I shoot short clips of interiors of properties 30 /40 seconds in length, I am getting a pixelated low res final result, do the clips have to be 10 minutes long?
    Steve

    • Alex Says:

      No, they can be up to 10 minutes long. Using the ‘drag generator to Replace’ technique I describe in the instructions is about making the effect match the length of the clip you want to use.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 81 other followers