VideoHelp Forum

+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Jul 2021
    Location
    California
    Search Comp PM
    I have downloaded video from file but they are drm protected. I am trying to decrypt it. I have KID. How do I get the key?

    I tried
    Code:
    mp4decrypt --key eb914881d23746c6b5d0f664235f2d48:9a04f07998404286ab92e65be0885f95  "video.mp4" "out.mp4"

    Code:
    <?xml version='1.0' encoding='utf-8'?>
    <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" mediaPresentationDuration="PT1H51M42.000S" minBufferTime="PT2.00S" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static">
      
      <Period>
        
        <AdaptationSet maxHeight="1080" maxWidth="1920" mimeType="video/mp4" minHeight="240" minWidth="426" segmentAlignment="true" startWithSAP="1">
          
          <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="eb914881-d237-46c6-b5d0-f664235f2d48" />
          
          <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95">
            <mspr:pro>vAMAAAEAAQCyAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AZwBVA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AGkAbwBuAD0AIgA0AC4AMAAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBFAFkATABFAE4APgAxADYAPAAvAEsARQBZAEwARQBOAD4APABBAEwARwBJAEQAPgBBAEUAUwBDAFQAUgA8AC8AQQBMAEcASQBEAD4APAAvAFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAPgBnAFUAaQBSADYAegBmAFMAeABrAGEAMQAwAFAAWgBrAEkAMQA4AHQAUwBBAD0APQA8AC8ASwBJAEQAPgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcAA6AC8ALwBzAGwAZAByAG0ALgBsAGkAYwBlAG4AcwBlAGsAZQB5AHMAZQByAHYAZQByAC4AYwBvAG0ALwBjAG8AcgBlAC8AcgBpAGcAaAB0AHMAbQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUAUgBMAD4APABEAFMAXwBJAEQAPgBWAGwAUgA3AEkAZABzAEkASgBFAHUAUgBkADAANgBMAGEAcQBzADIAagB3AD0APQA8AC8ARABTAF8ASQBEAD4APABDAFUAUwBUAE8ATQBBAFQAVABSAEkAQgBVAFQARQBTACAAeABtAGwAbgBzAD0AIgAiAD4APABDAEkARAA+AHEATwBMAG8AQgBVAHUARQArAFUAUwByAHIAdgBVACsAdQBQAG4AYwBKAHcAPQA9ADwALwBDAEkARAA+ADwARABSAE0AVABZAFAARQA+AHMAbQBvAG8AdABoADwALwBEAFIATQBUAFkAUABFAD4APAAvAEMAVQBTAFQATwBNAEEAVABUAFIASQBCAFUAVABFAFMAPgA8AEMASABFAEMASwBTAFUATQA+AE4AVABSADIAeQBEADAAdgBxAG8AOAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh></ContentProtection>
          
          <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
            <cenc:pssh>AAAAU3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADMIARIQ65FIgdI3Rsa10PZkI18tSBoLYnV5ZHJta2V5b3MiEAXo4qiES0T5q671Prj53Cc=</cenc:pssh>
          </ContentProtection>
          <SegmentTemplate duration="2000" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/seg-$Number$.m4s" startNumber="1" timescale="1000" />
          <Representation bandwidth="256208" codecs="avc1.640015" frameRate="25" height="240" id="video/avc1/1" scanType="progressive" width="426" />
          <Representation bandwidth="554610" codecs="avc1.64001E" frameRate="25" height="360" id="video/avc1/2" scanType="progressive" width="640" />
          <Representation bandwidth="755036" codecs="avc1.64001E" frameRate="25" height="480" id="video/avc1/3" scanType="progressive" width="852" />
          <Representation bandwidth="1205707" codecs="avc1.64001F" frameRate="25" height="576" id="video/avc1/4" scanType="progressive" width="1024" />
          <Representation bandwidth="2491095" codecs="avc1.64001F" frameRate="25" height="720" id="video/avc1/5" scanType="progressive" width="1280" />
          <Representation bandwidth="2996773" codecs="avc1.640028" frameRate="25" height="1080" id="video/avc1/6" scanType="progressive" width="1920" />
        </AdaptationSet>
        
        <AdaptationSet lang="hi" mimeType="audio/mp4" segmentAlignment="true" startWithSAP="1">
          
          <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="eb914881-d237-46c6-b5d0-f664235f2d48" />
          
          <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95">
            <mspr:pro>vAMAAAEAAQCyAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9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AFQATwBNAEEAVABUAFIASQBCAFUAVABFAFMAPgA8AEMASABFAEMASwBTAFUATQA+AE4AVABSADIAeQBEADAAdgBxAG8AOAA9ADwALwBDAEgARQBDAEsAUwBVAE0APgA8AC8ARABBAFQAQQA+ADwALwBXAFIATQBIAEUAQQBEAEUAUgA+AA==</cenc:pssh></ContentProtection>
          
          <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
            <cenc:pssh>AAAAU3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADMIARIQ65FIgdI3Rsa10PZkI18tSBoLYnV5ZHJta2V5b3MiEAXo4qiES0T5q671Prj53Cc=</cenc:pssh>
          </ContentProtection>
          <SegmentTemplate duration="2000" initialization="$RepresentationID$/init.mp4" media="$RepresentationID$/seg-$Number$.m4s" startNumber="1" timescale="1000" />
          <Representation audioSamplingRate="48000" bandwidth="72950" codecs="mp4a.40.2" id="audio/hi/mp4a">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2" />
          </Representation>
        </AdaptationSet>
      </Period>
    </MPD>
    Quote Quote  
  2. Member notaghost's Avatar
    Join Date
    Sep 2020
    Location
    Pakistan
    Search PM
    Video link?
    discord=notaghost#9997
    Quote Quote  
  3. Member
    Join Date
    Jan 2019
    Location
    hawai
    Search PM
    contradiction.
    you write: <I have KID. How do I get the key?>
    and use mp4decrypt with: mp4decrypt --key eb914881d23746c6b5d0f664235f2d48:9a04f07998404286a b92e65be0885f95

    then... you have key... or not? and probably if decrypt not work, you don't have correct key...
    Quote Quote  
  4. Originally Posted by lomero View Post
    contradiction.
    then... you have key... or not?
    The poor soul is trying this as key
    Code:
    <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95">
    Quote Quote  
  5. Member
    Join Date
    Jan 2019
    Location
    hawai
    Search PM
    ah ok.
    really on high seas...
    Quote Quote  
  6. Member ccbradley's Avatar
    Join Date
    Jun 2021
    Location
    United States
    Search PM
    As you said, it is DRM protected. To get the key, you will need to ask the key server for the key identified by your “key ID” (KID). But if you aren’t a trusted device, the key server probably isn’t going to send it to you. This is the crux of DRM.
    Quote Quote  
  7. Originally Posted by ccbradley View Post
    As you said, it is DRM protected. To get the key, you will need to ask the key server for the key identified by your “key ID” (KID). But if you aren’t a trusted device, the key server probably isn’t going to send it to you. This is the crux of DRM.
    Yes you are right. but even if the license server sends you the key it is encrypted and only the cdm decrypts it internally. if it is only to have the response from the license server, that can also be found via the browser
    Quote Quote  



Similar Threads