Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

Intel Media SDK with Qt GUI application

hardik_panchal
724 Views

Hello,

How can we use Intel Media SDK with Qt GUI application to decode and display multiple video streams on HDMI display?

We have Intel Atom 3940 integrated with Intel Media SDK for the purpose of hardware accelerated decoding functionality.

We are trying to build GUI application that decodes and display the video stream using Intel Media SDK.

0 Kudos
8 Replies
Gopika_Intel
Moderator
681 Views

Hi,

 

Thank you posting your query in Media (Intel® oneAPI Video Processing Library, Intel Media SDK) forum. You can integrate Intel Media SDK with Qt GUI. Please feel free to raise any specific questions while integration. We can help you with that.

 

Regards

Gopika


hardik_panchal
674 Views

Thank you @Gopika_Intel for your quick response.

  • Currently we are doing feasibility using samples provided with Intel Media SDK.
  • We are using sample_multi_transcode for decoding simultaneous video stream, doing composition of the decoded stream and rendering on the HDMI display. While doing this sample application utilizes overlay plan of DRM.
  • At the same time we are running a Qt application which draws windows(boundary boxes) for decoded stream. As per concept of DRM Qt application will use primary plan for rendering UI application.
  • While doing this either of them get issue acquiring DRM mastership.  

Question: How can we simultaneously render both Qt GUI application and decoded video stream on HDMI display using DRM device(/dev/dri/card0)?

Is it possible to share DRM mastership between this two? While running Qt application using DRM/KMS backend it acquires DRM mastership and never drops it until end of execution.

Is there any example where we can refer to?

Thank you.

Gopika_Intel
Moderator
620 Views

Hi,

Thank you for the information. But we are sorry to inform you that we are unable to assist you further as this query is out of Media SDK product scope. Please raise your query in https://github.com/Intel-Media-SDK/MediaSDK/issues .

We also found a thread which might be helpful for you.

Link : https://github.com/Intel-Media-SDK/MediaSDK/issues/1622

Regards

Gopika


Gopika_Intel
Moderator
605 Views

Hi

 

We haven’t heard from you in a while. Is your query resolved? Can we discontinue monitoring this thread?

 

Regards

Gopika


hardik_panchal
601 Views

Hi,

Unfortunately,  we have not got the solution for this problem yet.

Gopika_Intel
Moderator
531 Views

Hi,

 

The rendering function is out of Media sdk production scope. Please raise your question in Github so that they can help you out. Could you also give us a confirmation whether we can discontinue monitoring this thread?

 

Regards

Gopika


hardik_panchal
529 Views

Okay.

You can close the thread. I need to ask to other forum for the same.

Thank you.

Gopika_Intel
Moderator
524 Views

Hi,

 

Thank you for the confirmation. If you need any additional information, please submit a new question as this thread will no longer be monitored.

 

Regards

Gopika


Reply