TLDR: I made a video that I'd love for
you to watch. That's it! Below is my journey of how I put it all together.
In September, yk Records released
Mantra / Miracle from
Eve Maret - a double sided single from an electronic artist that I've enjoyed for years. I knew that we needed videos for both tracks and I took it upon myself to cook something up for "Miracle." For reasons I can't explain, I was inspired by those
Magic Eye prints from the early 90's. Being able to relax your focus enough to partake in the hidden scene often felt a bit
miraculous to me, so I let that be my guide.
The research and proof of concept'ing process involved writing some PHP scripts to merge a still image with a pattern to create my own
autostereogram; the "proper" name for a Magic Eye. There's a decent amount of
existing software out there that will do this for you but I just hit up ChatGPT to help me out and we came up with a
pretty good solution.
Continuing to work backwards, now I could make a Magic Eye image but I needed a proper depth map to merge with my pattern. That depth map would need to be generated from a still image of video footage. My buddy
Cody swooped in with the solution -
ComfyUI.
After much trial and error to get python working and install
ComfyUI Manager properly, I was able to use
this workflow to input a video file, process it and output each frame as a depth map.
Now that I understood the technical flow, all I needed was some proper video footage! Eve sent me multiple video performances which, quite frankly, worked great on their own. I use my Comfy workflow to generate the Depth Maps and then merge those into Magic Eye images with the PHP script. It was a bit of a time consuming process but not really
hard, just time consuming. Taking those raw ingredients into Premiere, I just had to edit it all together.
I am very happy with the
end result. If I had to do it again I might try to make the Depth Maps less hazy. Or tighten up the PHP script to tile better or not waiver between frames. There's always optimizations to make but anything I would change is minor. I hope you like it.
Comments