Questions tagged [libcamera]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

OSError: libmmal.so: cannot open shared object file: No such file or directory

I have a raspberry pi4 and i was trying to capture the camera output. Here's the code: from picamera import PiCamera camera = PiCamera() camera.start_preview(alpha=192) on interpreting this gives ...
Roopesh's user avatar
0 votes
0 answers
7 views

How to see rpicam-hello window when connecting via ssh from a mac

Is it possible to see the resulting window when running rpicam-hello when connecting via ssh to the pi from macos 14?
Human's user avatar
  • 293
0 votes
1 answer
8 views

How do I run picam?

I am trying to use picam on Raspi 5 with an atteched camera module and I get the following error: /home/myUser/picam/picam: error while loading shared libraries: libcamera.so.0.1: cannot open shared ...
Human's user avatar
  • 293
0 votes
0 answers
22 views

Raspberry pi zero w with zerocam

I am trying to take an image with the zeroca but when i use command raspi still it returns this massage "ERROR: the system should be configured for the legacy camera stack"
Yasmin de Raay's user avatar
0 votes
0 answers
70 views

RPI4B OV5647 Camera black screen!

Hi i recenlty bought a camera for my RPI4B but for some reason it's not working, whenever i enter libcamera-hello or rpicam-vid i get this error new@raspberrypi:~/rpicam-apps $ rpicam-vid [0:13:59....
user21184434's user avatar
0 votes
0 answers
68 views

How can I take high resolution videos with rpicam-vid?

I want to take a video from my dual camera, using rpicam-vid. The desired resolution is 3200 x 1300 I have tried using h264 but as commented here and also here The h.264 encoder is limited to ...
KansaiRobot's user avatar
0 votes
0 answers
48 views

Can't get rpi camera module v3 working on my rpi 0w

Is there a specific command that can tell if I even connected the camera CORRECTLY to my rpi (so hardware issue can be ruled out)? Using this command it seems the rpi is detecting the camera on ...
Steven Even's user avatar
0 votes
0 answers
1k views

Gstreamer and Raspberry Pi 5

For a couple of days I'm trying to make the gstreamer work on my new RPI5 PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION=&...
Gnioco's user avatar
  • 1
0 votes
0 answers
89 views

Using Camera Module V3 NoIR as Night-vision Camera

I have recently purchased a Rasberry Pi Camera module V3 NoIR wide lens to monitor the night-time activity of my pet. I have tried to capture video using libcamera and Picamera2 in dark(near-pitch ...
shom's user avatar
  • 1
0 votes
0 answers
33 views

cameras not found after rebooting

I'm using raspberry pi 4 with Arducam quad camera kit and HD-Weitwinkel cameras. The cameras are not found when I reboot raspberrypi. However, when I reinstall raspberrypi os bullseye legacy, the ...
noobme20's user avatar
0 votes
0 answers
238 views

Best way to create Docker image to run on Raspberry Pi4/Debian12 Bookworm using libcamera

What is the best way to build and run a Docker image on a Raspberry Pi 4B (4GB) so I can run the latest version of libcamera. I have put together a Dockerfile based on the feedback from Error in ...
jono2010's user avatar
  • 101
0 votes
0 answers
206 views

libcamera-hello: how to know the actual device used?

libcamera-hello: how to know the actual device used? The --list-camera option gives: $ libcamera-hello --list-camera Available cameras ----------------- 0 : imxXYZ [wxh] (/base/soc/i2c0mux/i2c@1/...
fghoussen's user avatar
  • 131
0 votes
0 answers
211 views

gstreamer problem

I want to try gstreamer to do live video streaming with VLC player. Raspberry pi 4 model B. Bookworm OS, 32 Bit Linux raspberrypi 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05)...
DM 256's user avatar
  • 1
0 votes
1 answer
174 views

unable to build libcamera and libcamera-apps

A very similar question was asked 8 days ago, but my issue is different. I get meson.build:3:0: ERROR: Options "raspberrypi" are not in allowed choices..." I get the impression there is ...
Petr's user avatar
  • 117
0 votes
0 answers
90 views

libcamera installation not working on "meson setup build"

I am using Lubuntu on a Raspberry Pi 3B and trying to install libcamera following the instructions here: https://libcamera.org/getting-started.html After downloading the libcamera.git repository and ...
user279043's user avatar
0 votes
2 answers
908 views

Unable to build libcamera-apps

im not able to build libcamera-apps on my system. Hardware: Pi 4 B OS: Debian GNU/Linux 11 (bullseye) I fowllowed all the steps in this Docu: https://www.raspberrypi.com/documentation/computers/...
Schlörn's user avatar
0 votes
0 answers
321 views

Rapsberry Pi Camera v3 issues

I want to make a Rpi4 8GB livestream 2 camera feeds over 4G (SIM7600X module). One camera is a generic action cam and the other one is a PiCamera v3, which I have issues with. I'm running Raspbian ...
ch1kbr3_ 2307's user avatar
1 vote
0 answers
548 views

libcamera-vid fails to operate in higher resolution

I try to run libcamera-vid with several camera modules at higher resolutions, but fail. Calling libcamera-still works as expected. The behavior can be reproduced with several modules with OmniVision ...
Twonky's user avatar
  • 133
0 votes
0 answers
316 views

Camera preview through X11 using --qt-preview not working

Connected from my desktop host via ssh -X to my Raspi 3B, I assumed that libcamera-hello --qt-preview would create a preview window on my desktop. But it is not. Instead, Made DRM preview window is ...
Twonky's user avatar
  • 133
0 votes
0 answers
125 views

Freenove Camera not able to interface with Raspberry pi 4 + Ubuntu 20.04 LTS

I am trying to work on a project where I want to use ROS. However, I found that for using ROS Noetic, I will need to install Ubuntu 20.04 on my Raspberry pi 4. Now, I bought a camera module (Freenove ...
Inderjeet's user avatar
0 votes
1 answer
329 views

How to handle shots with Picamera2?

I'm looking for code to handle shots with Picamera2. I want: Take photo with the camera Show plan on screen for x seconds Save photo as jpeg image. I try the code below but can't find how to adjust ...
Mon Pelaud's user avatar
-1 votes
2 answers
687 views

ImportError: cannot import name 'ControlType' from 'libcamera' (unknown location)

I'm relatively new to Raspberry Pi and I am having trouble running a python code on raspberry pi. The code I'm trying to run is as shown below: import cv2 from picamera.array import PiRGBArray from ...
Bobby's user avatar
  • 1
0 votes
1 answer
924 views

writing my own libcamera-app

I used to be quite an experienced c programmer but, just after cpp appeared, we all switched to java. Now I am rather lost with make, cmake, ninja, git, pip3, meson ... It makes dealing with java's ...
Petr's user avatar
  • 117
0 votes
0 answers
167 views

Libcamera-still got fixed blurry image problem after increasing cma , but Picamera2 still giving blurry image

I'm using this raspberry pi zero 512mb ram. I've successfully connected the arducam 64mp camera and it's capturing 4kx3k resolution fine , after I changed the cma from 265m to 400m the libcamera-still ...
Swarnarup Bhunia's user avatar
0 votes
0 answers
119 views

RPi Bullseye: libcamera-jpeg does not write to USB drive, while libcamera-vid does

I'm running a Python script on a Raspberry Pi 3 B+. This script automatically takes video and stills using the Raspberry Pi camera and should write it to an external USB drive. I've mounted a USB ...
Bert's user avatar
  • 1
0 votes
1 answer
196 views

How to crop output from the 5MP RPi v1 camera

I'm scanning QR codes with a RPi Zero and a RPi camera v1 (5 MP, ov5647 sensor). The camera has a fixed focus, which means that QR codes closer than about 40-50cm tends to become fuzzy because of the ...
Elias Naur's user avatar
0 votes
0 answers
836 views

Recording high-framerate video with libcamera-vid, camera module v3 and rpi 3B

UPDATE: According to this issue, it seems that 120fps with the camera module v3 is only possible with a RPI 4, so this kind of answer my question. I'm not sure how to handle this case (self-answering ...
FiguredIT's user avatar
1 vote
0 answers
213 views

Example of libcamera with Qt6 in c++?

I'm trying to build a Qt app on my RPi4 using libCamera in c++, but I keep having build/compile issues. Are there any examples of using libCamera in a Qt app in c++? I'm using Raspbian bullseye, and ...
robotanical's user avatar
0 votes
2 answers
3k views

Streaming straight from libcamera-vid to RTMP on Pi Zero 2 W: FFmpeg not needed?

I was able to figure out all of my libcamera stream settings needed to stream video from my Camera Module 3 and audio from a USB microphone in my RPi Zero W 2 straight to YouTube, which is as follows: ...
Patrick Hennessey's user avatar
1 vote
0 answers
27 views

Download the streaming video in server

In order to stream video over the LAN, I used a Raspberry Pi Zero W. I used this MJPEG server code to stream the video over the LAN. [mpjpeg streaming program] 1 Currently, I want to download and save ...
Sureshkumar's user avatar
1 vote
2 answers
2k views

Trouble with polkit-agent-helper-1: error responce to policykit deamon

Entire error message: ninja: Entering directory `build' [1/2] Installing files. Installation failed due to insufficient permissions. Attempting to use polkit to gain elevated privileges... ==== ...
robotanical's user avatar
2 votes
1 answer
1k views

How to fix the libcamera error 'Could not open any dmaHeap device'

I've two Raspberry PI V2 cameras connected to my Raspberry Pi compute module 4 carrier. The OS is (64bit) Bullseye 11 kernel is 5.15.76-v8+ libcamera-apps build: 9c5d3191b3f4 02-12-2022 (20:10:40) ...
Simon Banks's user avatar
1 vote
1 answer
837 views

Raspi camera module V3 with Octopi

Recently purchased raspberry pi camera module 3 NOIR. My plan was to use it for octopi (octoprint), however, i tried my best but couldn’t make it work, and followed many of pages on net but no result (...
Habil Hadi's user avatar
1 vote
1 answer
560 views

What are the requirements for the new Camera V3 module on Debian Buster?

I am currently trying to get the Camera V3 module up and running on Debian Buster. I already managed to get it running with libcamera which I downloaded and compiled from source, so the connection and ...
rdmueller's user avatar
  • 277
1 vote
0 answers
851 views

Raspberry Pi Camera Error: Unicam Has Timed Out

I have been trying to get my Raspberry Pi camera to work for a while now. Probably every two weeks or so I would fire up the Raspberry Pi to convince myself that something changed but whatever I try, ...
Nathan Montanez's user avatar
3 votes
2 answers
465 views

Raspberry PI 4 B 8Gb running 2 ov9281 cameras with camarray hat: ERROR: *** no cameras available ***

I have a Raspberry PI 4 B 8Gb. I have this kit (2 ov9281 cameras with camarray hat): https://www.uctronics.com/arducam-1mp-2-stereoscopic-camera-bundle-kit-for-raspberry-pi-nvidia-jetson-nano-xavier-...
fghoussen's user avatar
  • 131
0 votes
0 answers
129 views

Error while getting Full-Bayer-Layer data using Libcamera-raw

I'm trying to get full bayer layer data of Pi-Camera V2 (NoIR). I just followed the official doc. libcamera-raw -t 2000 --segment 1 -o test%05d.raw Above command produces .raw files with each size of ...
Garid's user avatar
  • 101
1 vote
0 answers
2k views

Stream video from the Raspberry Pi camera over a local network in Bullseye 64-bit

I open 2 tabs of Terminal in my Ubuntu Desktop. In Terminal tab 1 I run netcat -l -p 5000 | mplayer -fps 60 -cache 2048 - and in Terminal tab 2 I log in RPi 3B+ with Buster 32-bit via ssh and run ...
Daniel Franco's user avatar
1 vote
1 answer
3k views

legacy camera not detected, bullseye

I have a problem concerning my raspberry pi camera version 2.1. The camera is supported, enabled but is not detected. I'm working with a Raspberry pi 3B+. I'm certain that I have plugged in my camera ...
raspberry_101's user avatar
1 vote
0 answers
148 views

Setting up a camera to record in a way that won't be corrupted by unexpected shutdowns

Hi I am setting up a pi to record effectively continuously with 24 1 hour videos recorded in a day. Automating this recording with systemd is mostly working as intended but I was hoping to find a ...
Shovel_jockey's user avatar
0 votes
0 answers
1k views

Error in building libcamera - Debian 'Bullseye'

Very new to Raspberry Pi & Linux programming, have only been tinkering with it for the past month, so assume I know nothing. Context: I am using a custom 'lite' image from the Cluster Hat website ...
Matthew Banko's user avatar
0 votes
1 answer
204 views

'/dev/v4l-subdev1' node not created anymore for 16 MP Arducam with autofocus (IMX519 based) with Rpi 4B

/dev/v4l-subdev0 and /dev/v4l-subdev1 nodes used to be created before when booting up the Rpi with the ArduCam plugged in (via MIPI CSI-2 port). Now only /dev/v4l-subdev0 shows up, and I'm not sure ...
PeterGhimself's user avatar
0 votes
0 answers
571 views

unknown control 'rotate'

I have recently purchased a Raspberry Pi Camera Rev 1.3, and I'm trying to rotate it to 90 degrees, then its not able to rotate. Its just rotating it to 0 degrees or 180 degrees below is the command ...
Siddh Mistry's user avatar
1 vote
0 answers
1k views

How to update libcamera camera database

When I use libcamera-still et al. to access my waveshare OV9281-160 Mono camera I get warning messages like the following: [3:37:16.227335845] [26500] WARN CameraSensorProperties ...
Johannes Bauer's user avatar
1 vote
1 answer
1k views

ERROR: *** unrecognised codec libav ***

I'm attempting to run the sample command found here for streaming video data to an mp4 container using libcamera-vid and the libav integration. I have the latest Raspberry Pi OS Lite installed using ...
Willem Ellis's user avatar
0 votes
1 answer
882 views

How to get Python binding to recompiled libcamera?

I am trying to recompile libcamera, as I will be changing some stuff in it and I would therefore like to install it manually. The compilation and installation are successful, but I am not able to ...
arminveres's user avatar
1 vote
1 answer
3k views

How to add libcamera to pyenv

I am running a pyenv with 3.10.5 for a RPi 4 b. RPi OS version if important: pi@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" ... The pyenv was simply ...
Boooke's user avatar
  • 11
3 votes
2 answers
6k views

Libcamera apps do not work

I'm on Raspberry Pi OS Bullseye, using a Pi 3B. The error message is differing from the ones I could find on previous posts, and there are different fixes by changing dtoverlay in /boot/config.txt. ...
user147054's user avatar
0 votes
1 answer
2k views

How to run libcamera-still in python trough crontab?

I'm trying to make a time lapse using crontab to manage time intervals. The camera I use is an arducam Autofocus imx519. The libcamera-still command works normally when run via terminal. But when I ...
Pa Dalton's user avatar
0 votes
2 answers
228 views

Script running from terminal after setting pythonpath and running "thonny&" command, but not when thonny ide is opened directly

I am using a Raspberry Pi OS 64-bit to run a script that will capture an image. I have gone through installing the right packages for libcamera for this OS and can run libcamera apps using my terminal....
Uchechi Ugo's user avatar