VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Feb 2023
    Location
    Schweiz
    Search Comp PM
    Hiya,

    I'm a total newbie when it comes to these things and would love to get some help.
    What I would like to do is to use streamlink to eventually watch srf.ch livestreams in some other player like e.g quicktime.

    The streams however seem to be encrypted.
    I've found the .m3u8: "https://srgssrch.akamaized.net/hls/live/2021826/srgssr-hls-stream2-ch-dvr/master.m3u8?start=1675688400&hdnts=exp%3D167569145 0%7Eacl%3D%2Fhls%2Flive%2F2021826%2Fsrgssr-hls-stream2-ch-dvr%2F*%7Ehmac%3Dbec2ae9fa79203d314adb189291c41db4 758201e5ad00fd1ea9ee43cd31b2df4"

    or maybe just "https://srgssrch.akamaized.net/hls/live/2021826/srgssr-hls-stream2-ch-dvr/master.m3u8"?

    When I try to download the playlist I just keep getting 403 forbidden even when specifying the headers.

    But even if I'd manage to get the playlist it'd probably be encrypted. I'm also confused about finding the PSSH. The closest I've found to one is AAAAAAAAAAAcV JjAAAAANy8jq apM3MtyEqBRBJ5V2bBV2UmpmB2XDpfTiSjmOuWQvVrXyJ4LeV7 564XDkF zxwgZLKbCF

    but I'm not sure if it's supposed to have spaces in it.

    The full link is "https://www.srf.ch/play/tv/-/video/ski-alpin-wm-in-courchevelmeribel-frauen-alpine-kombination-super-g?urn=urn:swisstxt:video:srf:1749906"
    Last edited by chloenedklo; 6th Feb 2023 at 08:30.
    Quote Quote  
  2. ,,Die Daten konnten nicht geladen werden, bitte versuchen Sie es später erneut."
    Quote Quote  
  3. Member
    Join Date
    Feb 2023
    Location
    Schweiz
    Search Comp PM
    EDIT: now the link should be working
    "https://www.srf.ch/play/tv/-/video/ski-alpin-wm-in-courchevelmeribel-frauen-alpine-kombination-super-g?urn=urn:swisstxt:video:srf:1749906"
    Last edited by chloenedklo; 6th Feb 2023 at 08:26.
    Quote Quote  
  4. search "mpd" from dev tool and download with N-m3u8DL-RE (no encryption)

    Code:
    N_m3u8DL-RE "https://srgssrch.akamaized.net/hls/live/2021814/srgssr-hls-stream1-ch-dvr/master.m3u8?start=1675676430&end=1675682391&hdnts=exp%3D1675696915%7Eacl%3D%2Fhls%2Flive%2F2021814%2Fsrgssr-hls-stream1-ch-dvr%2F*%7Ehmac%3D0385d7f378b068df5db120c0ad3d6244c332f6abd397b90f4ae662947b579b99"
    Quote Quote  
  5. Member
    Join Date
    Feb 2023
    Location
    Schweiz
    Search Comp PM
    Awesome, that tool worked like magic. Merci viilmol!
    Quote Quote  
  6. merci à toi, mon ami

    a bientôt
    Quote Quote  
  7. Member
    Join Date
    Feb 2023
    Location
    Schweiz
    Search Comp PM
    xD is there a way to make it merge the millions of .ts files into one? or to a m3u8 playlist?

    Edit: nvm solved it with --live-real-time-merge
    Last edited by chloenedklo; 6th Feb 2023 at 10:24.
    Quote Quote  
  8. yes, you can

    copy all file name into txt file. put this txt on same folder with ffmpeg and run: ffmpeg -f concat -i ts_files.txt -c copy final_video.mp4
    Quote Quote  
  9. Member
    Join Date
    Feb 2023
    Location
    Schweiz
    Search Comp PM
    Can that be done continuously though, as you're watching the video?

    Tried with this but playback kind of stutters as it changes .ts files

    #!/bin/bash

    #init the playlist file
    touch playlist.m3u8


    while true
    do
    ts_files=(*.ts)
    for file in "${ts_files[@]}"
    do
    if ! grep -q "$file" playlist.m3u8
    then
    echo "$file" >> playlist.m3u8
    fi
    done
    sleep 2
    done
    Last edited by chloenedklo; 6th Feb 2023 at 11:17.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!