Custom streamer pipeline in QML
-
I just remembered, GStreamer now provides a sink for QML. You should check it.
-
@SGaist do you have any example where qmlsink have been used inside gstreamer pipeline in qml file.
Actually my decoder is doesn't gibe RGB output its interleaved YUV format, which i am converting to RGB and that's causing too much delay.
Is there any way we can directly play interleaved YUV format in QML.
-
Did you already check that GStreamer example ?
Interleaved YUV is a bit vague as there are many variants. Which one are you using ?
-
From memory that one is supported directly by Qt Quick.
Which version of Gstreamer are you using ?
Did you instal all the plugin packages ? -
@SGaist said in Custom streamer pipeline in QML:
of Gstreamer are you using ?
I am using GStreamer 1.16.1. and Qt 5.13.2.
while running gst-inpect i don't find gmlglsink. I have installed all the plugins but dont know from which plugin this package will be available.I am using this pipeline:
MediaPlayer{
id: mediaplayer
source: "gst-pipeline: udpsrc port=11000 ! video/mpegts ! tsdemux ! h264parse ! omxh264dec ! videoconvert ! qtvideosink sync=false"It runs fine but very slow due to videoconvert . I want to avoid videoconvert and trying to find out alternatives. Because its being done in my embedded processor and its very slow.
-
Can you show the GStreamer packages that you have in your installation ?
-
@vicky_mac said in Custom streamer pipeline in QML:
module org.freedesktop.gstreamer.GLVideoItem
if vaapi is used in the pipeline on linux, install libva-dev