> viditor
Describe a video edit as data, then build, render and publish it from the command line.
Objectives
- Make a video edit expressible as plain data, so it can be diffed, reviewed and generated by anything.
- Build, render and publish without touching a video editor's user interface.
Qualities
-
Dependency-free: standard-library Python plus an
ffmpegbinary. - Hard cuts with embedded chapters; duration, frame rate and resolution are read straight from the source container.
- Private-by-default upload; chapters travel with the video.
- The edit lives in text, so a change is a readable diff rather than an opaque project file.
Technical details
A small toolkit of scripts around one text file, with an optional YouTube upload path.
-
edition.jsonis the edit: a list of time markers, each kept or cut, with internal labels and public chapter titles. -
build_openshot.pywrites an OpenShot.ospproject and chapter files;render.pyrenders withffmpeg;upload_youtube.pypublishes through the YouTube Data API;mkvprobe.pyreads container properties. -
youtube_auth.pyhandles the OAuth desktop flow;--dry-runand--limitmake previews cheap.
Not publicly accessible; it is a command-line toolkit.