videodb
VideoDB Documentation

icon picker
Automate Subtitle Generation for Video Libraries

Workflow Overview:
Automate the process of generating subtitles for uploaded videos.
Store the subtitled videos in a designated Google Drive folder.
Improve accessibility for audiences who need captions.

Prerequisites:

A Zapier account to create and manage workflows.
Access to VideoDB with an active API key.
A configured Google Drive account with a folder (e.g., “Videos with Subtitles”) for storing processed videos.
A Zapier Interface form to collect video name and video URL submissions.
Basic understanding of Zapier workflows (Zaps) and triggers.

Detailed Steps:

Workflow 1: Form Submission and Upload

Form Creation (Zapier Interfaces):
Create a blank form titled Subtitle Video.
Add two fields:
Video Name (short text, required).
Video URL (valid URL field, required).
Share the form link for submissions.
Trigger Setup:
In Zapier, set the trigger to Form Submission Created from Interfaces.
Select the subtitle video form and page.
Upload and Index with VideoDB:
Add an action to upload and index the video via VideoDB.
Authenticate using your VideoDB API key.
Map video name and URL from the form data.
Set a target label (e.g., subtitle video) to connect with the second workflow.
Test to confirm a Job ID is returned, indicating the task has started.
Publish Workflow 1:
Activate the workflow so form submissions trigger video uploads automatically.

Workflow 2: Subtitle Generation and Storage

Trigger Setup:
Create a new Zap with trigger New Video Uploaded Job from VideoDB.
Filter by target label subtitle video to ensure only relevant jobs trigger this workflow.
Subtitle Generation:
Add an action to Generate Subtitles using VideoDB.
Select dynamic video ID from the trigger event.
Configure subtitle style (e.g., supersize animation to enlarge the spoken word).
Test to confirm the output returns a stream URL, download URL, and new video ID.
Google Drive Storage:
Add an action to Upload File to Google Drive.
Authenticate with your Google account and select the designated folder (e.g., Videos with Subtitles).
Use the downloadable URL from VideoDB as the input file.
Set the file name dynamically from the form submission with “.mp4” extension.
Test to confirm the subtitled video is stored in the correct folder.
Publish Workflow 2:
Activate this workflow to automatically process and store subtitled videos.


Links to workflows:

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.