Webcam-Howto-2023: Unterschied zwischen den Versionen

Aus Weimarnetz Wiki
Zur Navigation springen Zur Suche springen
K
K
Zeile 7: Zeile 7:
 
Pakete auf dem Router installieren
 
Pakete auf dem Router installieren
  
1) Freifunk Firmware  openwrt- 21.02.6-9    Release ab 217  installieren.
+
* 1) Freifunk Firmware  openwrt- 21.02.6-9    Release ab 217  installieren.
 
+
* 2)  opkg update ausführen
2)  opkg update ausführen
+
* 3)  opkg install  kmod-video-uvc
 
+
* 4)  opkg install mjpg-streamer
3)  opkg install  kmod-video-uvc
+
* 5)  opkg install mjpg-streamer-input-uvc
 
+
* 6)  opkg install mjpg-streamer-output-http
4)  opkg install mjpg-streamer
+
* 7)  /www/webcam/index.html    erstellen<sup>:</sup>
 
+
<syntaxhighlight lang="arrow">
5)  opkg install mjpg-streamer-input-uvc
 
 
 
6)  opkg install mjpg-streamer-output-http
 
 
 
7)  /www/webcam/index.html    erstellen<sup>:</sup>
 
 
 
 
<html>
 
<html>
 
+
  <head>
  <head>
+
    <title>MJPG-Streamer - Stream Example</title>
 
+
  </head>
   <title>MJPG-Streamer - Stream Example</title>
+
  <body>
 
+
    <center>
  </head>
+
      <img src="http://10.63.115.1:8080?action=stream" />
 
+
    </center>
  <body>
+
  </body>
 
 
   <nowiki><center></nowiki>
 
 
 
     <img src="http://10.63.115.1:8080?action=stream" />
 
 
 
   <nowiki></center></nowiki>
 
 
 
  </body>
 
 
 
 
</html>
 
</html>
 +
</syntaxhighlight>
  
 
===Konfiguration anpassen===
 
===Konfiguration anpassen===

Version vom 27. Juni 2023, 21:32 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

Noch in Arbeit ! Sorry bis später !!