imx6 QT5 and displaying live video

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6 QT5 and displaying live video

1,396 Views
jefflancaster
Contributor I

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?

0 Kudos
1 Reply

49 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos