VISUALKIT
Jul 2025 - Aug 2025 • LIBRARY
SNAPSHOT
A pure-Python video composition toolkit that converts JSON timelines into rendered MP4 output using OpenCV + NumPy, supporting media effects, transition pipelines, and animated subtitles for automated short-form content workflows.
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.