qmlglsink Problem on ARM based NV Jetson TX1 - Cannot retrieve current context (NULL)

realBohd2 realsfg at gmx.de
Thu Aug 1 12:08:38 UTC 2019


Just to make sure, I'm replying myself here, as the mailing wrapped the email
in a HTML attachment...

Original message:

Hi all,
 
currently I'm trying to display a simple gstreamer stream within a QT
Application.
 
The stream basically does:
videotestsrc ! glupload ! qmlglsink
 
This is working fine on a x86 host machine but does not work on the target
ARM machine.
 
When running the binary there we get:
WARN glcontext gstglcontext.c:495:gst_gl_context_get_current_gl_context:
Could not retrieve current context
ERROR qtglutility gstqtglutility.cc:158:gst_qt_get_gl_wrapcontext: cannot
wrap qt OpenGL context (NULL)
 
This is caused when loading the qml file:
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
 
The main.qml features a GstGLVideoItem based on:
import org.freedesktop.gstreamer.GLVideoItem 1.0
 
May it be that the context simply isn't initialized at this moment?
Or can this be some kind of a version mismatch?
 
QMake version 3.1
Using Qt version 5.12.3
GStreamer 1.8.3
 
Remark: the qmlglsink is self-build from the 1.8.3 branch of the
gst-plugins-bad.
 
Any help is appreciated.
 
Thanks,
Bodo



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list