Dear,
We use MIPSDK to receive video sources and analyze them. Can we use the NVidia GPU for decoding? If so, please provide guidance.
Dear,
We use MIPSDK to receive video sources and analyze them. Can we use the NVidia GPU for decoding? If so, please provide guidance.
By using the MIP library classes you are automatically using “hardware acceleration” which is the term Milestone have used for using GPU for more efficient decoding.
I will quote from a very old knowledge base article which will also mention some classes:
In the MIP SDK 10.0a (2016), JpegLiveSource and BitmapLiveSource use hardware acceleration.
In the MIP SDK 10.2a(2016R2) the ImageVíewerControl was updated to support hardware acceleration also.
When receiving video using MIPSDK2024R1 in a site where XProtect 2018R1 Professional has been deployed, can GPU decoding be used?
Yes, for all MIP SDK based applications newer than 2016R2, the Hardware Acceleration is used.
TIP, you can see how it is used if enabling “Video diagnostics overlay”
You can see how to do this in the ImageViewerClient sample, in the _diagnosticsCheckBox_Click method.
Ref. PlayerDiagnosticLevel
Sample is available here.
If troubleshooting Hardware Acceleration and the used GPU it might be a good start to see this in the Smart Client. If using Smart Client to investigate if Hardware Acceleration is used there are instructions on how to enable the Video Diagnostics Overlay here.