AE / PP : unable to check replaceable footage dimensions
Hi there,
I'm building a MOGRT where the user would be able to replace a footage. Then, I would like to build a shape layer around this layer so I can have a specific kind of frame.
All the expressions I wrote work perfectly fine in After Effects. However, when using the MOGRT in Premiere Pro and replacing the footage, it doesn't anymore. I guess this may be related to this kind of "virtual subsequence" Premiere is using to deal with the footage.
The fact is that, even with a code as simple as this (on a text layer)...
srat = thisComp.layer("MyFootage").sourceRectAtTime(time);
ratio = srat.width / srat.height;
...I can see the width / height / ratio values are not updating as they should.
I tried to use a precomp as a workaround but with no effect.
Hope I'm making this clear enough and that someone would have a workaround or at least that Adobe Video Team would provide more info or fix this.
Best regards,
Julien