Meet some issues about video/x-raw(memory:NVMM) when use code jetson-utils in github

I use the code jetson_utils in github,video-viewer,simply pull the local 1920x1080 video and play it,but it seems the framerate drops from 24 to about 16 fps.So why this happend and how can I improve the framerate?And afterwards,I change the video/x-raw to video/x-raw(memory:NVMM) in gstdecoder.cpp,the framerate seems to be right.However,the video become a full green video.How to improve the framerate?My device is Jetson Xavier NX.And I have tested in Xavier and TX2,the condition is the same.

Hi @893793477, the appsink plugin used to access the frames isn’t setup for video/x-raw(memory:NVMM). I will have to look into it, but for now you can specify a lower resolution like so:

$ video-viewer --input-width=1280 --input-height=720 my_video.mp4