raspberrypi / libcamera

Other
196 stars 74 forks source link

Libcamera problems on RPi4 Ubuntu #108

Closed yyusufcoskun closed 5 months ago

yyusufcoskun commented 5 months ago

Hello, I have multiple problems using Libcamera on my Ubuntu RPi4.

First of all, after installation, the command libcamera cannot be found. I need to use cam to be able to take photos, and I believe cam is only a test utility. Also, cam only works on my laptop's camera, not the RPi Camera v2.

Secondly, the RPi Camera v2 cannot be detected by using cam -l, even though a different package like ffmpeg detects the camera and I can take photos with it.

I'm not sure if this is the right place to post this, but I want to learn what is causing this.

I'm also a beginner so I might be making a blatant mistake. I'd appreciate the help.

naushir commented 5 months ago

Given this is on an Ubuntu OS, you are best off asking this question through their support channels. I am not sure I know what exactly gets packaged in their OS.

Alternatively you can use Raspberry Pi OS, and the cameras ought to work as all the relevant libraries are packaged in the OS.