Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. go2rtc installieren und einrichten

    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

    go2rtc installieren und einrichten

    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      ioBrokerMike @Guest last edited by

      @dp20eic sagte in go2rtc installieren und einrichten:

      uf der Kiste, das folgende und schau, ob die Ports schon benutzt werden

      Aktive Internetverbindungen (Nur Server)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      7753/iobroker.js-co
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      7753/iobroker.js-co
      tcp        0      0 192.168.178.11:1883     0.0.0.0:*               LISTEN      7845/io.sonoff.0
      tcp        0      0 192.168.178.11:2010     0.0.0.0:*               LISTEN      7860/io.hm-rpc.0
      tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      618/smbd
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      561/sshd: /usr/sbin
      tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      618/smbd
      tcp6       0      0 :::8082                 :::*                    LISTEN      8025/io.web.0
      tcp6       0      0 :::8081                 :::*                    LISTEN      7771/io.admin.0
      tcp6       0      0 :::8095                 :::*                    LISTEN      8071/io.onvif.0
      tcp6       0      0 :::1984                 :::*                    LISTEN      525/go2rtc_linux_am
      tcp6       0      0 :::139                  :::*                    LISTEN      618/smbd
      tcp6       0      0 :::111                  :::*                    LISTEN      1/init
      tcp6       0      0 :::22                   :::*                    LISTEN      561/sshd: /usr/sbin
      tcp6       0      0 :::445                  :::*                    LISTEN      618/smbd
      tcp6       0      0 :::8554                 :::*                    LISTEN      525/go2rtc_linux_am
      tcp6       0      0 :::8555                 :::*                    LISTEN      525/go2rtc_linux_am
      udp        0      0 0.0.0.0:9522            0.0.0.0:*                           7950/io.sma-em.0
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           525/go2rtc_linux_am
      udp        0      0 192.168.178.11:47554    0.0.0.0:*                           525/go2rtc_linux_am
      udp        0      0 0.0.0.0:48241           0.0.0.0:*                           525/go2rtc_linux_am
      udp        0      0 0.0.0.0:68              0.0.0.0:*                           512/dhclient
      udp        0      0 0.0.0.0:111             0.0.0.0:*                           1/init
      udp        0      0 192.168.178.255:137     0.0.0.0:*                           567/nmbd
      udp        0      0 192.168.178.11:137      0.0.0.0:*                           567/nmbd
      udp        0      0 0.0.0.0:137             0.0.0.0:*                           567/nmbd
      udp        0      0 192.168.178.255:138     0.0.0.0:*                           567/nmbd
      udp        0      0 192.168.178.11:138      0.0.0.0:*                           567/nmbd
      udp        0      0 0.0.0.0:138             0.0.0.0:*                           567/nmbd
      udp6       0      0 2003:d8:5f40:3500:51478 :::*                                525/go2rtc_linux_am
      udp6       0      0 :::54422                :::*                                525/go2rtc_linux_am
      udp6       0      0 :::111                  :::*                                1/init
      
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
      tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      7753/iobroker.js-co
      tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      7753/iobroker.js-co
      tcp        0      0 192.168.178.11:1883     0.0.0.0:*               LISTEN      7845/io.sonoff.0
      tcp        0      0 192.168.178.11:2010     0.0.0.0:*               LISTEN      7860/io.hm-rpc.0
      tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      618/smbd
      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1/init
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      561/sshd: /usr/sbin
      tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      618/smbd
      tcp6       0      0 :::8082                 :::*                    LISTEN      8025/io.web.0
      tcp6       0      0 :::8081                 :::*                    LISTEN      7771/io.admin.0
      tcp6       0      0 :::8095                 :::*                    LISTEN      1/init     0      0 :::111      
      
      ? R 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @ioBrokerMike last edited by

        @iobrokermike sagte in go2rtc installieren und einrichten:

        tcp6 0 0 :::1984 :::* LISTEN 525/go2rtc_linux_am

        Moin,

        soll ich für dich suchen?

        Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
        tcp6       0      0 :::1984                 :::*                    LISTEN      525/go2rtc_linux_am
        tcp6       0      0 :::8554                 :::*                    LISTEN      525/go2rtc_linux_am
        tcp6       0      0 :::8555                 :::*                    LISTEN      525/go2rtc_linux_am
        udp        0      0 0.0.0.0:5353            0.0.0.0:*                           525/go2rtc_linux_am
        udp        0      0 192.168.178.11:47554    0.0.0.0:*                           525/go2rtc_linux_am
        udp        0      0 0.0.0.0:48241           0.0.0.0:*                           525/go2rtc_linux_am
        udp6       0      0 2003:d8:5f40:3500:51478 :::*                                525/go2rtc_linux_am
        udp6       0      0 :::54422                :::*                                525/go2rtc_linux_am
        

        Also, unter IPv6 werden die Ports schon genutzt, wieso, kann ich nicht sagen, da ich die Software nicht kenne und auch deine Installation nicht kenne.
        Es könnte sein, dass durch irgendwelche Tests noch was gestartet ist/war, oder Programme nicht sauber heruntergefahren sind und die Ports dadurch noch in Benutzung sind.

        Was sagt denn die Prozessliste, ist da schon etwas von go2rtc gestartet, versuchst du aus Versehen, das zweimal zu starten?

        # sudo ps -ax | grep -i 'go'
        

        VG
        Bernd

        I 1 Reply Last reply Reply Quote 0
        • I
          ioBrokerMike @Guest last edited by ioBrokerMike

          @dp20eic sagte in go2rtc installieren und einrichten:

          ps -ax | grep -i 'go'

              525 ?        Ssl    1:02 /usr/local/bin/go2rtc_linux_amd64
             3490 ?        Sl     0:00 ./go2rtc_linux_amd64
             6336 ?        Sl     0:00 ./go2rtc_linux_amd64
             6364 ?        Sl     0:00 ./go2rtc_linux_amd64
            23632 pts/0    S+     0:00 grep -i go
          

          Zitat ... versuchst du aus Versehen, das zweimal zu starten?
          Für mich sieht es danach aus.
          Sollte ich erstmal mit kill -9 $(pgrep -f 'go2rtc') und dann mit ./go2rtc_linux_amd64 neu Starten

          Zitat: soll ich für dich suchen?
          Nein, ich habe leider von Linux keine Ahnung. 🙄

          Bei den ganzen Anleitung im Netz steige ich da nicht mehr durch.
          Und brauche eure Hilfe.

          PS. Ich habe es mit kill -9 $(pgrep -f 'go2rtc') Versucht und nun bekomme ich :

          13:48:17.786 INF go2rtc version 1.8.3 linux/amd64
          13:48:17.786 ERR [rtsp] listen error="listen tcp :8554: bind: address already in use"
          13:48:17.786 INF [webrtc] listen addr=:8555
          13:48:17.786 ERR [api] listen error="listen tcp :1984: bind: address already in use"
          
            24108 ?        Ssl    0:00 /usr/local/bin/go2rtc_linux_amd64
            24130 pts/0    S+     0:00 grep -i go
          
          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @ioBrokerMike last edited by

            @iobrokermike sagte in go2rtc installieren und einrichten:

            Und brauche eure Hilfe.

            Moin,

            tut mir leid, da kann ich nicht weiter helfen, ich setze die Software nicht ein, kenne die auch nicht, da müssen Dir die helfen, die das am Laufen haben.
            Wenn Du hier kurz in Stichpunkten erzählst, was Du gemacht hast, kann ich das vielleicht nachvollziehen, sicher bin ich mir aber nicht.

            VG
            Bernd

            P.S.: Gewöhne Dir bitte an, dass Du immer alles zeigst, von der Eingabezeile, bis zum neuen Prompt.

            1 Reply Last reply Reply Quote 0
            • Marc_el_K
              Marc_el_K last edited by

              @ioBrokerMike

              1. Hast du die Dateien in cd /usr/local/bin abgelegt? Wenn ja, welche liegen dort drin?
              2. Welche Berechtigung hast du vergeben? (chmod 755)
              3. Ist denn motioneye beendet? deine ports scheinen ja belegt zu sein.
              4. Was ist in der Kamera für ein Stream eingestellt?
              I 1 Reply Last reply Reply Quote 0
              • I
                ioBrokerMike @Marc_el_K last edited by ioBrokerMike

                @marc_el_k sagte in go2rtc installieren und einrichten:

                1.Hast du die Dateien in cd /usr/local/bin abgelegt? Wenn ja, welche liegen dort drin?
                go2rtc.yaml sowie go2rtc_linux_amd64
                2. Welche Berechtigung hast du vergeben? (chmod 755)
                Beide chmod 777
                3.Ist denn motioneye beendet? deine ports scheinen ja belegt zu sein.
                Nein, werde ich sofort machen. Ist aus, keine Verbindung zum Netzwerk
                4.Was ist in der Kamera für ein Stream eingestellt?
                ONVIF : 8000 | RSTP: 554 | HTTPS: 443 | HTTP: 80 | RTMP: 1935| MEDIA: 9000

                yaml :

                streams:
                  1_main:
                    - rtsp://user:pwd@192.168.178.199:554/h264Preview_01_main
                    
                  1_sub:
                    - rtsp://user:pwd@192.168.178.199:554/h264Preview_01_sub​
                
                  Foto:
                    - http://192.168.178.199/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=123456789&user=user&password=pwd 
                

                Stream :
                Unbenannt.png

                1 Reply Last reply Reply Quote 0
                • P
                  Peter1980 @jumbo125 last edited by

                  @jumbo125
                  Also denke ich half mir schon recht weit.
                  Dennoch bin ich nicht am Ziel.
                  Wenn ich go2rtc direkt aufrufe geht es.
                  Wenn ich es über den Service versuche geht leider nix.
                  Wenn ich schaue mit systemctl list-units --type=service welche services laufen, steht da leider bei
                  ● go2rtc.service loaded failed failed starting go2rtc server

                  Gibts da irgendwie ein log oder etwas was mir sagt, was das Problem ist?

                  J Thomas Braun 2 Replies Last reply Reply Quote 0
                  • J
                    jumbo125 @Peter1980 last edited by

                    @peter1980
                    hast du die datei in

                    cd /etc/systemd/system/
                    

                    angelegt?
                    mach mal ein foto von dern failed error meldung, bitte

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Peter1980 last edited by

                      @peter1980 sagte in go2rtc installieren und einrichten:

                      Gibts da irgendwie ein log oder etwas was mir sagt, was das Problem ist?

                      systemctl status go2rtc.service
                      
                      P 1 Reply Last reply Reply Quote 0
                      • P
                        Peter1980 @Thomas Braun last edited by

                        @thomas-braun

                        38f566b5-eec2-4f53-b18b-42270482fdaa-image.png

                        @jumbo125

                        cab065bb-46e9-4c33-8a1e-e61091092542-image.png ^

                        d983e026-08fc-4374-8856-7dbeaef267ef-image.png

                        Danke schon mal für die Unterstützung

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Peter1980 last edited by

                          @peter1980

                          Bitte keine sinnfreien Bildchen von Texten. CodeTags verwenden.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            Peter1980 @Thomas Braun last edited by

                            @thomas-braun

                            pi@PI5:/etc/systemd/system $ sudo systemctl status go2rtc.service
                            × go2rtc.service - starting go2rtc server
                                 Loaded: loaded (/etc/systemd/system/go2rtc.service; enabled; preset: enabled)
                                 Active: failed (Result: exit-code) since Mon 2023-12-18 12:55:26 CET; 2min 38s ago
                               Duration: 817us
                                Process: 1069 ExecStart=/usr/local/bin/go2rtc_linux_arm64 (code=exited, status=217/USER)
                               Main PID: 1069 (code=exited, status=217/USER)
                                    CPU: 0
                            
                            Dec 18 12:55:26 PI5 systemd[1]: go2rtc.service: Scheduled restart job, restart counter is at 5.
                            Dec 18 12:55:26 PI5 systemd[1]: Stopped go2rtc.service - starting go2rtc server.
                            Dec 18 12:55:26 PI5 systemd[1]: go2rtc.service: Start request repeated too quickly.
                            Dec 18 12:55:26 PI5 systemd[1]: go2rtc.service: Failed with result 'exit-code'.
                            Dec 18 12:55:26 PI5 systemd[1]: Failed to start go2rtc.service - starting go2rtc server.
                            pi@PI5:/etc/systemd/system $ sudo nano go2rtc.service
                            pi@PI5:/etc/systemd/system $
                            
                            
                            

                            so???

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jumbo125 @Peter1980 last edited by jumbo125

                              @peter1980
                              user= odroid stimmt nicht!
                              ich nehme an dein benutzername ist nicht odroid.... das ist meiner am OdroidC2 (das ist ein einplatinen pc von einem anderen hersteller 🙂 )
                              deiner ist pi

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                Peter1980 @jumbo125 last edited by

                                @jumbo125

                                Vielen Dank. War wohl ein dummer Fehler.
                                Mit Pi geht alles 🙂

                                Schöne Feiertage euch.

                                J 1 Reply Last reply Reply Quote 0
                                • J
                                  jumbo125 @Peter1980 last edited by

                                  @peter1980
                                  gerne 😉
                                  lg jumbo

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kopterframe @Marc_el_K last edited by

                                    @marc_el_k Hast du noch irgendwelche Einstellungen in der Config gemacht?

                                    Marc_el_K 1 Reply Last reply Reply Quote 0
                                    • Marc_el_K
                                      Marc_el_K @Kopterframe last edited by

                                      @kopterframe sagte in go2rtc installieren und einrichten:

                                      @marc_el_k Hast du noch irgendwelche Einstellungen in der Config gemacht?

                                      In der Config stehen nur meine beiden Streams der Kameras

                                      Das jeweilige iframe habe ich mir wie folgt integriert

                                      <iframe src="http://....IP:PORT..../webrtc.html?src=camera1&media=video" scrolling="no" frameborder="0" height="290px" width=100%></iframe>
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Marc_el_K
                                        Marc_el_K last edited by

                                        Ich werde jetzt noch mittels Parser abfragen, ob es ein neues Release gibt, da hier doch hin und wieder Updates herausgegeben werden.

                                        Falls interessant, bitte bescheid sagen. Dann teile ich es gern.

                                        J 1 Reply Last reply Reply Quote 1
                                        • T
                                          ToK last edited by

                                          Meine Installation läuft - von einer Reolink TrackMix über go2rtc zu IoBroker/Vis.2. Im Stream wird rechts oben immer das Format angezeigt - entweder RTC oder MSE.
                                          Meine Frage hierzu - wie lässt sich diese Info ausblenden?

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            jumbo125 @Marc_el_K last edited by

                                            @marc_el_k said in go2rtc installieren und einrichten:

                                            Ich werde jetzt noch mittels Parser abfragen, ob es ein neues Release gibt, da hier doch hin und wieder Updates herausgegeben werden.

                                            Falls interessant, bitte bescheid sagen. Dann teile ich es gern.

                                            ja, wäre interessant

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            921
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            28
                                            155
                                            23968
                                            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