Streamlink[-27], der Nachfolger von Livestreamer

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • Du willst das ja wahrscheinlich wegen RocketBeans TV oder?
      Das würde mich auch interessieren,hab deswegen auch schon mal gesucht.
      TV Spielfilm bietet da ja auch was an aber ob man das angezeigt bekommen kann weiß ich nicht.
    • Zattoo dürfte die Authentifizierung geändert haben

      Quellcode

      1. C:\Users\root>c:\Streamlink\streamlink.bat https://zattoo.com/watch/srf_zwei --default-stream best --zattoo-email xxxxx.xxxxx@xxx.xx --zattoo-password ******** --zattoo-stream-types hls -l debug
      2. [cli][debug] OS: Windows 10
      3. [cli][debug] Python: 3.6.5
      4. [cli][debug] Streamlink: 1.1.1
      5. [cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.56.0)
      6. [cli][info] Found matching plugin zattoo for URL https://zattoo.com/watch/srf_zwei
      7. [cli][debug] Plugin specific arguments:
      8. [cli][debug] --zattoo-email=xxxxx.xxxxx@xxx.xx (email)
      9. [cli][debug] --zattoo-password=******** (password)
      10. [cli][debug] --zattoo-stream-types=['hls'] (stream_types)
      11. [plugin.zattoo][debug] _hello ...
      12. Traceback (most recent call last):
      13. File "c:\Streamlink\\streamlink-script.py", line 12, in <module>
      14. main()
      15. File "c:\Streamlink\packages\streamlink_cli\main.py", line 1033, in main
      16. handle_url()
      17. File "c:\Streamlink\packages\streamlink_cli\main.py", line 577, in handle_url
      18. streams = fetch_streams(plugin)
      19. File "c:\Streamlink\packages\streamlink_cli\main.py", line 457, in fetch_streams
      20. sorting_excludes=args.stream_sorting_excludes)
      21. File "c:\Streamlink\packages\streamlink\plugin\plugin.py", line 317, in streams
      22. ostreams = self._get_streams()
      23. File "c:\Streamlink\packages\streamlink\plugins\zattoo.py", line 335, in _get_streams
      24. self._hello()
      25. File "c:\Streamlink\packages\streamlink\plugins\zattoo.py", line 157, in _hello
      26. app_token = match.group(1)
      27. AttributeError: 'NoneType' object has no attribute 'group'
      28. C:\Users\root>
      Alles anzeigen
      Ist zwar von der PC Version aber bei der VU+ Version hab ich bei -l debug die letzte Zeile stehen im Log.
      Dürfte somit der selbe Fehler sein

      Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von misteranonymus ()

    • Hier dann noch das Log der VU+ mit -l debug

      Quellcode

      1. root@vuduo2:~# /etc/init.d/streamlinksrv stop
      2. root@vuduo2:~# /etc/init.d/streamlinksrv manualstart
      3. pidfile /var/run/streamlink.pid does not exist. Daemon not running?
      4. [streamlinksrv][info] Fri Apr 10 11:57:28 2020 Server (1.1.0) started
      5. [streamlinksrv][info] Host: vuduo2
      6. [streamlinksrv][info] Port: 8088
      7. [streamlinksrv][info] OS: Linux-3.13.5-mips-with-glibc2.0
      8. [streamlinksrv][info] Python: 2.7.9
      9. [streamlinksrv][info] Streamlink: 1.3.1 / 2020-01-29
      10. [streamlinksrv][info] Requests(2.22.0), Websocket(0.48.0)
      11. Failed to load plugin ustvnow:
      12. File "/usr/lib/python2.7/site-packages/streamlink/plugins/ustvnow.py", line 12, in <module>
      13. from Crypto.Util.Padding import pad, unpad
      14. ImportError: No module named Padding
      15. [plugin.youtubedl][info] youtube-dl version: 2019.03.01
      16. [streamlinksrv][info] Processing URL: https://zattoo.com/watch/srf_zwei
      17. [streamlinksrv][debug] Plugin specific arguments:
      18. [streamlinksrv][debug] --zattoo-email=xxxxx.xxxxx@xxx.xx (email)
      19. [streamlinksrv][debug] --zattoo-password=******** (password)
      20. [streamlinksrv][debug] --zattoo-stream-types=['hls'] (stream_types)
      21. [streamlinksrv][info] Found matching plugin zattoo for URL https://zattoo.com/watch/srf_zwei
      22. [plugin.zattoo][debug] Session control for zattoo.com
      23. [plugin.zattoo][debug] User is not logged in
      24. [plugin.zattoo][debug] _hello ...
      25. [streamlinksrv][error] Got exception: 'NoneType' object has no attribute 'group'
      Alles anzeigen

      Hier sieht man sehr schön an der Zeile

      Quellcode

      1. [plugin.zattoo][debug] User is not logged in
      dass das Login so nicht akzeptiert wird ;( :thumbdown:
    • Als streamlink-Anfänger bräuchte ich mal eure Hilfe.
      Hab die Pakete aus Post Nr. 1 jetzt erfolgreich auf meiner Solo4k installiert und einen reboot gemacht. Jetzt würde ich gerne einen earthcam-stream in meine Favoriten-Liste einbinden. Der läuft nämlich nur noch ein paar Minuten da die irgenwas verändert haben. Es gab den Tip es mal mit streamlink zu probieren.
      Bis neue Streams immer über meinen Kanallisteneditor hizugefügt (mit e-chanelizer). Dort einfach manuell einen neuen Sender bzw. Stream hinzugefügt, den Link eingetragen und festgelegt über welchen Player der Stream abgespielt werden soll (z. B GStreamer). Wie muss ich den jetzt vorgehen, damit streamlink angesprochen wird?
    • also eigentlich brauchst du @humaxdsl Streamlink gar nicht.
      Hier am Beispiel Seattle
      seattle_1.JPG

      Oder du gibst bei URL folgendes ein

      Quellcode

      1. http://127.0.0.1:8088/https://videos-3.earthcam.com/fecnetwork/17833.flv/chunklist_w1258172941.m3u8 --default-stream best

      Und hast als Ergebnis das:
      Seattle_Streamlink.JPG

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von misteranonymus ()

    • Zu Deinem zweiten Vorschlag: Wenn ich das so bei url eingebe (mit deinem Bespiel) wird der Sender nicht abgespielt.

      So wie Du es in Deinem ersten Beitrag beschrieben hast, habe ich es ja auch immer gemacht. Aber bei einigen earthcam-streams ändert sich jetzt in kurzen Abständen immer die chunklist und daher laufen die Streams immer nur kurz. Daher gab es von @foxmulder den Hinweis, ich möge es mal mit streamlink probieren. Konkret geht es um diesen Stream hier:

      fvzLbC0ug9AeueHu4yeaRgD9xhPn8VfuN0=

      Deshalb die Frage, was ich jetzt anders machen muss.
    • Tja, @humaxdsl
      Eigentlich, um wieder das Beispiel Seattle zu nehmen, müsste es so auch gehen

      Quellcode

      1. http:/127.0.0.1:8088/https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle --default-stream best

      aber es kommt, zumindest bei der PC Version von streamlink folgende Fehlermeldung

      Quellcode

      1. C:\Users\root>c:\Streamlink\streamlink.bat https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle --default-stream best -l debug
      2. [cli][debug] OS: Windows 10
      3. [cli][debug] Python: 3.6.5
      4. [cli][debug] Streamlink: 1.1.1
      5. [cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.56.0)
      6. [cli][info] Found matching plugin earthcam for URL https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle
      7. [plugin.earthcam][debug] Found cam for Seattle, WA - Seattle Space Needle Cam
      8. [plugin.earthcam][debug] RTMP URL: rtmp://videos-3.earthcam.com/fecnetwork/17833.flv
      9. [plugin.earthcam][debug] HLS URL: https://videos-3.earthcam.com/fecnetwork/17833.flv/playlist.m3u8
      10. [utils.l10n][debug] Language code: de_AT
      11. error: Unable to open URL: https://videos-3.earthcam.com/fecnetwork/17833.flv/playlist.m3u8 (403 Client Error: Forbidden for url: https://videos-3.earthcam.com/fecnetwork/17833.flv/playlist.m3u8)
      12. C:\Users\root>
      Alles anzeigen
      Und da das Plugin earthcam.py schon seit zwei Jahren nicht mehr bearbeitet wurde kannst du es vergessen
      github.com/streamlink/streamli…mlink/plugins/earthcam.py
    • Nein, du machst nichts falsch.

      Wie gesagt, das earthcam Plugin ist Stand vor zwei Jahre.
      Damals hat das noch funktioniert und damals konnte man den Link playlist.m3u8 problemlos abspielen.
      Nun, wahrscheinlich Cookie gesteuert, nicht mehr.
      Nur welches Cookie gilt?

      Quellcode

      1. # HTTP Cookie File for earthcam.com by Genuinous @genuinous.
      2. # To download cookies for this tab click here, or download all cookies.
      3. # Usage Examples:
      4. # 1) wget -x --load-cookies cookies.txt "https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle"
      5. # 2) curl --cookie cookies.txt "https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle"
      6. # 3) aria2c --load-cookies cookies.txt "https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle"
      7. #
      8. .earthcam.com TRUE / FALSE 1589119652 __cfduid dbf3903ee24dfc74f5ceed08c698e5ce51586527652
      9. .earthcam.com TRUE / FALSE 1649603222 _ga GA1.2.2037236520.1586527654
      10. .earthcam.com TRUE / FALSE 1586617622 _gid GA1.2.1168275565.1586527654
      11. .www.earthcam.com TRUE / FALSE 0 ec_sid p967ns6puoevjqiqvd86tano86
      12. .earthcam.com TRUE / FALSE 1594307225 _fbp fb.1.1586528048490.1078232498
      13. www.earthcam.com FALSE / FALSE 1618067224 volumeSlider 0.01
      14. www.earthcam.com FALSE / FALSE 1586531546 EarthCamTempAdSkip EarthCamTempAdSkip
      15. www.earthcam.com FALSE / TRUE 0 GED_PLAYLIST_ACTIVITY W3sidSI6IktiOFYiLCJ0c2wiOjE1ODY1MzEyOTYsIm52IjowLCJ1cHQiOjE1ODY1MzEyMjEsImx0IjoxNTg2NTMxMjM1fV0.
      Alles anzeigen
      Und wie bindet man das in Streamlink ein?

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von misteranonymus ()

    • Nein das geht wie in dem anderen Thread beschrieben, dafür nimmt man jetzt die Webseitenadresse. Einfügen würde ich die mit Notepad ++, müsste auch irgendwo beschrieben sein wie das genau geht.
    • Also mit dem Tipp von #373 funktioniert es am PC

      Quellcode

      1. C:\Users\root>c:\Streamlink\streamlink.bat https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle best --config "c:\Streamlink\config.earthcam" -l debug
      2. [cli][debug] OS: Windows 10
      3. [cli][debug] Python: 3.6.5
      4. [cli][debug] Streamlink: 1.1.1
      5. [cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.56.0)
      6. [cli][info] Found matching plugin earthcam for URL https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle
      7. [plugin.earthcam][debug] Found cam for Seattle, WA - Seattle Space Needle Cam
      8. [plugin.earthcam][debug] RTMP URL: rtmp://videos-3.earthcam.com/fecnetwork/17833.flv
      9. [plugin.earthcam][debug] HLS URL: https://videos-3.earthcam.com/fecnetwork/17833.flv/playlist.m3u8
      10. [utils.l10n][debug] Language code: de_AT
      11. [cli][info] Available streams: 720p (worst), live (best)
      12. [cli][info] Opening stream: live (rtmp)
      13. [stream.streamprocess][debug] Spawning command: c:\Streamlink\\rtmpdump\rtmpdump.exe --flv - --live true --pageUrl https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle --playpath 17833.flv --rtmp rtmp://videos-3.earthcam.com/fecnetwork/ --swfUrl http://static.earthcam.com/swf/streaming/stream_viewer_v3.swf
      14. [cli][debug] Pre-buffering 8192 bytes
      15. [cli][info] Starting player: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
      16. [cli.output][debug] Opening subprocess: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --input-title-format https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle -
      17. [cli][debug] Writing stream to output
      18. [cli][info] Stream ended
      19. Interrupted! Exiting...
      20. [cli][info] Closing currently open stream...
      Alles anzeigen
      Weil ich Streamlink gesagt habe wo die Config Datei für den Header für earthcam liegt.

      Bei der VU+ leider noch nicht.
      Aber ich bin am basteln
    • ... und tatsächlich, es läuft

      Quellcode

      1. root@vuduo2:~# /etc/init.d/streamlinksrv stop
      2. root@vuduo2:~# /etc/init.d/streamlinksrv manualstart
      3. pidfile /var/run/streamlink.pid does not exist. Daemon not running?
      4. [streamlinksrv][info] Fri Apr 10 17:34:00 2020 Server (1.1.0) started
      5. [streamlinksrv][info] Host: vuduo2
      6. [streamlinksrv][info] Port: 8088
      7. [streamlinksrv][info] OS: Linux-3.13.5-mips-with-glibc2.0
      8. [streamlinksrv][info] Python: 2.7.9
      9. [streamlinksrv][info] Streamlink: 1.3.1 / 2020-01-29
      10. [streamlinksrv][info] Requests(2.22.0), Websocket(0.48.0)
      11. Failed to load plugin ustvnow:
      12. File "/usr/lib/python2.7/site-packages/streamlink/plugins/ustvnow.py", line 12, in <module>
      13. from Crypto.Util.Padding import pad, unpad
      14. ImportError: No module named Padding
      15. [plugin.youtubedl][info] youtube-dl version: 2019.03.01
      16. [streamlinksrv][info] Processing URL: https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle
      17. [streamlinksrv][error] unrecognized arguments: --default-stream best --config /home/root/.config/streamlink/config.earthcam
      18. [streamlinksrv][info] Found matching plugin earthcam for URL https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle
      19. [plugin.earthcam][debug] Found cam for Seattle, WA - Seattle Space Needle Cam
      20. [plugin.earthcam][debug] RTMP URL: rtmp://videos-3.earthcam.com/fecnetwork/17833.flv
      21. [plugin.earthcam][debug] HLS URL: https://videos-3.earthcam.com/fecnetwork/17833.flv/playlist.m3u8
      22. [utils.l10n][debug] Language code: en_US
      23. [streamlinksrv][info] Available streams:
      24. 720p (worst), live (best)
      25. [streamlinksrv][info] Opening stream: live (rtmp)
      26. [stream.streamprocess][debug] Spawning command: /usr/bin/rtmpdump --flv - --live true --pageUrl https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle --playpath 17833.flv --rtmp rtmp://videos-3.earthcam.com/fecnetwork/ --swfUrl http://static.earthcam.com/swf/streaming/stream_viewer_v3.swf
      27. [streamlinksrv][debug] Writing stream to player
      Alles anzeigen
      Also @humaxdsl

      Die Tipps von Post #373 einhalten

      Dazu ist aber ein bisschen Linux Wissen gefragt.

      Zuerst verbindest du dich mit putty mit deiner VU+
      Dann erstellst du den Ordner .config und danach den Ordner streamlink
      .Ordner sind versteckte Ordner die nicht angezeigt werden (ausser du hast den Midnight Commander bei deiner VU+ installiert)
      Funktioniert folgendermaßen (ab mkdir kannst Copy-Paste machen);

      Quellcode

      1. root@vuduo2:/home# mkdir /home/root/.config
      2. und danach
      3. root@vuduo2:/home# mkdir /home/root/.config/streamlink
      Danach kopierst das in ein Notepad++

      Quellcode

      1. http-header=User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0
      2. http-header=Accept=*/*
      Und speicherst es auf deinen PC/Laptop unter den Dateinamen config.earthcam

      Nun musst du diese Datei auf deine VU+ bringen.
      Hierzu ist WinSCP zu empfehlen.
      Beim Hochladen der Datei muss du aber den Pfad von /home/root/*.* auf folgendes umschreiben (ist gelb markiert)
      configearthcam.JPG

      Danach sicherheitshalber ein chmod 777 auf die Datei

      Quellcode

      1. root@vuduo2:/home# chmod 777 /home/root/.config/streamlink/config.earthcam
      Und im E-Chanalizer folgendes als Sender einbinden:

      Quellcode

      1. http://127.0.0.1:8088/https://www.earthcam.com/usa/washington/seattle/?cam=seattlespaceneedle --default-stream best --config '/home/root/.config/streamlink/config.earthcam'

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von hgdo ()