Package-level declarations
Types
Saves a trimmed video, or a photo with a photo of the empty wall, as a clip of the profile profileId: the files join the profile's sources, the clip joins profile.json, and its frames are extracted at the working height, so a bad range or a file ffmpeg cannot decode shows up now rather than at the first render.
The filmstrip stage: evenly spread thumbnails of a whole video, for trimming it. Cached under the source's content, the count, the height and the ffmpeg version, so opening a video again decodes nothing.
Brings a video or a photo into a profile's sources/ folder, which holds the originals Roto never modifies. The file is copied, whole or not at all; the original stays where it was. A file already in the folder, or an identical copy of one, is not copied again; a different file of the same name gets a numbered name, so nothing there is ever replaced.