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
2 votes
0 answers
49 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/...
  • 21
0 votes
1 answer
113 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 ...
  • 111
2 votes
0 answers
23 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 ...
1 vote
0 answers
75 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 &...
  • 111
0 votes
0 answers
117 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 & ...
  • 101
0 votes
2 answers
301 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 ...
  • 1
0 votes
1 answer
99 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' + '...
  • 109
0 votes
0 answers
32 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 ...
0 votes
1 answer
112 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 ...
  • 1
2 votes
0 answers
674 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 ...
  • 123
0 votes
1 answer
572 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 ...
  • 101
1 vote
1 answer
82 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 ...
1 vote
0 answers
45 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 ...
  • 11
0 votes
1 answer
46 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 ...
  • 103
1 vote
0 answers
81 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/...
0 votes
0 answers
97 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" ...
  • 101
0 votes
0 answers
146 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....
  • 21
0 votes
0 answers
122 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 ...
  • 1
0 votes
1 answer
2k 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 ...
0 votes
2 answers
127 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 ...
  • 11
2 votes
1 answer
4k 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,...
0 votes
0 answers
97 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, ...
1 vote
0 answers
465 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 ...
2 votes
0 answers
785 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 ...
1 vote
1 answer
164 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 ...
0 votes
1 answer
48 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 ...
  • 1
1 vote
0 answers
62 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 ...
1 vote
0 answers
211 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) ...
  • 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/...
  • 11
2 votes
0 answers
89 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=...
  • 131
7 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 ...
1 vote
0 answers
44 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 ...
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 ...
2 votes
1 answer
675 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 ...
  • 21
1 vote
0 answers
49 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 ...
1 vote
1 answer
815 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 ...
1 vote
1 answer
1k 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 = ...
2 votes
0 answers
179 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 ...
  • 121
1 vote
0 answers
199 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 ...
  • 11
0 votes
0 answers
2k 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 ...
  • 1
1 vote
0 answers
204 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. ...
2 votes
1 answer
1k 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 ...
1 vote
0 answers
164 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 ...
  • 56.8k
0 votes
0 answers
3k 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 ...
0 votes
0 answers
344 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 ...
1 vote
0 answers
3k 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 ...
3 votes
0 answers
609 views

webcam issue after UV4L installation

I am trying to make a usb webcam work on my rpi but it drives my nuts. I have Rpi 3 model B+ Also I've downloaded the newest raspbian image (stretch with desktop and recommended software). It's ...
  • 131
1 vote
0 answers
789 views

Error opening USB Cam with OpenCV4: GStreamer-CRITICAL **: gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed

After installing OpenCV4.0 on my RPi, i tried a simple script below with a Logitech USB Cam (720p) but at "cam = cv2.VideoCapture(0)" it gives me an error "(python:num process): GStreamer-CRITICAL **: ...
1 vote
0 answers
191 views

The first picture I take with a USB webcam as soon as I connect it looks good, but the following ones are dark

I am experiencing the following issue: I connect a USB webcam (Logitech Quickcam Pro 4000) to my Raspberry Pi 3 B+ and take a picture using fswebcam and looks good. Sometimes I take a second picture,...
1 vote
0 answers
49 views

How to connect/link two raspberry pies for video precessing?

i am fairly new to raspberry pi platform so this question may be too basic. I am working on a project where i need at least 2 camera modules for simultaneous video recording and processing and taking ...

1
2 3 4 5