Render Gstreamer output within QtWindow
-
I'm trying to render my gstreamer output stream to my qt window but when i run the program on my embedded device(iMX8) the stream is opening in a full screen mode and not within the qtwindow.
gst-launch-1.0 udpsrc port=5555 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264" ! rtph264depay ! h264parse ! v4l2h264dec ! autovideosink sync=falsebut when i ran the program on my PC then i was getting the output within the qt window only.
i even tried using glimagesink, still no desired output and even qtvideosink didn't display any stream.
-
@Srioff when I'm displaying a local stream with qtvideosink I'm able to view it within the window but when I'm streaming the soruce from another source I'm not able to view anything.
In this image I'm streaming a videotestsrc locally using qtvideosink and I'm using autovideosink for the stream from another source as qtvideosink is not displaying any stream
-
@Srioff said in Render Gstreamer output within QtWindow:
qtvideosink
I guess qtvideosink is from Qt Gstreamer which is very old, not developed anymore and has quite some bugs.
Try to use qml sink to play any gstreamer pipeline.
https://forum.qt.io/topic/155422/parallel-pipelines-with-qml6glsink?_=1712071475549