I want to access random frames in a H264 file and map the decoded images to a Direct3D texture. I am using the the NVIDIA VIDEO CODEC SDK. I've already found the NvDecodeD3D11 sample that was included in version 8.0 and have stripped it down to the bear essentials.
Basically I want to achieve the same idea as proposed in: decoding H264 from middle of the file.
My file can be IDR frames only, but can also include P-frames.
Easy access to the sample: Github
I understand the idea in the linked question, but I don't know where and how to implement this.