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 ...
Malvineous's user avatar
  • 1,884
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 ...
papatrexas's user avatar
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 ...
Fred's user avatar
  • 86
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

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 ...
Chaf's user avatar
  • 61
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 ...
Alok Naushad's user avatar
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 (...
larsks's user avatar
  • 655
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 ...
Jim Russell's user avatar
5 votes

Webcam input / display using gstreamer

Try: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! ximagesink
user1145922's user avatar
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 ...
gatorback's user avatar
  • 637
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 ...
Jacobm001's user avatar
  • 11.9k
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 ...
Patrick Cook's user avatar
  • 6,365
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 ...
MonkeyTonk's user avatar
3 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-...
farnaz's user avatar
  • 31
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/...
Wolfgang Fahl's user avatar
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" ...
Dmitry Grigoryev's user avatar
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 ...
goobering's user avatar
  • 10.7k
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 ...
James Finch's user avatar
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 ...
nickjb's user avatar
  • 131
2 votes

Google Hangouts

I used my raspberryPI3B+ for google hangouts yesterday, with a cheap logitech usb webcam, and it worked pretty well. As a google account holder (gmail, google-drive etc) I did not require any plugins. ...
monkstone's user avatar
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 ...
Tes3awy's user avatar
  • 318
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 (...
jglee1's user avatar
  • 21
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:...
iqom's user avatar
  • 21
2 votes

Raspberry Pi's USB limitation when using web cams

There are video grabbers which can forward video from 4 analogue cameras into single USB port. Grabbing is software multiplexed, so don't expect more then few frames per second.
avra's user avatar
  • 1,273
2 votes

Set up webcam microphone for raspberry pi

I'm trying to use a pi as an internal intercom and wanted to start chromium in kiosk mode connecting to a jitsi conference. Unfortunately only the camera worked despite giving mic permissions. sudo ...
real_paul's user avatar
  • 123
2 votes

Set up webcam microphone for raspberry pi

i can use the webcam microphone in some applications, but when I try to use the jitsi-meet, then chromium doesn't understand webcam microphone. (It can use the webcam as camera without problem).
user119394's user avatar
2 votes

Activate USB camera connected in Pi through laptop

You'll need to capture and stream the video from the Pi to your desktop. There's an example of streaming mjpeg video from a device using Python/Flask, to a second device running Python/OpenCV here on ...
goobering's user avatar
  • 10.7k
2 votes
Accepted

Wrong colors in webcam picture

Problem solved! I had to use "v4l2-ctl" to adjust brightness, contrast and saturation. But still mplayer override those adjustments on startup. So what I ended up doing was: Created file "mplayer....
marksu_la's user avatar
2 votes

Motion webcam resolution limit

why don't you just use the RPi cam and stream the data across the network for evaluation on another machine? A resolution of 1920 x 1440 at 3 frames per second is no problem for this construction. I ...
sparkie's user avatar
  • 435
2 votes

Get h264 from Webcam Logitech C922

You may have to force the stream mode for your camera. First chek if MPEG or H264 is really available : v4l2-ctl --list-formats Using v4l2-ctl --all you will see the current resolution and pixel ...
Technico.top's user avatar
  • 1,406

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