SOLVED-USB camera not working on pi3

of 0.11.2 installed ok on 32 bit bullseye on pi3 A+

grabberExample compiles ok and launches but shows no video.
camera does work - I tested it with the application ‘cheese’

Any ideas?

output from log:

[notice ] ofGstVideoGrabber: Probing devices with udev...

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-codec-decode

[notice ] ofGstVideoGrabber: driver: bcm2835-codec, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84204000

[notice ] device /dev/video10 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-codec-encode

[notice ] ofGstVideoGrabber: driver: bcm2835-codec, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84204000

[notice ] device /dev/video11 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-codec-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-codec, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84204000

[notice ] device /dev/video12 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-codec-image_fx

[notice ] ofGstVideoGrabber: driver: bcm2835-codec, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84204000

[notice ] device /dev/video18 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-codec-encode_image

[notice ] ofGstVideoGrabber: driver: bcm2835-codec, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84204000

[notice ] device /dev/video31 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200002

[notice ] device /dev/video13 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200001

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200001

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84A00000

[notice ] device /dev/video16 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200002

[notice ] device /dev/video20 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200001

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84200001

[notice ] ofGstVideoGrabber: Found device :, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: bcm2835-isp

[notice ] ofGstVideoGrabber: driver: bcm2835-isp, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84A00000

[notice ] device /dev/video23 seems to not have the capture capability, (radio tuner/metadata device?)

[notice ] removing it from device list

[notice ] ofGstVideoGrabber: Found device 046d:0825, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: UVC Camera (046d:0825)

[notice ] ofGstVideoGrabber: driver: uvcvideo, version: 331596

[notice ] ofGstVideoGrabber: Capabilities: 0x84A00001

[notice ] ofGstVideoGrabber: Found device 046d:0825, getting capabilities...

[notice ] ofGstVideoGrabber: detected v4l2 device: UVC Camera (046d:0825)

[notice ] ofGstVideoGrabber: driver: uvcvideo, version: 331596

[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: bcm2835-isp

[notice ] 1: bcm2835-isp

[notice ] 2: bcm2835-isp

[notice ] 3: bcm2835-isp

[notice ] 4: UVC Camera (046d:0825)

[notice ] ofGstVideoGrabber: initGrabber(): selected device: bcm2835-isp

[notice ] ofGstVideoGrabber: initGrabber(): selected format: 256x256 video/x-raw RGB framerate: 30/1

[notice ] ofGstUtils: setPipelineWithSink(): gstreamer pipeline: v4l2src name=video_source device=/dev/video14 ! video/x-raw,format=RGB,width=256,height=256,framerate=30/1 ! videoscale method=2 ! appsink name=ofappsink enable-last-sample=0 caps="video/x-raw, format=RGB, width=320, height=240"

Ahh - just discovered it is showing up as device id=4

I don’t have a pi built-in camera, but it still sees some BRCM video devices
and tries to use one of those as it is the first device

hope this helps others!

glad you found the solution yourself!
Please edit the title to
Solved: USB camera not working on pi3