Green frame output on modern PyTorch / CUDA — imageio.mimwrite RGB→YUV conversion bug

Author: karthnalCreated Mar 29, 2026Updated Apr 14, 2026

Environment Component Version OS Ubuntu 24 GPU RTX 3070 8GB CUDA 12.1 PyTorch 2.5 (cu121) imageio 2.37.3 Python 3.12 Symptom All output frames have a strong green cast. The entire video is green regardless of input content or mask region.