Questions tagged [libcamera]
60 questions
4
votes
1 answer
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)
libcamera build: v0.0.2+47-0684c373
The issue is…
Simon Banks
- 610
- 1
- 7
- 15
4
votes
1 answer
Inconsistent error using HQ camera
I have been having some issues using the HQ pi camera. I am running Rasbian 11, latest apt update 11 march 2022. I use libcamera-still to take images and I call this command using python subprocess.Open.
The problem I am encountering is an…
Oll
- 191
- 1
- 8
3
votes
2 answers
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):…
fghoussen
- 131
- 2
3
votes
2 answers
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. Last time I re-enabled the Legacy stack camera at…
user147054
- 31
- 1
- 3
3
votes
2 answers
MJPEG over HTTP camera streaming for libcamera?
I have (had) a little python based web server that I used with a Pi4 with a NOIR camera to periodically watch my workbench when I wasn't there. It is (was) using picamera, which it seems isn't going to be supported going forward. So is there an…
nsayer
- 400
- 1
- 4
- 13
2
votes
1 answer
Raspberry Pi Camera Motion Detection via simple script
I have started out my simple security camera project. I am able to take a picture and email it so far.
Allegedly most people are using PIR sensors. Do I need a PIR sensor for motion detection?
How can I detect motion with my "Raspberry Pi Camera…
Adam
- 31
- 2
- 4
2
votes
0 answers
Error compiling libcamera-apps in buildroot
I'm currently working on integrating libcamera-apps into a Buildroot environment for a Raspberry Pi Zero 2W. My end goal is to successfully run the uvc-gadget while utilizing libcamera for camera functionality. However, I keep running into a…
Elias
- 21
- 2
2
votes
0 answers
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 Qt6.
robotanical
- 45
- 1
- 7
2
votes
2 answers
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:
libcamera-vid -t 0 -g 10 --bitrate 4500000…
Patrick Hennessey
- 19
- 1
- 3
2
votes
0 answers
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
raspivid -t 0 --width 1280 --height 720 -o – | nc…
Daniel Franco
- 29
- 4
2
votes
1 answer
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 the Raspberry Pi Imager and all packages upgraded…
Willem Ellis
- 263
- 3
- 9
1
vote
0 answers
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 Preview Window with the actual image letterboxed…
vol.2
- 11
- 2
1
vote
1 answer
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 libcamera-hello --list-cameras the RPi does…
sumthin
- 11
- 1
1
vote
1 answer
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 OS - but I have Ubuntu 22.04 running on the…
Cameron Bauman
- 11
- 1
1
vote
2 answers
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 just fine for Raspberry Pi 4 with an OS (can't…
Yağız Alp Ersoy
- 109
- 1
- 2