Beiträge von adastra

    DRM protected channels won't work without Telerising (SD streams are possible without HDCP enforcement, there's no stream at all with HDCP enforced by the provider). At this moment, the German RTL channels are affected by these restrictions in Switzerland, and most of the private channels use DRM via Zattoo DE/AT. In case someone would like to try this to watch German channels.

    Interesting! I had no idea German channels had this kind of issue.

    Well, it's still possible to use telerising in the setup I mentioned: you just replace the direct zattoo link with the one telerising provides in the m3u, eg. http://<telerising_ip>:5050/api/zch/live/cnn-international, and it works beautifully without stutter.

    (feature request: add the streamlink option instead of ffmpeg. It would make setup much easier!).

    Indeed when I was looking for solutions, I tested teleboy (which streamlink does not directly support) using tvheadend+streamlink, and it worked really well until... they blocked my VPN which forced me to check zattoo again. (I guess I could have set up a personal proxy via vps2day, but why paying for one more service when I can re-use my VPN?)

    One more thing, in order to run it on a VPN you have two choices:

    1. Either you use streamlink's proxy support
    2. Or run your docker config within a VPN network (eg. gluetun)

    I use the second because that's the original setup I had running, where the needed services (telerising, tvheadend, ffmpeg, etc.) are within the same VPN network. However, now that the critical component (streaming) can work with proxies, I might switch to it.

    Hey folks, I finally managed to make Zattoo work again on my VPN+tvheadend setup, even living 9 time zones (that is, with high latency) away!

    First of all, thank you so much to stones who first made the suggestion to try streamlink. It works so well, I even managed to make the setup work without telerising (except for setup)!


    As he mentioned, it's really important to follow this guide to setup streamlink within the tvheadend docker. The m3u playlist looks something like this (2 channels example):

    Code
    #EXTM3U
    #EXTINF:0001 tvg-id="BBC4.uk" tvg-chno="22" group-title="General Interest" tvg-logo="https://images.zattic.com/logos/d2a47198bc1c7a8a5123/white/210x120 .png", BBC Four HD
    pipe:///usr/bin/streamlink --config /config/streamlink.config --url https://zattoo.com/live/bbc-four
    #EXTINF:0001 tvg-id ="CNN.nws" tvg-chno="23" group-title="News" tvg-logo="https://images.zattic.com/logos/313c55f90368cad92afc/white/210x120. png", CNN International HD
    pipe:///usr/bin/streamlink --config /config/streamlink.config --url https://zattoo.com/live/cnn-international

    A few important differences with the original guide:

    1. I use pipe:///usr/bin/streamlink rather than pipe:///usr/bin/env
    2. I rely on --config to avoid passing all streamlink's arguments, and there's many! (see below)

    The only annoying part is that I needed to find the url for each channel, but a simple trick is to download telerising m3u and take the hint from there: just replace http://<telerising_ip>:port/api/ zch  with https://zattoo.com , et voila!

    Here's the critical bit, though. Streamlink configuration is really important to make things work! It took me a while to find a satisfactory setup and you might have a different setup, in particular regarding stream-segment-threads, hls-live-edge , and [tt ]ringbuffer-size[/tt].

    Here's what works for me:


    Note: the location of the configuration ( /config/streamlink.config ) is within the docker and it's the same tvheadend uses. I just put it there because it was convenient and it's stable across docker updates.

    Hey folks,

    I hope you don't mind if I write in english, but my written German is pretty bad. :)

    The reason why I am writing is the recent HLS5/HLS7 Zattoo change.

    Everything was working smoothly via tvheadhead on HLS5, but no matter what I try I cannot get HLS7 to work. It's always stopping after about 2 seconds of play.

    Setup: 1Gb connection with a 4 cores NUC from 2022 with 16GB, so I'm pretty sure I'm not CPU nor bandwidth bound.

    Lag might be an issue since I live in the USA (CH expat!), but various VPN/Proxy (including VPS2Day in CH) make no difference.

    As with other people in the thread, it seems however dependent on the player. Using telerising's url in VLC works fine (after a bit of stutters at the beginning), while ffmpeg - and therefore tvheadhend - outputs a broken video. From what I see when running with logging enabled, ffmpeg keeps complaining about "expired segments" in the playlist, eg.:

    Code
    skipping 2 segments ahead, expired from playlists

    And they seem to be correlated with the parts of the video which are broken.

    Do you know if there's anything which could be done to prevent segments to be "expired" from those playlists? In particular in setups with high lag (?).