Calling multiple individual files at once
-
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.
-
@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 inrow_start
androw_end
values in thetemplater-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!