Getting this error,
xvfb-run ./GStreamerOpenGLBlend
GST_ARGUS: Creating output stream
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function initialize(), line 93)
(Argus) Error BadParameter: (propagating from src/eglstream/FrameConsumerImpl.cpp, function create(), line 44)
Error generated. gstnvarguscamerasrc.cpp, threadInitialize:321 Failed to create FrameConsumer
Error generated. gstnvarguscamerasrc.cpp, threadFunction:242 (propagating)
Error generated. gstnvarguscamerasrc.cpp, waitRunning:204 Invalid thread state 3
Error generated. gstnvarguscamerasrc.cpp, execute:956 (propagating)
I am trying to setup the code ( camera capture in gstreamer + opengl render) . Please find the code attached opengl_gstreamer.zip (5.4 KB)
With videotestsrc pipeline working fine,
videotestsrc ! video/x-raw,format=RGBA ! appsink name=appsink0
Problem is when opengl coded added with nvarguscamerasrc
nvarguscamerasrc sensor-id=1 ! video/x-raw(memory:NVMM),width=1920,height=1080,framerate=29/1 ! nvvidconv ! video/x-raw,format=RGBA ! appsink name=appsink0
I don’t have monitor. Also my requirement is to capture 2 camera feed at same time and blend it in opengl by doing image calibaration applied my opengl code and stream it.