Do you know AviSynth ? Effectively, this allows you to write and / or generate scripts that edit / mix media files. It will be like ~ this:
video = ImageSource("file.png")
audio = NicMPG123Source("file.mp3")
AudioDub(vid, aud)
I don’t remember the exact parameters of these functions, plus I just gave the exact names thanks to a Google request, but this sample should really be close to the actual code that you would use.
source
share