Combining the power of ffmpeg and Vimeo’s API to churn out videos at an incredible pace.

Image for post
Image for post
Photo by Shahadat Rahman on Unsplash

I recently had to solve an automation issue, where the client’s desire was to automatically generate hundreds of videos putting side by side a “base video” with a video picked from a list of hundreds. Whilst this could have easily been done by hand with one big effort, the project was an ongoing one, and the number of videos to generate was growing daily. For this reason, I decided to write a small script using Python and ffmpeg that would automatically generate and upload these videos to the client’s Vimeo channel.

This short article is meant to focus on some specific aspects of automation, video editing and Vimeo’s API, thus I won’t spend any time on the Python basics. I will focus on the few bits and bobs that I found challenging and I think are interesting to share. …

About

Niccolò Granieri

Lecturer in Digital Media Technology, PhD in Music Tech and all-round tech enthusiast based in Birmingham. Currently: DMT Lab, formerly: Integra Lab

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store