Hopefully relatively simple request for someone who knows the specific commands I'm looking for. Basically I have a MasterComp in my project that is at a 1080p resolution that I am wanting to automatically nest and scale down into a basically duplicate comp with a lower resolution for render. I've been trying to solve an issue of needing to render a lower res version of my project for a deliverable without having to render the full 1080p and then down scaling afterwards.
The issue with rendering automatically from the 1080p comp into the lower res is that it crushes the quality. While if I nest the full size comp in a smaller one at a lower scale it keeps the quality.
I'm new to scripting but it seems like a small amount of steps to handle, it's basically:
1. Selects the MasterComp
2. Run script
3. Script Precomps the selected composition inside a new composition identical except for it's size (720x404)
4. Scales down the nested comp ( 37.5%)
This is something I have to do a ton on our videos, would really love to figure this out.
Here is a video I have made showing me doing exactly what I want to have happen manually:
It's a short process yes, but it would be a real help to automate as we have a lot of videos we go through that this needs to apply too. This was the code I found below that I was trying to work with to accomplish this: