OpenCV Issue Running GStreamer

Viewed 35

I try to use the following project: https://github.com/skaringa/emeocv

I use an raspberryPi 3B+ with raspbian 11.4 (debian 11.4)

The script can be called with the following command: sudo ./emeocv -c libcamerasrc -a -vINFO

When I call the above mentioned command I got this error:


[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Internal data stream error.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
INFO    : adjustCamera
Unable to init server: Could not connect: Connection refused
terminate called after throwing an instance of 'cv::Exception'
  what():  OpenCV(4.5.1) ../modules/highgui/src/window_gtk.cpp:624: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'

Aborted

Any Hints for me? Thanks in Advance.

0 Answers
Related