Questions tagged [picamera]
140 questions
1
vote
1 answer
Why is the resulting video half the time long, when doubling the fps from 30 to 60 in openCV and python?
my overall goal is to capture a video with the Raspberry Pi HQ Camera. When using the terminal and the standard raspivid command like raspivid -w 640 -h 480 -fps 90 -t 10000 -o video.h264 the resulting video didn't store the right infomation…

adroid
- 25
- 4
1
vote
0 answers
Native raspberry 64 OS raspivid: cannot execute binary file
OS:
Linux raspberrypi 5.10.35-v8+ #1417 SMP PREEMPT Fri May 7 17:44:55 BST 2021 aarch64 GNU/Linux
Reinstall doesn't work at all
Can't execute rasp:
/opt/vc/bin/raspivid: /opt/vc/bin/raspivid: cannot execute binary file
ffmpeg works fine.

Irina
- 939
- 1
- 8
- 26
1
vote
1 answer
Serve HLS with raspap/lighttpd rather than nginx
I currently serve audio/video from a raspberry pi using the picam project along with nginx to stream it as an HLS (Http Live Streaming) stream (as detailed in the project page). Thus, in /etc/nginx/sites-available/default I add:
location /hls/ {
…

floflo29
- 2,261
- 2
- 22
- 45
1
vote
4 answers
failed to enable port vc.null_sink:in:0(OPQV): ENOSPC
I am working on Raspberry Pi, and I have connected my Picam and tested it, it is running correct. But when my application it gives me error of.
ERROR:
Opening ASL Model!
/home/pi/Desktop/ASL/ASLClassifier.dat
SVM Loaded successfully..
mmal:…

Abdullah Mujahid
- 888
- 1
- 12
- 34
1
vote
0 answers
Raspberry Pi Camera: Disable image preview after camera.capture
I am using python to preview and capture images with a Raspberry Pi and the picamera library.
I am using the following code:
import picamera
import RPi.GPIO as GPIO
import time
import datetime
button_pin = 15
save_path =…

Simon Flückiger
- 13
- 2
1
vote
1 answer
Python PiCamera - How do I format the coordinates for the Exif?
I just got my first Raspberry Pi product last week. I got a Raspberry Pi Zero W, and a PiCamera. I created a program (to be ran each day by crontab) that will take a photo, store the photo locally, transfer a copy of the photo to a local server,…

Brett Chapin
- 95
- 8
1
vote
1 answer
Pi Camera exposure control using OpenCV
I am using a Raspberry Pi V2.1 camera. I wanted to control the camera’s exposure time, shutter speed, etc using OpenCV. I am following the OpenCV flags for video I/O documentation. The link is…

mevada.ravikumar
- 99
- 2
- 12
1
vote
0 answers
Annotating Text with PyCamera
For a project I'm mesuring the temperature with a termocouple.
Now I want to display the measured temperature in a video using PiCamera and the picamera library. There is a given function called annotate_text which is suitable of annotating text…

CR36
- 13
- 3
1
vote
0 answers
How to access PiCamera start_preview data from fb0 using python
I want to display picamera's preview on fb1 in raspberry pi 4.
My environment is 64-bit aarch64 self compiled system.
use vc4-fkms-v3d dtoverlay.
It seems that the preview image was direct draw on fb0 by GPU, someone suggest rpi-fbcp, but it can't…

Mouse
- 111
- 1
- 7
1
vote
1 answer
Raspberry Pi camera 101
After reading PiCamera documentation, couple of questions have come to my mind that I might need some help to be able to answer them?
Does Pi uses lossy compression or lossless compression?
Is data really copy to RAM as many times as shown in the…

Bert
- 29
- 5
1
vote
0 answers
How to set a timer to stop camera streaming through SocketServer on Raspberry Pi?
I'm trying to stream webcam on Raspberry Pi.
I found this code on picamera official documentation. The script uses Python’s built-in http.server module to make a simple video streaming server, which works fine for me:
import io
import…

Tad Gibson-Mickey
- 21
- 4
1
vote
1 answer
How to stop blurry images on Raspberry Pi Robot car?
I’m making a robot car using a Raspberry Pi. I’ve attached a raspberry pi camera on top of the car; the images are clear when the car isn’t moving but when it is moving the images are blurry. Is anyone aware of any solutions (either hardware or…

Ayush Patel
- 11
- 1
1
vote
0 answers
Stitching 6 video files into one 360 video in Ubuntu Linux
I used 2 raspberry PIs to record 2 different videos in sync using a OSC server so the videos are perfectly in sync and I send them to a Linux server so I can stitch these videos and produce one 360 video file so far I have tried doing that on 2…

Essam Gouda
- 125
- 1
- 12
1
vote
0 answers
Raspberry Pi stops running cron job after a few hours
My raspberry pi 4 is set to run a python script every hour that turns on some philips hue lights and takes a picture with the camera module. It worked perfectly for 26 days, then it stopped running. If I reboot it, it works again for a few hours,…

John
- 11
- 2
1
vote
1 answer
Closing previous instance of Pi camera
I have a Flask app with face detection script running and streaming it's output. If I load the app in a browser it works fine and showing video from pi. If reload the web page streaming fails and throwing an…

Shyam3089
- 459
- 1
- 5
- 20