NX Witness server plugin: How to decode H264 video on NVIDIA GPU?
AnsweredHi,
My plugin in nxwitness-server_update-5.0.0.35270, NX SDK version "5.0.0 R11", OS Ubuntu 18.04
I get uncompressed frame in function: virtual bool pushUncompressedVideoFrame(const IUncompressedVideoFrame* videoFrame);
It works fine, but consumes a lot of CPU resources when decoding 2K, 4K, H264 video.
If i get compressed frame in function: virtual bool pushCompressedVideoFrame(const ICompressedVideoPacket* videoFrame), how to decode H264 compressed frame on NVIDIA GPU?
-
Hello,
how to decode H264 compressed frame on NVIDIA GPU?
At the moment, we don't have any ready to use code example on how to benefit from NVIDIA GPU.
You could try NVIDIA Video Codec SDK https://developer.nvidia.com/nvidia-video-codec-sdkCould you give more details on your scenario and objective, please? What the high resolution is used for in your case? What type of objects do you detect in video streams? We could recommend several performance tweaks.
0
Please sign in to leave a comment.
Comments
1 comment