VideoHelp Forum




+ Reply to Thread
Results 1 to 17 of 17
  1. I'm trying to download a video but i'm not able to decrypt it.

    Link of video: https://www.rmcbfmplay.com/video/rmc-decouverte/jirai-dormir-chez-vous/s14e1-algerie?c...verse=PROVIDER

    Licence: https://ws-backendtv.rmcbfmplay.com/asgard-drm-widevine/public/licence

    MPD: https://tra2-xdn-edge-vod01.pfd.sfr.net/ncdn-cu-kairos-cbv0.pfd.sfr.net/sid=0706qm1jka...b/manifest.mpd

    Keys generated with cdrm-project:
    Code:
    c7b8b278e47e56d583ebd6e2fb0551e2:26c51a33a1bb31e4a7dbeefbd6023d55
    6e51dfe50a545c84815d2db99b063f16:38d9449b9dd7754748c393a2f81184dd
    53646b69ae4e5ce58c52efc0f116c994:0f49d39b46ee55aec0ebd2a6ff208b89
    815d513b5eab5499b4584e2fe0d9a7d8:a9ba1217c95e39f164799bacd76694d9
    76a27672fc855ac1860498fcc30e20f8:b80beea69f5751a473861c8b67ebe4e6
    I used N_m3U8DL-RE with this command:
    Code:
    ./N_m3u8DL-RE  --key-text-file=./rmc_keys.txt -M format=mkv "https://tra2-xdn-edge-vod01.pfd.sfr.net/ncdn-cu-kairos-cbv0.pfd.sfr.net/sid=0706qm1jkambjnqfa0l0/dashcenc/catchup/NEUF_RMCDEC/8f9/RMC_8cb1901f72_c8b7067b4acd4724b/manifest.mpd" --save-name "J'irai dormir chez vous S14E1 - ALGÉRIE" -sv best -sa best
    I was able to download the video with the good length but no audio and video is still encrypted. Thank you for your help!
    Quote Quote  
  2. Hi,

    For RMC, there's only one key

    try this key:
    Code:
    aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4
    Quote Quote  
  3. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by fl0b View Post
    Keys generated with cdrm-project:
    The keys cached by cdrm-project for rmc are not good you should only have one key as @IceM said.
    Here is a script to retrieve the key :
    Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    
    headers = {
        'customdata': 'CUSTOMDATA',
    }
    
    pssh = input("PSSH? ")
    pssh = PSSH(pssh)
    lic_url = 'https://ws-backendtv.rmcbfmplay.com/asgard-drm-widevine/public/licence'
    
    device = Device.load(r"file.wvd")
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    licence = requests.post(lic_url, headers = headers, data=challenge)
    licence.raise_for_status()
    cdm.parse_license(session_id, licence.content)
    
    for key in cdm.get_keys(session_id):
        if key.type=='CONTENT':
            print(f"\n--key {key.kid.hex}:{key.key.hex()}")
    
    cdm.close(session_id)
    You have to get your own .wvd or find one on the forum and change the value of CUSTOMDATA in the header.
    The key provided by @IceM is the right one.
    Quote Quote  
  4. Originally Posted by IceM View Post
    Hi,

    For RMC, there's only one key

    try this key:
    Code:
    aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4
    Thank you @IceM but this key is not working for my video

    Originally Posted by aqzs View Post
    Originally Posted by fl0b View Post
    Keys generated with cdrm-project:
    The keys cached by cdrm-project for rmc are not good you should only have one key as @IceM said.
    Here is a script to retrieve the key :
    Code:
    from pywidevine.cdm import Cdm
    from pywidevine.device import Device
    from pywidevine.pssh import PSSH
    import requests
    
    headers = {
        'customdata': 'CUSTOMDATA',
    }
    
    pssh = input("PSSH? ")
    pssh = PSSH(pssh)
    lic_url = 'https://ws-backendtv.rmcbfmplay.com/asgard-drm-widevine/public/licence'
    
    device = Device.load(r"file.wvd")
    cdm = Cdm.from_device(device)
    session_id = cdm.open()
    challenge = cdm.get_license_challenge(session_id, pssh)
    
    licence = requests.post(lic_url, headers = headers, data=challenge)
    licence.raise_for_status()
    cdm.parse_license(session_id, licence.content)
    
    for key in cdm.get_keys(session_id):
        if key.type=='CONTENT':
            print(f"\n--key {key.kid.hex}:{key.key.hex()}")
    
    cdm.close(session_id)
    You have to get your own .wvd or find one on the forum and change the value of CUSTOMDATA in the header.
    The key provided by @IceM is the right one.
    Thank you @aqzs, i will try your script, i have to figure out how to generate this .wvd file but i saw a tutorial doing that using an android emulator, i will try that when i get some time.
    Quote Quote  
  5. Originally Posted by fl0b View Post
    Thank you @IceM but this key is not working for my video
    The key is correct
    Code:
    N_m3u8DL-RE.exe --key aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4 "https://tra2-xdn-edge-vod01.pfd.sfr.net/ncdn-cu-kairos-cbv0.pfd.sfr.net/sid=0706qm1jkambjnqfa0l0/dashcenc/catchup/NEUF_RMCDEC/8f9/RMC_8cb1901f72_c8b7067b4acd4724b/manifest.mpd"
    Image
    [Attachment 78251 - Click to enlarge]



    Originally Posted by fl0b View Post
    i have to figure out how to generate this .wvd file but i saw a tutorial doing that using an android emulator, i will try that when i get some time.
    You can find CDM in This post
    Quote Quote  
  6. Originally Posted by IceM View Post
    Originally Posted by fl0b View Post
    Thank you @IceM but this key is not working for my video
    The key is correct
    Code:
    N_m3u8DL-RE.exe --key aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4 "https://tra2-xdn-edge-vod01.pfd.sfr.net/ncdn-cu-kairos-cbv0.pfd.sfr.net/sid=0706qm1jkambjnqfa0l0/dashcenc/catchup/NEUF_RMCDEC/8f9/RMC_8cb1901f72_c8b7067b4acd4724b/manifest.mpd"
    Image
    [Attachment 78251 - Click to enlarge]



    Originally Posted by fl0b View Post
    i have to figure out how to generate this .wvd file but i saw a tutorial doing that using an android emulator, i will try that when i get some time.
    You can find CDM in This post
    My bad @IceM, a character at the end of the key was missing. Thank you for the list, i see that there's a bunch of CDMs do i have to write a script to to test them one by one ? is there a way to check the key without downloading the video ?
    Quote Quote  
  7. Originally Posted by fl0b View Post
    My bad @IceM, a character at the end of the key was missing. Thank you for the list, i see that there's a bunch of CDMs do i have to write a script to to test them one by one ? is there a way to check the key without downloading the video ?
    take 2 or 3 to test if they're not blacklisted

    To test the validity of the key, the easiest way is to download the video in low resolution
    Quote Quote  
  8. Good idea, i'll try that.
    Quote Quote  
  9. Member
    Join Date
    Jul 2007
    Location
    Old Europe
    Search Comp PM
    Originally Posted by IceM View Post
    The key is correct
    Code:
    N_m3u8DL-RE.exe --key aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4 "https://tra2-xdn-edge-vod01.pfd.sfr.net/ncdn-cu-kairos-cbv0.pfd.sfr.net/sid=0706qm1jkambjnqfa0l0/dashcenc/catchup/NEUF_RMCDEC/8f9/RMC_8cb1901f72_c8b7067b4acd4724b/manifest.mpd"
    Hi! It used to work, but now, when I download videos using this key, the videos are completely scrambled... It looks like the key has changed... Could you tell me how to find the key of RMC BFM Play, please?
    Quote Quote  
  10. the key is always the same.

    Code:
    N_m3u8DL-RE "https://replay-cdn-cbv.tv.sfr.net/replay/e0fc9/64bb4163-fb61-4685-b786-ab64e6e0b81e/manifest.mpd" --key aa8be47a9c2e29dae0533b28450a12f4:318b5c9369b8db3365c23d597ef46c17 -M format=mkv
    Quote Quote  
  11. Member
    Join Date
    Jul 2007
    Location
    Old Europe
    Search Comp PM
    Originally Posted by cedric8528 View Post
    the key is always the same.

    Code:
    N_m3u8DL-RE "https://replay-cdn-cbv.tv.sfr.net/replay/e0fc9/64bb4163-fb61-4685-b786-ab64e6e0b81e/manifest.mpd" --key aa8be47a9c2e29dae0533b28450a12f4:318b5c9369b8db3365c23d597ef46c17 -M format=mkv
    Thank you! The end of my key was wrong. I retried using the key you posted, and the video is now readable
    Quote Quote  
  12. Member
    Join Date
    Jul 2007
    Location
    Old Europe
    Search Comp PM
    Originally Posted by cedric8528 View Post
    the key is always the same.

    Code:
    N_m3u8DL-RE "https://replay-cdn-cbv.tv.sfr.net/replay/e0fc9/64bb4163-fb61-4685-b786-ab64e6e0b81e/manifest.mpd" --key aa8be47a9c2e29dae0533b28450a12f4:318b5c9369b8db3365c23d597ef46c17 -M format=mkv

    Hi, do you know if the technique still works? Here it stopped working, with the same key. I'm truying to download this TV show. For instance, this command returns an error message, and the video is scrambled:

    Code:
    N_m3u8DL-RE "https://lil2-xdn-edge-vod00.pfd.sfr.net/replay-cdn-cbv.tv.sfr.net/sid=05b62t5rgcoadu2iu8ng/replay/f1d4e/ef9de361-e4b8-4f0c-bb09-4e77c9176fc1/manifest.mpd" --key aa8be47a9c2e29dae0533b28450a12f4:318b5c9369b8db3365c23d597ef46c17 -M format=mkv
    13:52:12.835 INFO : N_m3u8DL-RE (Beta version) 20241201
    13:52:12.853 INFO : Loading URL: https://lil2-xdn-edge-vod00.pfd.sfr.net/replay-cdn-cbv.tv.sfr.net/sid=05b62t5rgcoadu2iu8ng/replay/f1d4e/ef9de361-e4b8-4f0c-bb09-4e77c9176fc1/manifest.mpd
    13:52:12.920 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    13:52:12.921 INFO : Parsing streams...
    13:52:13.090 WARN : Writing meta json
    13:52:13.139 INFO : Extracted, there are 14 streams, with 13 basic streams, 1 audio streams, 0 subtitle streams
    13:52:13.140 INFO : Vid *CENC 1280x720 | 4499 Kbps | V5 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.145 INFO : Vid *CENC 1280x720 | 3499 Kbps | V4 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.146 INFO : Vid *CENC 1024x576 | 2000 Kbps | V3 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.147 INFO : Vid *CENC 768x432 | 1099 Kbps | V2 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.148 INFO : Vid *CENC 1280x720 | 899 Kbps | I5 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.148 INFO : Vid *CENC 768x432 | 729 Kbps | V1 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.149 INFO : Vid *CENC 1280x720 | 699 Kbps | I4 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.150 INFO : Vid *CENC 1024x576 | 400 Kbps | I3 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:13.150 INFO : Vid *CENC 640x360 | 364 Kbps | V0 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.151 INFO : Vid *CENC 768x432 | 219 Kbps | I2 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.151 INFO : Vid *CENC 768x432 | 145 Kbps | I1 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.152 INFO : Vid *CENC 640x360 | 72 Kbps | I0 | avc1.64001e | 1603 Segments | ~01h46m49s
    13:52:13.152 INFO : Vid 1280x720 | 10 Kbps | Thumb | 22 Segments | ~01h50m00s
    13:52:13.153 INFO : Aud *CENC A0 | 63 Kbps | mp4a.40.2 | fre | 2CH | 1603 Segments | Main | ~01h46m49s
    13:52:17.517 INFO : Parsing streams...
    13:52:17.523 INFO : Selected streams:
    13:52:17.524 INFO : Vid *CENC 1280x720 | 4499 Kbps | V5 | avc1.64001f | 1603 Segments | ~01h46m49s
    13:52:17.525 INFO : Aud *CENC A0 | 63 Kbps | mp4a.40.2 | fre | 2CH | 1603 Segments | Main | ~01h46m49s
    13:52:17.525 WARN : Writing meta json
    13:52:17.537 INFO : Save Name: manifest_2025-09-09_13-52-13
    13:52:17.537 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    13:52:17.539 INFO : Start downloading...Vid 1280x720 | 4499 Kbps | V5 | avc1.64001f
    13:52:17.559 WARN : Type: cenc
    13:52:17.560 WARN : KID: aa8be47a53db29b0e0533b28450a1cbb
    13:52:17.560 WARN : Reading media info...
    13:52:17.589 INFO : [0x1]: Video, h264 (avc1), 1280x720
    13:52:56.233 INFO : Binary merging...
    13:53:06.834 WARN : Type: cenc
    13:53:06.835 WARN : KID: aa8be47a53db29b0e0533b28450a1cbb
    13:53:06.836 INFO : Decrypting using MP4DECRYPT...
    13:53:06.838 INFO : Start downloading...Aud A0 | 63 Kbps | mp4a.40.2 | fre | 2CH | Main
    13:53:06.897 WARN : Type: cenc
    13:53:06.898 WARN : KID: aa8be47a53db29b0e0533b28450a1cbb
    13:53:06.899 WARN : Reading media info...
    13:53:06.928 INFO : [0x1]: Audio, aac (mp4a), 63 kb/s
    13:53:12.928 INFO : Binary merging...
    13:53:13.396 WARN : Type: cenc
    13:53:13.397 WARN : KID: aa8be47a53db29b0e0533b28450a1cbb
    13:53:13.397 INFO : Decrypting using MP4DECRYPT...
    13:53:13.403 WARN : manifest_2025-09-09_13-52-13.mp4
    13:53:13.404 WARN : manifest_2025-09-09_13-52-13.fre.m4a
    13:53:13.404 WARN : Muxing to manifest_2025-09-09_13-52-13.MUX.mkv
    13:53:13.797 WARN : [h264 @ 000001ef0e984040] top block unavailable for requested intra mode -1
    13:53:13.798 WARN : [h264 @ 000001ef0e984040] error while decoding MB 2 0, bytestream 32649
    13:53:14.118 WARN : [aac @ 000001ef0ea2ae80] Reserved bit set.
    13:53:14.118 WARN : [aac @ 000001ef0ea2ae80] Number of bands (11) exceeds limit (9).
    13:53:23.518 WARN : Cleaning files...
    13:53:23.951 WARN : Rename to manifest_2025-09-09_13-52-13.mkv
    13:53:24.275 INFO : Done
    Does it work on your end?
    Thank you 🙏
    Quote Quote  
  13. The key has changed.

    Try this one.

    Code:
    aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4
    Quote Quote  
  14. Member
    Join Date
    Jul 2007
    Location
    Old Europe
    Search Comp PM
    Originally Posted by cedric8528 View Post
    The key has changed.

    Try this one.

    Code:
    aa8be47a53db29b0e0533b28450a1cbb:1a1027b7e1c097a80e4bd4522c8ea4e4
    Yes! This did the trick. Thank you 🙏
    Just out of curiosity, how did you find the new key? Any tutorial?
    Quote Quote  
  15. Member
    Join Date
    Jul 2007
    Location
    Old Europe
    Search Comp PM
    Thank you cedric8528, I bookmarked it. It's a procedure that takes a significant amount of time to go through, but I may resort to it in the future.
    Quote Quote  
  16. Yes a lot of time!

    Just 2 minutes if you read carefully the post.

    It's an addon like the other ones for your browser

    Just install and put L3 cdm that you can find in this thread below

    https://forum.videohelp.com/threads/417425-Real-Device-L3-Cdms

    Launch your video and you will get keys and command to download.
    Quote Quote  



Similar Threads

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