USB webcams known to work with mjpg-streamer

This post is a wiki node editable by every user of this forum with trust level 1 (TL1) or higher. You should be able to edit it to add your own webcam compatibility information if you've participated at least a bit on this forum.

While OctoPrint doesn't directly support webcams, using a webcam together with mjpg-streamer as bundled on OctoPi is the recommended procedure to get visual feedback.

If you have a webcam in use with mjpg-streamer that is not listed here already, please add it to help people get a grasp of what works.

You might have to play around with mjpg-streamer's configuration parameters to get a cam to work. Do so by editing /boot/octopi.txt if you are running OctoPi. Please document the options you used here as well.

A webcam stream usually calls for the command ./mjpg_streamer -i "input_uvc.so $camera_usb_options" -o "output_http.so -w ./www" where camera_usb_options="-n -r VGA -f 5 -q 50", for example, has already been called (from the terminal or a script like OctoPi's webcamd which reads in configuration from /boot/octopi.txt).

Tested and works

Camera USBID camera_usb_options Tester Comments
Advent AWCAMHD15, AUSDOM AW615 0bda:58b0 default add device id to broken fps devices in octopi.txt - grafster
Amcrest AWC201-B 0c45:6366 -r 1920x1080 -f 30 Great inexpensive camera! Nice bright image, clear picture and smooth video. Has a clamp , tripod mount, and a lens cover for when not in use. It does have a fixed lens, so no auto-focus. Super simple setup with standard configuration. Tested on a Rasperry Pi 4 running dual instances of Octoprint.
Anpro AXK5-DE01-1290M -x 1296 -y 972 -fps 10 -quality 95 Works Great! Tested on the Raspberry Pi 3 Model B. Nice and clear image. Great Price for only 8,19 Euros.
APEMAN Action Camera A66 -r 1280x720 -f 30 Tested on Raspberry Pi 3 with docker container openhorizon/mjpg-streamer-pi3:20180306
Besteker 920C -r 1920x1080 -f 30 Fixed focus, nice image quality. 1080@30 looks great in Control and Time Lapse. Has standard 1/4" tripod mount.
Chicony Electronics (HP Webcam) 04f2:b016 -r 640x480 -f 10 pulled from a HP DV2000 (pinout Yellow>Data+ Orange>Data- Red>5v Brown>NC Black>Gnd) - war6000
Chinese Endoscope 8mm 038f:6001 -r HD -f 30 Tested on Raspberry Pi 3 with OctoPi 0.13.0 - michalzielanski
Cimkiz A871 1908:2310 -r 640x680 Does not work with -f. Tested on RasPi 3, OctoPi 0.14.0
Clone - Generic -r VGA -f 30 -y Tested on Octopi 1.3.4 with Pi 3
fabiocolella
Creative Live! Cam Optia AF 041e: -r VGA -f 10 Tested on Raspberry Pi; 10-30fps - daprice
Creative Live! Cam Vista IM (VF0420) 041e: -r VGA -f 10 Tested on BeagleBone Black - imrahil
Creative Live! Cam Socialize (VF0640) 041e:4083 -r 640x480 -f 30 -y Tested on RPi3B - apsbiker
Creative Live! Cam Sync HD (VF0770) 041e:4095 -r HD -f 5
-r HD -f 10
-r HD -f 30
- Tested on Nexx WT3020 running OpenWRT - sanchosk
- Tested on Raspberry Pi 3 Model B - eridem
Creative Live! HD (Creative Live! Cam Sync HD 720p plug-and-play webcam - Creative Labs (Polska)) null -r 1280x720 -f 30 - Tested on Raspberry Pi 02w
Creative Webcam Notebook (PD1171) 041e:401f -r 640x480 -f 15 Tested on Raspberry Pi 3 Model B - capibara1
Creative Live! V2 1080p Full HD 041e:40a0 -r 1920x1280 -f 5 Currently running on Raspberry Pi 4 Model B Rev 1.1 2GB - R2J3D
Cubeternet "zoom f=3.85mm Megapixel" 1e4e:0110 -r VGA -f 10 -y Try omitting -f - tkoester
Dericam W3 ID 1a86:7523 USB 2.0, 1080p Bought on Amazon Webcam for Octopi 018, Octoprint 1.5.2, Raspberry 4 B 8GB emediatly working. Simple effective Troubleshoot is restart Octoprint. Webcam comes with Privacy Protector
Digitech 720p (Jaycar QC3203) -r VGA -f 30 -y Needed to disable webcamd and autorun script to get working. - Flirtle
D-Link DSC-5222L http://user:pass@yourIP:80/video1.mjpg
Docooler USB 2.0 12 Megapixel HD Camera Web Cam Model #:LYSB00OB88HI4-CMPTRACCS -r 640x480 -f30 Tested on Octopi 1.3.4 with Pi3 , only 30fps
EeePC 701 (DEF-299) -q 90 -y Tested on OctoPi - jmceara
ELP-USBFHD01M-L28 05a3:9230 -r HD -f 60 Tested on RasPi2 - dpcrook
ELP-USB8MP02G-MFV -r HD -f 60 Tested on RasPi3 - You can also set resolution to full 4k.
GearHead WC7500HD 0c45:6340 -r HD -y Tested on RasPi3 - Octopi 1.3.2
GearHead WC8500HD 0c45:6340 -r 1920x1080 -q 85 Tested on RasPi3 - Octopi 1.3.4
Generic Endoscope Amazon 090c:037c -q 75 -y also add device id to broken fps devices in octopi.txt - tommmtom
Generic Endoscope eBay 1908:2311 -r VGA -y Johnny Lindén
Generic 8mm Endoscope Aliexpress 5004:4979 -n -r 1280x720 -f 15 Also add the device id to the broken fps devices in octopi.txt - djabi
Generic GEMBIRD -r 320x200 -f 15 -y
-r VGA -f 15 -y
change LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w ./www" -i "$input -y" in /scripts/webcamdaemon - Carsten3P, (19-2-2016) - Paco, (13-may-2016) - gzcwnk
Generic HM1355 USB Module Aliexpress 5149:13d3 -r SXGA -f 7 Tested with Ubuntu 18.04 on Rock64
Generic IP Camera Access directly using external IP address and port into the stream url (e.g http://224.127.1323.151:82/nphMotionJpeg?Resolution=640x480) - LocalSpice
Generic Full HD Webcam
Aliexpress
1b3f:2247 -r 1920x1080 -f 21 Tested on Raspiberry Pi 3B SinisteRrj
Genius WideCam F100 0458:708c -r 1920x1080 -f 30 gives full 16:9 frame @30fps
-r 1920x1080 -f 5 -y gives full 16:9 frame @5fps
-r 1280x720 -f 30 gives full 16:9 frame @30fps
-r 1280x720 -f 8 -y gives full 16:9 frame @8fps
-r 800x600 -f 30 gives cropped 4:3 frame @30fps
-r 800x600 -f 10 -y gives cropped 4:3 frame @10fps
Lower resolutions 640x360 , 352x288, 320x240, 176x144, 160x120 all operate at -f 30 both for MJPG as well as YUYV format.
The wide FOV gives the ability to position camera at a super short distance. Note that cropped frames are very usable as the camera is so wide that full 16:9 frame will show surroundings if you place it in corner (120° FOV!), the printbed easily fits within 4:3 cropped area for this webcam.
Tested on OctoPi w/ OctoPrint 1.3.2 and Raspberry Pi 1 Model B, both via direct connection and via powered USB hub. kroko
If the camera isn't working, try to set the FPS up to 30, 25 FPS might not work! kr0l
Genius FaceCam 1000X 0458:708f -r 1280x720
-r 640x480
-r 352x288
-r 320x240
-r 176x144
-r 160x120

-f doesn't change FPS...
Use -e to lower bandwidth consumption if needed
Tested on Orange Pi Zero H2
Running Armbian 5.38 Debian server
OctoPrint 1.3.8 - biological-hazard
Gigaware - 25-496 (1.3MP) 0bda:5842 -r VGA -f 10 -y engunneer
GUCEE (iRush) HD92 1080p WebCam 0bda:5842 -r 1920x1080 -f 30
-r 160x120 -f 30
-r 176x144 -f 30
-r 320x240 -f 30
-r 352x288 -f 30
-r 640x360 -f 30
-r 640x480 -f 30
-r 800x600 -f 30
-r 848x480 -f 30
-r 1024x768 -f 30
-r 1280x800 -f 30
-r 1280x720 -f 30
-r 1280x960 -f 30
Tested on Raspberry PI 3 Model B
Fairly cheap. Supports 25fps as well as 30fps for a wide range of resolutions in 16:9 and 4:3
Has automatic low light correction (tested - OK) and a 110° FOV (theoretically)
Use uvcdynctrl -f command to find all supported resolutions and framerates
- ram64 (04 May 2018)
Hama PC-Webcam "AC-150" -r VGA -f 10 -y Tested on Raspberry Pi - StefanBurger
Hercules Twist Webcam -r VGA -f 10 Tested on Raspberry Pi - nwalkner
HP HD2300 -r VGA -f 10 Tested on Raspberry Pi - c4sfer
HP Webcam 3110 -r VGA -f 10 Tested on Raspberry Pi - [morcant]
HP Webcam 3300 -r 1280x720 -f 20 Tested on Raspberry Pi 3 - [gharac]
HP Webcam HD4110 03f0:9207 '-r FHD' Tested on rPi 3 B+ [BombshellBill]
HP Webcam HD4310 03f0:e807 -r FHD Tested on Raspberry Pi 2 - [andyrblank]
HP HP Deluxe Webcam KQ246AA 04f2:a13c -r 800x600 -f 10 Tested on Raspberry Pi 3b+ - [jalanjarosz]
`-r 1280x1024 -f 7 Tested on Raspberry pi 3b - [kennferro]
Innosinpo 1b3f:2247 -r 1920x1080 -f 30 Tested on Raspberry Pi 3b+ with OctoPi 0.17.0 - [argyre]
IPEVO Point 2 View 1778:0204 -r 640x480 -f 30 Tested on Raspberry Pi with OctoPi - Miker525
IPEVO Ziggi-HD 1778:0206 -r 2592x1944
-r 1920x1080
Tested on Raspberry Pi 4 with OctoPi - [wdorfmann]
The articulating stand makes this particularly useful for monitoring your printer
Kodak Dual Webcam D101 -y Tested on Raspberry Pi 3 - michaelfdeberry
Kodak S101 Webcam (Jeilin Technology Corp) -r QVGA -f 15 -y Tested on Raspberry Pi - morriscode
LG AN-VC500 043e:3012 -r VGA -f 10 OctoPi - [tapiau] (tapiau (Zbigniew 'zibi' Jarosik) · GitHub)
LOETAD Webcam 1080p 0806:0806 -r 1920x1080 -f 20 Tested on Raspberry Pi 3b with OctoPi 0.16.0 - serofax
Logilink UA0072a -r VGA -f 30 -y Simply add the variable to /boot/octopi.txt. Tested on Raspberry Pi - raffaCH
LogiLink WebCam (Microdia Sonix USB 2.0 Camera) 0c45:62c0 -r 320x240 -f 5 -y Tested on Octopi 1.3.2 with Pi one, 5-30fps - xeonqq
Logitech Quickcam E3500 046d: -r QVGA -f 35 Tested on Raspberry Pi - foosel
Logitech Quickcam for Notebooks Pro V-UAR38 046d: -r VGA -f 10 Tested on Raspberry Pi - OneEyeLeft
Logitech, Inc. Portable Webcam C905 M/N V-UBU-48 P/N 860-000231 PID LZ929BA 046d:080a no flags (640x480) Tested on x86_64 Ubuntu 20.04 (poor results on Ubuntu 18) leftsock Minimum focus at ~150 mm
Logitech, Inc. QuickCam Pro for Notebooks M/N V-UBU48 P/N 860-000026 PID LZ725BA 046d:0991 no flags (640x480) Tested on x86_64 Ubuntu 20.04 (poor results on Ubuntu 18) leftsock Minimum focus at ~150 mm
Logitech QC Pro for Notebook Business M/N V-UBU48 P/N 860-000108 PID LZ836BP 046d:0991 no flags (640x480) Tested on x86_64 Ubuntu 20.04 (poor results on Ubuntu 18) leftsock Minimum focus at ~150 mm
Logitech QuickCam Orbit AF 046d:0994 -r 960x720 Tested on Raspberry Pi3 - MetalRush
Logitech QuickCam 5000 V-uax16 046d: default Tested on Raspberry Pi3
Logitech Quickcam Pro 5000 046d:08ce -r 640x480 -f 10 Tested on a Raspberry Pi - fharni
Logitech Quickcam Pro 9000 046d: -r VGA or -r 960x720 -f 30 Tested on a Raspberry Pi - voxSchurman, First Video: http://youtu.be/32B-ezaCKe8 - [jbarberillo], (jbarberillo · GitHub), 960x720 tested on Raspberry Pi3B+ [tmcgillis]
Logitech QuickCam Ultra Vision SE 046d: -r VGA -f 10 Tested on Raspberry Pi - fractalclockwork
Logitech QuickCam MP/S5500 046d:09a1 default Tested on Raspberry Pi3 -
Logitech QuickCam Communicate STK 046d:08d7 default Tested on Raspberry Pi4 4GB - Works with low framerates
Logitech Streamcam -r 1920x1080 -f 10 Tested on Raspberry Pi 3B+ -can cause undervoltage - [clarkiej]
Logitech Webcam C100 046d: -r VGA -f 10 Tested on Raspberry Pi - [ModClovis] (modclovis · GitHub)
Logitech Webcam C110 046d:0829 -q 75 -y Tested on a Raspberry Pi - rocket59
Logitech Webcam C110 046d:0829 default Add additional_brokenfps_usb_devices=("046d:0829") to /boot/octopi.txt. Runs in MJPG mode, with no high CPU usage as if using -y option. Tested on a Raspberry Pi3 - tfgcampos
Logitech Webcam C120 046d:080F default Tested on a Raspberry Pi3B+ - [ghostolo90]
Logitech Webcam C160 046d: -r VGA -f 10 Tested on Raspberry Pi - [AndrewBC] (AndrewBCN (Andrew) · GitHub)
Logitech Webcam C170 046d:082b -r 1024x768 -f 30 or -r 1024x768 -f 15 Tested on Raspberry Pi. Runs in MJPG mode. - [Joske447] (Joske447 · GitHub), confirmed - ringsofdeath.,changes in /boot/octopi.txt for 1024x768 - cr4nk89
Logitech Webcam C210 046d:0819 -r VGA -f 10 Wabba2
Logitech Webcam C250 046d:0804 -r 1280x720 -f 15 Tested on Raspberry Pi 3B+ - seltix5
Logitech Webcam C270 046d:0825 -r 1280x720 -f 30 or
-r 1280x960 -f 30 or
-r VGA -f 10
Tested on Raspberry Pi - foosel, stoneburner, rocket59, VictorLamoine, apazga, BioGeekJoey, cp2004
Logitech Webcam C310 046d:081b -r VGA -f 10 or -r 1280x720 -f 10 Tested on Raspberry Pi Zero, VGA@10fps ~15% CPU, HD@25fps ~35% CPU, HD@30 ~50% - benhowes, ryanturner, quixotic120
Logitech Webcam C500 046d: -r QVGA -f 30 -y Tested on Raspberry Pi - mattgolt
Logitech Webcam C510 -r 640x480 -f 10 or -r HD -f 30 Tested on Raspberry Pi 3B+ - sclarke81
Logitech Webcam C525 046d: -r VGA -f 10 or -r 1280x720 -f 20 Tested on Raspberry Pi - R1p2u, weeheavy, Frodotus
Logitech Webcam C615 046d:082c -r 1280x720 -f 30 Tested on Raspberry Pi 3 - rezin8
- Tested on Raspberry Pi 3 Model B - justincdotme
Logitech Webcam C905 default
-r 800x600 -f 10
Raspberry Pi2, just plugged it in and it worked [bwaslo]
Tested on RPi3 [WaltmanBeta]
Logitech 1080p Webcam Pro C910 046d:0821 -r VGA -f 10 Tested on Raspberry Pi - [alexncus] (alexncus · GitHub)
Logitech 720p Webcam C209 on a Raspberry Pi 046d: -r VGA -f 10 Tested on Raspberry Pi; focus stuck at ~ 300mm - eovnu87435ds
Logitech Webcam C920 046d: -r VGA -f 10 Tested on Raspberry Pi - ryanturner
Logitech Webcam C920 046d:082d -r 1280x720 -f 10 Tested on Raspberry Pi 3b+ - [jalanjarosz]
Logitech Webcam C920 -r 1920x1080 -f 30 Tested on Raspberry Pi 4 4gb Model B - [GordonCooker]
Logitech Webcam C920S -r 1920x1080 -f 30 Tested on Raspberry Pi 4 4gb Model B - jagorrell84
Logitech Webcam C922 -r 1920x1080 -f 30 Tested on Raspberry Pi 3B+ - seltix5
Logitech Webcam C925e -r 1920x1080 -f 30 Tested on Raspberry Pi 4 - spitzlbergerj
Logitech Webcam C930e -r 1920x1080 -f 10 Tested on Raspberry Pi 3 - grumpytechie
Microdia Integrated Camera 0c45:64ab -r 640x480 -f 10 or -r HD -f 30 Tested on Raspberry Pi 4B - [Cpt_Tom] OS: Raspian 11, octoprint.version: 1.8.6, works out of the box.
Microsoft Lifecam Cinema 045e: -r VGA -f 10 sometimes doesn't startup nicely on Linux/Raspbian, switched to a Logitech C270 - foosel
Microsoft LifeCam Cinema 045e: -r HD -f 20 Tested on CubieBoard2 1280x720 @ 10-15fps - chron0
Tested on Raspberry Pi4, OctoPi 0.17 RC1 - [thomasdkjensen]
Microsoft Lifecam HD-3000 045e: -r HD -f 20 Wade Hovind, can't get it to work - byteborg, tested and restart the Rpi. - neurohide, works out of the box with a RPi 2 - landei
Microsoft Lifecam Show 045e: -r SVGA -f 20 Tested on Raspberry Pi 3 - gregington
Microsoft Lifecam Studio 045e:0772 -r 1920x1080 -f 30 Tested on Rpi 3 and Pine64
Microsoft Lifecam VX-500/VX-700 045e -r 640x480 -f 10 -y Tested on Raspi Zero-W - [twmaster]
Microsoft Lifecam VX-800 -y Tested on Raspi 4B, camera option "-y" is obligatory
Microsoft LifeCam VX-1000 Tested on RPi 3B+ appears PnP [stellar6]
Microsoft Lifecam VX-2000 045e:0761 -r VGA -f 10 Add additional_brokenfps_usb_devices=("046d:082b" "045e:0761") to /boot/octopi.txt - jianC
Microsoft Lifecam VX-3000 045e: -r VGA -f 10 cjmarzano, please share your settings. VX-3000 does not work by default for me - I-AM-EXFOLIATING
Microsoft Lifecam VX-5000 045e: -r VGA Tested on RasPi2. Needed to remove -f parameter to get it working.
Microsoft Lifecam VX-7000 045e:0723 -r 640x480 Tested on RP3. Needed to remove -f parameter to get it working. Higher resolutions possibly supported.
Microsoft Xbox360 Vision Camera 045e: -r VGA -f 10
-r 800x600 -f 20
Tested on OctoPi
Tested on RPi3 [WaltmanBeta]
Microsoft Xbox360 Kinect -r 640x480 Tested on OctoPi running Octoprint 1.3.6
Tested on RPi3 pepex150
Works but consumes 80% of cpu of 1 core.
Streaming doesn't work properly, you need to refresh the page to get a new frame.
Mobius ActionCam 0603:1002 -r 1920x1080 -f 30 Add the USB ID additional_brokenfps_usb_devices=("0603:1002") to /boot/octopi.txt` - [gweber] (gweber (Günter Weber) · GitHub) Additional Note: Use the MSetup tool from Mobius to update to 2.41 firmware. From the "Misc. Settings" tab, set Webcam Mode to H.264+audio to allow 1080P video streaming.
N5 1080p Webcam 0c45:6366 -r 1920x1080 -f 10
-r 1920x1080
Uncommented camera="usb"
Add the USB ID additional_brokenfps_usb_devices=(0c45:6366) to /boot/octopi.txt
Generic webcam from Amazon with wide angle view
Namuga 1.3M Webcam default A USB camera module salvaged from old laptop (it requires 3.3V, use LDO or 3.3V power from RPi)
NexiGo N660 1080P Webcam 1d6b:0102 -d /dev/video0 -r 1920x1080 -f 10 -q 50 Tested on RaspPi 4b with OctoPi 0.17.0 Octoprint 1.4.2
NexiGo N60/2021 1080P Webcam 1d6c:0103 -d /dev/video0 -r 1920x1080 -f 30 Tested on RPi 4b with Octoprint 1.5.3. Probably an updated version of the N660. Does not support image rotation/flipping, minimum fps seems to be 25. Nice camera otherwise.
NexiGo N980P/2022 1080P 60fps Webcam 3443:980a -d /dev/video0 -r 1280x720 -f 10 Tested on RPi 4b 4GB Octoprint 1.8.6. 120-degree FOV gets entire bed of Ender 5. 1/4-20 tripod thread, man focus. Works w/ mjpg-streamer but better w/ ustreamer right now at 1280x1240. In ustreamer systemd service: ExecStart=/usr/bin/ustreamer -d /dev/video0 -r 1280x1024 -m JPEG -l -s 0.0.0.0 -p 8080 -c HW --allow-origin "*"
Olidik 2020 1944P (2K HD Camera) 1b3f:1167 -d /dev/video0 -r 3840x2160 -f 30 -q 50 Tested on RaspPi 4b with OctoPi 0.17.0 Octoprint 1.4.2
OV5647 generic IR -fps 1 -x 1920 -y 1080 -br 50 -drc high -ev 10 -ex snow -ISO 100 -mm average -awb incandescent Rather good setup for visible spectrum hot white led lights. This camera is sold with Infra Red spots, but IR makes a very bad image. Just don't use IR.
OV2710 High Speed Coiled USB Cable Full HD 1080P Webcam 05a3:9230 -r 1920x1080 -softfps 5 Camera gets quite warm but works well otherwise. Ignores -f option to set framerate, use -softfps instead. Tested on OctoPi 0.17 on RPi 4B.
Orange Pi 2MP sh-2035-iplay gc2035 -n -r 1600x1200 -u nnicoo
Papalook PA150 0c45:6340 -r 64x360 -f 15 q=40 needs max_usb_current=1 added to /boot/config.txt, also works with -r 1280x720 and -f 30 but becomes laggy. Tested on RPi 3B - lienbacher
Philips SPC300NC 0471: -r 352x288 Tested on Ubuntu 13.10 - superzerg
Philips SPZ3000 0471: -f 20
Philips PCVC740K 0471:0311 -y -r 640x480 -f 30 Needs mjpg-streamer-yu12.
Tested on OctoPi.
denniskarlsson
Potensic "2-in-1" Semi-Rigid Waterproof Borescope Inspection Camera f007:a999 -r 640x480 -f 10 -y
-r 1280x720 -f 10 -y
-r 1600x1200 -f 10 -y
Add to octopi.txt:
additional_brokenfps_usb_devices=("f007:a999")

Tested on Raspberry Pi 3 running Octoprint v1.3.6, OctoPi 0.14.0

This version is a rebranded "Teslong" 2-megapixel borescope that has an LED dimmer control on the cable. Runs in MJPG mode.

Rocketfish 720p HD -r VGA Tested on Raspberry Pi with Occidentalis - jwygralak67
Rosewill Webcam RCM-8164 046d: -r QVGA -f 30 -y Tested on Raspberry Pi
Sandberg USB Webcam Pro 1b3f:2002 -r 1920x1080 -fps 20 Tested on Raspberry 3B+
SiGma Micro 1c4f:3000 Remove ALL settings except for USB and streams
Silvercrest Webkamera 1.3 MPix eb1a:2820 -r 640x480 -y Looks like "Microdia Sonix USB 2.0 Camera" above; Tested on Raspberry Pi 3b
SJCAM SJ4000 -r VGA -f 30 Tested on OctoPi - vidschofelix
SJCAM SJ5000X -r VGA -f 30 -r HD -f 50 Tested on OctoPi - [N-Aero]
Sony PlayStation Eye 1415:2000 -f 1 -q 75 -y Tested on Raspberry Pi; See talk below - gluetolf
Sony PlayStation 2 EyeToy -r 640x480 -f 10 -y Tested on Raspberry Pi 3B running Octopi 1.3.0 [I-am-me] (I-am-me (Clément Satin) · GitHub)
Tested on Raspberry Pi B rev 2.0 running octopi 4.19.58+ #1245
Suyin Corp. Acer CrystalEye Webcam 064e:d101 -f 25 -y Tested on Arch Linux on Raspberry Pi while running Octoprint
SuperEyes Handheld Microscope B005 -r VGA -y Adjustable zoom/focus, can be used as basic webcam (long distance/focus) or <3um resolution precise microscope for X/Y positioning (short distance/focus). - [mirage335] (mirage335 (mirage335) · GitHub)
Sweex WC066 -r SVGA -f 15 Tested on Octopi - [Stefan73] (stefan73 · GitHub)
Tevion MD 85872 0ac8:3420 -r VGA -f 30 Tested on Octopi 1.3.0 [wlma]; same chip as Z-Star Venus
TeckNet C016 058f:3841 -r VGA -f 1 -y Tested on Octopi 1.3.2 - micdenny
TeckNet C018 058f:3841 -r 1920x1080 -f 30 Tested on OctoPrint: 1.3.4, octopi-jessie-lite-0.14.0 - Sinbad
TeckNet HTD205 058f:3832 -r FHD Tested on RaspPI 3 - Octopi 1.3.2
TeckNet 1080P HD 603466 26E0:3C13 default Tested on RaspPI 3 - Octopi 1.6.1. Cheap, nice and clear, built in fill light
Teslong Borescope f007:a999 -r 640x480 -f 10 -y
-r 1280x720 -f 10 -y
-r 1600x1200 -f 10 -y
Add to octopi.txt:
additional_brokenfps_usb_devices=("f007:a999")

Tested on Raspberry Pi 3 running Octoprint v1.3.6, OctoPi 0.14.0

The Teslong Borescope is commonly sold under the "Potensic" brand. This version is 2-megapixels, semi-rigid inspection cable with an LED dimmer control on the cable. Runs in MJPG mode.

Topsync FullHD Webcam 1bcf:28c4 -r 1920x1080 -f 30 Very cheap, but not bad webcam. Tested on Raspberry Pi 3B+ with OctoPrint 1.7.3 and OctoPi 0.18.0
Trust Spotlight -r VGA -f 1 -y Tested on Octopi
Trust Spotlight Pro -r 1280x1024 -f 20 -y Runs with Version 0.18.0, running on Raspberry Pi 4 Model B Rev 1.2
Trust Trino 720P -r VGA -f 10 Tested on OctoPi - LangBalthazar
Trust Multicover widescreen 720P 145f:016f -r 640x480 -f 10
-r 800x600 -f 10
-r 1280x720 -f 10
Works also without the -f parameter
145f:016f, Tested on OctoPrint 1.4-dev but should work with earlier releases. Seems to not support framerate under 10fps - Gege2B
VisionTek VTWC20 HD 1080p Webcam -r 1920x1080 -f 30 Good inexpensive camera, very crisp and clear, appears to actually be outputting 1080p
Vivatar Action Camera 30 fps. Tested on Raspi 3, Octopi 1.3.10
VVCAR 1080P Webcam with Microphone Raspberry Pi 3 Model B Plus Rev 1.3,
octoprint 1.5.2,
must reboot pi after USB insertion
Wilko W460186 GEMBIRD 1908:2310 -r 640x480 -f 15 Only works at 30 or 15 fps. Tested on Raspi 3, Octopi 1.3.6.
Wyze V2 0403:6001 -r 1920x1080 -f 25 Must install USB firmware. (https://support.wyzecam.com/hc/en-us/articles/360041605111-Webcam-Firmware-Instructions) Works at different resolutions and frame rates. Tested on Raspi 3B Rev 1.2, Octopi 1.4.
Xiaomi Imilab Webcam 1080p Full HD 0c45:636d -r 1280x960 -f 30
-r 1920x1080 -f 30
Tested on OctoPrinti 1.5.3 (OctoPi 0.18) with Pi 3B+ - rhoots
YoLuke 720P Webcam -r VGA -f 20 Tested on OctoPi 1.3.7 with Pi 2B - Kryket
Z-Star ZC0301 0ac8: -r VGA -f 30 Inexpensive webcam with a clamp and 6 LED lights around the lens
Z-Star ZC0303 0ac8:303b -r 640x480 -f 30 Inexpensive webcam with a clamp and 6 LED lights around the lens
Z-Star Venus 0ac8:3420 -r VGA -f 30 -y
Z-Star Vega 0ac8:c302 -r VGA -f 30

Playstation Eye

  • You may need to run a few commands to get it running. sudo -s rpi-update reboot - OCybress
  • I tried the above command, but ends with 'invalid hash'
  • I used the settings above; nothing else seemed to work. The -y made the big difference. - triestelaporte
  • (13th May 2016) Confirming above settings camera_usb_options="-y -q 75 -f 1" with Pi 3, Octoprint Version 1.2.11 (master branch) - gzcwnk
  • (14th August 2016) Had to edit the variable in /root/bin/webcamd instead of /boot/octopi.txt config changes to work, with Pi 3, Octoprint Version 1.2.10 (master branch) - BigRamen
  • This camera does not support MJPG natively, so consumes 100% cpu (of one core) on my Raspberry Pi 3, 24/7. It never overheated or crashed my RPi, but was still a concern. I switched to the Logitech C270 and it uses no CPU. - JustinHoMi

Old CPIA camera (by dpeddi)

  • make sure you have gspca-cpia1.ko or appropriate gspca driver for your camera
  • use https://sourceforge.net/code-snapshots/svn/m/mj/mjpg-streamer/code/mjpg-streamer-code-r182-mjpg-streamer.zip
  • apt-get install libv4l-dev libv4l-0 (i'm using armbian on orangepiwin, on raspbian may differ)
  • uncomment PLUGINS += input_gspcav1.so on Makefile
  • edit vi plugins/input_gspcav1/spcav4l.h and add in the beginning #define BASE_VIDIOCPRIVATE 192
  • edit vi plugins/input_gspcav1/spcav4l.h and plugins/input_gspcav1/utils.c and replace linux/videodev.h with libv4l1-videodev.h
  • make
  • LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libv4l/v4l1compat.so LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w ./www" -i "input_gspcav1.so -f r16 -r VGA"

Other compatible cameras

Troubleshooting

If your stream won't start, check that the streamer output is working correctly by calling ./mjpg_streamer -i "./input_testpicture.so -r VGA" -o "./output_http.so -w ./www". If you are able to stream two alternating jpg frames using this command, then mjpg_streamer is configured correctly and your previous input_uvc.so settings may be causing you trouble.

  • input_testpicture.so doesn't exist for me. And it seems that http output now also requires a -w=./www parameter. Try this instead: ./mjpg_streamer -i "./input_file.so -f plugins/input_testpicture/pictures/ -e" -o "./output_http.so -w ./www -p 8080" - frankv

If top indicates high CPU usage from mjpg_streamer (about 40% of a Raspberry Pi 3 core, for example) due to the fact that mjpg_streamer won't work without the -y option, you can try an additional utility called v4l2grab to process the YUYV format for mjpg_streamer by exporting jpgs to a tmpfs directory. Start by calling ./mjpg_streamer -i "input_file.so -r -d 0 -f /dev/shm" -o "./output_http.so -w ./www"; it will display and delete new files. Then, call ./v4l2grab -c -m -q 50 -o "/dev/shm/"; do not forget the trailing / on this command, which continuously captures jpgs of 50% compression without bound.

9 Likes

how do i edit this?

wanted to add

Cisco VTCamera3 (a rebadged Logitech Quickcam Pro 9000)
046d:0822

-r 1920x1080 -f 30

1 Like

@iemmons, You appear to be a trust level 1 user so you should be able to click the Edit at the bottom of the post and then make your changes / additions.

Hi sorry but i'm sure that i'm on this case Old CPIA camera (by dpeddi)
but it's realy not clear to follow your tuto
on mine makefile nothing about Plugins +=...
wich makefile talking about you?

1 Like

Does being on this list mean the camera in question supports compressed MJPEG streams and therefore has low cpu usage?

Just Installed a "Wansview 101" 1080P USB webcam onto my Octopi / Octoprint server. It works straight out of the box at VGA resolution and after editing the Octopi.txt, is now working at 1920 x 1080P @ 30fps. Tested on a Raspberry Pi 3B. Octoprint v1.5.2.
Nice crisp image and less than £20 delivered, can't fault it.
Link below. Can't seem to be able to update the list as I'm guessing I'm not a level 1 trusted bloke. If someone could update I'd be grateful, or let me know how I can do it if I'm being blonde.

Just scroll down to the bottom of the post ancd click edit. grafik

Just scroll down to the bottom of the post ancd click edit.grafik

Have you seen this post?

Not everyone can edit...

This webcam works too on the 1.5 version of octoprint.
I just successfully tested it. Worked without any configuration changes.

I´m using the MOSONTH webcam and is working for now. I will test more and give the feedback.

https://www.amazon.es/-/pt/dp/B08VRSY8SY/ref=cm_cr_arp_d_product_top?ie=UTF8

Hello,

i use this:

and work for me for now

Sorry, I'm not trust level 1 (TL1), so I can not add a Camera...
Please, somebody TL1 add it for me:

Camera:
Trust Spotlight Pro (not Trust Spotlight)
Settings:
-r 1280x1024 -f 20 -y
Tester Comments:
Runs with Version 0.18.0, running on Raspberry Pi 4 Model B Rev 1.2

1 Like

I've updated it for you.

The endoscoop camera from ali: 720P Endoscoop Camera 8Mm Lens Android Usb Endoscoop Flexibele Snake Kabel Led Licht Inspectie Camera Voor Telefoon Pc borescope|Surveillance Cameras| - AliExpress
also worked without problems, 0bda:0677 Realtek Semiconductor Corp.

I don't totally understand for what mjpg should be used. I have a Logitech c170 which is automatically recognized by the pi.

I got the Microsoft Lifecam HD-3000 working well on OctoPrint v. 1.8.2.

Does Logitech QuickCam Orbit MP require any special settings? (Not to confuse with Quickcam Orbit AF)

Octoprint-Camera-settings detects this camera and has PT controls, but no picture.

I tried updating the original post, but this goes over the 32000 characters limit. Here are the two elements that I wanted to add:

Camera USBID camera_usb_options Tester Comments
LG AN-VC300 043e:3008 -r 1024x768 YUYV only, tested on OrangePi Lite with OctoPrint 1.9.3 - @obones
Sunplus Innovation Technology Inc.
SPCA2281 / Q8 HD Webcam
1bcf:2281 -r 1024x768 Supports MJPEG, LED light ring around the sensor
Tested on OrangePi Lite with OctoPrint 1.9.3 - @obones

The first one was used with an LG TV until they removed Skype support.
The second one was bought during Single's day at AliExpress. Quality is not the best but it's good enough for my usage, especially considering that it supports MJPEG, saving precious CPU usage on the OrangePi Lit.

Camera USBID camera_usb_options Tester Comments
Creality Nebula a108:2231 -r 1920x1080 auto IR night vision; Supports MJPG, YUYV 4:2:2, NV12 (Y/UV 4:2:0), and H264
2 Likes