Skip to main content
Nguyen Duc Anh Tuan.
← All projects

Tool · Automation

Xưởng Tâm Sự (video automation)

Automatically edits Japanese YouTube videos: kanji subtitles synced to voice, music and motion. A 44-second video renders in 15 seconds.

Role
Concept · Design · Development
Year
2026
Tech stack
Python · FastAPI · FFmpeg · Whisper · BudouX
Video editor: preview with Japanese subtitles, processing steps and a timelineIllustration

Context

A heart-to-heart YouTube channel for Japanese viewers needs a steady release schedule, but hand-editing each episode — subtitles, music, transitions — took far too long.

Challenge

Subtitles had to keep the script’s exact kanji yet match the AI voice word by word — and the output had to be good enough to publish as is.

Solution

  1. Whisper provides word timestamps, then difflib aligns them with the original script to keep the kanji intact.

  2. BudouX breaks Japanese subtitle lines at natural phrase boundaries.

  3. FFmpeg builds 16:9 scenes with zoom, transitions and a dust overlay, and mixes voice, music and ambience.

  4. Runs locally in its own window, listening on 127.0.0.1 only to keep API keys safe.

Results

  • 15s

    to render a 44-second video

  • 1080p

    H.264, ready to publish

  • 89%

    test coverage (45 tests)

Want something like this for your shop?

Send a message
Next projectPOS Cafe Hà Nội Phố