Templater and ffmpeg
-
Hi guys,
This is more of an ffmpeg question but maybe you’ve had experience with this. We have a large number of renders to run. They are unique opening and closing segments, and then some permutation of 3 middle sections. Render time using Templater is about 90 seconds per 3 minute video on our system. I’d like to use Templater to render the unique short opening and closing segments, and then use ffmpeg to stitch them to the appropriate middle section permutation. Do you know if it’s possible to attach a music bed to the final video?
Pete
-
@pbretz Is the audio clip rendered separately? Is it always the same audio for all outputs? Is the duration changing per-video or are the all the same, just different visuals? The basic command line incantation for “muxing” video and audio streams is very straightforward. This does a good job of explaining the different methods: https://superuser.com/a/277667
If your audio stream isn’t the same duration, there are other answers in that thread that describe different approaches for how to deal with those scenarios.
-
@jon Thanks. The audio length will vary with each video. I’ll take a look at the link you posted.