• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Joining video clips and basic editing programmatically?

_V_

Super poster
Joined
Aug 23, 2006
Messages
3,756
Likes received
1,555
Thanks received
268
I have a seed idea for a new business. One of the requirements would be the following and I'm not sure what the easiest tools, programming language set would be to make this work. Everything needs to happen programmatically without human interaction.

There would be a folder containing video clips, all of the same format (e.g. MP4). There would be a set of audio tracks (e.g. MP3). There would be a set of txt files. For every video clip there would be a matching audio clip and txt file.

The program or script would join the video clips into a single output video. The audio would be added so that it is part of the correct clip. The txt would be added to the clip, perhaps with a fixed transition like slide or fade.

So the output video is created as soon as it is given the folder with the assets.

Any idea on how to set this up? Video editing software that has an API or scripting language features?
 
Maybe take a look at DaVinci Resolve, Conform clips with XML
 
One obvious question: do you actually need to produce a single output video that someone can download and use, or do you only need to give that impression since you'll run it from a private server/app?
Just thinking how YouTube, 4OD, etc intersperse ads with video basically.
 
I would guess ffmpeg (C library IIRC) can do a lot of what you ask by the way.
 
One obvious question: do you actually need to produce a single output video that someone can download and use, or do you only need to give that impression since you'll run it from a private server/app?
Just thinking how YouTube, 4OD, etc intersperse ads with video basically.

Good question. Needs to be downloadable output video.
 

Advertisers

Back
Top