11
votes
How can I stream H.264 video from the Raspberry Pi camera module via a web server?
As of 2017 (or perhaps earlier) raspivid is no longer the preferred method, with the Pi devs recommending people use V4L2 instead.
So this method allows you to stream H264 via RTP using V4L2 instead ...
9
votes
RaspberryPi 3 B+: RPi restart whenever I tried to run two webcams simultaneously
No one is mentioning that the Maximum total USB peripheral current draw on a rpi 3b+ is 1.2A (power requirements)
Having said that your current psu is enough. If the cameras are indeed drawing more ...
7
votes
RPI2 USB webcam capture low FPS
Most probably, bottle neck in this case is CPU speed to process the feed.
I use Rpi for some basic image processing based automation work and here is what I've noticed.
Rpi 1 hardly gives 5 fps at ...
7
votes
Accepted
Get h264 from Webcam Logitech C922
The problem is that the C922 does not advertise its H264 stream over UVC whereas the C920 does. This is because Logitech did not want to enable general use of the H264 for the C922, but instead wanted ...
6
votes
Accepted
Multiple webcams on a single Raspberry Pi
Theoretically, yes. It's possible to connect as many webcams as you can as long as they're powered up as per their requirements.
How do you address them ?
Each usb web cam that you connect gets ...
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
Protect my motion webcam stream with a password (motion.conf)
To setup a username and password with motion, you need to edit motion configuration file.
Steps
Open terminal
Type sudo nano /etc/motion/motion/conf
Add in a new line stream_auth_method 1
Add in a ...
6
votes
Accepted
"Failed to open video device /dev/video0 no such file or directory" with normal working usb camera in motion
Problem Solved!!
What I did was:
1) Removed Motion from Raspberry Pi using
sudo apt-get --purge remove motion
2) Disabled Raspberry Pi Camera in raspi-config and rebooted the Pi
3) Installed ...
5
votes
Unable to find a compatible palette format
You will most likely need the video4linux support libraries.
Check if you have them already.
locate v4l1compat.so
In my case, the output is /usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so, yours ...
5
votes
Raspberry Pi Recognizes Logitech C920 Webcam But Can't Do Anything
I spent a number of hours recently with my C920 and a Raspberry Pi 3 recently to make a babyCam that I could stream within my home network. I may be able to shed some light but also provide ...
5
votes
Accepted
Detecting Pi has been unplugged instead of shutdown
If you want the Pi to be able to tell you (via email notification or whatever) that it was not shut down properly the last time it was active, a simple solution is to arrange for a simple script that (...
5
votes
Webcam input / display using gstreamer
Try:
gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! ximagesink
5
votes
RaspberryPi 3 B+: RPi restart whenever I tried to run two webcams simultaneously
In the absence of any quantitative observations, the community can only guess. What is the current rating for the power supply? Perhaps a power supply with more current can solve the problem if the ...
4
votes
Commands to "simulate" removing and re-inserting a USB peripheral?
In the spirit of sharing, I modified the usbreset code provided, in Tai's answer above, to accept parameters like you get from lsusb (in addition). That way it can be invoked conveniently by
DEVNUMS=...
4
votes
Raspberry Pi Camera, what's the big deal?
It's unlikely that you'd be able to use a cellphone camera on the RPi. They're very tightly integrated into their motherboards, which makes getting them off the board difficult. If you manage to do ...
4
votes
What happens if I force_turbo (and over_voltage) but do not increase ARM, etc
As per the documentation on overclocking:
When you overclock (i.e. actually change the arm_freq, core_freq, or gpu_freq tags), the dynamic clock setting will automatically be enabled. This means that ...
3
votes
Raw video dump to file using no encoding with usb webcam
I think you have to change the input_format to "yuyv422".
Try this:
ffmpeg -f video4linux2 -input_format yuyv422 -i /dev/video0 -c:v copy -output.avi
or
ffmpeg -f video4linux2 -input_format ...
3
votes
Protect my motion webcam stream with a password (motion.conf)
netcam_userpass is to connect motion to a webcam that is protected by a username and password. This can happen for instance, if you are running a webcam program on a cellphone and have set a username/...
3
votes
How can I stream H.264 video from the Raspberry Pi camera module via a web server?
Piotr Kula's answer seems to be on the right track but is outdated for Raspberry stretch.
There are updated instructions for uv4l on Raspberry stretch at
https://www.linux-projects.org/uv4l/...
3
votes
Set up webcam microphone for raspberry pi
I know this question is old, but in case someone stumbles upon this sort of issue (as I did):
This could possibly be an access rights problem. If running the command as root sudo arecord -l finds a ...
3
votes
Activate USB camera connected in Pi through laptop
If your network is fast enough for USB traffic, you can use USB/IP to access your USB camera remotely. Run the usbipd server on the RPi to export the webcam and usbip client on your laptop to "attach" ...
3
votes
Accepted
Possibility: Simultanius save webcam stream to file and register as DirectShow-device via USB
This doesn't sound possible.
I did a little more thinking following my comment below the question, and eventually realised that what you're describing is a Pi which is simultaneously in USB host mode ...
3
votes
Presenting HTTP service securely with HTTPS
Right, I got there in the end!
Using Apache 2.2.22
SSL Proxy Configuration
Install Apache2
sudo apt-get install apache2
Enable Apache2 Modules for Proxying & SSL
sudo a2enmod proxy
sudo a2enmod ...
3
votes
VLC - Unable to open MRL 'v4l2:///dev/video0'
Your user doesn't have permissions to open /dev/video because that dev file is owned by root user and video group. You need to add your user to the video group.
usermod -aG video ${USER}
The a is ...
2
votes
Getting "No rule to make target 'modules'. Stop." error when running makefile. What does it mean?
We had the very same problem, and it turned out that '$(PWD)/build' directory, '/lib/modules/4.8.0-53-generic/build' on my laptop, is empty, but this build folder must be a shortcut of '/usr/src/linux-...
2
votes
Why is my Webcam image all black?
You need to skip first few frames before capturing image, for more info see the blog post here
2
votes
Compile MJPG Streamer Error
Here are the steps:
git clone https://github.com/jacksonliam/mjpg-streamer.git
sudo apt-get install cmake libjpeg8-dev
cd mjpg-streamer-experimental
make
sudo make install
Here is how to run it (...
2
votes
Multiple webcams on a single Raspberry Pi
thank you dastaan, your answer help me so much, finally I take a picture with
fswebcam --device <device> <filename>
here is the example, I'm gonna take a picture and save it to image.jpg:...
2
votes
Can we use usb webcam with picamera?
The Python picamera library is only for the official Raspberry Pi camera module connected to the CSI bus. If you want to use regular USB Webcams , look at projects supporting V4L2 .
Example :
...
2
votes
Accepted
Face recognition with USB Camera
It is sure possible to use a USB camera on RasPi. Try getting a good resolution camera. you can find some useful information in this link.
Regarding detecting only your own face. You can use one of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
webcam × 231camera × 46
usb × 41
raspbian × 38
streaming-video × 31
motion × 22
video × 20
python × 18
opencv × 18
pi-3 × 13
raspicam × 11
fswebcam × 11
pi-4 × 8
driver × 8
pi-2 × 7
pi-3b+ × 7
web-server × 7
ffmpeg × 7
v4l2 × 7
streaming × 6
linux × 5
java × 5
vlc × 5
uv4l × 5
networking × 4