Skip to main content

Questions tagged [webcam]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Blue screen appearing on webcam server of raspberry pi.?

Motion version 4.3.2 is used. If i edit the configuration file according to version 4.1.1 will it work? or is there anyother solution
zig zag's user avatar
0 votes
0 answers
30 views

I’m using Raspberry Pi 3B and having an error for running tflite

Here is the error Traceback (most recent call last): File "/home/pi/tflite1/TFLite_detection_webcam.py", line 122, in <module> with open(PATH_TO_LABELS, 'r') as f: ...
Erwin's user avatar
  • 1
0 votes
0 answers
408 views

GStreamer: Mjpeg to H264 with hardware encoding

I'm having trouble with my pipeline for taking mjpeg video from a USB webcam and encoding it into H264 with the hardware encoding through GStreamer on a PI4 (ubuntu 22.04, but I have tried pi os 64 ...
Ethanator10000's user avatar
0 votes
2 answers
2k views

How to stream from Pi Camera to YOLO model?

I am new to Raspberry Pi and I want to do real-time object detection using YOLOv8 tentatively (will change if the fps is too low). I realize that by using the code below, it can't detect Pi Cam as the ...
Eddy Miner's user avatar
2 votes
0 answers
224 views

Can not use the USB Camera

I'm trying to connect my USB webcam to Raspberry PI 3. First I tried to reach it with fswebcam image.jpg command, but it got timed out. --- Opening /dev/video0... Trying source module v4l2... /dev/...
Tim's's user avatar
  • 121
0 votes
1 answer
823 views

How do I find out which resolutions are supported in mjpg-streamer?

I have mjpg-streamer running on an Orange Pi Zero 2 to stream a USB cam. The default 640x480 works. And when I change the resolution to 1280x720 it works. But I'd like a lower 16:9 resolution, and ...
Dima's user avatar
  • 119
2 votes
0 answers
60 views

/dev/video* shows 16 devices

I want to capture a video stream using motion, but the FPS is REALLY low and I have the feeling that something is wrong ls /dev/video* shows 16 devices, is that normal? The Webcam is a USB Webcam by ...
Damm Joe's user avatar
1 vote
0 answers
372 views

On Raspberry Pi 4 with Ubuntu 22.04 don't work ioctl

I have Raspberry Pi 4 (aarch64 Cortex-A72) with OS Ubuntu 22.04 LTS 64-bit installed. I try read frame from webcam. When I run this code: if (ioctl(fd, VIDIOC_DQBUF, &buf) < 0) { std::cout &...
ZeusBios's user avatar
  • 111
0 votes
1 answer
314 views

Why does my new C270 webcam work with "cheese" but makes blank images with fswebcam?

I have a brand new Raspberry Pi OS image dated 04/2022 on a Raspberry Pi 3 Model B Rev 1.2 and today I got a brand new Logitech C270 webcam. Everything I read about this camera says it's plug & ...
jrn75's user avatar
  • 101
0 votes
2 answers
801 views

uv4l WebRTC stream not working on Raspberry Pi zero 2 w

I want to use WebRTC over my Raspberry Pi zero 2 w with an external webcam, so that I can communicate to other raspberrys, computers or smartphones. Problem is, that I'm very new to this topic. I ...
Ferry's user avatar
  • 1
0 votes
1 answer
147 views

How to decrease RPi image capture time?

I have two camera connected to RPi (1 USB camera and 1 RPi camera). I need to capture both images to do some processing on them right after image capture I have this code: file1 = 'imagecapture' + '...
Sulphur's user avatar
  • 109
0 votes
0 answers
36 views

Are there any cameras that take photos with a large resolution (over 20Mb) and work with Raspberry Pi?

I need for a work project to take photos using raspberry pi and a camera that costs less than 500$ and the resolution should be over 20Mb. I did not find any camera with larger resolution than 12Mb ...
Jack AK's user avatar
0 votes
1 answer
169 views

Viewing the captured content of the webcam live

How can I view the captured content of my webcam on Linux/Raspberry? I dont want to share it, only view the content live on my monitor. On windows Logitech has an official program where I can preview ...
John's user avatar
  • 1
2 votes
0 answers
2k views

Motion exiting without any error (USB web camera)

I am trying to use Raspberry pi as a web camera streaming server. I am following this tutorial which uses Motion tool. When I start the motion service, it exists without giving me an error and when I ...
Prakash P's user avatar
  • 123
0 votes
1 answer
1k views

What am I doing wrong with my Gst pipeline for v4l2 mjpg/yuvy to h264 rtp stream?

I am trying to stream webcam video to tcp or rtp, or whatever. The destination part is not what is bothering me, I know that might be erronous, but I have a mind to try some tcp/http and rtsp/rtp ...
rasmus91's user avatar
  • 101
1 vote
1 answer
116 views

Distribute video feed from Pi to multiple network clients

I want to set up a webcam for a fish tank on the LAN at my office. I set up a Raspberry Pi model 3B with a camera and used https://github.com/jacksonliam/mjpg-streamer to stream it locally. It works ...
justinis's user avatar
2 votes
0 answers
162 views

Green frames when capturing webcam

We use RPI4 for automation. One of our use-cases is to capture image frames via webcam/HDMI grabber as fast as possible and do some analytics. We use python and opencv for capturing, but it's not ...
Maxxie's user avatar
  • 21
0 votes
1 answer
60 views

Webcam install makes Pi unbootable

I just tried to install an old USB webcam on my Pi 3B and apart from not working, it has stopped the Pi booting (even with webcam removed). The Pi attempts to boot but fails and does a register dump ...
David G's user avatar
  • 115
1 vote
0 answers
129 views

Raspberry pi 4 with two webcams

I am trying to run two webcams on raspberry pi 4 with raspbian OS. It works rarely with very low FPS. Most of the time i am getting this error: [ WARN:0] global /tmp/pip-wheel-qd18ncao/opencv-python/...
Kaan Akdik's user avatar
0 votes
0 answers
118 views

Raspberry 3B+ freezes when using two webcams

I attached 2 webcams and capture images once in few minutes using fswebcam. No problems. (Some generic 2K webcam and a Microsoft LifeCam HD 3000) However, the RaPi froze "in production" ...
visoft's user avatar
  • 101
0 votes
0 answers
190 views

Record from USB webcam

I need some help reading video from a USB webcam. I'm writing a Java application that streams video too authenticated users. This is working fine with the Pi camera as raspivid is able to output an h....
HuH's user avatar
  • 21
0 votes
0 answers
147 views

2 out of 6 USB webcams appearing when using lsusb

I might have read every possible post regarding this topic, but I have never found a clear answer. I face the following scenario: I have a remote Raspberry Pi 4 connected to an actively powered USB ...
Pascal's user avatar
  • 1
0 votes
1 answer
5k views

USB camera not identified

I have a laptop camera wired to a USB cable. This camera works properly on my Ubuntu laptop. However, it does not on the pi. I have a Raspberry PI 4 (4GB) with Raspbian OS lite installed. I installed ...
user3275095's user avatar
0 votes
2 answers
293 views

How can I remotely access the command line on my Raspberry Pi without Wifi?

For a project I'm doing with a Raspberry Pi Zero, I need to access raspi-config, compile some software, and do funky stuff with systemctl. With my other projects, I've always either SSHed into the Pi ...
apropos's user avatar
  • 111
2 votes
1 answer
5k views

Pi4B how to rtp UDP stream video with webcam and Gstreamer

I have a fresh installed Buster(Release Date: 2020-08-20) on my Pi4B I am able to stream with pi Camera by doing gst-launch-1.0 -v v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720,...
Marcus L's user avatar
0 votes
0 answers
101 views

Using Android Phone as Webcam via USB to use Zoom or Google Meet [duplicate]

People have been asking for help to be able to purchase a tablet or a computer that they can use for online classes. Most people here in the Philippines don't have the means to buy any of it. However, ...
Ali Atienza's user avatar
1 vote
0 answers
637 views

USB webcam (spherical camera) not working with Raspberry Pi OS

I'm feeling utterly hopeless with this one, but my USB spherical camera, Insta360 Air, no longer works with Raspberry Pi. It used to work in a previous OS (forgot the kernel version but before the OS ...
nyanko enthusiast's user avatar
2 votes
0 answers
1k views

Stream from USB webcam to rpi3+ hdmi screen

I'm looking for something I think should be simple, but haven't been able to find any resource that shows how to do it. I have a USB webcam attached to my PI 3+. I also have a monitor attached to the ...
Sloan Thrasher's user avatar
0 votes
1 answer
214 views

Two USB cameras and ASP.NET Core

I want to build a project based on the Raspberry Pi 4B and I would like to hear the opinion of someone more experienced with this platform (as I am mostly SW and did some projects with Arduinos) if it ...
Jan Drozen's user avatar
0 votes
1 answer
114 views

Outputting RPi video into a laptop

I've been researching on how to get my RPi video output to show up on my laptop. Space requirements dictates that using an external monitor is extremely cumbersome, and since I'm not using my home ...
M G's user avatar
  • 1
1 vote
0 answers
66 views

I want to use a Rasberry Pi as a USB A/V device to a windows computer

Some background might help further this discussion. We have multiple classrooms that have a variety of USB cameras and microphones installed in them. I want to use a Raspberry Pi to help manage ...
Jeremy May's user avatar
1 vote
0 answers
367 views

Can't stream video

I have a Pi 3 model B Rev 1.2 and I would like to use it as a surveillance camera server. There seems to be no stream at all. I don't know if the cam isn't working (it works on my ubuntu workstation) ...
frepie's user avatar
  • 113
1 vote
0 answers
2k views

USB Webcam Problem

My webcam is not working properly, i have even put it on a powered hub. I have a new raspberry pi 4 fswebcam -d /dev/video0 image.jpg --- Opening /dev/video0... Trying source module v4l2... /dev/...
mati's user avatar
  • 11
2 votes
0 answers
97 views

python (2/3) functions to use a USB-camera? [closed]

After many attempts using pygame, or OpenCV to capture and display pictures from a standard USB-camera I decided to ask this question. Mplayer worked with all cameras I have tested (a=Logitech, b=...
peets's user avatar
  • 131
6 votes
5 answers
2k views

RaspberryPi 3 B+: RPi restart whenever I tried to run two webcams simultaneously

I have a very strange problem with my RPi. Whenever I tried to run two webcams simultaneously, RPi restarts itself. A few months back I can run two webcams simultaneously without such a problem (same ...
Naseeb Gill's user avatar
1 vote
0 answers
52 views

Recording two simultaneous video feeds from webcams on Raspberry Pi 4?

I am wanting to have a Raspberry Pi 4 connected to two USB webcams recording at 720P with 30FPS. Is this computationally possible with the specs of the Pi? I am a little concerned about the data ...
rahooligan's user avatar
0 votes
0 answers
29 views

Is Raspberry Pi Using the Same Coding and Encoding in Live Video Streaming as in Ubuntu and on other Machines?

Recently, I have been tagged to work with the Raspberry Pi 4, and with the action camera that I have plugged to work with it as a webcam. However, the Live Video that is streamed through Raspberry Pi ...
woosal's user avatar
  • 11
2 votes
1 answer
806 views

Raspberry Pi4 error capturing image with OpenCV, image comes half green

I am using a common logitech webcam with OpenCV. When I was using my RPI3 I had no trouble, but I wanted to improve my system so I bought a RPI4. Upon setting up my system with RPI4 using raspian ...
Felipe's user avatar
  • 21
1 vote
0 answers
83 views

Stream Webcam to Windows pc

Does anyone know how I can stream the webcam from my raspberrypi to my windows pc via wifi? Ive tried gstreamer but this just doesnt work for me and ive read the performance is really bad. there ...
korel124's user avatar
1 vote
1 answer
1k views

Flask app takes 60% CPU on Raspberry Pi Zero W

I am developing Flask rover app on Raspberry Pi Zero W. And I having problems with CPU perfomance. I used flask profiller to find weak spot in my app, but everything seemed normal. I have Raspberry ...
user111619's user avatar
1 vote
1 answer
2k views

imutils VideoStream(src=0) return VIDIOC_QBUF: Invalid argument in raspberry pi

I am only doing a simple code in my Raspberry Pi 4: from imutils.video import VideoStream # initialize the video streams and allow them to warmup print("[INFO] starting cameras...") webcam = ...
Hazqeel Afyq's user avatar
2 votes
0 answers
252 views

Webcam FPS Very Low

I just plugged in a Microsoft Lifecam Studio webcam into my Raspberry Pi 4 Model B. I used gucview to test it out along with Google Hangouts for video conferencing (in Chromium) but the FPS was ...
Ryan's user avatar
  • 121
1 vote
0 answers
220 views

Assign multiple webcams to fixed /dev/video* at boot

I'm currently working on a project that requires taking pictures with 3 USB webcams but whenever I boot the raspberry, it assigns randomly a /dev/video "address" to each one of them. I'm not using ...
Max's user avatar
  • 11
0 votes
0 answers
3k views

VLC stream RTSP USB webcam

I'm trying to stream a usb camera using VLC. I used this page to get it working on a pi zero with a raspberry pi camera attached to it. On a second RPI 3B+ I'd like to do the same only with a USB ...
Erik's user avatar
  • 1
1 vote
0 answers
244 views

I don't know why suddenly mjpg-streamer and webcam stop working

I have made a program that uses three webcams and three ultrasonic sensors using raspberry pi 3 and python 3. When each ultrasonic sensors detect stuff in front of them, webcam take a picture of it. ...
allentando's user avatar
2 votes
1 answer
2k views

Allow more power for USB Devices?

Is there a way to allow more power to USB Devices powered by the Pi I have a model B+, and I am unable to power my Webcam plugged into the Pi it has a single USB Connection so there's no way to power ...
Jonathan's user avatar
1 vote
0 answers
188 views

USB Inspection camera

I have a USB Inspection camera, identified as "Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 300k Pixel Camera" This is mounted at /dev/video0 and I can capture stills using ...
Milliways's user avatar
  • 60.7k
1 vote
0 answers
4k views

Single webcam using /dev/video0 and /dev/video1

With just one webcam attached, I get two devices: /dev/video0 and /dev/video1 They appear to have identical attributes. It's random which one gets bound to which entry, and only 1 of them actually ...
Jason Dentler's user avatar
0 votes
0 answers
349 views

RaspberryPi 3 B+: Error in running two webcams simultaneously

I purchased two webcams (Logitech C310 HD Webcam) to use with RaspberryPi (RPi 3 B+ model). When I run individual cameras, they are running fine but when I tried to run both cameras at the same time ...
Naseeb Gill's user avatar
1 vote
1 answer
4k views

Raspberry Pi 3 B+: Many video devices are showing

I attached two webcams to RaspberryPi 3B+ using USB power hub. But when I wrote ls -la /dev/video* in Terminal, output shows many video devices as shown below: crw-rw----+ 1 root video 81, 0 Jun 7 ...
Naseeb Gill's user avatar

1
2 3 4 5