AnsweredAssumed Answered

imx6 QT5 and displaying live video

Question asked by Jeff Lancaster on Aug 24, 2015
Latest reply on Sep 1, 2015 by Joan Xie

I am trying to get live video to play on my custom board using Qt5 and gstreamer. When I try to run my simple video app, streaming a live rtsp source I get the following:

 

BTW, gst-launch rtspsrc location=rtsp://localhost:554/live.sdp ! fakesink works, so I have a good stream.

 

root@imx6dl-slimline:~# /usr/bin/qt5/qmlscene video.qml

(qmlscene:1357): GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'object != NULL' failed

No m_videoSink available!

(qmlscene:1357): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed

 

I see that  there is no m_videoSink available in my software set which is key to displaying the video stream

 

I poked around for some sort of patch that would fix my m_videoSink problem and found:

[meta-qt5] QtGstreamer recipe with patches for IMX6 support. - Patchwork

 

It looked like a reasonable solution. It took a little effort, but I manage to build it and install the qtgstreamer package on my system.

 

I still get the above assertion.

 

Any thoughts?

Outcomes