DEV Community

Cover image for Turning a weekly job into one command
Joseph Soper for BezaCore Labs

Posted on Originally published at bezacore.com

Turning a weekly job into one command

Every Sunday, a church we work with puts a short clip of that morning's sermon on Facebook. It's the same job each week: find the passage, frame the speaker, caption every word, put it in the church's look, and make an image for the Story.

The same look, every week

One look was chosen for every clip: a card of the speaker over the site's colors, captions in white, and an end card with the sermon's cover. A look that's been chosen once shouldn't have to be rebuilt by hand each week, so we wrote it down as a script.

One command, and a check first

Give it the Sunday's date and where the passage starts and ends, and it does the rest in about two minutes. It transcribes the passage, times each caption to the words, frames the speaker, renders the clip in the tall shape a reel needs, and evens out the sound. The end card doubles as the Story image.

Before it renders anything, it can stop and show its work: the captions as a plain text file, and a sheet of frames with the crop drawn on, so you can see the speaker stays in the picture. Fix a word in the captions, and the next run uses your fix.

Kept on our own hardware

The transcription runs on our own hardware, so a recording of a Sunday morning isn't sent anywhere to be turned into text.

Your weekly jobs

Most small teams have a job like this: the same steps every week, done by whoever has time. If one of yours could be one command, tell us what you're working on.

Top comments (0)