ALL PROJECTS
BACKENDOTHER

VISUALKIT

Jul 2025 - Aug 2025LIBRARY

Python library rendering JSON-scripted video timelines with effects and animated subtitles into MP4.

THE PROBLEM

Creating short-form videos from mixed assets (images, clips, subtitles, transitions) usually requires heavy editors or brittle scripts, making repeatable content production slow and hard to automate.

THE RESULT

Built and published a reusable Python library on PyPI (v0.1.4) that renders scripted videos through a deterministic JSON project format, with modular effects/transitions, subtitle animations, and configurable resize strategies.

HOW IT WORKS

VisualKit is a scriptable video-rendering library focused on automation rather than manual editing. The architecture separates concerns into media elements, transition elements, subtitle rendering, timeline orchestration, and video config validation. It supports both image and video assets, multiple motion/stylistic effects, a broad transition set, and subtitle animation modes (typewriter/fade/simple) with wrapping and background styling. The rendering flow loads a JSON project, builds a timeline, resolves frame-by-frame composition, applies transitions between adjacent media nodes, overlays subtitles, and writes encoded output via OpenCV VideoWriter. The package is distributed through PyPI and designed for extension by adding new effects, transitions, and animation branches.

TECH STACK

PythonOpenCVNumPySetuptoolsPyPI

TAGS

video-processingopencvsubtitle-animationtimeline-renderingjson-driven-pipelinemedia-effectstransitionspython-package

LINKS