Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. RTSP-Stream aus Kamera konvertieren für VIS

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED RTSP-Stream aus Kamera konvertieren für VIS

    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      onkel-ede last edited by

      Hallo zusammen,
      ich habe den Überblick verloren nach dem Durcharbeiten der ganzen Forenbeiträge zum Thema. Ich habe ein Kamera (SRICAM 1080P), welche einen RTSP-Stream liefert und Bewegung erkennt. In der hauseigenen App funktioniert alles, außerdem in VLC. Die Kamera soll aber nicht nach außen telefonieren. Ich möchte eine Mail mit Foto und/oder Videosequenz bekommen, wenn Bewegung erkannt wird. Außerdem soll Foto und Videosequenz in meiner Strato-Cloud gespeichert werden, falls die Hütte mitsamt der Kamera ausgeräumt wird. Foto und Video möchte ich in VIS in der iobroker-iOS-App darstellen. Was benötige ich alles auf dem Raspi? - ffmpeg, motioneyeOS und motion oder muss ich noch Adapter installieren? Wird ein Datenpunkt angelegt, den ich für die Benachrichtigung abgreifen kann? Ist ein Raspi 3+ überhaupt performant genug für mein Vorhaben oder sollte ich das besser in Docker auf einer geplanten Synology DS218+ realisieren? VG onkel-ede

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @onkel-ede last edited by

        @onkel-ede

        @onkel-ede sagte in RTSP-Stream aus Kamera konvertieren für VIS:

        Ich möchte eine Mail mit Foto und/oder Videosequenz bekommen, wenn Bewegung erkannt wird. Außerdem soll Foto und Videosequenz in meiner Strato-Cloud gespeichert werden, falls die Hütte mitsamt der Kamera ausgeräumt wird.

        das kannst du alles in Motioneye einstellen

        @onkel-ede sagte in RTSP-Stream aus Kamera konvertieren für VIS:

        Wird ein Datenpunkt angelegt, den ich für die Benachrichtigung abgreifen kann

        musst du dir manuell anlegen und in Motioneye hinterlegen

        @onkel-ede sagte in RTSP-Stream aus Kamera konvertieren für VIS:

        Ist ein Raspi 3+ überhaupt performant genug für mein Vorhaben

        kommt darauf an was alles auf dem raspi läuft, eine Cam wird er vllt packen, je nach Einstellung der Stream und Videoqualität, die du haben möchtest.

        O 1 Reply Last reply Reply Quote 0
        • O
          onkel-ede @crunchip last edited by

          @crunchip
          Danke für die schnelle Antwort. Werde ich gleich ausprobieren. Heißt also ich benötige nur motioneye. ffmpeg und motion kann ich mir sparen?
          Gruß onkel-ede

          E 1 Reply Last reply Reply Quote 0
          • E
            el_malto @onkel-ede last edited by el_malto

            @onkel-ede
            MotionEye installiert das alles selbst mit.

            Ich hatte mich mal mit der ganzen Materie und so beschäftigt und verschiedene Programme ausprobiert.

            MotionEye (Linux):

            • Einfach einzurichten
            • Gut über http steuerbar
            • Leider ohne Ton
            • Sehr resourcenschonend

            Zoneminder (Linux):

            • Ein bisschen kompliziert einzurichten und nicht so übersichtlich
            • Gut über http steuerbar (Es wird auch gerade ein Adapter entwickelt)
            • Mit Ton
            • Bei mir hat es sehr viel Resourcen gezogen. 3x so viel wie MotionEye

            iSpy (Windows):

            • Einfach einzurichten
            • Gut über http steuerbar
            • Mit Ton
            • Auch sehr resourcenschonend
            • Speichermanagement.

            Ich bin bei iSpy geblieben, da ich einen Windows Server 24/7 laufen habe. Weiß nicht ob ich mich sonst für MotionEye oder Zoneminder entscheiden würde. Musst du dich sonst mal mit auseinander setzen was dir besser gefällt. MotionEye ist da auf jeden Fall "user freundlicher" vom handling.
            Die steuerung mit Bildern und Videos per Mail oder Telegram musst du dir das alles selbst per Blockly basteln.

            O 1 Reply Last reply Reply Quote 0
            • O
              onkel-ede @el_malto last edited by

              @el_malto
              Habe motioneye nach folgender Anleitung installieren wollen:
              https://wiki.instar.de/Erweitert/IOBroker_auf_Raspberry_Pi/motionEye/

              Erhalte jedoch beim Ausführen von
              sudo pip install motioneye
              folgende Fehlermeldung:


              pi@ioBroker-RasPi:~ $ sudo pip install motioneye
              Collecting motioneye
              Using cached https://files.pythonhosted.org/packages/da/6c/0999a8c939fdd6da017 d60648a46026fb787d8cc55e89e03d676ae9ae436/motioneye-0.41.tar.gz
              Collecting jinja2 (from motioneye)
              Using cached https://files.pythonhosted.org/packages/65/e0/eb35e762802015cab1c cee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl
              Collecting pillow (from motioneye)
              Downloading https://files.pythonhosted.org/packages/87/dc/7597336c48796d4a8360 07460148b7baf7f278ad42b73d49047eb0e8194c/Pillow-6.2.0.tar.gz (37.4MB)
              99% |████████████████████████████████| 37.4MB 4.1MB/s eta 0:00:01Exception:
              Traceback (most recent call last):
              File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
              status = self.run(options, args)
              File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run
              wb.build(autobuilding=True)
              File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
              self.requirement_set.prepare_files(self.finder)
              File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepa re_files
              ignore_dependencies=self.ignore_dependencies))
              File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prep are_file
              session=self.session, hashes=hashes)
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_u rl
              hashes=hashes
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_h ttp_url
              hashes)
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 882, in _downloa d_http_url
              _download_url(resp, link, content_file, hashes)
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 603, in _downloa d_url
              hashes.check_against_chunks(downloaded_chunks)
              File "/usr/lib/python2.7/dist-packages/pip/utils/hashes.py", line 46, in check against_chunks
              for chunk in chunks:
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 571, in written
              chunks
              for chunk in chunks:
              File "/usr/lib/python2.7/dist-packages/pip/utils/ui.py", line 139, in iter
              for x in it:
              File "/usr/lib/python2.7/dist-packages/pip/download.py", line 560, in resp_rea d
              decode_content=False):
              File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/res ponse.py", line 432, in stream
              data = self.read(amt=amt, decode_content=decode_content)
              File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/res ponse.py", line 380, in read
              data = self._fp.read(amt)
              File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachec ontrol/filewrapper.py", line 63, in read
              self._close()
              File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachec ontrol/filewrapper.py", line 50, in _close
              self.__callback(self.__buf.getvalue())
              File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachec ontrol/controller.py", line 275, in cache_response
              self.serializer.dumps(request, response, body=body),
              File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachec ontrol/serialize.py", line 87, in dumps
              ).encode("utf8"),
              MemoryError

              Was mache ich da falsch?
              Gruß onkel-ede

              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @onkel-ede last edited by crunchip

                @onkel-ede weiss zwar nicht,was da falsch gelaufen ist, aber warum gehst du nicht direkt auf Link Text und installierst nach Beschreibung
                oder siehe Link Text wegen dem python modul

                1 Reply Last reply Reply Quote 1
                • O
                  onkel-ede last edited by

                  Danke für die Links.
                  Motioneye hat nun geklappt und läuft.
                  Offenbar hat pip install pytz das Problem behoben.
                  Allerdings lässt sich motion nicht installieren:


                  pi@ioBroker-RasPi:~ $ sudo wget https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
                  --2019-10-20 19:10:40-- https://github.com/Motion-Project/motion/releases/download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
                  Auflösen des Hostnamens »github.com (github.com)« … 140.82.118.4
                  Verbindungsaufbau zu github.com (github.com)|140.82.118.4|:443 … verbunden.
                  HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
                  Platz: https://github-production-release-asset-2e65be.s3.amazonaws.com/20822620/77fdcb80-bc14-11e9-81f5-70e7bfc5bdfb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191020%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191020T171041Z&X-Amz-Expires=300&X-Amz-Signature=3ae847f9d69ecf14657e7691062299dee4cc727f82c1feee6a5ff6bab3ec6da3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3Dpi_buster_motion_4.2.2-1_armhf.deb&response-content-type=application%2Foctet-stream [folgend]
                  --2019-10-20 19:10:41-- https://github-production-release-asset-2e65be.s3.amazonaws.com/20822620/77fdcb80-bc14-11e9-81f5-70e7bfc5bdfb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191020%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191020T171041Z&X-Amz-Expires=300&X-Amz-Signature=3ae847f9d69ecf14657e7691062299dee4cc727f82c1feee6a5ff6bab3ec6da3&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3Dpi_buster_motion_4.2.2-1_armhf.deb&response-content-type=application%2Foctet-stream
                  Auflösen des Hostnamens »github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)« … 52.216.128.83
                  Verbindungsaufbau zu github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.128.83|:443 … verbunden.
                  HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
                  Länge: 312748 (305K) [application/octet-stream]
                  Wird in »»pi_buster_motion_4.2.2-1_armhf.deb.2«« gespeichert.

                  pi_buster_motion_4.2.2-1_armhf.deb.2 100%[======================================================================>] 305,42K 739KB/s in 0,4s

                  2019-10-20 19:10:42 (739 KB/s) - »»pi_buster_motion_4.2.2-1_armhf.deb.2«« gespeichert [312748/312748]

                  pi@ioBroker-RasPi:~ $ sudo dpkg -i pi_buster_motion_4.2.2-1_armhf.deb
                  (Lese Datenbank ... 54300 Dateien und Verzeichnisse sind derzeit installiert.)
                  Vorbereitung zum Entpacken von pi_buster_motion_4.2.2-1_armhf.deb ...
                  Entpacken von motion (4.2.2-1) über (4.0-1) ...
                  dpkg: Abhängigkeitsprobleme verhindern Konfiguration von motion:
                  motion hängt ab von libavcodec58 (>= 7:4.0); aber:
                  Paket libavcodec58 ist nicht installiert.
                  motion hängt ab von libavdevice58 (>= 7:4.0); aber:
                  Paket libavdevice58 ist nicht installiert.
                  motion hängt ab von libavformat58 (>= 7:4.1); aber:
                  Paket libavformat58 ist nicht installiert.
                  motion hängt ab von libavutil56 (>= 7:4.0); aber:
                  Paket libavutil56 ist nicht installiert.
                  motion hängt ab von libc6 (>= 2.28); aber:
                  Version von libc6:armhf auf dem System ist 2.24-11+deb9u3.
                  motion hängt ab von libgnutls30 (>= 3.6.5); aber:
                  Version von libgnutls30:armhf auf dem System ist 3.5.8-5+deb9u4.
                  motion hängt ab von libmariadb3 (>= 3.0.0); aber:
                  Paket libmariadb3 ist nicht installiert.
                  motion hängt ab von libmicrohttpd12 (>= 0.9.50); aber:
                  Paket libmicrohttpd12 ist nicht installiert.
                  motion hängt ab von libswscale5 (>= 7:4.0); aber:
                  Paket libswscale5 ist nicht installiert.
                  motion hängt ab von libwebpmux3 (>= 0.6.1-2); aber:
                  Paket libwebpmux3 ist nicht installiert.

                  dpkg: Fehler beim Bearbeiten des Paketes motion (--install):
                  Abhängigkeitsprobleme - verbleibt unkonfiguriert
                  Trigger für systemd (232-25+deb9u6) werden verarbeitet ...
                  Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                  Fehler traten auf beim Bearbeiten von:
                  motion

                  crunchip 1 Reply Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @onkel-ede last edited by

                    @onkel-ede probier mal nicht die dev sondern die Master version.

                    1 Reply Last reply Reply Quote 0
                    • O
                      onkel-ede last edited by

                      Klasse, hat funktioniert.
                      Besten Dank.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Support us

                      ioBroker
                      Community Adapters
                      Donate
                      FAQ Cloud / IOT
                      HowTo: Node.js-Update
                      HowTo: Backup/Restore
                      Downloads
                      BLOG

                      786
                      Online

                      31.9k
                      Users

                      80.3k
                      Topics

                      1.3m
                      Posts

                      kamera rtsp-stream
                      3
                      9
                      1580
                      Loading More Posts
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes
                      Reply
                      • Reply as topic
                      Log in to reply
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      The ioBroker Community 2014-2023
                      logo