Search code examples
videocudagpudecoding

nVidia GPU Decode and Encode YUV422


I've created an application to decode(for now) mpeg2 vídeos.

Everything runs well when the video has YUV420 ChromaSampling(IMG1), but when in YUV422(IMG2) I just get a bunch of artifacts (IMG3).

I've search for a while and read posts saying that nVidia does not support 422, but this seams odd. Is there any way to go around this?

IMG1

IMG2

IMG3


Solution

  • In case of anyone else searches for this, here it goes:

    I kept digging and I submitted a ticket to nVidia Developer and got this response:

    Yes, it's a known limitation. The 4:2:2 mpeg-2 decode is not supported(Only 4:2:0 mpeg-2 is supported). Sorry for the inconvenience.

    So, basically using cuvid YUV 422 ChromaSampling is not supported.