Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Move layers in time based on text file/spreadsheet

  • Move layers in time based on text file/spreadsheet

    Posted by Peter Whittaker on November 17, 2011 at 12:24 pm

    Heya,

    I’m trying to sync a 1.5-hour audio track with a sequence of photos taken at the same time. I can extract the photo creation dates into a tabbed text file using ExifTool, as explained here: https://forums.creativecow.net/thread/227/16660#16812

    Is there an easy way to take this data (say, photo name and creation time) and use it to change the correspondingly named layers to the associated time? If I batch-modify the creation date to be just an offset (say, 10 mins rather than 13:10 ) it could be used to offset the layers from the comp zero time.

    Or maybe there’s a totally different way to approach this..? All suggestions much appreciated.

    Dan Ebberts
    replied 14 years, 5 months ago
    2 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    November 17, 2011 at 3:17 pm

    >Is there an easy way to take this data…

    I don’t know about “easy” (especially if you haven’t done any scripting), but it should be a pretty straight-forward script.

    In general, you would find the template comp, read each line from the text file, find the appropriate layer, and change its startTime attribute. The details would depend on your project structure and file format.

    Dan

  • Peter Whittaker

    November 17, 2011 at 4:39 pm

    Hi Dan,

    Thanks. I’m not a scripter at all, so I might have to finally learn!

  • Dan Ebberts

    November 17, 2011 at 4:45 pm

    This would be a good project to learn with. Come back if you get stuck.

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy