webrtc and qmlglsink

Matthew Waters ystreet00 at gmail.com
Fri Jul 10 00:51:54 UTC 2020


Sounds like some ordering problem.

Can you produce a test case and attach to a new issue on gitlab?

On 9/7/20 11:33 pm, DejanCotra wrote:
> Hi all,
>
> Im using QT version 5.14.2 and working in parallel with Gstremer 1.14.5 and
> Gstremer 1.16.2.
>
> I adopted samples from https://github.com/centricular/gstwebrtc-demos to
> work inside QT application.
>
> with Gstremer 1.14.5 incoming video I handle with following pipeline:
> *queue ! videoconvert ! glupload ! qmlglsink
> and
> g_object_set(qmlsink, "widget", videoItem, NULL);*
>
> it was working perfectly.
>
> with Gstremer 1.16.2, first I get error which I solved by adding
> glcolorconvert to pipeline. When I added glcolorconvert I get just
> blackscreen.
> Than I change pipeline to:
> *queue ! videoconvert ! glupload ! glcolorconvert ! glsinkbin name=sinkBin
> g_object_set (sinkBin, "sink", qmlsink, nullptr);
> g_object_set(qmlsink, "widget", videoItem, NULL);*
>
> situation got little bit better for split second I could see my incoming
> stream and than I get Greenscreen.
>
> In addition I try with Gstremer 1.16.2:
> *qmlsink = gst_element_factory_make ("qmlglsink", NULL);
> filesrc location=~/test.mp4 ! qtdemux name=mux ! video/x-h264 ! avdec_h264 !
> glupload ! glcolorconvert ! glsinkbin name=qml
> GstElement * sinkBin = gst_bin_get_by_name (GST_BIN (pipe1), "qml");
> g_object_set (sinkBin, "sink", qmlsink, nullptr);*
> which is working perfectly.
>
> so what do I miss with Gstremer 1.16.2?
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200710/104eb7ed/attachment-0001.sig>


More information about the gstreamer-devel mailing list