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

    • Billy2011 schrieb:

      Ich habe ein neues Plugin hinzugefügt, damit man auch youtube-dl benutzen kann.

      Beispiel:
      #SERVICE 4097:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/youtubedl%3a//https%3a//www.youtube.com/watch?v=hberfFI7AAo:CAPITAL BRA - DER BRATAN BLEIBT DER GLEICHE
      Killer-Feature, sehr geil!

      Ausgerechnet bei dem angegebenen YouTube-Video spuckt youtube-dl als "best"-Format das denkbar schlechteste aus:
      Spoiler anzeigen
      root@vuultimo4k:/usr/lib/python2.7/site-packages# youtube-dl --no-check-certificate -F https://www.youtube.com/watch?v=hberfFI7AAo WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this. [youtube] hberfFI7AAo: Downloading webpage [youtube] hberfFI7AAo: Downloading video info webpage [info] Available formats for hberfFI7AAo: format code extension resolution note 249 webm audio only tiny 62k , opus @ 50k (48000Hz), 1.43MiB 250 webm audio only tiny 81k , opus @ 70k (48000Hz), 1.87MiB 140 m4a audio only tiny 130k , m4a_dash container, mp4a.40.2@128k (44100Hz), 3.27MiB 251 webm audio only tiny 161k , opus @160k (48000Hz), 3.65MiB 394 mp4 256x144 144p 82k , av01.0.00M.08, 25fps, video only, 1.78MiB 278 webm 256x144 144p 98k , webm container, vp9, 25fps, video only, 2.20MiB 160 mp4 256x144 144p 110k , avc1.4d400c, 25fps, video only, 2.11MiB 395 mp4 426x240 240p 181k , av01.0.00M.08, 25fps, video only, 3.56MiB 242 webm 426x240 240p 226k , vp9, 25fps, video only, 4.49MiB 133 mp4 426x240 240p 244k , avc1.4d4015, 25fps, video only, 4.25MiB 396 mp4 640x360 360p 327k , av01.0.01M.08, 25fps, video only, 6.32MiB 243 webm 640x360 360p 414k , vp9, 25fps, video only, 8.14MiB 397 mp4 854x480 480p 584k , av01.0.04M.08, 25fps, video only, 11.25MiB 134 mp4 640x360 360p 633k , avc1.4d401e, 25fps, video only, 10.22MiB 244 webm 854x480 480p 772k , vp9, 25fps, video only, 14.67MiB 135 mp4 854x480 480p 1383k , avc1.4d401e, 25fps, video only, 19.38MiB 398 mp4 1280x720 720p 1409k , av01.0.05M.08, 25fps, video only, 22.39MiB 247 webm 1280x720 720p 1582k , vp9, 25fps, video only, 29.12MiB 399 mp4 1920x1080 1080p 2219k , av01.0.08M.08, 25fps, video only, 39.52MiB 136 mp4 1280x720 720p 3207k , avc1.4d401f, 25fps, video only, 34.99MiB 248 webm 1920x1080 1080p 3264k , vp9, 25fps, video only, 51.06MiB 137 mp4 1920x1080 1080p 4332k , avc1.640028, 25fps, video only, 59.93MiB 400 mp4 2560x1440 1440p 8402k , av01.0.12M.08, 25fps, video only, 117.14MiB 271 webm 2560x1440 1440p 9243k , vp9, 25fps, video only, 131.08MiB 401 mp4 3840x2160 2160p 18490k , av01.0.12M.08, 25fps, video only, 235.69MiB 313 webm 3840x2160 2160p 19118k , vp9, 25fps, video only, 319.49MiB 18 mp4 640x360 360p 592k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 14.94MiB (best)


      So bekommt man statt UHD nur 360p:
      Spoiler anzeigen
      [streamlinksrv][info] Processing URL: youtubedl://https://www.youtube.com/watch?v=hberfFI7AAo [streamlinksrv][info] Found matching plugin youtubedl for URL youtubedl://https://www.youtube.com/watch?v=hberfFI7AAo [streamlinksrv][info] Available streams: audio_webm, audio_m4a, 360p (worst, best)


      Das ist aber meines Erachtens ein youtube-dl-Problem, nicht eins des streamlinksrv. (Ja, youtube-dl ist aktuell, 2019.11.28).
    • Großartige Arbeit

      UHD läuft

      Vielen Dank

      Gruß SweetMP4...
      VU+ Ultimo 4k(1x FBC-DVB-S2 Twin) mit VTI-Team Image v. 14.0.x + 6TB Purple WD6NPURX-64J
      Sony KDL-40W905A Triluminos Technology
      Multytenne Twin 13.0/19.2/23.5/28.2 + Johansson Stacker/Destacker 9640 KIT
    • Streamlink kann keine Playlists abarbeiten und selbst wenn das möglich wäre, dann würde das auf der E2-Box nicht funktionieren.

      Vereinfachtes Blockschaltbild für die E2-Box:
      E2-Player-Streamlink-Server/-Proxy-Streamhoster

      Ablauf:
      • E2 öffnet den Player mit der Streamadresse aus der Servicereferenz
      • der Player öffnet den Stream über den Streamlink-Server/-Proxy
      • der Streamlink-Proxy öffnet den Stream über den Streamhoster und streamt den empfangenen Stream an den Player
      • wenn der Stream ended, dann trennt der Player die Verbindung zu Streamlink
      • wenn die Verbindung getrennt ist, dann kann Streamlink keinen Stream mehr öffnen und an den Player streamen

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

    • Was soll denn weiterentwickelt werden, in #626 habe ich doch ausgedrückt, dass es mit Streamlink nicht möglich ist?

      Auf einem PC befindet sich in der Regel Streamlink vor dem Player im Blockschaltbild und da wäre das grundsätzlich möglich.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von Billy2011 () aus folgendem Grund: Ergänzung

    • Das MediaPortal kann es.

      Gruß
      Databox
      Gruß
      Databox
    • Ich hätte gerne ganz normal, wie jeder Sender (wählbar mit Zifferntaste) oder auch im Bouquete den Stream (bzw. die Playlist) auswählbar. Das geht mit normalen Streams bzw. mit Hilfe des Streamlinkers sehr gut aber leider nicht für Playlists.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von hgdo () aus folgendem Grund: unnötiges (Komplett-)-Zitat entfernt

    • Danach hast du nicht gefragt,...nur nach einem Plugin.

      Gehört auch nicht in diesen Thread.

      Gruß
      Databox
      Gruß
      Databox
    • Update Streamlink -> v1.3.0.r5_mod:
      - youtubedl update
      - optionen (Beispiel für die Konfig.-Datei /home/root/.config/streamlink/config.youtubedl):

      Spoiler anzeigen
      # playlist speichern (.m3u Format)
      #youtubedl-playlist-dir=/etc/enigma2

      # nur h.264 dash streams benutzen
      #youtubedl-no-vp9-codecs

      # alle dash streams ignorieren
      #youtubedl-no-adaptive-streams

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

    • Bei mir geht Youtubedl nicht.

      Spoiler anzeigen

      [streamlinksrv][info] Processing URL: youtubedl://https://www.youtube.com/watch
      v=hberfFI7AAo
      [streamlinksrv][info] Found matching plugin youtubedl for URL youtubedl://https
      //www.youtube.com/watch?v=hberfFI7AAo
      [streamlinksrv][info] Available streams:
      audio_webm, audio_m4a, 360p (worst), 480p, 720p, 1080p, 2160p (best)
      [streamlinksrv][info] Opening stream: 2160p (muxed-stream)
      [streamlinksrv][error] Got exception: [Errno 8] Exec format error
    • Wenn das nur mit 4K Boxen geht dann hat sich das eh erledigt bei mir.

      Hier noch mal der Komplette Log

      Spoiler anzeigen

      root@vuduo2:~# /usr/sbin/streamlinksrv manualstart
      [streamlinksrv][info] Thu Dec 12 23:21:16 2019 Server (1.1.0) started
      [streamlinksrv][info] Host: vuduo2
      [streamlinksrv][info] Port: 8088
      [streamlinksrv][info] OS: Linux-3.13.5-mips-with-glibc2.0
      [streamlinksrv][info] Python: 2.7.9
      [streamlinksrv][info] Streamlink: 1.3.0 / 2019-12-06
      [streamlinksrv][info] Requests(2.22.0), Websocket(0.48.0)
      Failed to load plugin ustvnow:
      File "/usr/lib/python2.7/site-packages/streamlink/plugins/ustvnow.py", line 1
      , in <module>
      from Crypto.Util.Padding import pad, unpad
      ImportError: No module named Padding
      [streamlinksrv][info] Processing URL: youtubedl://https://www.youtube.com/watch
      v=hberfFI7AAo
      [streamlinksrv][info] Found matching plugin youtubedl for URL youtubedl://https
      //www.youtube.com/watch?v=hberfFI7AAo
      [streamlinksrv][info] Available streams:
      audio_webm, audio_m4a, 360p (worst), 480p, 720p, 1080p, 2160p (best)
      [streamlinksrv][info] Opening stream: 2160p (muxed-stream)
      [streamlinksrv][error] Got exception: [Errno 8] Exec format error
    • Für eine richtige Debugausgabe sollte man z.B. an die URL die Option -l debug anhängen (URL -l debug)

      Wenn du diese Angaben (oder meine Antworten) nicht verstehst, dann solltest du dazu Fragen stellen:
      • [streamlinksrv][info] Available streams:
      • audio_webm, audio_m4a, 360p (worst), 480p, 720p, 1080p, 2160p (best)
      • [streamlinksrv][info] Opening stream: 2160p (muxed-stream)
      Streams mit Auflösungen größer als 1080p (VP9 Codec) laufen nur auf 4K Boxen und da hier der beste Stream mit 2160p ausgewählt wurde, kann dieser Stream nicht auf einer Duo² laufen. Dafür gibt es die Möglichkeit diese Optionen einzusetzen:
      • --youtubedl-no-vp9-codecs
      • q=1080p in der URL (/q=1080p/https%3a//www.youtube...)
      Dieser Fehler [streamlinksrv][error] Got exception: [Errno 8] Exec format error hat wohl nichts mit Streamlink zu tun, sondern eher mit FFmpeg. Bitte mal in einer Konsole den Befehl ffmpeg -version ausführen und die Ausgabe hier posten.

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