VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi. I've searched for almost all of the related posts but I still can't seem to get the key for the DRM protected video from DMM site. I would be really grateful if someone could tell me which step I did wrong.

    Link:
    https://tv.dmm.com/vod/playback/?season=5c20kicn9g98cs0xwmd0ygtk2&content=734td0pcgu93bpqqyiazadgg6

    MPD:
    https://stc008.dmm.com/launchpad/st4.0:j8sfl1VGHcPjF7EXfYBYNiTQPKEL09+gRjyzgSSXfd7GRIZ...-/manifest.mpd

    PSSH:
    (There're two PSSH, I'm guessing one is for video, another one is for audio)
    (I also tried using EME logger to generate PSSH)

    [From MPD:]
    Code:
    AAAEhHBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAABGRkBAAAAQABAFoEPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBtAEcAawBGAEsAcwB4ADUAUABUAGkAVQBNAFUAVwBZAGoARAA4AGQAMABRAD0APQA8AC8ASwBJAEQAPgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcABzADoALwAvAGwAaQBjAGUAbgBzAGUAXwBzAGUAcgB2AGUAcgA8AC8ATABBAF8AVQBSAEwAPgA8AEQAUwBfAEkARAA+AFYAbABSADcASQBkAHMASQBKAEUAd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DhmMzM1In0=
    [From EME logger:]
    Code:
    AAAA3XBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAL0SECoFaZh5zDg9lDFFmIw/HdEiqAF7InYiOiIyIiwiZmlkIjoiNzM0dGQwcGNndTkzYnBxcXlpYXphZGdnNiIsInN2aWQiOiJsYXVuY2hwYWQiLCJwbCI6ImV5SmtaV3hwZG1WeWVWOTBlWEJsSWpveExDSnhkV0ZzYVhSNUlqb3lMQ0owWldVaU9tWmhiSE5sZlEiLCJjcyI6IjFjM2E3NzJmYzQwMWRiOWExYjExZDY1MWExNDhmMzM1In0=
    License:
    https://mlic.dmm.com/drm/widevine/license


    Using https://curlconverter.com/ , I get the header py file.
    Code:
    headers = {
        'authority': 'mlic.dmm.com',
        'accept': '*/*',
        'accept-language': 'en-US,en;q=0.9,zh-TW;q=0.8,zh;q=0.7,ja;q=0.6,zh-CN;q=0.5',
        # 'cookie': 'FPID=FPID2.2.D3aNr%2BSYxUMys2pqvMC3uhGtvxvERhZwKLGoPF4IC8s%3D.1663343934; suid=tojqacnwfcIZXfhKfMmG; i3_ab=99bc2510-4a60-43bb-92c1-309cf3818fcf; _gcl_au=1.1.721030941.1691228005; _yjsu_yjad=1691228005.700b1aeb-328a-44b5-ad11-cccbb18c7bc1; FPAU=1.1.721030941.1691228005; _tt_enable_cookie=1; _ttp=QvU5Gv7Z6O28de6a0RtE_4vF79k; _ga=GA1.2.302946645.1691228005; cto_bidid=OdOR7F8lMkZORFdiOW0wb0xsb05iWVJiZlhNQ01yMUhNJTJGc1lvNDlFeURoeXNqT20lMkZqVER2a3FqUUhEcHpweSUyQjFDbGIlMkJFTlo4bDhNYU45QUpYSDFXZkVqaE5TOSUyRmZ3Wlp4YmRrSzBvNXJxWFExSHFidyUzRA; _ga_9V945GCH8Q=GS1.1.1691854636.5.0.1691854970.0.0.0; _ga_2CC2E49QEJ=GS1.1.1691854637.5.0.1691854970.0.0.0; _gid=GA1.2.673381795.1693402933; __lt__cid.ee1832d2=c4a21b88-27e4-4037-80c4-33a36ffc0d77; cklg=ja; adpf_uid=mRQPNGeMeIrtLFcb; age_check_done=1; top_dummy=631bd2c3-3515-4fb5-9fea-130dda899a02; rieSh3Ee_ga=GA1.1.1662434896.1693403987; _dga=GA1.2.1166448956.1693403986; _dga_gid=GA1.2.1590250247.1693403987; i3_opnd=aCzYGJ03pJLAIkdZ; check_done_login=true; subscription_members_status=non; cdp_id=aCzYGJ03pJLAIkdZ; dtmu=YToyOntzOjI6Iml2IjtzOjg6Iglfkd0PN3rZIjtzOjU6InZhbHVlIjtzOjI0OiISSVwxDtQ2LTD81BmwNOZsx7KWDEVxCwUiO30; dtmh=3.0abaacf59aca2dc9b8e5180ce9740b5713a1fde320a8af1571b94b24867df2b2; deviceIdentify=s5sDgzNOwvKkfLilNz8Drr7QKOlQyV; ckcy=1; dtms=10; __utma=225231877.302946645.1691228005.1693402933.1693417886.2; __utmz=225231877.1693417886.2.2.utmcsr=worldtriggerthestage.com|utmccn=(referral)|utmcmd=referral|utmcct=/; _clck=1dzhfkt|2|fem|0|1312; alcb=true; INT_SESID=Ag4DXBkVDwReRjZ7IhoIFV9XVAMTUFUADwYFVlsbU1YBAR1SVAMAGlwCAldLAQoHBwIGXVdWDVJREA5AWQMNEDBgcTQ2RA5eXlVVC1UMBlFXUFACQlkNXhV7e2c8ZXJhKnASXQNcAg0fF1kBXBpmLyFGWUoLUAJeFVcHClMFAlZWGQFRBwAYAwVcAR8HDFBXSFEEW1JaBAAHBAQFWhQMQVkNCkQPA1hVARY8WwIaCBVfVVADEycFVAcCR1gVTlNLVRYLFVhTDxUABjxbAhoIFV9VWBtUQQ8XDQUPERZFUkA8XVREWRUPBlJeQVMlQmohL1RRSXsvdS1cVm8RWEUNC1kWURMWDmpDDQkGEF1RCVdTXVENBFQGUAQJRglSBw0QB0FACgsFVEMNCw0QXUsJVl9GQAJCWQVcDRBcQDxXUVQKWFkHFgNqWBMKBkBEA1FcVV8fRA%3D%3D; INT_SESID_SECURE=Ag4DXBkVDwReRjZ7IhoIFV9XVAMTUFUADwYFVlsbU1YBAR1SVAMAGlwCAldLAQoHBwIGXVdWDVJREA5AWQMNEDBgcTQ2RA5eXlVVC1UMBlFXUFACQlkNXhV7e2c8ZXJhKnASXQNcAg0fF1kBXBpmLyFGWUoLUAJeFVcHClMFAlZWGQFRBwAYAwVcAR8HDFBXSFEEW1JaBAAHBAQFWhQMQVkNCkQPA1hVARY8WwIaCBVfVVADEycFVAcCR1gVTlNLVRYLFVhTDxUABjxbAhoIFV9VWBtUQQ8XDQUPERZFUkA8XVREWRUPBlJeQVMlQmohL1RRSXsvdS1cVm8RWEUNC1kWURMWDmpDDQkGEF1RCVdTXVENBFQGUAQJRglSBw0QB0FACgsFVEMNCw0QXUsJVl9GQAJCWQVcDRBcQDxXUVQKWFkHFgNqWBMKBkBEA1FcVV8fRA%3D%3D; secid=1f3ccf9040aa6f5d294b458479459ea6; login_secure_id=1f3ccf9040aa6f5d294b458479459ea6; login_session_id=e29035d5-17ef-4a8b-a4c1-5fbc90d06169; ckcy_remedied_check=ktkrt_argt; top_pv_uid=1459ae1a-6065-46d6-9b97-dc09fae25e3a; _uetsid=0725f820473b11ee98b1c9f435c6b718; _uetvid=4b7e7c80a63611eda2d443a16c0406c7; _clsk=4xw75n|1693457311525|3|0|j.clarity.ms/collect; cto_bundle=4UzlsF9uVUxmaHh2Z2pJRjhJcWo4d2c4WGVzNG92SWNRVzBTOXB1eWc5SyUyRkV4aTNFUTVqcGIxODJUcFZsU05PWGRIRHlHNEVDT2VTTDloUXVrTDRscHNCcTdUV0cxaEhKRDhoTnBLN2FLYnF3TWR4Umc1Y3RBTGY5dDlNYkVCaGEzUUZHTVl1cWxqa0o4OTdsUkklMkZzSDN5Yzh3JTNEJTNE; ab.storage.deviceId.77621d63-b475-4831-aa6a-fdc165b89763=%7B%22g%22%3A%22f627301a-1590-d8b5-e508-080d48a61b70%22%2C%22c%22%3A1693403932789%2C%22l%22%3A1693485334220%7D; ab.storage.userId.77621d63-b475-4831-aa6a-fdc165b89763=%7B%22g%22%3A%22aCzYGJ03pJLAIkdZ%22%2C%22c%22%3A1693404257793%2C%22l%22%3A1693485334221%7D; FPGSID=1.1693485336.1693485336.G-KQYE0DE5JW.Vv7SeOwxwAkjFxfjO0D82g; ab.storage.sessionId.77621d63-b475-4831-aa6a-fdc165b89763=%7B%22g%22%3A%22af3232be-9999-c4d8-ff66-b9933dfe8ab6%22%2C%22e%22%3A1693487134747%2C%22c%22%3A1693485334217%2C%22l%22%3A1693485334747%7D; FPLC=2IexGNBBfxXKMiS7zt9F%2BB%2BaNceLUNTMp9Jb1HH62tgi68MB3nH9inEkQogNeEZlPMOESp1qtjuTdIS6pRjUb7a1ozZbjcX73AGzIgf9iMmf3UDahSVnLSROBoG1nA%3D%3D; rieSh3Ee_ga_KQYE0DE5JW=GS1.1.1693485334.7.1.1693485338.0.0.0',
        'dnt': '1',
        'origin': 'https://tv.dmm.com',
        'referer': 'https://tv.dmm.com/',
        'sec-ch-ua': '"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'same-site',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36',
        'content-type': 'application/x-www-form-urlencoded',
    }
    ----------------------------------------

    When executing l3.py with the EMElogger PSSH, I got the following error:
    Code:
    unable to parse license - check protobufs
    I then tried to convert the PSSH into HEX and identify the PSSH part and convert it back to BASE64.
    But the problem is that the PSSH part inside the HEX file seems to begin at the beginning and I don't know where does that part ends.



    Executing l3.py with the MPD video PSSH, I got the following error:
    Code:
    ValueError: byte must be in range(0, 256)
    The PSSH is too long.

    If someone could help me please. Thank you so much.
    Last edited by Tsubasa; 31st Aug 2023 at 07:43. Reason: Changed link to a video that can be viewed without payment
    Quote Quote  
  2. your key

    Code:
    2a05699879cc383d943145988c3f1dd1:f570c1f3c2871aee77fca8c89d5eb77d
    Quote Quote  
  3. Originally Posted by cedric8528 View Post
    your key

    Code:
    2a05699879cc383d943145988c3f1dd1:f570c1f3c2871aee77fca8c89d5eb77d

    Thank you for the reply but the real video I would like to download is another paid video which I could not post here.
    However, the mpd, pssh stuff are all in the same format as the one I posted.
    I would be really grateful if you could tell me how did you get this key so I could do the same with the paid video.

    Thank you.
    Quote Quote  
  4. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Another tip that may be helpful: in this situation, you can delete the key-value pair below:
    Code:
    'content-type': 'application/x-www-form-urlencoded'
    But remember that it's not always the same!
    Quote Quote  
  5. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Originally Posted by Tsubasa View Post
    I would be really grateful if you could tell me how did you get this key so I could do the same with the paid video.
    The solution is similar, just collect the information altogether and run the script again.
    Only PSSH should be changed (assuming that different keys are used in different videos) in your situation.
    Quote Quote  
  6. Originally Posted by CrymanChen View Post
    Another tip that may be helpful: in this situation, you can delete the key-value pair below:
    Code:
    'content-type': 'application/x-www-form-urlencoded'
    But remember that it's not always the same!
    I actually tried deleting this:
    Code:
    'content-type': 'application/x-www-form-urlencoded'
    And using the PSSH directly from EME logger, I got the same error:
    Code:
    unable to parse license - check protobufs


    I also tried just keeping the 'cookie' key in the headers.py, but the same error appeared...
    Quote Quote  
  7. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Then it's because of something wrong at your end. I have duplicated your actions and have got the key.
    Quote Quote  
  8. Originally Posted by CrymanChen View Post
    Originally Posted by Tsubasa View Post
    I would be really grateful if you could tell me how did you get this key so I could do the same with the paid video.
    The solution is similar, just collect the information altogether and run the script again.
    Only PSSH should be changed (assuming that different keys are used in different videos) in your situation.
    Yes... But those errors just kept coming up, I really don't know which step I did wrong.
    I'm guessing the PSSH I put in is wrong cause it seems to be much longer than the PSSH in other posts.
    Or another problem can be the header file but I already tried deleting keys and stuff but it still doesn't works....
    Quote Quote  
  9. Originally Posted by CrymanChen View Post
    Then it's because of something wrong at your end. I have duplicated your actions and have got the key.
    May I ask which PSSH did you use? The EME logger one?
    Quote Quote  
  10. Following this post: https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom

    I tested the script with the video here:
    Code:
    https://www.tg4.ie/en/player/online-boxsets/play/?pid=6281115686001&series=An%20Cuan&genre=Faisneis
    And I have successfully get the key and also use the key to get the decrypted video.
    So I don't think it's problem related to my CDM....
    Quote Quote  



Similar Threads

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