Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [webcam]

A webcam is a device that records video and then uploads that video to a computer.

46
votes
7answers
187k views

How can I stream H.264 video from the Raspberry Pi camera module via a web server?

So I got the Raspberry Camera today and got stills working fine. Capture an image in JPEG format: raspistill -o image.jpg Capture a 5-second video in H.264 format: raspivid -o video.h264 I do not ...
14
votes
3answers
27k views

Enabling high resolution capture from web camera

I'm experimenting with using the Pi for web cam streaming and motion detection, with the motion app. Trying a few different web cameras and combinations with other hardware, I've found one combination ...
14
votes
4answers
25k views

Unable to grab image from usb Webcam

I would like to take snapshots from an USB webcam attached to my Raspberry Pi: First, I checked the device: pi@raspberrypi ~ $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ...
14
votes
3answers
9k views

Pi for Google+ Hangouts

I'm trying to find out if the Pi could work for a Google+ Hangout. I'm guessing no but wondering if anyone is trying to get it to work. Will the new webcam version make it easier? We want to set up a ...
13
votes
6answers
31k views

Streaming H264 with Logitech C920

I have a logitech C920 webcam. It has the ability to directly encode the video in H264. I want to reproduce what was done with a Beaglebone, but using a Raspberry Pi: send a H264 stream to the ...
12
votes
1answer
14k views

How can I find out if my webcam is compatible? [duplicate]

Possible Duplicate: Can I use a USB webcam? Is there an official or other list of webcams that have been tested on the RPi?
8
votes
2answers
11k views

Why is my Webcam image all black?

When I use fswebcam to capture a JPEG image from my webcam (an HP 2100) that is USB attached, it is always black?
7
votes
4answers
14k views

Commands to “simulate” removing and re-inserting a USB peripheral?

I use motion on a Raspberry Pi, and sometimes the camera feed hangs. The camera is physically mounted, and it is kind of awkward to remove the cable and insert it again, so I was wondering: Is there ...
7
votes
1answer
8k views

Rapberry pi camera module vs usb camera [closed]

Is it good to use raspberry pi camera module for serious computer vision project using video or is it okay to use a usb webcam?
7
votes
2answers
6k views

Multiple webcams on a single Raspberry Pi

I want to have multiple USB webcams running on a single Raspberry Pi. I will put them through a powered hub. I want the webcams to take stills simultaneously (or as simultaneously as possible - a ...
7
votes
5answers
21k views

Webcam disconnects after a few hours of running motion

I've been working on getting a Raspberry Pi webcam set up, thanks to a how-to post on PingBin. However, I cannot get past a problem where the camera becomes lost after a few hours of taking snapshots. ...
7
votes
2answers
9k views

Streaming Audio and Video from a remote Raspberry Pi to my computer

I've been working a couple of days on this issue. I need to set a stream up that streams audio and video (doesn't matter if I need to open separate connections for it, as long as it works) from the ...
6
votes
1answer
3k views

Sleep in Bash is innacurate

I'm running a script (taking time-lapse photos) that I would like to execute every minute. I'm using the Raspberry Pi camera board and thus using the raspistill function, but am not using the in-built ...
6
votes
6answers
21k views

fswebcam not displaying images properly

Some of the images I get from the Webcam using fswebcam are not displaying properly. Comparison: I got these images using the following command: sudo fswebcam -r 640x480 test.jpg I'm having the ...
5
votes
2answers
8k views

WPUT is uploading pictures captured by Motion over FTP, but JPGs are blank?

I have been following this guide here and have got everything to work except the images being uploaded to my server are all blank. Here is an example of one of the blank image files. The JPGs ...
5
votes
1answer
17k views

Live video streaming embedded in a web page [closed]

I have created a web page to have both live video streaming and some button controls to control the robotic arm interfaced to the RPi GPIO pins. For button controls, I used php coding. The php coding ...
5
votes
2answers
5k views

Get h264 from Webcam Logitech C922

I've read multiple threads about streaming a Logitech C920 Webcam via raspberry pi with cvlc using basically this command: cvlc v4l2:///dev/video1:chroma=h264:width=800:height=600 --sout '#standard{...
5
votes
1answer
1k views

Webcam color issue with mplayer

I try to display (multiple) webcams on a hdmi screen with my Raspberry Pi B. At first I used (since some month ago) OpenCV solution for 2x C170 Logitech Webcam -> works flawless (5-6fps). Now I ...
4
votes
1answer
3k views

RPI2 USB webcam capture low FPS

I want to capture a USB webcam with my RPI2. I'm using a Microsoft Lifecam HD-3000. The problem is that I can't get 30 FPS with a resolution 640x480. I think this is abnormal for a quad-core CPU. On ...
4
votes
1answer
25k views

“Failed to open video device /dev/video0 no such file or directory” with normal working usb camera in motion

I have a normal usb 2.0 cam. Connecting it to my pc, it works perfectly. It is not working with my raspberry pi (2). I had installed motion and it had worked good before 2/3 weeks when I tried it but ...
4
votes
3answers
2k views

Using the Raspberry Pi Cam at 110 degrees Celsius

A CCD camera is required to be placed in a hot environment of up to 120 deg Celsius. I am thinking of using the Raspberry Pi Camera Module which I already have. However I am unable to find any specs ...
4
votes
2answers
46k views

Getting “No rule to make target 'modules'. Stop.” error when running makefile. What does it mean?

I'm trying to get a webcam working with my Raspberry Pi How do I install webcam firmware on the Raspberry Pi? I found a possible way of doing this with gspca. So I downloaded the file and unzipped ...
4
votes
1answer
2k views

Raspberry Pi becomes unresponsive when running opencv

I have successfully installed OpenCV on my Raspberry Pi and have been fooling around with some simple webcam streaming, live canny-edge detection, and so forth, all using basic C and C++ code. However,...
4
votes
2answers
1k views

Is a home surveillance system possible using the RasPi?

I've been searching a while trying to find a way to have a Home Surveillance system using the RasPi, but unable to find a solution that includes all of the following. Would someone know of a solution ...
4
votes
1answer
6k views

Protect my motion webcam stream with a password (motion.conf)

I set up a webcam server using motion. The video is correctly streamed to Internet. Now I would like to protect the stream with a password: I don't want unknown people to spy on me! I don't know how ...
4
votes
2answers
3k views

Setting up an IP Camera on raspberry pi

I'd like to setup my raspberry pi to work as an IP Camera. Can you please point me to guides on how to do that - I am unable to find resources in particular for the two-way audio part of it. I am ...
4
votes
1answer
4k views

Dump video from webcam to file

I am trying to capture a video with a webcam (Logitech c270) and dump it to a file. However, at 1280x960, I get about 3fps using ffmpeg with the following command: ffmpeg -f video4linux2 -...
4
votes
1answer
1k views

USB webcam can't take a picture

I would like to ask a question about USB webcam taking picture, and I have surveyed similar topic, but still not found answer. I am using an RPi 2 B with rasbian Jessie, I have taken a picture with ...
4
votes
1answer
2k views

motion detection and recording video with webcam

I want to record a video with a webcam when a PIR sensor detect motion, I have the picamera library installed, can any one help, thank you? import RPi.GPIO as GPIO import time import picamera import ...
4
votes
1answer
6k views

Can I use the Playstation Eye webcam's microphone with Raspberry

I'm evaluating microphones to use with a Raspberry for a voice controlled project. The preferred operating system would be Window 10 IoT Core. An inexpensive yet probably pretty good microphone for ...
4
votes
1answer
3k views

Image processing on embedded system - raspberry PI or other board?

I need to write a program that does some LK optical flow calculations on an USB webcam feed using OpenCV. This has to be on an embedded system. I currently own a Raspberry PI revision A coupled with ...
3
votes
2answers
19k views

Using other camera modules to build custom webcams

I have three old iPhones (iPhone 3GS, iPhone 3G and an iPhone 4) that I recovered from family members that were going to throw away. I had the 3GS so out of curiosity I disassembled it and recovered a ...
3
votes
2answers
13k views

Raspberry Pi Recognizes Logitech C920 Webcam But Can't Do Anything

Running Rasbian OS on Raspberry Pi B From dmesg: [139215.134634] usb 1-1.3: new high-speed USB device number 7 using dwc_otg [139216.356892] usb 1-1.3: New USB device found, idVendor=046d, idProduct=...
3
votes
2answers
10k views

How do you install a uncvideo driver for a Logitech C910?

According to the verified peripheral http://elinux.org/RPi_VerifiedPeripherals my Logitech C910 HD camera should work with the "uncvideo" driver. How do I install this driver? Is it a simple as ...
3
votes
2answers
5k views

4 USB camera framerate and resolution

I understand that the raspberry pi can record from USB webcams. My question is, if I use a powered hub to get extra USB ports, what kind of frame rate will the raspberry pi be able to record video at ...
3
votes
1answer
826 views

Detecting Pi has been unplugged instead of shutdown

I've been extending a weather station / webcam we have here at our model flying field. It has now an Arduino gathering the weather data and starting the Pi in a specific time interval (5 or 10 minutes)...
3
votes
2answers
164 views

Rasberry Pi's usb limitation when using web cams

How many cams (of the same type) can be used on rasberry pi. Need to capture 4 streams simultaneously using Zoneminder. Windows 7 and ispy can not handle 4 cams from same mfg and device driver. 2 ...
3
votes
2answers
7k views

Unable to find a compatible palette format

I just buy a new webcam and attach it with RPI pi@raspberrypi ~ $ lsusb Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ...
3
votes
2answers
3k views

Webcam issue apparently not related to usb system

There are many posts on the web regarding the apparently poor usb system performance of the Raspberry Pi. In fact it seems that the usb system causes numerous problems and that there is ongoing work ...
3
votes
2answers
16k views

Anyone knows how to link Raspberry pi to Kinect camera?

Anyone knows how to link Raspberry pi to Kinect camera? or can recommend a webcam. I recently tried a logitech linux-compatible, but couldn't install it on the debian
3
votes
1answer
2k views

“device not accepting address X, error -32” when connecting webcam

When trying to plug in a USB webcam (Logitech QuickCam Pro 3000) to my Raspberry Pi, I'm getting some wonky errors: [ 3.073211] usb 1-1.2: new full-speed USB device number 4 using dwc_otg [ 3....
3
votes
1answer
676 views

Raspberry Pi Webcam Motion Snapshot

i'm doing a motion (streaming webcam content) project and i want to know how can i take a snapshot with a terminal command. wget http://localhost:8080/?action=snapshot -O output.jpg This does not ...
3
votes
2answers
6k views

Set up webcam microphone for raspberry pi

I am using a webcam with built in microphone for my raspbery pi and i am trying to make my raspberry to work with vocie recognition. When i run lsusb I get this: Bus 001 Device 005: ID 0c45:62c0 ...
3
votes
2answers
811 views

Raspberry Pi Camera Module slower than Desktop Webcam

I'm using CodeBlock IDE on raspberry pi 2 with raspberry pi camera module to run face detection program (via Haar Cascade). Now I've compared its performance using Microsoft LifeCam (USB connection) ...
3
votes
1answer
1k views

Pidora - can't install cheese

So I want to use cheese to capture video from my webcam. When I try to install by yum install cheese I get following errors - Error: Package: 2:cheese-3.4.1-1.fc17.armv6hl (pidora) ...
3
votes
3answers
5k views

How do I prevent Motion from using up the entire SD card?

I have a webcam running with Motion. It's all working fine, however, after a while it stops working. This appears to be because it is filling up the /tmp/motion directory with jpegs. (Clearing out ...
3
votes
0answers
480 views

Unable to capture high-quality video on pi in Java(FX)

Current I am developing a JavaFX application that should display video to the user. I use https://github.com/sarxos/webcam-capture to retreive video data. I use v4l4j to get video on the pi. I use ...
3
votes
2answers
4k views

Presenting HTTP service securely with HTTPS

I've successfully configured a Motion webcam server for monitoring my puppy as he destroys the kitchen: The video is presented within an HTML page with allows for basic HTTP authentication, but is ...
3
votes
1answer
374 views

Webcam works for a couple of hours, then Pi refuses to detect it

I am currently playing around with a Trust WB-1400T webcam. While this is "unsupported", I got it to work with motion. After a couple of hours of playing, I noticed that motion failed to connect to ...
2
votes
1answer
421 views

Motion (daemon) as webcam, picture on command

I have Motion running as Daemon to use a webcam in my local network. This is not used for motion detecting, just to have a livestream. I want to take a photo when a button is pressed on the webserver....