Masks not rendering in final video
Hello,
I have a project where I am capturing footage from a First Person Shooter video game. In game, I turn off the HUD and then if I switch between two weapons fast enough, I can record an unobstructed view of the video game. Sometimes however, I'm not consistent with the weapons switching so for a couple frames here and there, parts of the gun is visible.
So I've imported the footage into AE and trimmed it to the length that I want, then when I reach the frames with part of the gun visible, I go to Composition -> Save Frame As -> File. This exports as a .PSD, which I then import back into the comp, trim it to the exact length of time that the weapon is visible, then mask out only the gun. In After Effects, this looks fine. I can Preview and all these Mask edits look good. When I export however, the masked sections don't export, leaving me with the original video that I imported into AE.
Here are some screen shots of my timeline setup.
Here you can see the mask selected with the layer inactive or hidden: https://i.imgur.com/NkwljEV.jpg
Here you can see how I want the final to result to look like, with the layer active and visible: https://i.imgur.com/CcS4GH4.jpg
I've tried Adobe Media Encoder and Render Queue. Also, I've tried to use a Freeze Frame instead of Save Frame As but am still running into the same issue.
Any help would be appreciated.
Thanks