VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hello

    I'm trying to decrypt the content from the streaming platform but I can find only one pssh. The platform uses HLS, links expire quickly. I find pssh in each link with mp4 fragments, but for every video (24/7 streaming) pssh is the same one. Anyone can help with this? I don't even know which link to put here since they won't be valid after some time.

    Here is what I find inside every file:

    Code:
    #EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://eyJDb250ZW50SWQiOiIxM2I2YTFjNC1iOTE2LTQwZGUtYmNkOC05YjY4Yjg5MDQ3MGUiLCJLZXlJZCI6IjY4YTk4YTkyLWY0YWYtYzA1NS1hYTUzLTBlNDI1MjU1MDg3OCIsIklWIjoiQUFBQUFBQUFBQUFBQUFBQUFBQUFBQT09In0=",KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
    #EXT-X-KEY:METHOD=SAMPLE-AES,KEYFORMAT="com.microsoft.playready",KEYFORMATVERSIONS="1",URI="data:text/plain;charset=UTF-16;base64,PFdSTUhFQURFUiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9EUk0vMjAwNy8wMy9QbGF5UmVhZHlIZWFkZXIiIHZlcnNpb249IjQuMC4wLjAiPjxEQVRBPjxQUk9URUNUSU5GTz48S0VZTEVOPjE2PC9LRVlMRU4+PEFMR0lEPkFFU0NCQzwvQUxHSUQ+PC9QUk9URUNUSU5GTz48TEFfVVJMPmh0dHA6Ly9saWNlbnNlc2VydmVydXJsPC9MQV9VUkw+PExVSV9VUkw+aHR0cDovL2xpY2Vuc2VzZXJ2ZXJ1cmw8L0xVSV9VUkw+PEtJRD5rb3FwYUsvMFZjQ3FVdzVDVWxVSWVBPT08L0tJRD48Q1VTVE9NQVRUUklCVVRFUyB4bWxucz0iIj48Q29udGVudFJlZj4xM2I2YTFjNC1iOTE2LTQwZGUtYmNkOC05YjY4Yjg5MDQ3MGU8L0NvbnRlbnRSZWY+PC9DVVNUT01BVFRSSUJVVEVTPjxDSEVDS1NVTT5vUmhtd0JUdW13dz08L0NIRUNLU1VNPjwvREFUQT48L1dSTUhFQURFUj4"
    #EXT-X-KEY:METHOD=SAMPLE-AES,KEYFORMAT="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",KEYFORMATVERSIONS="1",URI="data:text/plain;base64,AAAAZXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEUSEGipipL0r8BVqlMOQlJVCHgaBUNvbmF4IiQxM2I2YTFjNC1iOTE2LTQwZGUtYmNkOC05YjY4Yjg5MDQ3MGVI88aJmwY="
    Quote Quote  
  2. Education Student (Grad.) CrymanChen's Avatar
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    So what's your question?

    For livestreams, it's pretty common that one set of key is usable for several months, so you will see the same pssh each time you inspect the HLS manifest.

    Just extract
    Code:
    AAAAZXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEUSEGipipL0r8BVqlMOQlJVCHgaBUNvbmF4IiQxM2I2YTFjNC1iOTE2LTQwZGUtYmNkOC05YjY4Yjg5MDQ3MGVI88aJmwY=
    out of what you pasted, and then find the License URL, use the Widevine way to get the decryption key.
    twitter @Cryman_Chen
    email crymanchen@gmail.com
    Quote Quote  
  3. For live stream use pssh from the initial segment because of the keys rotation
    discord=notaghost9997
    Quote Quote  
  4. OK, I assumed it could be one same pssh. I used this license URL and pssh you posted and got this key:

    Code:
    https://contego-license-gwv.ug.cdn.united.cloud/license
    Code:
    --key 68a98a92f4afc055aa530e4252550878:f2f51723c662957729e32e6a2e322c8b
    However, I'm unable to decrypt the file downloaded with N_m3u8DL. Maybe I'm not downloading the file properly? Or I should use a different license like this one?

    Code:
    https://entitlement-web.ug-be.cdn.united.cloud/v1/drm/preAuthToken
    I can't obtain a key with this license URL.
    Quote Quote  
  5. Originally Posted by Santuzzu View Post
    OK, I assumed it could be one same pssh. I used this license URL and pssh you posted and got this key:

    Code:
    https://contego-license-gwv.ug.cdn.united.cloud/license
    Code:
    --key 68a98a92f4afc055aa530e4252550878:f2f51723c662957729e32e6a2e322c8b
    However, I'm unable to decrypt the file downloaded with N_m3u8DL. Maybe I'm not downloading the file properly? Or I should use a different license like this one?

    Code:
    https://entitlement-web.ug-be.cdn.united.cloud/v1/drm/preAuthToken
    I can't obtain a key with this license URL.
    Code:
    {"ContentId":"13b6a1c4-b916-40de-bcd8-9b68b890470e","KeyId":"68a98a92-f4af-c055-aa53-0e4252550878","IV":"AAAAAAAAAAAAAAAAAAAAAA=="}
    This is the right key

    mp4decrypt --key <id>:

    See ID
    Last edited by ddll; 28th Sep 2024 at 02:42.
    Quote Quote  
  6. I can't decrypt using that key. I download the file with N_m3u8DL and paste there one of the links that look like this:

    Code:
    https://sbb-bg-ku-h1-3.ug-be.cdn.united.cloud/stream/playlist/hls/?session=46e221de-19ed-47c9-9976-45659288f0d8&stream=hp7000&player=fm3u8cbcs&track=70000256
    I attached in this post one such file. I'm not sure whether the problem is an improper download, decryption, or a wrong key.
    Image Attached Files
    Quote Quote  
  7. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    You could try N_m3u8DL-RE with shaka packager
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]
    Quote Quote  



Similar Threads

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