Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Use Media SDK HW accelerated MJPEG decoder in Windows Desktop application

haim_a_
Beginner
443 Views

Hello

I'm using Intel Media SDK for decoding MJPEG frames from a Webcam

I'm using the MFXVideoDECODE class (libmfx.lib)

The performance seems to be as normal decoding (ipp) but according to the log file it is using the hardware (Intel HD Graphics) acceleration.

How can I achieve better performance?

I see that when the decoding is performed on Windows app store application (it uses mfx_mft_mjpgvd_64.dll) the performance is great.

Thanks

Haim.

0 Kudos
2 Replies
Anthony_P_Intel
Employee
443 Views

Hi Haim,

Its possible you are not actually using hardware acceleration.  When you initialize the session, the hardware library may be getting chosen but when you are actually executing decode, there may be reason that the hardware is not being used.

Can you capture a 'tracer' log of your desktop application and see if any "PARTIAL_ACCELERATION" warning messages?  (tracer tool is located in "<install dir>\Media SDK 2014 for Clients\tools\mediasdk_tracer" folder.)

You may also want to capture trace of the Windows app store application and compare parameters.

Its also possible you are using acceleration, but something about the code design is causing things to decode slow.  Please be sure you are decoding to NV12 surface D3D video memory.

 

 

0 Kudos
haim_a_
Beginner
443 Views

Hi Tony

I've captured both log files of our desktop application and Windows app store application - please find attached

Both log files are taken from the same platform

Can you please look over and advise?

Thanks

Haim

0 Kudos
Reply