-
Setting the In and Out points of a text layer to align with markers via a script
Hey all,
I’m looking into automating subtitle placement using text layers and markers.
My process is to RAM preview the video, and apply markers to a null layer as i play through the video at each point where a subtitle should be displayed.
At the moment I have been manually placing the text layer’s in-point on the designated marker and then dragging the out-point of said text layer to the following marker, then placing the next text layer’s in point to this marker and dragging the outpoint to the next layer and repeating for each text layer and marker going along.
This process is not too time consuming at the moment but when the text layers/subs start stacking up it becomes a little tedious and if this could be automated then it would be a dream!
I have uploaded a screen shot to better represent what I mean.
https://f1.creativecow.net/file.php?id=13832&folder=text-layer-alignment-to-markersMy Javascript xp is basically non existent (but i’m working on it) so I am really struggling to put something together from things I have seen in the forum.
I have seen a script to find the “timecode” of a marker, but I’m not sure how to make it work for what I want.
Hope this is doable, thanks in advanced!
Adam