如何将ueyesrc缓冲区转换为opengl纹理?

如何将ueyesrc缓冲区转换为opengl纹理?,opengl,gstreamer-1.0,wayland,google-coral,usb-camera,Opengl,Gstreamer 1.0,Wayland,Google Coral,Usb Camera,我正试着和gstreamer在一个网站上合作 由于摄像头不是标准的v4l2摄像头,我在devboard上下载并编译了ueyesrcgst插件() 在我的应用程序中,我需要将框架作为opengl纹理,我一直在构建一个工作管道 到目前为止,我从相机中获取内容的唯一方法是将帧保存为jpeg: gst-launch-1.0 tee ueyesrc num buffers=10!JPEG!filesinklocation=ueyesrc frame.jpg ueyesrcgst-launch-1.0 ue

我正试着和gstreamer在一个网站上合作

由于摄像头不是标准的v4l2摄像头,我在devboard上下载并编译了
ueyesrc
gst插件()

在我的应用程序中,我需要将框架作为opengl纹理,我一直在构建一个工作管道

到目前为止,我从相机中获取内容的唯一方法是将帧保存为jpeg:

gst-launch-1.0 tee ueyesrc num buffers=10!JPEG!filesinklocation=ueyesrc frame.jpg

ueyesrc
gst-launch-1.0 ueyesrc提供的管道示例!视频转换!xImageSink
在我的情况下不起作用,因为设备上没有X-Server(但Wayland除外)

gst-launch-1.0 ueyesrc!视频转换!glimagesink
返回以下错误:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink: Failed to convert multiview video buffer
Additional debug info:
gstglimagesink.c(1741): gst_glimage_sink_prepare (): /GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink
Execution ended after 0:00:00.486558117
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
使用标准USB网络摄像头(Logitech HD Pro网络摄像头C920),
gst-launch-1.0 v4l2src!视频转换!glimagesink
工作正常

我真的不明白哪里出了问题,或者如何找到更多的线索,我想我错过了中间的转换步骤,但我不知道如何解决它。有人有主意吗

编辑1:这确实是一个转换问题。我通过在
videoconvert
caps:
gst-launch-1.0 ueyesrc exposure=2中指定格式来实现它!视频转换!视频/x-raw,格式=YUY2!glimagesink sync=False
尽管CPU使用率极高(iMx8的所有4个内核都超过90%),并且帧速率最高可达6.5 fps

您能否共享“v4l2 ctl--列表格式ext--设备/dev/video1”的输出?
sudo v4l2 ctl--列表格式ext--设备/dev/ueye/130_uuu2-1_u3370 VIDIOC_QUERYCAP:failed:设备/dev/ueye/130_u2-1_u3370的ioctl不合适:不是v4l2节点
您能否共享“v4l2 ctl--列表格式ext--设备/dev/video1”的输出?
sudo v4l2 ctl--列表格式ext--设备/dev/ueye/130_uuu2-1_u3370 VIDIOC_QUERYCAP:失败:设备/dev/ueye/130_u2-1_u3370的ioctl不正确:不是v4l2节点