inflearn logo

An Automated Video Production Pipeline with Claude Code — From a Single Script to a Dubbed Video (Lectures, YouTube, Shorts)

I’m building a pipeline that turns a single script file into slides, a local dub, subtitles, and vertical Shorts, then has a machine review them against the transcript and on-screen content before they’re uploaded. It runs on my computer without generative video tools or paid voice APIs.

6 learners are taking this course

Level Basic

Course period Unlimited

Python
Python
Youtube Creator
Youtube Creator
Business Productivity
Business Productivity
Video Production
Video Production
whisper
whisper
Python
Python
Youtube Creator
Youtube Creator
Business Productivity
Business Productivity
Video Production
Video Production
whisper
whisper

What you will gain after the course

  • Generate a 1080p dubbed video and SRT/VTT subtitles from a single script file (JSON) with one command.

  • Dub using local speech synthesis without external voice APIs or keys, and resynthesize only the corrected sentences.

  • Automatically generate vertical Shorts, thumbnails, upload descriptions, and chapters from the same script.

  • Use Whisper transcription to compare the dub against the script, and categorize discrepancies as notation differences, actual errors, or requiring a listen.

  • Compile the video frame and slide comparison, text overflow and subtitle overlap, audio levels and silence, and format checks into a single-page report.

  • Continue creating the series with Claude Code skills and progress logs, while preventing company information from leaking with banned-word checks.

  • Verify the licenses for voice models, dictation models, and fonts, as well as AI voice disclosure requirements, against official sources.

  • Implement the core functions for rendering, pauses, subtitles, transcription comparison, measurement, and process execution directly in the skeleton, then use the grader to verify normal, boundary, and failure cases.

🎁 Year-End Coupon — 25% off through December 24 (first 50 only) · Get the coupon
The coupon must be used within 24 hours of receiving it.

One command turns a script into videos, subtitles, Shorts, and a review report. People only listen to the parts the machine picks.

This isn’t a course about cranking out Shorts. You’ll create a series of 6–8-minute landscape lecture and explainer videos, use local voice synthesis on your own computer instead of a paid API, and let the machine handle the initial review by checking Whisper transcripts against the script sentence by sentence and number by number, and comparing video frames with the slides. Only one lesson covers rearranging the same script into a vertical format for Shorts.

I build a pipeline that turns a single script file into slides, locally dubbed audio, subtitles, and vertical Shorts, then has the machine check the transcript against the visuals before uploading. It runs on my computer without generative video tools or paid voice APIs.

No generative video AI or n8n. When you regularly produce multiple explainer and lecture videos, automate two time-consuming tasks: redoing everything whenever you make a change, and checking everything before uploading. Sentence caching means only revised sentences are synthesized again. Offline transcription checks the dubbed audio against the script, sentence by sentence and number by number, while the video is checked against the slides. I’ll show the failures I encountered firsthand while building the toolkit—Chrome freezing, transcription timestamps drifting, and overlapping subtitles going undetected—along with the regression tests.

By the end of this course, you will

  • Create a 1080p dubbed video and SRT/VTT subtitles from a single script file (JSON) with one command.

  • Dub with local speech synthesis without an external speech API or key, and re-synthesize only the sentences you’ve corrected.

  • Automatically create vertical Shorts, thumbnails, upload descriptions, and chapters from the same script.

  • Use Whisper transcription to compare the dubbing against the script, then sort the candidates into notation differences, actual errors, and cases that need listening.

  • Combines video-frame and slide comparisons, text overflow and subtitle overlap checks, and volume, silence, and format checks into a single report.

  • Continue creating a series with Claude Code skills and progress logs, and use banned-word checks to prevent company information from leaking.

  • Verify the licenses for voice models, speech-to-text models, and fonts, along with any requirements to label AI-generated voices, using official sources.

Recommended for these people

  • For anyone who needs to create multiple commentary, lecture, or internal training videos but spends too much time recording, adding subtitles, and reviewing them.

  • Trainers and training coordinators who feel anxious, wondering 'Did I miss anything this time?' as they repeat the same edits for every video

  • Developers and knowledge creators who want to try automating repetitive tasks with Claude Code

Curriculum (9 sections · 40 lessons · approximately 480 minutes)

  • Section 1. The Finished Product and the Production Pipeline — Start with the finished product: how one page of script becomes a video, Map of the seven steps: scripting, rendering, dubbing, combining, subtitling, review, and logging, Set up your work environment: essential tools for Mac and Windows, Check licenses before writing: voice models, speech recognition models, and fonts

  • Section 2. Scripts as Data — A script is data: lesson.json made up of scenes, sentences, and panels; writing scripts with Claude Code: writing guidelines and reference files; automatic script checks: length, sentence length, and prohibited expressions; numbers as they’re read aloud: Korean readings and a pronunciation dictionary

  • Section 3. Slide Rendering — One HTML page per slide: template structure, exporting slide PNGs with headless Chrome, tables, code, and flow panels: how to fit information on screen, automatically detect overflow, overlap, and clipping, automatically generate thumbnails and covers

  • Section 4. Local Dubbing — First sentence of local speech synthesis: dubbing without external APIs, sentence caching: resynthesize only edited sentences, pauses and speed: designing gaps between sentences, volume matching: keeping every episode at the same volume, switching and comparing engines: one voice per series

  • Section 5. Combining video and subtitles — Stitch scenes together with ffmpeg, automatically generate subtitles: from sentence timing to SRT·VTT, turn horizontal lectures into vertical Shorts, upload package: automatically generate titles, descriptions, and chapters.

  • Section 6. Automated Review — Transcription review: turn the voice-over back into text; compare the script with the transcription, sentence by sentence and number by number; classify candidates as real errors or transcription mishearings; compare screens: does the video frame show the current slide?; check silence, volume, and specifications, and generate a review report.

  • Section 7. Running the Factory with Claude Code — Bundle it into skills: the entire process with one command, delegate scripts and render in parallel, connect everything with HANDOFF: resume even if interrupted, and keep personal information from leaking into the screen or materials.

  • Section 8. Complete a Real-World Project — Practice: Complete Five Videos for a Virtual Channel and Track the Time, Wrap-Up: My Pipeline Checklist

  • Section 9. Build It Yourself: Write Functions for the Workflow — Inside the render function: render without interruptions, write pause rules and cache keys yourself; inside the video function: stitch clips to the frame; write subtitles yourself: from seconds to SRT; write a transcription comparison tool yourself; write a measurement function yourself: read ffmpeg logs; write a workflow runner yourself

Practice Environment

When you unzip the practice ZIP, you’ll find 00_StartingGuide.pdf at the top (folder map, installation order, and lesson-by-lesson practice table), 01_PracticeProblems.pdf (section exercises and lesson review questions), and 02_AnswersAndSolutions.pdf. Below those are kit/, ready to run (the vidpipe kit: Python 3.10–3.12, Chrome, and ffmpeg); lesson-by-lesson walkthrough scripts, practice/01_Lesson.sh~40_Lesson.sh (with the exact commands shown in the videos); the original output for each lesson, answers/; and references/, the original run logs that provide the source for the numbers shown in the videos. The kit includes five scripts for the fictional science explainer channel “A Bite of Science”; code for script checks, slide rendering, local dubbing, videos, Shorts, upload packages, and transcription review; tests; Claude Code skill files; checklists; license information; and five code-it-yourself exercises with a grader. I extracted all 40 lesson scripts into a new folder and ran them in order from the beginning, confirming there were zero errors. The speech and transcription models download automatically from their official sources the first time you run them (about 0.9 GB). Docker and cloud services aren’t needed.

Prerequisites

  • Able to paste commands into the terminal and run them.

  • You can use or install Claude Code (you don’t need to know Python syntax).

What This Course Does Not Cover

  • AI video generation (image and video generation models), avatars, and lip sync

  • Voice cloning

  • How to use editing tools like CapCut and Premiere

  • n8n Automation

  • Shorts planning, views, and monetization strategies

Guide

The narration in this course was created using a synthetic AI voice, and the on-screen results are the verbatim output from actually running the educational kit. Claude Code’s responses, processing times, and transcription results may vary with each run and from computer to computer. This course does not guarantee views or revenue. All data is fictional and for educational purposes; figures may vary depending on the execution environment. The video was made with slides and a synthetic voice (TTS), and each lesson includes screenshots of the terminal as the kit is rerun (about 27% of the full footage, marked “Actual Execution Screen” on screen).

Recommended for
these people

Who is this course right for?

  • For those who need to create multiple explainer, lecture, and in-house training videos but spend too much time recording, adding subtitles, and reviewing them.

  • Instructors and training staff repeating the same edits for every video, anxiously wondering, 'Did I miss anything this time?'

  • Developers and knowledge creators who want to try automating repetitive tasks with Claude Code

Need to know before starting?

  • You can paste commands into the terminal and run them.

  • Have used or can install Claude Code (no need to know Python syntax)

Hello
This is dorian05202988

Career Verified

159

Learners

3

Reviews

2.3

Rating

47

Courses

A data craftsman with over 20 years of experience in databases and IT. As a DBA and manager of a DB Platform team, I work with database platforms and specialize in MySQL, PostgreSQL, Oracle, MongoDB, SQL tuning, AWS, Terraform, and Python. Drawing on experience in the gaming, finance, and IT services industries, I explain database and cloud architecture. I have published 『Oracle Practical Tuning: Learning SQL Patterns』 and 『Oracle Pro*C Practical Project Guide』, and have presented on serverless architectures, database selection, and multi-database strategies at AWS Summit 2018 and 2019 and DataYa Nolja 2020. Recently, I have been working on slow-query analysis and tuning recommendations using Bedrock LLM, automated DB specification sizing, and query workflows through a DB metadata MCP server and Slack bot. I explain database automation for developers and AI applications for non-developers through hands-on exercises tailored to the audience and objectives of each course. Rather than applying AI suggestions as-is, I teach a decision-making framework that verifies result equivalence, execution plans, and observability conditions, and defers action when the supporting evidence is insufficient. Company operational data and credentials are not included in the course materials.

More

Curriculum

All

40 lectures ∙ (7hr 58min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

dorian05202988's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$45.00

25%

$55.00