ofVideoGrabber crashes in initGrabber()

When running the videoGrabberExample it crashes with the following output

[notice ] ofGstVideoGrabber: Probing devices with udev…
[notice ] ofGstVideoGrabber: Found device 058f:5608, getting capabilities…
[notice ] ofGstVideoGrabber: detected v4l2 device: SHUNCCM2MP: SHUNCCM2MP
[notice ] ofGstVideoGrabber: driver: uvcvideo, version: 331787
[notice ] ofGstVideoGrabber: Capabilities: 0x84A00001
[notice ] ofGstVideoGrabber: Found device 058f:5608, getting capabilities…
[notice ] ofGstVideoGrabber: detected v4l2 device: SHUNCCM2MP: SHUNCCM2MP
[notice ] ofGstVideoGrabber: driver: uvcvideo, version: 331787
[notice ] ofGstVideoGrabber: Capabilities: 0x84A00001
[notice ] device /dev/video1 seems to not have the capture capability, (radio tuner/metadata device?)
[notice ] removing it from device list
[notice ] 0: SHUNCCM2MP: SHUNCCM2MP
[notice ] ofGstVideoGrabber: initGrabber(): selected device: SHUNCCM2MP: SHUNCCM2MP
[notice ] ofGstVideoGrabber: initGrabber(): selected format: 640x480 video/x-raw YUY2 framerate: 30/1
[notice ] ofGstUtils: setPipelineWithSink(): gstreamer pipeline: v4l2src name=video_source device=/dev/video0 ! video/x-raw,format=YUY2,width=640,height=480,framerate=30/1 ! videoconvert ! appsink name=ofappsink enable-last-sample=0 caps=“video/x-raw, format=RGB, width=640, height=480”
00:11:14: /home/staffan/Documents/projects/tech/audioprogramming/of_v0.11.2_linux64gcc6_release/examples/video/videoGrabberExample/bin/videoGrabberExample crashed.

I am running the latest OF on a Debian 11 Testing installation, and I can use my camera with Cheese.

Running v4l2-ctl --all:

Driver Info:
	Driver name      : uvcvideo
	Card type        : SHUNCCM2MP: SHUNCCM2MP
	Bus info         : usb-0000:00:14.0-10
	Driver version   : 5.16.11
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : SHUNCCM2MP: SHUNCCM2MP
	Serial           : 
	Bus info         : usb-0000:00:14.0-10
	Media version    : 5.16.11
	Hardware revision: 0x00000010 (16)
	Driver version   : 5.16.11
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : SHUNCCM2MP: SHUNCCM2MP
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	  Link 0x02000013: from remote pad 0x100000a of entity 'Extension 6' (Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 640/480
	Pixel Format      : 'YUYV' (YUYV 4:2:2)
	Field             : None
	Bytes per Line    : 1280
	Size Image        : 614400
	Colorspace        : sRGB
	Transfer Function : Rec. 709
	YCbCr/HSV Encoding: ITU-R 601
	Quantization      : Default (maps to Limited Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 640, Height 480
	Default     : Left 0, Top 0, Width 640, Height 480
	Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 30.000 (30/1)
	Read buffers     : 0

User Controls

                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=100 step=1 default=27 value=27
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=40 value=40
                            hue 0x00980903 (int)    : min=-2000 max=2000 step=1 default=-460 value=-460
        white_balance_automatic 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=100 max=300 step=1 default=100 value=100
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1 (50 Hz)
				0: Disabled
				1: 50 Hz
				2: 60 Hz
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4607 value=4607 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=16 step=1 default=7 value=7
         backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=1 value=1

Camera Controls

                  auto_exposure 0x009a0901 (menu)   : min=0 max=3 default=3 value=3 (Aperture Priority Mode)
				1: Manual Mode
				3: Aperture Priority Mode
         exposure_time_absolute 0x009a0902 (int)    : min=3 max=5000 step=1 default=156 value=156 flags=inactive

I have run the install_dependencies.sh and install_codecs.sh scripts from the debian directory.

I don’t know how to proceed from here, so any help appreciated! :slight_smile: