# Background removal worker for a remote machine with an NVIDIA GPU. matte.ts copies this script to # the remote machine together with the camera track and runs it in a temporary directory that holds # in.webm. It runs the same Robust Video Matting model as the local path, through onnxruntime with # the CUDA execution provider, and writes out.webm with the ffmpeg arguments given in the spec, so # the result matches a local run. Stage changes and progress are reported on stderr as # "takes:stage