Awesome. Which encoder provides this? Can you pull it from cuvid?
We were originally looking at analyzing the h264 bitstream in software and getting the vectors out that way. Honestly I don't think that would be extraordinarily difficult, there's already code in ffmpeg to draw the motion vectors as arrows on the decoded frame, so that would be a good place to look if there aren't any preexisting apis or tools to extract them.
Good luck!
https://github.com/NVIDIA/video-sdk-samples/blob/master/Samp...