Crop
This script crops the parent composition of the layer based on that layer. It is especially useful because it allows you to control the final duration of the video based on dynamic layers. For example, you can have a dynamic background video, apply the crop script to that video, and the final output will match the background video’s duration. Otherwise, the output video will always stay the same duration as it was set in the template.
These are the options for the crop script:
- Beginning - crops the beginning of a parent composition to the in-point (start) of this layer.
- End - crops the end of a parent composition to the out-point (end) of this layer.
Make sure that the asset you’re using in the template is longer than any asset that will be swapped out. The crop script won’t work if the placeholder asset is shorter than the one you’re swapping it out for.