19
votes
What causes ENOSPC error when using the Raspberry Pi camera module?
I had the same problem. Comparing it to a number of other posts, the most likely answer is that two processes/applications are trying to access the PiCam at the same time. This can be ffmpeg streaming,...
16
votes
How can I enable the camera without using raspi-config?
edit your /boot/config.txt file and make sure the following lines look like this:
start_x=1 # essential
gpu_mem=128 # at least, or maybe more if you wish
disable_camera_led=1 # ...
14
votes
Sending Raspberry Pi Camera preview to a laptop running VNC Viewer
See @Andrew Wedgbury 's comment to the accepted answer. "
It is now possible to do this over VNC. If you're using the RealVNC server on the Pi, go to VNC options > troubleshooting and enable "...
14
votes
Raspberry Pi 3 has less than 1GB memory available at OS level
If the output of vcgencmd get_mem arm && vcgencmd get_mem gpu is
arm=880M
gpu=128M
This means that GPU is using 128M.
This can be verified/changed in raspi-config Advanced Options, although ...
12
votes
What causes ENOSPC error when using the Raspberry Pi camera module?
"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi ...
11
votes
RasPi Camera Board and Motion
to load the model after each reboot, use this setting
sudo nano /etc/modules
enter bcm2835-v4l2
exist and save the fle
sudo reboot
11
votes
Accepted
How to use raspistill on Ubuntu
I seem to be the only person in the entire world who wants to use a regular Linux distro on the RPi, since I could find very little documentation on how to setup the camera from scratch, but in case ...
10
votes
Modern way to stream H.264 from the Raspberry Cam
The options:
raspivid -t 0 -o - | nc -k -l 1234
raspivid -t 0 -o - | cvlc stream:///dev/stdin --sout "#rtp{sdp=rtsp://:1234/}" :demux=h264
cvlc v4l2:///dev/video0 --v4l2-chroma h264 --...
Community wiki
10
votes
Accepted
Raspberry Pi 3 has less than 1GB memory available at OS level
First of all, I give my best regards to @Milliways for suggesting to check 2 simple commands.
vcgencmd get_mem arm && vcgencmd get_mem gpu
Where is the missing 128MB memory?
Even if both ...
8
votes
What causes ENOSPC error when using the Raspberry Pi camera module?
I recently experienced the same problem of an ENOSPEC error. In my case all things was running perfectly until I put my camera into a PiCam housing. I found this housing (even if desinged for the ...
8
votes
Modern way to stream H.264 from the Raspberry Cam
I'm amazed there isn't more action on this thread, I've been chasing down the answer to this question for months.
I stream from a Pi Camera (CSI) to a Janus server, and I found the best pipeline is
...
8
votes
PIL.Image from picamera.capture()
From the picamera docs (Section 4.3. Capturing to a PIL Image):
import io
import time
import picamera
from PIL import Image
# Create the in-memory stream
stream = io.BytesIO()
with picamera.PiCamera(...
8
votes
Accepted
RPi camera v2.1 not working
I missed the all-important sudo rpi-update, which provided the firmware upgrade that I needed to run the camera. Everything's now up and running.
8
votes
Accepted
Cannot connect to PiCamera when using it with Flask
I struggled for some time with this exact same problem. I believe that I've solved it, though I have to be honest, I don't understand exactly why it works. The key was turning off debugging in Flask. ...
7
votes
Accepted
Raspistill slow to trigger?
You need to have the camera process running all the time.
This is the only way I could acheive results of (on average) 50ms. I looked everywhere for a solution. 1 second was just too slow for my ...
7
votes
Accepted
Sending Raspberry Pi Camera preview to a laptop running VNC Viewer
The camera preview seems to be handled on a low level in the GPU, and is visible only on a monitor connected directly to the Pi. Any program that shows the camera image in a regular X window should be ...
7
votes
Accepted
Camera gets hot, how much power should it dissipate?
According to the Specs
The official documentation doesn't actually contain a power spec. https://www.raspberrypi.org/documentation/hardware/camera/README.md
The FAQ's do offer some guidance: https://...
7
votes
Camera module not getting detected
I would double check that the camera is correctly connected at both ends and not loose, and that it is enabled via the RPI config menu. The RPi+ camera draws about 260 mA more current than the board ...
6
votes
How can I enable the camera without using raspi-config?
raspi-config seems to support noninteractive mode: you can use nonint command to set the camera
# raspi-config nonint do_camera %d
# %d - Integer input - 0 is in general success / yes / selected, 1 ...
6
votes
Modern way to stream H.264 from the Raspberry Cam
The only modern way to stream H264 to a browser is with UV4L: no latency, no configuration, with optional audio, optional two-way audio/video. No magic GStreamer sauce, yet it's possible to extend its ...
6
votes
Using other camera modules to build custom webcams
Iphone camera modules use MIPI CSI-2 interface. MIPI CSI-2 cameras could be interfaced using USB camera controller chip. Such chips are widely used in webcameras, notebook cameras, IP cameras and some ...
6
votes
Accepted
Don't show preview window for Raspistill?
Use it with -n flag or --nopreview flag. Ie, your command should look like this.
raspistill -w 640 -h 480 -n -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 &
For more raspistill ...
6
votes
Can the Pi camera module be used with a longer cable?
The length limits come from two requirements: signal quality, and signal delays. A 1m cable will introduce about 5ns of delay (speed of light in circuits is a lower than in vacuum!), so if you are ...
6
votes
Accepted
How can I install raspistill/raspicam on a distro that doesn't include them?
raspistill or raspivid. How can I install these?
They're distributed pre-compiled (armv6, which will work with any distro that runs on any model) via the Raspberry Pi Foundation's github site, in ...
6
votes
Accepted
Raspberry Pi 3 Mounting on Wood
Should I be concerned about any particular type of wood when working with electronics?
Not really. As long as it is dry, you keep some clearance between the wood and Pi, and you do not completely ...
6
votes
Accepted
Is it necessary to release Raspberry Pi Camera before rebooting? If so how do I do it?
There is NO NEED to do anything before a reboot.
If you issue a sudo reboot command Linux will manage an orderly shutdown of the software.
This is, however, a poor way of ensuring a reliable 24/7 ...
5
votes
Accepted
Fast image array processing with Pi NoIR camera in Python using picamera module
Apparently, I got a little sidetracked and didn't post this "by the end of tomorrow". Anyway, here is the solution I ended up with. Still not perfect by any means, but does at least provide quick, on-...
5
votes
Raspistill slow to trigger?
I have specified the following alias in my .bash_profile to allow for easy and fast camera shots:
alias shot='SHOTTIME=$(date +"%Y-%m-%d_%H%M") && raspistill -o shot-$SHOTTIME.jpg --nopreview ...
5
votes
Motion filming can't get on real speed
Check out this thread:
https://www.raspberrypi.org/forums/viewtopic.php?t=75240
With the updated binary you can get 15FPS on the live stream. If you set output_pictures ON, you can collect up to 15 ...
5
votes
Accepted
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raspicam × 528camera × 194
python × 91
raspbian × 80
pi-3 × 60
opencv × 49
picamera × 38
streaming-video × 33
pi-2 × 23
video × 22
motion × 21
c++ × 20
raspivid × 19
image × 18
pi-zero × 16
hardware × 13
pi-zero-w × 13
pi-4 × 12
uv4l × 12
gpio × 11
python-3 × 11
webcam × 11
raspbian-stretch × 10
ubuntu × 10
v4l2 × 9