Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:user-guide:services:webcam [2018/03/03 20:21] – ↷ Links adapted because of a move operation docs:guide-user:hardware:video:webcam [2024/11/20 08:41] (current) – [Installation] Add mjpg-streamer-input-http mjpg-streamer-input-uvc packages to the list of "recommended" packages to install pschmitt
Line 1: Line 1:
-===== Webcam with the Linux UVC driver ===== +====== Webcam with the Linux UVC driver ====== 
-See [[docs:guide-user:hardware:usb.video|USB Video Support]]+See [[docs:guide-user:hardware:video:usb.video|USB Video Support]]
  
 [[wp>USB video device class]] [[wp>USB video device class]]
- 
  
 ===== Prerequisites ===== ===== Prerequisites =====
- +  - follow [[docs:guide-user:storage:usb-installing]] 
-  - follow [[doc:howto:usb.essentials]] +  - follow [[docs:guide-user:hardware:video:usb.video]]
-  - follow [[docs:guide-user:hardware:usb.video]]+
  
 ^ Name ^ Depends  ^  Size  ^ Description  ^ ^ Name ^ Depends  ^  Size  ^ Description  ^
Line 14: Line 12:
  
 The package [[man>motion]] is <del>not</del> now available in the OpenWrt repositories. http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome The package [[man>motion]] is <del>not</del> now available in the OpenWrt repositories. http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
- 
  
 ===== Installation ===== ===== Installation =====
 <code> <code>
-opkg install kmod-video-uvc mjpg-streamer+opkg install kmod-video-uvc mjpg-streamer mjpg-streamer-input-http mjpg-streamer-input-uvc
 </code> </code>
  
Line 38: Line 35:
  
 ===== Performance ===== ===== Performance =====
- 
 mjpeg-streamer fps, CPU load, memory usage, bandwidth at different resolutions: mjpeg-streamer fps, CPU load, memory usage, bandwidth at different resolutions:
- 
   * [[https://forum.openwrt.org/viewtopic.php?pid=296414#p296414|USB HD camera module (vid=05a3, pid=9230)]]   * [[https://forum.openwrt.org/viewtopic.php?pid=296414#p296414|USB HD camera module (vid=05a3, pid=9230)]]
   * [[https://forum.openwrt.org/viewtopic.php?pid=296534#p296534|Logitech HD Pro C920 (vid=046d, pid=082d)]]   * [[https://forum.openwrt.org/viewtopic.php?pid=296534#p296534|Logitech HD Pro C920 (vid=046d, pid=082d)]]
  
 ===== Embedding video stream into simple webpages ===== ===== Embedding video stream into simple webpages =====
- 
   * Download a package located [[http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/www/| here]] and unpack it into /www/webcam_www directory.   * Download a package located [[http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/www/| here]] and unpack it into /www/webcam_www directory.
   * Edit /etc/init.d/mjpg-streamer - find this line in function start():   * Edit /etc/init.d/mjpg-streamer - find this line in function start():
Line 57: Line 51:
  
 ===== Controlling exposure, color balance, etc. ===== ===== Controlling exposure, color balance, etc. =====
- 
 The opkg version of mjpg-streamer has no control options for the camera. If you want to control exposure, brightness and other options you'll need to install uvcdynctrl. The opkg version of mjpg-streamer has no control options for the camera. If you want to control exposure, brightness and other options you'll need to install uvcdynctrl.
  
Line 96: Line 89:
  
 The above can be added to /etc/rc.local, via the GUI or command line to load settings required for your camera. I use the above to enable auto exposure and auto white balance which would otherwise be disabled from cold a start. The above can be added to /etc/rc.local, via the GUI or command line to load settings required for your camera. I use the above to enable auto exposure and auto white balance which would otherwise be disabled from cold a start.
- 
- 
- 
- 
  
 ===== Webcam Pan and Tilt Example with Microprocessor ===== ===== Webcam Pan and Tilt Example with Microprocessor =====
Line 109: Line 98:
  
 ===== Troubleshooting ===== ===== Troubleshooting =====
- 
 If the control page doesn't contain any of the controls, edit the file /etc/init.d/mjpg-streamer and replace these lines If the control page doesn't contain any of the controls, edit the file /etc/init.d/mjpg-streamer and replace these lines
  
Line 139: Line 127:
         Colorspace    : SRGB         Colorspace    : SRGB
 </code> </code>
- 
  
 The package ''uvc-streamer'' is no longer in the OpenWrt repositories. The package ''uvc-streamer'' is no longer in the OpenWrt repositories.
Line 148: Line 135:
   * [[http://wiki.leipzig.freifunk.net/Diskussion:Backfire#quickcam_pro_5000]]   * [[http://wiki.leipzig.freifunk.net/Diskussion:Backfire#quickcam_pro_5000]]
  
- 
-===== Tags ===== 
-{{tag>ip_camera video webcam}} 
  • Last modified: 2024/11/20 08:41
  • by pschmitt