VideoHelp Forum

+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. This is the mpd
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Generated with https://github.com/google/shaka-packager version v2.3.0-5bf8ad5-release-->
    <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 DASH-MPD.xsd" xmlns:cenc="urn:mpeg:cenc:2013" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011" minBufferTime="PT2S" type="static" mediaPresentationDuration="PT896.2333374023438S">
      <Period id="0">
        <AdaptationSet id="0" contentType="video" width="1280" height="720" frameRate="15360/512" subsegmentAlignment="true" par="16:9">
          <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="4a7ecc5a-bb29-581b-a123-02896503050f"/>
          <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
            <cenc:pssh>AAAAUnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADIiKnZkb2NpcGhlcjo1MjA2MjRmOTg4NmU0NTZhOTE2NjVkNmQyZDQyYTdlNkjj3JWbBg==</cenc:pssh>
          </ContentProtection>
          <Representation id="0" bandwidth="60000" codecs="avc1.64001f" mimeType="video/mp4" sar="1:1">
            <BaseURL>video_7963_720_60.mp4</BaseURL>
            <SegmentBase indexRange="1025-2376" timescale="15360">
              <Initialization range="0-1024"/>
            </SegmentBase>
          </Representation>
          <Representation id="2" bandwidth="175000" codecs="avc1.64001f" mimeType="video/mp4" sar="1:1">
            <BaseURL>video_9065_720_175.mp4</BaseURL>
            <SegmentBase indexRange="1025-2376" timescale="15360">
              <Initialization range="0-1024"/>
            </SegmentBase>
          </Representation>
        </AdaptationSet>
        <AdaptationSet id="1" contentType="audio" lang="en" subsegmentAlignment="true">
          <ContentProtection value="cenc" schemeIdUri="urn:mpeg:dash:mp4protection:2011" cenc:default_KID="c48a5fed-6d47-516b-b27d-18042c211073"/>
          <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
            <cenc:pssh>AAAAUnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADIiKnZkb2NpcGhlcjo1MjA2MjRmOTg4NmU0NTZhOTE2NjVkNmQyZDQyYTdlNkjj3JWbBg==</cenc:pssh>
          </ContentProtection>
          <Representation id="1" bandwidth="90000" codecs="mp4a.40.2" mimeType="audio/mp4" audioSamplingRate="48000">
            <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
            <BaseURL>audio_2325_0_90.mp4</BaseURL>
            <SegmentBase indexRange="984-2815" timescale="48000">
              <Initialization range="0-983"/>
            </SegmentBase>
          </Representation>
        </AdaptationSet>
      </Period>
    </MPD>
    I can see Pssh: AAAAUnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADIiKnZkb2 NpcGhlcjo1MjA2MjRmOTg4NmU0NTZhOTE2NjVkNmQyZDQyYTdl Nkjj3JWbBg==
    Also Default_KID: 4a7ecc5a-bb29-581b-a123-02896503050f

    Is default_KID the actual KID, in many mpd file i use https://tools.axinom.com/decoders/PsshBox to get KID , but here I get Content ID :
    Text- vdocipher:520624f9886e456a91665d6d2d42a7e6
    Bas16- 76 64 6F 63 69 70 68 65 72 3A 35 32 30 36 32 34 66 39 38 38 36 65 34 35 36 61 39 31 36 36 35 64 36 64 32 64 34 32 61 37 65 36
    Base64- dmRvY2lwaGVyOjUyMDYyNGY5ODg2ZTQ1NmE5MTY2NWQ2ZDJkND JhN2U2

    How to get the actual KID, and how to get the key?
    Quote Quote  
  2. actual KID=Default_KID
    Quote Quote  
  3. Member notaghost's Avatar
    Join Date
    Sep 2020
    Location
    Pakistan
    Search PM
    What is the token for https://license.vdocipher.com/auth ?

    Code:
    {"token":"eyJvdHAiOiIyMDE2MDMxM3ZlcnNJTkQzMTNhelpaZHlBcGxMaTlJQ2ljT21DendNZU1XR2hlSVBGVlFPTzc5Yk40MEVVamdCIiwicGxheWJhY2tJbmZvIjoiZXlKMmFXUmxiMGxrSWpvaU1XRTFNalUxT0dJell6QmhORE14Wm1FeVl6STFNRFkwWldFM01UZzBOVFVpZlE9PSIsImhyZWYiOiJodHRwczovL3d3dy52ZG9jaXBoZXIuY29tLyIsInRlY2giOiJ3diIsImxpY2Vuc2VSZXF1ZXN0IjoiQ0FRPSJ9"}
    discord=notaghost#9997
    Quote Quote  
  4. Is content Id that I get from decoding from Pssh Box important ? Will it be used?
    Quote Quote  
  5. Originally Posted by notaghost View Post
    What is the token for https://license.vdocipher.com/auth ?

    Code:
    {"token":"eyJvdHAiOiIyMDE2MDMxM3ZlcnNJTkQzMTNhelpaZHlBcGxMaTlJQ2ljT21DendNZU1XR2hlSVBGVlFPTzc5Yk40MEVVamdCIiwicGxheWJhY2tJbmZvIjoiZXlKMmFXUmxiMGxrSWpvaU1XRTFNalUxT0dJell6QmhORE14Wm1FeVl6STFNRFkwWldFM01UZzBOVFVpZlE9PSIsImhyZWYiOiJodHRwczovL3d3dy52ZG9jaXBoZXIuY29tLyIsInRlY2giOiJ3diIsImxpY2Vuc2VSZXF1ZXN0IjoiQ0FRPSJ9"}
    ======================

    I have had a hard look at this code (token).

    I have no idea where notaghost got it from. It is not a part of the manifest so I have to assume that he (assuming that notaghost is male) created it from data within the pssh.


    The pssh gives one piece of data, namely ...... vdocipher:520624f9886e456a91665d6d2d42a7e6

    What notaghost posted is base64 encoded json data

    {"otp":"20160313versIND313azZZdyAplLi9ICicOmCzwMeM WGheIPFVQOO79bN40EUjgB","playbackInfo":"eyJ2aWRlb0 lkIjoiMWE1MjU1OGIzYzBhNDMxZmEyYzI1MDY0ZWE3MTg0NTUi fQ==","href":"https://www.vdocipher.com/","tech":"wv","licenseRequest":"CAQ="}


    now we have two additional pieces of data

    "otp":"20160313versIND313azZZdyAplLi9ICicOmCzwMeMW GheIPFVQOO79bN40EUjgB"
    and
    "playbackInfo":"eyJ2aWRlb0lkIjoiMWE1MjU1OGIzYzBhND MxZmEyYzI1MDY0ZWE3MTg0NTUifQ=="

    Decoding the playbackInfo, we get

    "playbackInfo":"{"videoId":"1a52558b3c0a431fa2c250 64ea718455"}"

    This is as far as I got.

    Need to figure out how to move from "videoId":"1a52558b3c0a431fa2c25064ea718455" (as per notaghost ) to vdocipher:520624f9886e456a91665d6d2d42a7e6 (as per the pssh).

    Also, "otp":"20160313versIND313azZZdyAplLi9ICicOmCzwMeMW GheIPFVQOO79bN40EUjgB" <== where does this come from? Is this a constant or variable?

    Or maybe this post by notaghost is a red herring.
    Quote Quote  
  6. Member notaghost's Avatar
    Join Date
    Sep 2020
    Location
    Pakistan
    Search PM
    Not misleading you can find that information when you play the vdocipher video in network tab of developer tool



    https://ibb.co/yhwTjST



    It is required to get content keys.
    discord=notaghost#9997
    Quote Quote  
  7. Originally Posted by notaghost View Post
    Not misleading you can find that information when you play the vdocipher video in network tab of developer tool



    https://ibb.co/yhwTjST



    It is required to get content keys.
    =========================

    OK, the plot thickens

    Notaghost said "you can find that information when you play the vdocipher video"
    OK, we have an attached picture to prove it. Thanks Notaghost.

    All that I have is the first post by Deshdeepak which is a reference to a mpd manifest file. A reference to a referrer url cannot be found within the context of this file.

    All we have is a reference to Content ID :vdocipher:520624f9886e456a91665d6d2d42a7e6


    So, how can we derive the the vdocipher video url from 520624f9886e456a91665d6d2d42a7e6?

    @Deshdeepak, can you please post the referrer (top) url for which this mpd file applies? Thanks
    Quote Quote  
  8. I figured out that the referrer url is as per "href":"https://www.vdocipher.com/"

    but this referrer is from the decoded json token

    This video?
    Image
    [Attachment 60945 - Click to enlarge]


    ===========

    Image
    [Attachment 60946 - Click to enlarge]



    Still do not know how Notaghost could get this url from the mpd manifest in post #1.

    I realize that Notaghost is brilliant but this is bordering on the Amazing Kreskin territory.
    Last edited by jack_666; 25th Sep 2021 at 16:21.
    Quote Quote  
  9. Originally Posted by jack_666 View Post
    I realize that Notaghost is brilliant but this is bordering on the Amazing Kreskin territory.
    This has been done to death on here and another thread tells all, but no one wants to search any longer. Just demand answers in a new thread.

    And yes, Notaghost is good. But maybe fed up of spoon feeding people.
    Quote Quote  
  10. Jack I sincerely love the way you write. Please continue to do so
    Quote Quote