Connecting cryptomattes is up there along with setting legals as one of my least favorite things we do. I ain’t got no time for that.
Here’s a hook that will do it for you, the cryptomatte that is, not the legals. You’re still stuck with that. Right click any clip/read file that has “cryptomatte” in the name Cryptomatte > Connect Cryptomatte.
I’ve only tested this with our setup where the channel names are filename__CryptoMaterial## which is how RedShift names the channels so it might not work for everyone. Let me know if it doesn’t and I can try to make it as versatile as possible.
So I had no idea about output_sockets until I saw @knhn’s post for his Mux-Shit-Up hook. Previously I had been using a list of known channels that I’ve come across to link things, etc. Super unclean and would lead to the script failing if the right combinations weren’t found.
No more (at least I hope so). Attached is v0.5. Should work no matter what as it’s grabbing the channel names from the clip itself.
Thanks to @knhn for posting the MUX hook which lead to this improvement.