VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  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  



Similar Threads

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