Case study · Video production
Pebble Owl
A local production pipeline for bilingual, captioned science videos, from a sourced script to the reviewed cut.
01 · Summary
From a sourced script to a captioned science video
I built and run a local pipeline for English-language science videos with English and Chinese subtitles. A sourced script goes in and a captioned, loudness-checked cut comes out for review.
The production records cover 6 long videos and 62 Shorts, with some uploads still scheduled at the time of the research.
02 · Problem & constraints
Original videos on a local setup
I wanted to make original science explainers with no filming, personal voice recording or paid production subscriptions. Each episode needs its own script, checkable sources and a human review.
The workflow has to run across a Mac and a Windows rendering machine and produce separate English and Chinese subtitle tracks.
03 · My role
I own the script, visual decisions and final cut
I choose the topics, verify sources, approve scripts and visual style, and review each cut before upload. AI coding assistants help implement written specifications and run renders.
04 · Architecture & critical path
Follow one shot from script to subtitles
S-01 is an example shot. The script supplies its scene notes and pronunciation hints. Kokoro generates narration, word timing and bilingual subtitle cues. Whisper compares the narration with the script for manual listening checks.
S-01 · How does a scripted shot reach the captioned cut?
- The script defines the scene, with sources and shot notes.脚本定义场景,附来源和镜头说明。
- The scene list plans example shot S-01.场景清单拆出示例镜头 S-01。
- A Blender worker renders PNG frames.Blender 渲染 PNG 帧序列。
- The checked clip is assembled in Remotion.已检查的片段在 Remotion 中合成。
- Bilingual subtitles are aligned to the narration timing.用配音时间轴对齐双语字幕。
A worker claims S-01 from the scene list and renders it in Blender. The frames go through a brightness check and FFmpeg encoding. Remotion places the clip on the edit timeline with narration, music, the host inset where used and timed captions.
- Timing
- One narration run outputs word cues, a lip-sync curve and separate English and Chinese SRT files.
- Shot claim
- A worker creates an exclusive claim file before rendering. Windows sends frames back for the same check and encode step.
- Composition
- One sequence spans a multi-sentence shot, so the video keeps playing when a caption changes.
scene = scene_list["S-01"]
if claim(scene):
frames = render_in_blender(scene)
check_brightness(frames)
clip = encode_with_ffmpeg(frames)
place_on_edit_timeline(clip, narration_timing)
apply_bilingual_caption_cues(narration_timing)
05 · Technical choices & trade-offs
Separate rendering from composition
-
Generate and check narration locally
Kokoro can regenerate individual lines, and Whisper flags mismatches for review.
Trade-off Unusual names need pronunciation hints, and recognition errors still need a human ear.
取舍 生僻词需要读音提示,识别有误时仍需人工核听。
-
Render the subject in Blender
Python scripts rebuild lighting and materials in Blender. Remotion places the finished shots and audio on the timeline.
Trade-off A 1080p render took about 15 seconds per frame on the M1 in the recorded run.
取舍 记录中的 M1 渲染一次 1080p 画面约需 15 秒每帧。
-
Share a shot queue between two machines
The Mac works from the start and Windows from the end. A claim file lets only one worker take each shot.
Trade-off Render coordination depends on the local network and Windows machine.
取舍 双机协作依赖局域网和 Windows 渲染机。
06 · Interface evidence
The renders and the finished edit
These samples show what the pipeline produces at different stages, from Blender stills and Kiko’s pose sheet to the captioned Short.
Blender renders only the 3D shot; Remotion lays the Kiko inset, the shot label and the bilingual captions on top, timed to the narration. Switch a layer off to see the 3D shot underneath.
07 · Results & verification
Production output and quality checks
The 20 November research snapshot counted 68 uploads, including videos scheduled for later release. Available timing files cover 67 videos and total about 103 minutes.
| Output | Count | Source |
|---|---|---|
| Long videos | 6 | Upload records |
| Shorts | 62 | Upload records |
| Recorded runtime | About 103 min | Timing files for 67 videos |
| Blender scripts | 115 | Blender script inventory |
Quality checks include narration comparison, two-pass loudness normalisation, per-shot brightness checks and six composition timeline tests. The final cut goes through human review before upload.
08 · Limits & next steps
What still needs a human check
Pronunciation still needs a human ear. Script approval and the final cut remain manual review points. The two-machine 3D queue depends on a local Windows renderer.