Camera is recognised but no picture is captured

Hello,

I just received my UVC camera module (this) and wanted to use it with lightburn 1.2.01.
Unfortunately it is recognized but no picture is shown. If I select the camera in the “camera control” everything is black, same in the lens calibration wizard.
The module itself seems to work, in other applications like “Smile” or OpenPnP it is recognized and a picture is shown.

The debug-log was not very helpful:

16:39:45.455  D: "USB 2.0 Camera: HD USB Camera" "/dev/video0"
16:39:45.455  D: "UVC Camera (046d:0825)" "/dev/video2"
16:39:45.455  D: "UC60 Video: UC60 Video" "/dev/video4"

dmesg output when connected:

[Do Jul 28 16:19:28 2022] usb 1-1: new high-speed USB device number 6 using xhci_hcd
[Do Jul 28 16:19:28 2022] usb 1-1: New USB device found, idVendor=0bda, idProduct=5805, bcdDevice=10.01
[Do Jul 28 16:19:28 2022] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[Do Jul 28 16:19:28 2022] usb 1-1: Product: UC60 Video
[Do Jul 28 16:19:28 2022] usb 1-1: Manufacturer: DSJ
[Do Jul 28 16:19:28 2022] usb 1-1: SerialNumber: 200901010001
[Do Jul 28 16:19:28 2022] uvcvideo: Found UVC 1.00 device UC60 Video (0bda:5805)
[Do Jul 28 16:19:28 2022] input: UC60 Video: UC60 Video as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input20

And v4l also reports the module without any obvious problems:

UVC Camera (046d:0825) (usb-0000:00:14.0-14):
	/dev/video2
	/dev/video3

UC60 Video: UC60 Video (usb-0000:03:00.0-1):
	/dev/video4
	/dev/video5

USB 2.0 Camera: HD USB Camera (usb-0000:03:00.0-2):
	/dev/video0
	/dev/video1

And for device number 4 the supported formats:

ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'MJPG' (Motion-JPEG, compressed)
		Size: Discrete 1920x1080
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 1600x1200
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 2048x1536
			Interval: Discrete 0.050s (20.000 fps)
		Size: Discrete 2592x1944
			Interval: Discrete 0.050s (20.000 fps)
		Size: Discrete 3264x2448
			Interval: Discrete 0.067s (15.000 fps)
	[1]: 'YUYV' (YUYV 4:2:2)
		Size: Discrete 640x480
			Interval: Discrete 0.033s (30.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.050s (20.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.100s (10.000 fps)
		Size: Discrete 1600x1200
			Interval: Discrete 0.200s (5.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.200s (5.000 fps)

Any ideas/hints how to get the camera going?
The other two cameras for my OpenPnP setup are working with lightburn.

Greetings
Johannes

Update: Quite sure there is some problem within lightburn.
If I loop the cam through ffmpeg it works, but that is not a real permanent solution. ffmpeg -f v4l2 -framerate 15 -video_size 3264x2448 -input_format mjpeg -i /dev/video4 -vf format=yuv420p -f v4l2 /dev/video6
My guess is, that Lightburn somehow gets confused, since the resulutions in mjpeg and raw are different?

This may be worth review:

1 Like

Thanks, will try that tomorrow and give some feedback if that helped.

Tried both, didn’t help.
The permissions were already correct and the second one didn’t make any changes. Neither installing the other plugins nor removing the vaapi one.

Any ideas or more (debug) information that can be helpful?

Got some response by email: Should try Ubuntu 16.04 since they didn’t support other versions.

Are you serous? That is SIX years old and more than one year EOL: Releases - Ubuntu Wiki