This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to display Video inside Qt widget

I have an application Running Qt on TI-DM814x board. On that Qt HMI I am trying to play both audio and video. When I am playing audio I dont have any problem. When playing Video I am not able to play inside  qt widget. Can any One give the solution to play the video file using GStreamer inside an qtWidget.  Can we use OMX_video sink or v4l2sink sink to achieve this functionality.

As far as my Understanding I have done enough R and D to implement this. But could not achieve this.

Any help will be appreciated.

Regards,

Ashwath

  • Hi Ashwath,

    Have you managed to solve this in the mean time?

    Regards,

    Adi.

  • Hi Adrian

    I have tried with v4l2sink. But with v4l2sink I am able to play the video with gstreamer pipeline on command line. But it fails to play the video inside widget. I was looking for X-Overlay feature to render video to widget by using Window-handle. If I do gst-inspect v4l2sink it is not having overlay support. Can you suggest me any idea how to proceed further or is it possible to add Overlay feature to existing V4l2sink.

    Thanking You,

    Ashwath Hebbar

  • @Adrian,

    We have an official support from TI.  We have posted some of the query and we have received answer to some of them. We are working with TI-Bangalore-INDIA.

    Regards

    Ashwath

  • Hi Ashwath,

    Then ask them for a solution they've recently implemented, by using their GSTOMX libraries and GPUVSINK (http://processors.wiki.ti.com/index.php/GPU_Compositing)

    This will get you a GStreamer pipeline with HW decoding and OpenGL rendering. It's quite efficient.

    It's not quite the QGLWidget solution that you are looking for, but it works okay, and if you have time, you can do the coding to get the video inside that QT Widget.

    Regards,

    Adi.

  • Hi Adrian,

    Thanks for your reply. Let me have a look at it. Hope it is similar to qtwidget display . If the gpuvsink has overlay then we can give a try.  I hope some thing can be done out of this.  Let me discuss with concerned people and let me see whether it will address the current problem. Let me get back to you in case of query.

    Thanks for your time and response.I am thankful to you.

    Regards

    Ashwath