White frames with v4l2 source & GstGLUploadElement
Nicolas Dufresne
nicolas at ndufresne.ca
Sun May 1 21:54:14 UTC 2016
Le dimanche 01 mai 2016 à 23:19 +0200, Gottfried Haider a écrit :
> One thing that strikes me as odd in this regard is for the V4L2 case,
> I am still see the message "Prepare texture for GLMemory", which
> comes from testegl.c:729 [1]. The testegl example is written to
> handle three types of buffers it gets handed
> to: memory:EGLImage, memory:GLMemory and GstVideoGLTextureUploadMeta.
> The GLMemory case is the only one that doesn't do the upload - it
> strikes me as odd that this would be the case for the v4l2src. Could
> it be that some other element in the pipeline is doing the GLUpload
> for us, but somehow being at odds with the context-sharing, or the
> fact that it is not Desktop GL?
V4L2src does not have any relationship with GL. The element that does
the upload is called glupload. What is likely your issue, is that
someone broke older GLES support while adding version 3 support. Can
you reproduce with simple pipeline like ?
gst-launch-1.0 v4l2src ! glimagesink
Nicolas
More information about the gstreamer-devel
mailing list