VideoHelp Forum
+ Reply to Thread
Results 1 to 24 of 24
Thread
  1. Could anyone help me solve the problem of how to download a DRM-protected video?
    There are a lot of posts on the forum and information on how to do it, unfortunately I can't understand it (sometimes the tips are too "general", for example :
    use "such a tool" or "check this..."

    so one by one: I can download the video using available tools, e.g. IDM, but the video and sound are unrecognizable / not showing in a player ( VLC )
    if I run the command , tips from : https://forum.videohelp.com/threads/401172-Everyone-can-help-me-fix-error-on-mp4decrypt#post2709674
    (I don't remember where and how I got this key, there were so many threads ... maybe F12 dev tools / inspect ? )
    Code:
    mp4decrypt.exe --key 1:v8vxqWHOeBivVOjEFF6EBhWadY1nmmOQ0hZGEBxR0FI=
    the video is now visible but is "blurred" (see attachment)

    I already know how to download the manifest.mpd file (attached as txt - error during uplad ),
    what do I need to do next to download the video file and decode it correctly to be able to watch it?
    maybe there is already post/page that explains in detail step by step: what is needed (tool and keys/codes etc.)
    (recording the screen is very troublesome, thank you in advance for any tips/hints)
    Image Attached Thumbnails Click image for larger version

Name:	video encoded.PNG
Views:	19
Size:	1,011.7 KB
ID:	75746  

    Image Attached Files
    Quote Quote  
  2. My Update :
    I have ran command :
    Code:
    N_m3u8DL-RE https://ipla-e3-17.pluscdn.pl/p/vm2dash/8d/8d939608a7a7715a7a23564094570af54f192dba/manifest.mpd
    14:12:24.245 INFO : N_m3u8DL-RE (Beta version) 20230628
    14:12:24.260 INFO : Loading URL: https://ipla-e3-17.pluscdn.pl/p/vm2dash/8d/8d939608a7a7715a7a23564094570af54f192dba/manifest.mpd
    14:12:36.091 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    14:12:36.092 INFO : Parsing streams...
    14:12:36.099 WARN : Writing meta json
    14:12:36.104 INFO : Extracted, there are 7 streams, with 3 basic streams, 4 audio streams, 0 subtitle streams
    14:12:36.105 INFO : Vid *CENC 1024x576 | 1171 Kbps | 6 | 25 | avc1.640020 | 1 Segment | ~48m16s
    14:12:36.106 INFO : Vid *CENC 640x360 | 336 Kbps | 5 | 25 | avc1.64001f | 1 Segment | ~48m16s
    14:12:36.107 INFO : Vid *CENC 384x216 | 128 Kbps | 3 | 25 | avc1.640016 | 1 Segment | ~48m16s
    14:12:36.108 INFO : Aud *CENC 2 | 160 Kbps | ec-3 | pl | A000CH | 1 Segment | ~48m16s
    14:12:36.109 INFO : Aud *CENC 4 | 128 Kbps | mp4a.40.2 | pl | 2CH | 1 Segment | ~48m16s
    14:12:36.110 INFO : Aud *CENC 1 | 96 Kbps | mp4a.40.5 | pl | 2CH | 1 Segment | ~48m16s
    14:12:36.111 INFO : Aud *CENC 0 | 64 Kbps | mp4a.40.29 | pl | 2CH | 1 Segment | ~48m16s
    14:13:19.787 INFO : Parsing streams...
    14:13:19.788 INFO : Selected streams:
    14:13:19.788 INFO : Vid *CENC 1024x576 | 1171 Kbps | 6 | 25 | avc1.640020 | 1 Segment | ~48m16s
    14:13:19.789 INFO : Aud *CENC 2 | 160 Kbps | ec-3 | pl | A000CH | 1 Segment | ~48m16s
    14:13:19.789 WARN : Writing meta json
    14:13:19.790 INFO : Save Name: manifest_2023-12-25_14-12-36
    14:13:21.431 INFO : Start downloading...Vid 1024x576 | 1171 Kbps | 6 | 25 | avc1.640020
    14:13:21.433 WARN : When CENC encryption is detected, binary merging is automatically enabled
    14:15:04.172 WARN : Type: cenc
    14:15:04.175 WARN : PSSH(WV): CAESEL+ujMaEZq6rCoz0Q7eksAgaDWN5ZnJvd3lwb2xzYXQiCI CeAAAAAAAA
    14:15:04.177 WARN : KID: bfae8cc68466aeab0a8cf443b7a4b008
    14:15:04.179 WARN : Reading media info...
    14:15:04.294 INFO : [0x1]: Video, h264 (High) (avc1), 1024x576, 25 fps, 29 kb/s
    14:29:16.882 INFO : Binary merging...
    14:29:18.099 INFO : Start downloading...Aud 2 | 160 Kbps | ec-3 | pl | A000CH
    14:29:30.225 WARN : Type: cenc
    14:29:30.226 WARN : PSSH(WV): CAESEL+ujMaEZq6rCoz0Q7eksAgaDWN5ZnJvd3lwb2xzYXQiCI CeAAAAAAAA
    14:29:30.228 WARN : KID: bfae8cc68466aeab0a8cf443b7a4b008
    14:29:30.229 WARN : Reading media info...
    14:29:30.285 INFO : [0x1]: Audio, eac3 (ec-3), 28 kb/s
    14:29:45.948 INFO : Binary merging...
    14:29:46.003 INFO : Done

    something are downloaded ( 2 files , video + audio ), but with the same effect as with IDM
    no video ( not showing ) , and and no sound ,
    now we have 2 key value ( as I understand )
    PSSH(WV): CAESEL+ujMaEZq6rCoz0Q7eksAgaDWN5ZnJvd3lwb2xzYXQiCI CeAAAAAAAA
    KID: bfae8cc68466aeab0a8cf443b7a4b008

    how should I use them in the next step?
    Last edited by misiek; 25th Dec 2023 at 09:10.
    Quote Quote  
  3. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    you got the wrong key
    video URL?
    Quote Quote  
  4. try this PSSH:
    Code:
    AAAATXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAC0IARIQv66MxoRmrqsKjPRDt6SwCBoNY3lmcm93eXBvbHNhdCIIgJ4AAAAAAAA=
    Last edited by Imai; 25th Dec 2023 at 18:07. Reason: corrected PSSH
    Quote Quote  
  5. thank you for reply ,
    so we have "another brick in the wall", ( we are one step further )
    by the way, I have the question why we chose this entry of PSSH , there are more similar in mpd file
    Is there a rule that we should always take entries that .... with... after... ? ( in in this case it is the second entry in the order) see pitureImage
    [Attachment 75759 - Click to enlarge]
    ,
    and now the most important question:
    what should I do now in the next step, and Is there anything else that we need to have, to decode the video?
    Quote Quote  
  6. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Last edited by iamghost; 25th Dec 2023 at 16:19.
    Quote Quote  
  7. use this pssh
    Code:
    AAAATXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAC0IARIQv66MxoRmrqsKjPRDt6SwCBoNY3lmcm93eXBvbHNhdCIIgJ4AAAAAAAA=
    Quote Quote  
  8. Well, now I have a question, why this entry PSSH ?
    (this one is third in order in mpd file ), what is the difference between what imr_saleh suggests and what recommended earlier Imai
    ( different track / bitrate ? )
    Ok , I will try with keysdb / cdrm ( we can read a lot about this on this forum )
    but I did not find a precise explanation of how to use it and where to read the necessary entries,
    e.g. I'm not sure if the License url in my case is ? [ https://b2c-www.redefine.pl/rpc/drm/ ]
    If not , please provide info where can I read it.
    (see picture)
    Image
    [Attachment 75762 - Click to enlarge]
    Quote Quote  
  9. Originally Posted by misiek View Post
    thank you for reply ,
    so we have "another brick in the wall", ( we are one step further )
    by the way, I have the question why we chose this entry of PSSH , there are more similar in mpd file
    Is there a rule that we should always take entries that .... with... after... ? ( in in this case it is the second entry in the order) see pitureImage
    [Attachment 75759 - Click to enlarge]
    ,
    and now the most important question:
    what should I do now in the next step, and Is there anything else that we need to have, to decode the video?
    my experience not that good but I know the basics.

    Usually PSSH is short and you can see the end of it.

    Next thing you need to do is search for the license URL so you can send the request
    try search for (lic, license, wv, widevine, drm)
    Image
    [Attachment 75763 - Click to enlarge]

    once you find use one of this:
    https://cdrm-project.com/
    http://108.181.133.95:8080/
    Quote Quote  
  10. Update :
    If I did everything correctly, then... I get this error
    Image
    [Attachment 75765 - Click to enlarge]
    Quote Quote  
  11. Originally Posted by misiek View Post
    Well, now I have a question, why this entry PSSH ?
    (this one is third in order in mpd file ), what is the difference between what imr_saleh suggests and what recommended earlier Imai
    ( different track / bitrate ? )
    Ok , I will try with keysdb / cdrm ( we can read a lot about this on this forum )
    but I did not find a precise explanation of how to use it and where to read the necessary entries,
    e.g. I'm not sure if the License url in my case is ? [ https://b2c-www.redefine.pl/rpc/drm/ ]
    If not , please provide info where can I read it.
    (see picture)
    Image
    [Attachment 75762 - Click to enlarge]
    keysDB is a widevine
    so use widevine pssh
    see picture
    Image
    [Attachment 75764 - Click to enlarge]
    Quote Quote  
  12. Originally Posted by misiek View Post
    Update :
    If I did everything correctly, then... I get this error
    Image
    [Attachment 75765 - Click to enlarge]
    Image
    [Attachment 75766 - Click to enlarge]


    Code:
    028b51744e1a5918a7a401d544ae9f5c:d4a5e9d9c622d2eca2429025db3d39ed
    cd6e5401b67b55d781822075b4c53a71:7da422531db5167edad2e06c6ce27ed2
    964a1baf65435719824b5b896c371e56:b34c72b86add402bf53159f09689cea4
    7f3181aab0005a1a9b72d312da5eaab0:89152b4f0701e2e4a11b4f83914b16a3
    131795f1928b59608c01ce487422a79c:87c246e94adbdc965c1d7a336fe5bba9
    Quote Quote  
  13. Wow,
    getting closer to the finale (it's getting more and more exciting)
    but what was I doing wrong?
    In the Headers field I pasted a very long entry from the website (dev tools, DRM , right click , copy as cURL, then convert it on the website https://curlconverter.com/#, as I understand it, we leave it as it is - > right ?
    only :

    Code:
    accept: "*/*"
    content-length: "316"
    Connection: keep-alive
    unfortunately it still throws an error
    Error 400: 400: UnicodeDecodeError
    maybe it has to do with the regional settings of the computer/browser-chrome (Poland)
    Image
    [Attachment 75767 - Click to enlarge]


    However, you managed to download 5 sets of keys, so now the last (I hope ) question
    how to use them / which one? / all ?
    Quote Quote  
  14. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by imr_saleh View Post

    Image
    [Attachment 75766 - Click to enlarge]


    Code:
    028b51744e1a5918a7a401d544ae9f5c:d4a5e9d9c622d2eca2429025db3d39ed
    cd6e5401b67b55d781822075b4c53a71:7da422531db5167edad2e06c6ce27ed2
    964a1baf65435719824b5b896c371e56:b34c72b86add402bf53159f09689cea4
    7f3181aab0005a1a9b72d312da5eaab0:89152b4f0701e2e4a11b4f83914b16a3
    131795f1928b59608c01ce487422a79c:87c246e94adbdc965c1d7a336fe5bba9
    wrong keys, use with cached key they store keys with wrong license URL
    Image
    [Attachment 75769 - Click to enlarge]


    you can see different lic url with same keys you post
    Image
    [Attachment 75770 - Click to enlarge]


    Originally Posted by misiek View Post
    Update :
    If I did everything correctly, then... I get this error
    Image
    [Attachment 75765 - Click to enlarge]
    use yaml
    removed import requests and header =
    like this
    Code:
    {
    'authority': 'licensing.bitmovin.com',
    'accept': '*/*',
    'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8',
    'content-type': 'text/plain;charset=UTF-8',
    }
    Quote Quote  
  15. iv'e used this site: http://108.181.133.95:8080/
    However none of these keys work, perhaps an incompatible license url

    in devtools search for widevine, license, proxy, auth, token
    you need to find the correct license url
    Quote Quote  
  16. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Code:
    N_m3u8DL-RE -M format=mkv --key bfae8cc68466aeab0a8cf443b7a4b008:4ffa1edad4234f9a0da55a358d76479d "https://redirector.redefine.pl/vm2dash/77b0ddc9583a203ab676860e80969a96ed717121/manifest.mpd" --save-name video
    Image
    [Attachment 75771 - Click to enlarge]


    your video...
    https://gofile.io/d/UKyQ6l
    Quote Quote  
  17. Wow !!!!
    Im very impressed
    thank you very much, so it works ...
    Can I ask you for "technical details" ( I need to prepare questions )
    Quote Quote  
  18. Update:
    ----------
    Unfortunately, the solution provided by iamghost ( thanks ) was made using a special tool that cannot be used on a "mass scale"
    I need to get the entire season of the series, about 150 episodes, therefore I need to understand "technicals" and do it using available tools
    (cdrm-poject ) and get the decryption key
    Because I am a beginner, so let's summarize it
    I will present the current situation (please correct if something is wrong )
    =============================================

    I cannot provide a direct link to the video because it requires logging in, and the video is not available outside Poland,
    but we have address of mafifest file (mpd)
    HTML Code:
    https://ipla-e3-17.pluscdn.pl/p/vm2dash/8d/8d939608a7a7715a7a23564094570af54f192dba/manifest.mpd
    filling the form ( cdrm-project )

    Image
    [Attachment 75779 - Click to enlarge]


    1) PSSH , getting from mpd file
    Image
    [Attachment 75780 - Click to enlarge]

    2) License URL , was it read correctly? (I've seen different opinions on this forum, so I want to make sure again)
    HTML Code:
    https://b2c-www.redefine.pl/rpc/drm/
    Image
    [Attachment 75781 - Click to enlarge]


    3) Header
    - > here I have the biggest problem, how to fill / what format
    (conversion via https://curlconverter.com/ or http://yaml-online-parser.appspot.com/ ?)
    and most importantly, where to get it ?
    iamghost told that "I need right-click / copy as CURL .. etc ( picture )
    Image
    [Attachment 75782 - Click to enlarge]


    additional problem: which entry should I use? (there are different entries )
    additionally, someone suggests using YAML, but there is an error there.. ( picture )
    Image
    [Attachment 75783 - Click to enlarge]

    additionally, if we try to generate a request on cdrm-project, we get an error ( picture )
    I noticed that : (colon) is not accepted
    Image
    [Attachment 75784 - Click to enlarge]


    so how to do it to get key:
    Code:
    bfae8cc68466aeab0a8cf443b7a4b008:4ffa1edad4234f9a0da55a358d76479d
    the first part 'bfae...008' is available in the mpd file )

    Thanks,
    Quote Quote  
  19. Originally Posted by misiek View Post
    Update:
    ----------
    Unfortunately, the solution provided by iamghost ( thanks ) was made using a special tool that cannot be used on a "mass scale"
    I need to get the entire season of the series, about 150 episodes, therefore I need to understand "technicals" and do it using available tools
    (cdrm-poject ) and get the decryption key
    Because I am a beginner, so let's summarize it
    I will present the current situation (please correct if something is wrong )
    =============================================

    I cannot provide a direct link to the video because it requires logging in, and the video is not available outside Poland,
    but we have address of mafifest file (mpd)
    HTML Code:
    https://ipla-e3-17.pluscdn.pl/p/vm2dash/8d/8d939608a7a7715a7a23564094570af54f192dba/manifest.mpd
    filling the form ( cdrm-project )

    Image
    [Attachment 75779 - Click to enlarge]


    1) PSSH , getting from mpd file
    Image
    [Attachment 75780 - Click to enlarge]

    2) License URL , was it read correctly? (I've seen different opinions on this forum, so I want to make sure again)
    HTML Code:
    https://b2c-www.redefine.pl/rpc/drm/
    Image
    [Attachment 75781 - Click to enlarge]


    3) Header
    - > here I have the biggest problem, how to fill / what format
    (conversion via https://curlconverter.com/ or http://yaml-online-parser.appspot.com/ ?)
    and most importantly, where to get it ?
    iamghost told that "I need right-click / copy as CURL .. etc ( picture )
    Image
    [Attachment 75782 - Click to enlarge]


    additional problem: which entry should I use? (there are different entries )
    additionally, someone suggests using YAML, but there is an error there.. ( picture )
    Image
    [Attachment 75783 - Click to enlarge]

    additionally, if we try to generate a request on cdrm-project, we get an error ( picture )
    I noticed that : (colon) is not accepted
    Image
    [Attachment 75784 - Click to enlarge]


    so how to do it to get key:
    Code:
    bfae8cc68466aeab0a8cf443b7a4b008:4ffa1edad4234f9a0da55a358d76479d
    the first part 'bfae...008' is available in the mpd file )

    Thanks,
    use StreamFab check PM
    Quote Quote  
  20. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by Silv3r View Post

    use StreamFab check PM
    you can use streamfab, i have been check to see if it work,

    yeah they do.

    Image
    [Attachment 75786 - Click to enlarge]
    Quote Quote  
  21. OK. I will,
    I will let you know if it works satisfactorily - thanks
    Quote Quote  
  22. ( update )
    Hi,
    it works (with some limitations), e.g. downloading transfer ( max 12 MB/s )
    and the inability to select an audio track (I can only download the lowest 64 kb/s (just for the needs of this series),
    however, if someone told me the secret of how to fill out the form for the decode key (in especially the "Header" field)
    using the cdrm-project website, it would be very nice ,
    I know that the topic has been discussed hundreds of times on this forum, but unfortunately I have not found a comprehensive answer on how to do it
    (maybe I was looking in the wrong place )

    Thank you all for your help and tips
    Quote Quote  
  23. @iamghost @Silv3r is my understanding correct that streamfab should work on sites that require login? I'd like to download movie from app.filmbox.com. this site requires logining in. i downloaded streamfab, went to the web page, entered credentials, started playing movie and nothing gets detected in streamfab. should it be? I have mtd file for the movie and pssh. not sure what to do next. someone in another thread advised to look for "proxy". I have one but it points to "https://widevine-dash.ezdrm.com/proxy?pX=003389" and nothing is there ("HTTP Get Method Not Supported").
    Quote Quote  
  24. Search, Learn, Download! Karoolus's Avatar
    Join Date
    Oct 2022
    Location
    Belgium
    Search Comp PM
    Originally Posted by labamba View Post
    @iamghost @Silv3r is my understanding correct that streamfab should work on sites that require login? I'd like to download movie from app.filmbox.com. this site requires logining in. i downloaded streamfab, went to the web page, entered credentials, started playing movie and nothing gets detected in streamfab. should it be? I have mtd file for the movie and pssh. not sure what to do next. someone in another thread advised to look for "proxy". I have one but it points to "https://widevine-dash.ezdrm.com/proxy?pX=003389" and nothing is there ("HTTP Get Method Not Supported").
    License server requests are always POST
    Quote Quote  



Similar Threads

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