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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (499 bytes) Download Attachment |
Hi Matthew,
tnx for quick response. I opened ticked: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/764 Br, Dejan -- Sent from: http://gstreamer-devel.966125.n4.nabble.com/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |