Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login

    Calling multiple individual files at once

    Scheduled Pinned Locked Moved
    Templater Event Scripts
    2
    2
    717
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wst-shortyundefined
      wst-shorty
      last edited by

      I have a video that I need to be created, but it will vary in length each time. It is made up of the same template. So sometime it will include the template 3 times and others it might be 4 or 5 times. I know I can stitch it together with ffmpeg easily enough.

      I was wondering if there is a way to pass dataclay all of these files at once, or will i have to call them individually. I was hoping to avoid the time it would take to start/stop after effects in between each file (i am doing this via commandline calls btw).

      Any information would be highly appreciated.

      ariestavundefined 1 Reply Last reply Reply Quote 0
      • ariestavundefined
        ariestav @wst-shorty
        last edited by

        @wst-shorty You only need to start AE once for each video, not for each render.

        For a single video, have more than one object / row that each specifies which compositions you want AE to render. That is, each object / row will have a different target value. Then, specify those rows / objects in row_start and row_end values in the templater-options.json file.

        You should also register a script for the post-batch event that handles the “stitching” together of the outputs. Go through the README file on our github repo for event-scripts. Take note of the NodeJS concatenate sample script that does this. You’re using PHP so it will be different, but if you have node installed on the server, you can use it straight away.

        Please let us know if this helps.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post