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,...
Frank's user avatar
  • 209
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 # ...
Octopus's user avatar
  • 777
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 "...
thestevenbell's user avatar
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 ...
Milliways's user avatar
  • 57.3k
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 ...
user49119's user avatar
  • 129
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
jefwu's user avatar
  • 111
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 ...
Cerin's user avatar
  • 2,221
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 --...
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 ...
vaha's user avatar
  • 1,135
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 ...
BigB's user avatar
  • 81
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 ...
Ben Olayinka's user avatar
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(...
Andy Balaam's user avatar
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.
goobering's user avatar
  • 10.7k
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. ...
Nick's user avatar
  • 96
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 ...
Entryton's user avatar
  • 106
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 ...
Frepa's user avatar
  • 2,241
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://...
Kelton Temby's user avatar
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 ...
Robotbugs's user avatar
  • 261
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 ...
Pankaj's user avatar
  • 161
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 ...
prinxis's user avatar
  • 276
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 ...
Georgy Moshkin's user avatar
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 ...
dhruvvyas90's user avatar
  • 2,833
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 ...
JayEye's user avatar
  • 1,878
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 ...
goldilocks's user avatar
  • 57.9k
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 ...
Ghanima's user avatar
  • 15.7k
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 ...
Milliways's user avatar
  • 57.3k
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-...
sputnick's user avatar
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 ...
NDB's user avatar
  • 269
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 ...
Dan's user avatar
  • 51
5 votes
Accepted

Do I Need To Replace My Raspberry Pi Camera?

The only fix for me was to purchase a new camera.
M2com's user avatar
  • 311

Only top scored, non community-wiki answers of a minimum length are eligible