This watches a folder and uploads every new video file to YouTube through the YouTube Data API v3. It's useful on Linux, where DaVinci Resolve has no built-in YouTube upload, but it works with any editor that renders to a folder.
What it does:
- It watches only the top level of one folder. Subfolders are ignored, so keep caches and recordings there.
- It waits until a file has stopped changing and no process has it open, then uploads it with your defaults (private by default).
- It runs
ffprobefirst and skips broken renders, such as a failed render where the video is much shorter than the audio. - Intermediate codecs (ProRes, DNxHD, CineForm, FFV1 and so on) are re-encoded to H.265 on the GPU with VAAPI into
YouTube encodes/. The encode is fully decoded to check it before upload. The intermediate is deleted only after a successful upload.