Cuvid yuv444p decoding error


I’m trying to get a depth video compressed as losslessly as possible, so I’m using ffmpeg to compress the depth frames with “-vcodec libx264 -qp 0 -pix_fmt yuv444p”. I previously used yuv420p encoded videos and it worked fine.

When I use yuv444p cuvidDecodePicture returns 300 = CUDA_ERROR_INVALID_SOURCE. I tried this with the cudaDecodeGL as well, same result.

I see cudaVideoChromaFormat_444 is a supported input chroma format, so what’s up?