# Camera is recognised but no picture is captured

**URL:** <https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535>\
**Category:** OS Specific\
**Tags:** camera, linux\
**Created:** [July 28, 2022, 3:06pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535 "2022-07-28T15:06:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [July 28, 2022, 3:06pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/1 "2022-07-28T15:06:57Z")

</div>

Hello,

I just received my UVC camera module ([this](https://de.aliexpress.com/item/1005004214845338.html)) 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:

```auto
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:

```auto
[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:

```auto
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:

```auto
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

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [July 28, 2022, 7:39pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/2 "2022-07-28T19:39:12Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![JohnJohn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/johnjohn/32/37027_2.png) [@JohnJohn](https://forum.lightburnsoftware.com/u/JohnJohn)\
**Post date:** [July 29, 2022, 9:55pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/3 "2022-07-29T21:55:51Z")

</div>

This may be worth review:

> [@Linux 18.04 LTS + LB 0.9.20 - Camera LattePanda 5M or Laptop WebCam - get Black screen (Solved)](https://forum.lightburnsoftware.com/t/linux-18-04-lts-lb-0-9-20-camera-lattepanda-5m-or-laptop-webcam-get-black-screen-solved/31629):
>
> Hello, On My Dell laptop with Light burn 0.9.20 with Camera LattePanda 5M or Laptop WebCam, I get a Black screen on camera view. My Operating system is Xubuntu 18.04 LTS. the both camera are working well under Linux Xubuntu 18.04 LTS with the application Cheese and Camorama I ansered me because I found the solution : adding permission to camera sudo chown root:video /dev/video0 sudo chmod 660 /dev/video0

> [@Linux camera lens calibration black screen](https://forum.lightburnsoftware.com/t/linux-camera-lens-calibration-black-screen/40788):
>
> Linux POP-OS 20.04 lts Lightburn 0.9.24 Found issue while trying to set up camera Lens Calibration the Camera view window will only show a black screen. getting gst\_vaapi\_window\_x11\_new\_with\_xid: assertion ‘xid != None’ failed only work around so far is to sudo apt remove gstreamer1.0-vaapi which allows you to get video back to Camera view but the os complains about it needing the gstreamer vaapi for pop-desktop

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [July 30, 2022, 9:14am UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/4 "2022-07-30T09:14:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [July 31, 2022, 7:28pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/5 "2022-07-31T19:28:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [August 2, 2022, 4:00pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/6 "2022-08-02T16:00:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [August 6, 2022, 8:33am UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/7 "2022-08-06T08:33:31Z")

</div>

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](https://wiki.ubuntu.com/Releases)

---

<div class="post-metadata">

**Author:** ![Hye\_Maker](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/hye_maker/32/72215_2.png) [@Hye\_Maker](https://forum.lightburnsoftware.com/u/Hye_Maker)\
**Post date:** [August 30, 2022, 2:52pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/8 "2022-08-30T14:52:56Z")

</div>

Having similar issue… obs virtual camera shows available but when selected, no image. Can access streaming video via url and/or obs studio, but just on in lightburn.  
 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/a/d/add207552b950e455cbcad9ed969391bfe62f4f3.jpeg)

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [September 29, 2022, 5:15am UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/9 "2022-09-29T05:15:53Z")

</div>

Bump. Same problem with but with some additional info:

- Using Ubuntu 22.04 LTS
- Tried two cameras – Arducam 8MP USB with 150 wide angle lens – this works
- The camera I need to use: Arducam 16MP USB with 180 wide angle lens – this does not work in lightburn, but works in other apps just fine

Followed all suggestions on this thread, threads of links provided, and multiple other threads. I’m not sure if the issue is the 16MP, or video resolution etc… and as a software dev, makes me want to know a bit more about how the camera integration works with lightburn.

I’m worried about purchasing an “official” camera from Lightburn because it appears from other threads/discussions it may just have the same issues.

There are so many similar threads, and it’s not just an Ubuntu thing … so would love to see something “official” put out that goes into more depth with the challenges of camera integration or what’s being worked on etc… going to try the same camera with MacOS on a different computer and see if I have the same issues.

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 5, 2022, 1:47pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/10 "2022-10-05T13:47:01Z")

</div>

I definitely agree. I was on Ubuntu 16 LTS, but started having several issues, including my ability to install/update latest Lightburn … so I ultimately had to update my OS, and went to 20 then 22.04 LTS … now I have Lightburn updated and working properly except for the cameras.

I would (sort of) understand a decision to not support Linux … but given the target community, my guess is that there are plenty of people in this niche with Linux machines.

I’m going to try installing on my Mac to see if it works, and will only move to Windows kicking and screaming if I have to … but in going through the various threads trying to solve this problem it doesn’t appear to be limited to Linux.

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [October 12, 2022, 10:29pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/11 "2022-10-12T22:29:51Z")

</div>

Just for documentation: No change with 1.2.03 (didn’t expect any changes, change log mentioned nothing like that).

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 13, 2022, 10:49pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/12 "2022-10-13T22:49:55Z")

</div>

**Update:** I tested the same cameras on MacOS and they work. So I am back to trying to troubleshoot the Ubuntu issues. Restated: the cameras work with other apps (e.g., Cheese, VLC, etc.) but do not work with LightBurn.

I do know that the camera issue (at least based on forum messages) seem to span multiple OS platforms – and best I can tell, may be related to elevated security restrictions.

With the newer versions of Ubuntu, it would be great to have the app installer work with the Settings → Applications UI that allows users to enable access to the cameras.

So far any Google results looking for solutions all provide ways to test camera use, which pass those tests… but can’t seem to figure out how to provide LightBurn security access to the camera.

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [October 13, 2022, 11:18pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/13 "2022-10-13T23:18:26Z")

</div>

To test the security idea I’d just run Lightburn with sudo.  
No change, one camera still only a black picture. Same camera piped through the loopback-device works.

But got a new(?) error running with sudo, might help the devs:

```auto
Vend: 7531 Prod: 2
res: 640 x 480
res: 800 x 600
res: 1280 x 720
res: 1600 x 1200
res: 1920 x 1080
res: 2048 x 1536
res: 2592 x 1944
res: 3264 x 2448
default: -1 x -1
Setting res: 3264 x 2448
CameraBin error: "Internal data stream error."

```

Error sounds like, that Lightburn is very “strict” regarding to some encoding settings or something like that.

Edit: Observed something else: if I started my “ffmpeg to loppback hack” after lightburn had created the list of available cameras (so that I can select the UC60) a picture is shown, not a black one.  
So I guess that there is a step missing during the “connection setup”, and some cameras are not happy in that case.

Edit2: Have created a short video, but can’t upload the file (6MB webp) here.

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 14, 2022, 3:27pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/14 "2022-10-14T15:27:59Z")

</div>

On my end I tried adding the logged in $USER to the video group: shown below, but did not resolve the issue. Also tried adjusting the permissions on the /dev/video\* end points to allow full ‘rw’ but that didn’t work either.

```auto
cat /etc/group | grep video
sudo usermod -G video -a $USER

```

I also considered the codec option, but kind of ruled it out at some point, but by now its all a bit of a blur trying to resolve … and it may still be an issue.

I also tried different OS GUIs, Wayland, Gnome, Gnome Legacy, XOrg, all to no avail.

My latest option seems to be dumping more money in and getting a Mac Mini or something and abandonding Linux for my lasers/3D printers … but just such a pain… would realy like to find a solution.

I’m still on the “security” thread thinking that the app installer may need updating to enable security options for the camera … or at least going down that path would lead the devs to the solution.

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [October 14, 2022, 3:51pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/15 "2022-10-14T15:51:40Z")

</div>

If that helps I could try to provide a pcap-file from USB while using lightburn and ffmpeg/smile/whatever so the differences can be analyzed.  
Would just need some contact information.

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 15, 2022, 3:57pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/16 "2022-10-15T15:57:27Z")

</div>

Not working yet, but more potential clues:

- The issue crosses many distros and apps on later Linux kernels/OS versions
- I was (somewhat) able to replicate the issue using Guvcview

> sudo apt install guvcview

Opening Guvcview and selecting camera via Video Controls, the image was initially black, and I believe it was on the lowest resolution.

Then by adjusting the resolution the camera started working.

So next “hypothesis” or area to explore is understanding how Lightburn (or underlying library) chooses the stream settings – and whether it might be possible for Lightburn to add UI for selecting resolution, framerate and camera output settings.

---

<div class="post-metadata">

**Author:** ![killrob](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/k/5f8ce5/32.png) [@killrob](https://forum.lightburnsoftware.com/u/killrob)\
**Post date:** [October 15, 2022, 5:47pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/17 "2022-10-15T17:47:12Z")

</div>

to show the video here, upload it on youtube then post here the link

---

<div class="post-metadata">

**Author:** ![doppelgrau](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/doppelgrau/32/46147_2.png) [@doppelgrau](https://forum.lightburnsoftware.com/u/doppelgrau)\
**Post date:** [October 15, 2022, 6:18pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/18 "2022-10-15T18:18:09Z")

</div>

[![](https://img.youtube.com/vi/QypVLqgHyrI/maxresdefault.jpg "Lightburn camera malfunction") ](https://www.youtube.com/watch?v=QypVLqgHyrI)

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 15, 2022, 6:32pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/19 "2022-10-15T18:32:27Z")

</div>

Additional investigations on this path – does lead me to belive that what is needed is additonal UI settings in LightBurn to adjust camera settings, like in Settings / Camera Resolution area. (again, not 100% but after countless hours discovering this is a common problem for apps and cameras on Linux)

Below are some tools and updated info:

using dmesg able to see error message “cannot get freq at ep 0x84” – exact value at the end changes by camera. You can see this “live” by using:

> sudo dmesg -H -L --follow

then physcially disconnect/reconnect camera on USB to see kernel hardware messages for the device. I have multiple cameras, not all display the same error message – and none of them work, so that’s not the “exact” problem – but it was searching for answers on the error message that got me down this path.

My basic summary of solutions I found all seem to follow the basic path of (a) using v4l2-ctl, uvcdynctl, and/or setting modprobe config files to try and permanently set camera options. or (b) using applications such as guvcview, cheese, vlc, etc… where the solution is to modify the camera settings – which does “resolve” the problem for each camera.

So … I’m no longer on the “security” path … and now leaning towards the need for the application to be able to select/set camera options for resolution, format, frame rate, etc.

As pointed out earlier, the same cameras work on Mac (and I’d presume Windows) – but I believe this has to do with how the underlying Linux UVC Video driver exposes the camera to the OS. Older Ubuntu/Linux platforms probably worked… but likely had less camera compatibility (just speculating) … and UVC video driver increased camera interoperability/compatibility … but requires different (more) app controls/logic.

---

<div class="post-metadata">

**Author:** ![cpachmayr](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/cpachmayr/32/35093_2.png) [@cpachmayr](https://forum.lightburnsoftware.com/u/cpachmayr)\
**Post date:** [October 15, 2022, 6:44pm UTC](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535/20 "2022-10-15T18:44:36Z")

</div>

Your initial use of ffmpeg and the video add (in my opinion) credence to what I just posted regarding selection of the resolution etc… in this case, you’re doing it through ffmpeg, but what would be needed for LightBurn would be the option to set these in the UI.

@JohnJohn : Is it possible to get some insight into the underlying camera connection library, code, or something so we can provide additional troubleshooting, investigation or help in debugging?

From research the forum threads, it sounds like (at least at one time) LightBurn was being written in something that is compiled cross platform – but I don’t know what it’s written in to know whether I am able to help… but certainly happy to at least do the legwork to keep pointing in the right direction.

Addendum: Found this topic, and there are others, but hoping to use this to help build the case that the UI would be helpful as it may be a factor in other OS platforms as well – and at the very least – would be useful to have better control over camera settings/options.

> [@Camera Black in LightBurn, Done the list still no image](https://forum.lightburnsoftware.com/t/camera-black-in-lightburn-done-the-list-still-no-image/78985):
>
> I’m using OSB Virtual camera on Windows 10 Home. Took a bit of work, but got a spare iPhone to work as an IP camera… Shows in OSB and in all other apps, but LightBurn. LightBurn does detect the OSB Virtual camera, just has a black screen. I have done all the checks from that list that’s constantly posted. LightBurn still isn’t on the list of apps to give camera access to. Allow desktop apps is ON. LightBurn has been set to run in Windows 8 compatibility mode. I compiled some screenshots here

I may come back and update further with additional threads that all deal with “no camera image” but where the camera works in other apps on the same OS.

[Next page](https://forum.lightburnsoftware.com/t/camera-is-recognised-but-no-picture-is-captured/72535.md?page=2)
