Webcam-Howto-2023: Unterschied zwischen den Versionen

Aus Weimarnetz Wiki
Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
 +
==An einem FreifunkRouter mit USB-Interface soll eine USB-Web-Cam angeschlossen werden.==
 +
Der Video-Stream soll  im Freifunk-Netz als Dienst bereitgestellt werden.
  
An einem Router mit USB-Interface soll eine USB-Web-Cam angeschlossen werden und einen Video-Stream im Freifunk-Netz bereitstellen.
+
'''Geeigneter Router''':  TP-Link TL-WR902AC v3.
  
Geeigneter Router:  TP-Link TL-WR902AC v3.
+
===Ablauf der Installation===
 +
Pakete auf dem Router installieren
  
Ablauf der Installation
+
1) Freifunk Firmware  openwrt- 21.02.6-9    Release ab 217  installieren.
  
1) Freifunk Firmware  openwrt- 21.02.6-9    Release 217  installieren.
+
2)  opkg update ausführen
 
 
2)   opkg update ausführen
 
  
 
3)  opkg install  kmod-video-uvc
 
3)  opkg install  kmod-video-uvc
Zeile 16: Zeile 17:
 
5)  opkg install mjpg-streamer-input-uvc
 
5)  opkg install mjpg-streamer-input-uvc
  
6) opkg install mjpg-streamer-output-http
+
6) opkg install mjpg-streamer-output-http
 +
 
 +
7)  /www/webcam/index.html    erstellen<blockquote><small><html></small>
 +
 
 +
<small>  <head></small>
 +
 
 +
<small>   <title>MJPG-Streamer - Stream Example</title></small>
 +
 
 +
<small>  </head></small>
 +
 
 +
<small>  <body></small>
 +
 
 +
<small>   <nowiki><center></nowiki></small>
 +
 
 +
<small>     <img src="http://10.63.115.1:8080?action=stream" /></small>
 +
 
 +
<small>   <nowiki></center></nowiki></small>
 +
 
 +
<small>  </body></small>
 +
 
 +
<small></html></small>
 +
</blockquote>
 +
 
 +
=== Konfiguration anpassen ===
 +
<blockquote>
 +
 
  
7)  /www/webcam/index.html    erstellen
+
</blockquote>
 
[[Kategorie:Howto]]
 
[[Kategorie:Howto]]

Version vom 20. Juni 2023, 21:42 Uhr

An einem FreifunkRouter mit USB-Interface soll eine USB-Web-Cam angeschlossen werden.

Der Video-Stream soll im Freifunk-Netz als Dienst bereitgestellt werden.

Geeigneter Router:  TP-Link TL-WR902AC v3.

Ablauf der Installation

Pakete auf dem Router installieren

1) Freifunk Firmware  openwrt- 21.02.6-9    Release ab 217  installieren.

2)  opkg update ausführen

3)  opkg install  kmod-video-uvc

4)  opkg install mjpg-streamer

5)  opkg install mjpg-streamer-input-uvc

6) opkg install mjpg-streamer-output-http

7)  /www/webcam/index.html    erstellen

<html>

  <head>

   <title>MJPG-Streamer - Stream Example</title>

  </head>

  <body>

   <center>

     <img src="http://10.63.115.1:8080?action=stream" />

   </center>

  </body>

</html>

Konfiguration anpassen