VideoHelp Forum
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 36 of 36
Thread
  1. Now my challenge is finding a way to decrypt these streams.

    #EXTINF:-1,ITV
    #KODIPROP:inputstream.adaptive.license_type=cleark ey
    #KODIPROP:inputstream.adaptive.license_key=2cd55e2 2f9bf46a0bb543ae9a0d7fd24:06153ec0f57fce3444b29e0f 1a3534fa
    http://127.0.0.1:1984/itvx?channel=ITV

    This as well as the flask script should be all I need to get a watchable picture of ITV1, but having issues finding a way of decrypting it.
    attempting this
    ffmpeg -cenc_decryption_key 2cd55e22f9bf46a0bb543ae9a0d7fd24:06153ec0f57fce344 4b29e0f1a3534fa \
    -i "http://127.0.0.1:1984/itvx?channel=ITV" \
    -map 0:5 -map 0:6 \
    -vcodec copy -acodec copy \
    -f mpegts udp://127.0.0.1:1234

    I get this


    mov,mp4,m4a,3gp,3g2,mj2 @ 0x59a0ea607400] Error setting option decryption_key to value 2cd55e22f9bf46a0bb543ae9a0d7fd24:06153ec0f57fce344 4b29e0f1a3534fa.
    [in#0 @ 0x59a0ea09b300] Error opening input: Invalid argument
    Error opening input file http://127.0.0.1:1984/itvx?channel=ITV.
    Error opening input files: Invalid argument
    Quote Quote  
  2. Originally Posted by stupid.345 View Post
    I don't think the keys rotate for itvx but I could try to add pywidevine to it
    You are correct - there is no key rotation. Just the change of MPD multiple times a day
    Quote Quote  
  3. Going to continue trying to get the decryption working.

    ffmpeg -cenc_decryption_key 2cd55e22f9bf46a0bb543ae9a0d7fd24:06153ec0f57fce344 4b29e0f1a3534fa \
    -i "http://127.0.0.1:1984/itvx?channel=ITV" \
    -map 0:5 -map 0:6 \
    -vcodec copy -acodec copy \
    -f mpegts udp://127.0.0.1:1234

    This gave me an error, eventually threw in the towel today. Will try again tomorrow.

    Any assistance will be greatly appreciated.

    Thanks so much.
    Quote Quote  
  4. Managed to get the ITVX links using the script provided and got them playing. Anyway to handle the ITVX adverts that seem to break the stream and take it offline?
    Quote Quote  
  5. Originally Posted by T33V33 View Post
    Originally Posted by stupid.345 View Post
    Originally Posted by T33V33 View Post
    Originally Posted by stupid.345 View Post
    I can't work out how to get the UK fta channels from Discovery+, as opposed to the Italian ones. If someone wants to take a crack at it, check this
    For discovery mpds... use the script you linked to... input your cookie st value where it says "cookies={'st': ST_COOKIE}," and then update the urls at the bottom for the gb ones
    Ah ok thanks I will try it in a couple of hours or so.
    To save you a bit of times... these are the channels (I've not included the sports ones)
    Code:
    print(get_mpd("https://www.discoveryplus.com/gb/channel/discovery-channel?pc=258"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/tlc?pc=270"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/quest?pc=268"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/really?pc=260"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/animal-planet?pc=259"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/investigation-discovery?pc=267"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/quest-red?pc=269"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/hgtv?pc=266"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/food-network?pc=264"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/discovery-science?pc=261"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/discovery-turbo?pc=271"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/dmax?pc=263"))
    print(get_mpd("https://www.discoveryplus.com/gb/channel/discovery-history?pc=265"))
    Which script is it to modify to get these?
    Quote Quote  



Similar Threads

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