Skip to main content

Questions tagged [libcamera]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
70 views

Could not load the Qt platform plugin

I'm using a Raspberry pi 5, I'm having issues running ultralytics and PyQt5 at the same time. The way I installed ultralytics and PyQt5 are different. First I used sudo apt install python3-pyqt5 , ...
Test Account's user avatar
0 votes
0 answers
45 views

RPi camera v3 IMX 708 12MP doesn't focus

I have a V3 IMX708 12MP in a RPi 4 w/Bookworm installed in a box for doing remote photos. It doesn't have a screen attached, it is managed via ssh and the photos are uploaded to a cloud. Before ...
dstonek's user avatar
  • 156
0 votes
0 answers
80 views

cannot get imx219 camera working on raspberrypi os bookworm running in pi 4b

When running libcamera-still list-cameras , the camera is listed. However libcamera-hello gives an error 'failed to acquire camera'. So does libcamera-still -o test.jpg. I have made some mods to /...
Ricardo Smythe's user avatar
1 vote
0 answers
39 views

rpicam Preview Window Scaling

Using a Pi5 with latest OS full install. Is there any way to make the Preview Window fullscreen, but maintain the pixel size and shape of the CCD? Essentially, I want to have black space around the ...
vol.2's user avatar
  • 11
1 vote
0 answers
51 views

Two cameras on RPi 5 taking the same path

When plugging two RPi cameras v2 in the RPi 5, and using the libcamera-hello --camera 0 -t 5000 command, both that and replacing the 0 with a 1 return the feed from the same camera. Upon checking with ...
sumthin's user avatar
  • 11
0 votes
0 answers
35 views

Issues with local TCP streaming only displaying first frame

I am using my pi 5 to stream video as part of a larger project but running into issues with the basic setup. On the Pi side I am running rpicam-vid -t 0 --listen -o tcp://0.0.0.0:8554 I can connect ...
Shovel_jockey's user avatar
0 votes
0 answers
123 views

How To Setup Pi Camera Livestreaming with ROS2 Humble on Ubuntu 22.04

I am trying to integrate a raspberry pi camera into my robotic platform running on ROS2 Humble Hawksbill on Ubuntu 22.04. It works fine with all of the built in libraries on the default raspberry pi ...
Cameron Bauman's user avatar
1 vote
2 answers
1k views

ModuleNotFoundError: No module named 'libcamera'

I have a Zero 2W and OS Lite 32-Bit inside. All I want is a python program that sends camera footage with UDP protocol and saves footage SD card inside as a video. So I wrote this program which worked ...
Yağız Alp Ersoy's user avatar
0 votes
0 answers
47 views

How do I access pixel data using rpicam-apps?

I have searched around for this alot, but found nothing (maybe my searching is thwarted). I can edit and use the post-processing-files in rpicam-apps, but I want to find the brightest pixel and just ...
Erik Thorvaldson's user avatar
1 vote
1 answer
663 views

Can't find libcamera-v4l2 on apt on Raspberry PI 4

I have been trying to run the following command: sudo apt install libcamera-v4l2 To no avail: admin@RegularPi:~ $ sudo apt install libcamera-v4l2 Reading package lists... Done Building dependency ...
Tristan F.-R.'s user avatar
1 vote
1 answer
1k 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
  • 11
0 votes
0 answers
81 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
  • 303
0 votes
0 answers
43 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
349 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
1 vote
0 answers
365 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
162 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
1 vote
1 answer
2k 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
  • 11
0 votes
0 answers
380 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
1 vote
0 answers
353 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
  • 11
0 votes
1 answer
300 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
2 answers
2k 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
1 vote
0 answers
812 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
-1 votes
2 answers
1k 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
282 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
2 answers
1k 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
299 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
1 vote
3 answers
5k 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
30 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
3k 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
3k 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
887 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
707 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
  • 287
1 vote
0 answers
931 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
600 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
152 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
2 votes
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
4k 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
197 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
2k 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
227 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
754 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
2 votes
1 answer
2k 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
1k 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
5k 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
7k 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
-1 votes
2 answers
270 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
0 votes
2 answers
3k views

Camera not working on Raspberry Pi 3B Running Debian Bullseye

Pi Model: Raspberry Pi 3B OS: Debian version: 11 (bullseye) Camera: Arducam Lens Board OV5647 I have connected my Raspberry Pi to my camera module and attempted to check its functionality with ...
Nat's user avatar
  • 19
0 votes
0 answers
300 views

Using the camera on 64bit vs. 32bit from Java

I have Raspberry Pi 3 B. And a camera module v. 2.1. I have installed the Raspbian OS 64bit, the latest - "bullseye" Tried to record some video in any way, and after some experimentation, I ...
Ondra Žižka's user avatar