VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hello.

    I'm trying to download the Finnish version of Lego Masters from Finnish service mtv.fi, here's the link: https://www.mtv.fi/ohjelma/4091cf3ed2d308e270ca/lego-masters-suomi but I can't figure out how to get the key from CDRM-Project to decrypt the video and audio.

    Here's the PSSH: AAAAdXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFUSEAgGcF 1y2TDdlLMPlKfm6kIaCGNhc3RsYWJzIihleUpoYzNObGRFbGtJ am9pZEhadFpXUnBZUzB5TURNeU1UazVPU0o5MgdkZWZhdWx0SP PGiZsG

    and the license: https://lic46.drmtoday.com/license-proxy-widevine/cenc/?specConform=true&assetId=tvmedia-20321999

    What I don't understand is what to put in headers field on CDRM-Project. No matter what I do, I get this weird error 400, see the picture. Image
    [Attachment 78874 - Click to enlarge]


    I tried to copy the license url on Network tap of DevTools as Curl and via Curlconverter convert it to JSON format from where I copied the stuff within {}s next to headers text, and pasted it to headers box on CDRM-Project. This worked with Discovery+ where I also had some difficulties. But this time, no.

    So that is why I gathered my courage to ask for your help.

    I have tried to tell you everything you need to know, though probably nothing actually useful. But help is very much appreciated!
    Quote Quote  
  2. read better some pages on this forum. as mentioned several times, with lic.drmtoday need to use:
    Code:
    https://lic.drmtoday.com/license-proxy-widevine/cenc/?specConform=true
    so, first try with lic url above. if you can't get what you want, your site required login to play, so we can't test it
    Last edited by lomero; 6th May 2024 at 03:02.
    Quote Quote  
  3. Looks like I'll need a login to help you out here as it doesn't allow me to play any video without one.

    More often than not, you only need the User-Agent header, and any special headers, like X-Tokens or Tokens, which you normally wouldn't find in a request.

    Additionally, add those headers as individual lines, similar to how you see it when you first land on that page. (You don't need those JSON tags.)
    Last edited by pram0dm; 6th May 2024 at 05:28.
    Quote Quote  
  4. Token required in header:
    Code:
    X-Dt-Auth-Token: eyJhbGciOiJIUzU...
    HLS
    Code:
    https://vod.streaming.a2d.tv/b68eb85a-e525-49b1-96d4-d6052b461c5f/b5b5ce00-7966-11ee-9bf5-e51411003cac_20471561.ism/.m3u8
    Key
    Code:
    b431669c816538489d72e84a2d1b42ce:63f71ee3a5aed0278188cded1f4df674
    Click image for larger version

Name:	LRLG6Wp.png
Views:	62
Size:	180.1 KB
ID:	78875
    Quote Quote  
  5. pram0dm, thank you so so much! I had tried many, many times with just the x-dt-auth-token also with no success but after adding User-Agent header it worked like a charm.

    The only sad thing is that, for whatever reason, mp4decrypt isn't able to decrypt the audio file with the given key, just the video. I'm using the following code:

    Code:
    mp4decrypt.exe --key 0806705d72d930dd94b30f94a7e6ea42:18b9fc40b10db36edbc348788772678f 2.m4a 2_decrypt.m4a
    Quote Quote  
  6. Why not use N_m3u8DL-RE? It seamlessly takes care of downloading, decrypting and muxing, all in a single command line.

    Get the m3u8 URL from your Developer Tools and replace it in the below code.

    Code:
    .\N_m3u8DL-RE.exe "m3u8 URL" --save-name _TEST --key 0806705d72d930dd94b30f94a7e6ea42:18b9fc40b10db36edbc348788772678f -mt -M mp4 -sv best -sa best -ss lang="eng":for=all
    Make sure that you've got also got ffmpeg in the same folder.
    Last edited by pram0dm; 6th May 2024 at 05:26.
    Quote Quote  
  7. also try to decrypt with shaka. sometime work better than mp4decrypt
    the single command to decrypt isn't easy, but well you can add --use-shaka-packager to code provide from pram0dm above (and re-download again your video)
    (also you need to download shaka and rename as shaka-packager.exe to use with N_m3u8DL-RE)
    Quote Quote  
  8. Thank you very much to all of you! It now works perfectly.

    Especially to you, pram0dm, your single command spares me from many tedious steps.

    And to you, lomero, for pointing out shaka, until that the audio was still undecrypted.

    Just goes to show, it is always worth asking.
    Quote Quote  
  9. Originally Posted by lomero View Post
    also try to decrypt with shaka. sometime work better than mp4decrypt
    the single command to decrypt isn't easy, but well you can add --use-shaka-packager to code provide from pram0dm above (and re-download again your video)
    (also you need to download shaka and rename as shaka-packager.exe to use with N_m3u8DL-RE)


    Rename the entire program folder from shaka-packager-main to shaka-packager.exe
    Quote Quote  
  10. Hello. Can I contact you privately?
    Quote Quote  



Similar Threads

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