Webcams known to work

jalanjarosz edited this page Nov 13, 2018 · 219 revisions

While OctoPrint doesn't directly support webcams, using a webcam together with mjpg-streamer 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. If so, 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 /boot/octopi.txt or /etc/init.d/octoprint).

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
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
Clone Webcam
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
Cubeternet "zoom f=3.85mm Megapixel" 1e4e:0110 -r VGA -f 10 -y Try omitting -f - tkoester
Digitech 720p (Jaycar QC3203) -r VGA -f 30 -y Needed to disable webcamd and autorun script to get working. - Flirtle
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 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 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
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)
Gucee (iRush) HD92 1080p WebCam
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 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]
IPEVO Point 2 View 1778:0204 -r 640x480 -f 30 Tested on Raspberry Pi with OctoPi - Miker525
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] (https://github.com/tapiau)
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 QuickCam Orbit AF 046d:0994 -r 960x720 -f 10 Tested on Raspberry Pi3 - MetalRush
Logitech Quickcam Pro 9000 046d: -r VGA Tested on a Raspberry Pi - voxSchurman, First Video: http://youtu.be/32B-ezaCKe8 - jbarberillo
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 Webcam C100 046d: -r VGA -f 10 Tested on Raspberry Pi - [ModClovis] (https://github.com/modclovis)
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 C160 046d: -r VGA -f 10 Tested on Raspberry Pi - [AndrewBC] (https://github.com/AndrewBCN)
Logitech Webcam C170 046d:082b -r 1024x768 -f 30 or -r 1024x768 -f 15 Tested on Raspberry Pi. Runs in MJPG mode. - [Joske447] (https://github.com/Joske447), confirmed - ringsofdeath.,changes in /boot/octopi.txt for 1024x768 - cr4nk89
Logitech Webcam C210 046d:0819 -r VGA -f 10 Wabba2
Logitech Webcam C270 046d:0825 -r 1280x720 -f 30 or -r VGA -f 10 Tested on Raspberry Pi - foosel, stoneburner, rocket59, VictorLamoine, apazga
Logitech Webcam C310 046d:081b -r VGA -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 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] (https://github.com/alexncus)
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 C930e -r 1920x1080 -f 10 Tested on Raspberry Pi 3 - grumpytechie
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
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 VX-500/VX-700 045e -r 640x480 -f 10 -y Tested on Raspi Zero-W - [twmaster]
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 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 VGA -f 10 Add the USB ID additional_brokenfps_usb_devices=("046d:082b" "0603:1002") to /boot/octopi.txt, and remove -f in camera_usb_options="-r VGA " - [gweber] (https://github.com/gweber)
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.
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
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
SiGma Micro 1c4f:3000 Remove ALL settings except for USB and streams
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] (https://github.com/I-am-me)
Suyin Corp. Acer CrystalEye Webcam 064e:d101 -f 25 -y Tested on Arch Linux on Raspberry Pi while running Octoprint
Gsou Webcam
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] (https://github.com/mirage335)
Sweex WC066 -r SVGA -f 15 Tested on Octopi - [Stefan73] (https://github.com/Stefan73)
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
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.

Trust Spotlight -r VGA -f 1 -y Tested on Octopi
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
Wilko W460186 GEMBIRD 1908:2310 -r 640x480 -f 15 Only works at 30 or 15 fps. Tested on Raspi 3, Octopi 1.3.6.
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 Venus 0ac8:3420 -r VGA -f 30 -y Gsou Webcam
Z-Star Vega 0ac8:c302 -r VGA -f 30

The Raspberry Pi Camera

  • ./mjpg_streamer -i "input_raspicam.so $camera_usb_options" -o "output_http.so -w ./www"

Playstation Eye

  • You may need to run a few commands to get it running. sudo -s rpi-update reboot - OCybress
  • 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

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.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.