$ show Hao0321/video-autopilot-kit
The Video Autopilot Kit is a Python-based framework for automating the creation of vertical shorts (YouTube Shorts, Reels, TikTok) and long-form videos. It provides three isomorphic production lines (teaching long-form, vertical shorts, interview show) each built as a knowledge layer → mechanical gate → one-command driver. The system centers around an Editkin v4 durable workflow contract that serves as the single source of truth for planning, evidence binding, audit, atomic apply, and render. Key features include an image-first material system requiring verified source media, a unified filter library of 38 reusable presets, and privacy-first design that avoids storing personal data in the repository. The architecture is modular, with specialized modules for asset management, color grading, audio processing, motion assets, art direction, scene auditing, and quality assurance. Entry points include CLI-driven pipelines for shorts (`src/shorts_autopilot.py`), interviews (`src/interview_autopilot.py`), long-form (`src/longform_maker/`), publishing (`src/publish_hub_cli.py`), and competitor teardown (`src/teardown.py`). The system relies on external tools like `ffmpeg`/`ffprobe` for video processing and optional OCR libraries for competitor analysis, with cross-platform compatibility handled via `src/platform_compat.py`. Despite its strengths, the kit faces maintenance challenges due to hardcoded assumptions about directory structures and platform specifications, as well as dependency drift risks from external tools like ffmpeg and OCR libraries. However, the inclusion of a release manager and self-updater helps mitigate some of these risks by providing deterministic builds and update mechanisms.
The LLM identified 3 files worth highlighting for reuse:
Pure functional motion renderers based on Pillow that take declarative specifications to generate visual effects (grain, vignette, Ken Burns, SFX) without side effects. Demonstrates the pattern of separating effect logic from application state, making it highly reusable in any image/video processing pipeline.
Contains deterministic, frame-local image processing primitives for temporal, transition, and subject-style filters. Operates without file I/O, taking and returning image arrays, which allows for easy integration into various video processing chains. Showcases the skill of creating reusable, low-level building blocks for complex filter systems.
Centralized utility for video/audio operations using ffmpeg/ffprobe, providing safe subprocess handling, duration extraction, frame grabbing, and contact-sheet generation with UTF-8 safety on Windows. Encapsulates external tool interactions to reduce coupling and improve cross-platform compatibility, exemplifying a well-isolated utility module.