Gstreamer NVDEC compatility

Is NVDEC work only for specific GPU?

For NVDEC on desktop GPU(GeForce RTX, GeForce GTX), you can use VIDEO CODEC SDK

For NVDEC on TX2, Xavier, Nano, you can use gstreamer or tegra_multimedia_api

Sorry DaneLLL, could you please confirm if I got it right?

I’m using a RTX 2080 and I’m trying to achieve h264/h265 decoding in gpu. I’ve managed to build gstreamer’s plugin nvdec but every time I try to use it in gstreamer, I only retrieve green frames. This is a sample pipeline:

gst-launch-1.0 filesrc location="h264_looped_high.mp4" ! qtdemux ! h264parse ! "video/x-h264, stream-format=(string)byte-stream, alignment=(string)au" ! nvdec ! "video/x-raw(memory:GLMemory),format=(string)NV12" ! glcolorconvert ! "video/x-raw(memory:GLMemory),format=(string)RGBA" ! gtkglsink

From your reply I understand that I will never be able to use nvdec with gstremer to decode a video. I must switch to native VIDEO CODEC SDK code. Correct?

Yes, please use VIDEO CODEC SDK on RTX2080.