Keying 3D Video With CorridorKey

Last year I spent hours and hours compositing myself into this 3D video. It was such a pain in the ass that I haven't gone back to do more. It also doesn't help that I'm set up in my tiny office with not enough light.

This is what my office looks like right now

But earlier this year I heard about CorridorKey and that got me thinking this project was a lot more doable.

I followed the instructions (for 2D video) and the first blocker I ran into was MagicMask in DaVinci Resolve. It didn't like keying 2 separate subjects. So I broke the video into left and right eyes and cleared that hurdle. Next I brought my video into CorridorKey and the preview looked perfect. I kicked off a 3-day render (I know) and when it was done I found that after about half a second the key began to drift and by 2 seconds it was all nonsense. So I submitted a support ticket and waited to hear back (it was Thanksgiving). One suggestion was to turn off time awareness. I tried it and it worked (on a two-second clip). So I set up a test with 10 seconds and because time awareness was turned off it only took about 3 hours for each eye. The result was fantastic. So now I can bring video into DaVinci Resolve and apply a MagicMask (takes a minute) and I get a key that looks like this.

MagicMask in DaVinci Resolve

Then I take that into CorridorKey and I get this.

Final result on the left in CorridorKey

For future me (or the other handful of people trying to do this), here's the process that worked:

  • Set up an equirectangular 3D project in DaVinci Resolve, adjust the 3D alignment, do color grading, and noise reduction. Then export each eye as a separate, 4096 x 4096 file.
  • Then bring those left eye and right eye clips into DaVinci Resolve. Set each one up on a timeline and crop out all the junk, just leaving the subject surrounded by the green screen. Go into Fusion and add a Magic Mask. On the color page, pipe the alpha channel to the output. Output the black and white alpha as an "alpha hint."
  • In CorridorKey, import the left and right eye videos. Set each one up the same way. Use two-thirds internal resolution (my M1 Max MacStudio didn't have enough VRAM to do full resolution). Don't use Time Awareness.11 There's a bug in CorridorKey for Mac that produces nonsense results with Time Awareness on. Figuring that out took a week. Pick your alpha hint video and use all frames. Set the alpha hint strength to .6 (recommended) and then adjust the despill as necessary. Finally set the output to ProRes 4444 with alpha channel and hit render.
  • Take your keyed left and right eye files from CorridorKey into DaVinci Resolve. Drop them side-by-side into an 8192 x 4096 timeline and export as ProRes 4444 with an alpha channel.