Hello,
I'd be grateful if anybody could guide me in the right direction to finding widevine KID and PSSH.
The requests to the mpd file use the following params:
userid, sid, uid, reqid
This is the mpd file:
According to guides there should be a value "cenc:default_KID", but there isn't. How can I find it?Code:<?xml version="1.0" encoding="utf-8"?> <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" xmlns:cenc="urn:mpeg:cenc:2013" xmlns:mspr="urn:microsoft:playready" type="static" mediaPresentationDuration="PT48M24.381333S" minBufferTime="PT2S" profiles="urn:mpeg:dash:profile:isoff-on-demand:2011,urn:com:dashif:dash264"> <Period duration="PT48M24.381333S"> <BaseURL>./</BaseURL> <AdaptationSet id="0" group="1" contentType="video" mimeType="video/mp4" maxWidth="1920" maxHeight="1080" par="16:9" frameRate="25" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1"> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="Microsoft PlayReady"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" value="Widevine"> </ContentProtection> <SegmentTemplate timescale="10000000" initialization="gibi_s04b01=hv$RepresentationID$.dash" media="gibi_s04b01=iv$RepresentationID$-$Time$.dash"> <SegmentTimeline> <S t="0" d="40000000" r="2"/> <S d="29200000" /> <S d="26800000" /> <S d="40000000" /> <S d="30000000" /> <S d="40000000" r="2"/> <S d="33600000" /> <S d="40000000" r="3"/> <S d="39600000" /> <S d="40000000" /> <S d="39600000" r="3"/> <S d="40000000" /> <S d="39600000" r="1"/> <S d="40000000" r="3"/> <S d="21600000" /> <S d="39600000" r="1"/> <S d="40000000" r="4"/> <S d="39600000" /> <S d="20800000" /> <S d="40000000" /> <S d="39600000" r="11"/> <S d="40000000" /> <S d="39600000" r="1"/> <S d="20400000" /> <S d="40000000" /> <S d="32800000" /> <S d="40000000" r="1"/> <S d="35200000" /> <S d="40000000" r="1"/> <S d="22000000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="32800000" /> <S d="24800000" /> <S d="31200000" /> <S d="39600000" /> <S d="24800000" /> <S d="39600000" /> <S d="35200000" /> <S d="38000000" /> <S d="31600000" /> <S d="39600000" /> <S d="40000000" r="1"/> <S d="32400000" /> <S d="40000000" /> <S d="24400000" /> <S d="40000000" r="5"/> <S d="30800000" /> <S d="40000000" r="5"/> <S d="30800000" /> <S d="40000000" r="7"/> <S d="38000000" /> <S d="40000000" r="2"/> <S d="25600000" /> <S d="40000000" r="13"/> <S d="39600000" /> <S d="40000000" r="2"/> <S d="39600000" /> <S d="40000000" /> <S d="33600000" /> <S d="40000000" r="2"/> <S d="39600000" /> <S d="33200000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="40000000" r="3"/> <S d="39200000" /> <S d="39600000" r="2"/> <S d="40000000" /> <S d="32400000" /> <S d="40000000" /> <S d="26800000" /> <S d="40000000" /> <S d="39600000" r="1"/> <S d="40000000" r="6"/> <S d="39600000" /> <S d="21200000" /> <S d="25200000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="40000000" r="1"/> <S d="30000000" /> <S d="39600000" /> <S d="40000000" r="3"/> <S d="25200000" /> <S d="40000000" r="2"/> <S d="32000000" /> <S d="40000000" r="9"/> <S d="29200000" /> <S d="40000000" /> <S d="39600000" r="1"/> <S d="40000000" r="1"/> <S d="39600000" r="1"/> <S d="40000000" /> <S d="39600000" /> <S d="40000000" r="1"/> <S d="39600000" r="1"/> <S d="40000000" r="1"/> <S d="39600000" /> <S d="40000000" r="4"/> <S d="28000000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="32400000" /> <S d="40000000" /> <S d="32400000" /> <S d="26400000" /> <S d="40000000" r="3"/> <S d="37600000" /> <S d="40000000" r="1"/> <S d="38000000" /> <S d="40000000" r="3"/> <S d="23200000" /> <S d="40000000" /> <S d="38400000" /> <S d="40000000" r="3"/> <S d="36400000" /> <S d="38800000" /> <S d="40000000" /> <S d="23200000" /> <S d="40000000" r="2"/> <S d="31600000" /> <S d="40000000" /> <S d="28400000" /> <S d="40000000" /> <S d="20400000" /> <S d="40000000" r="1"/> <S d="29600000" /> <S d="40000000" r="5"/> <S d="30000000" /> <S d="40000000" r="8"/> <S d="32400000" /> <S d="39600000" r="1"/> <S d="39200000" /> <S d="40000000" /> <S d="39600000" /> <S d="40000000" /> <S d="39600000" r="1"/> <S d="27200000" /> <S d="40000000" r="3"/> <S d="39600000" /> <S d="40000000" /> <S d="39600000" /> <S d="40000000" /> <S d="39600000" r="1"/> <S d="40000000" r="8"/> <S d="39600000" /> <S d="40000000" r="3"/> <S d="39600000" r="2"/> <S d="24000000" /> <S d="39600000" /> <S d="40000000" /> <S d="39600000" r="1"/> <S d="38400000" /> <S d="40000000" r="14"/> <S d="39600000" r="8"/> <S d="39200000" /> <S d="40000000" r="8"/> <S d="39600000" /> <S d="25600000" /> <S d="40000000" r="1"/> <S d="20800000" /> <S d="40000000" r="3"/> <S d="25600000" /> <S d="40000000" /> <S d="38400000" /> <S d="40000000" /> <S d="31600000" /> <S d="40000000" r="1"/> <S d="30800000" /> <S d="40000000" /> <S d="39600000" /> <S d="40000000" r="3"/> <S d="30000000" /> <S d="28000000" /> <S d="40000000" /> <S d="37600000" /> <S d="39600000" /> <S d="39200000" /> <S d="39600000" /> <S d="40000000" /> <S d="39600000" /> <S d="40000000" r="2"/> <S d="39600000" /> <S d="40000000" r="1"/> <S d="39600000" r="1"/> <S d="40000000" /> <S d="32800000" /> <S d="40000000" r="8"/> <S d="20800000" /> <S d="40000000" r="4"/> <S d="39200000" /> <S d="40000000" r="2"/> <S d="39600000" /> <S d="40000000" r="3"/> <S d="39600000" /> <S d="40000000" r="1"/> <S d="39600000" /> <S d="21200000" /> <S d="40000000" r="11"/> <S d="36800000" /> <S d="40000000" r="6"/> <S d="30000000" /> <S d="40000000" /> <S d="39600000" /> <S d="40000000" /> <S d="35600000" /> <S d="30000000" /> <S d="40000000" r="14"/> <S d="30800000" /> <S d="32000000" /> <S d="40000000" r="16"/> <S d="39600000" r="3"/> <S d="40000000" r="1"/> <S d="21200000" /> <S d="31600000" /> <S d="40000000" r="6"/> <S d="38800000" /> <S d="40000000" r="2"/> <S d="24000000" /> <S d="40000000" r="3"/> <S d="25600000" /> <S d="40000000" r="2"/> <S d="39600000" /> <S d="20400000" /> <S d="40000000" r="3"/> <S d="20400000" /> <S d="40000000" r="2"/> <S d="26400000" /> <S d="40000000" r="4"/> <S d="37600000" /> <S d="40000000" r="2"/> <S d="36800000" /> <S d="40000000" /> <S d="31600000" /> <S d="40000000" r="5"/> <S d="20400000" /> <S d="40000000" r="3"/> <S d="39600000" /> <S d="40000000" r="7"/> <S d="39200000" /> <S d="29600000" /> <S d="39600000" /> <S d="27600000" /> <S d="25200000" /> <S d="31200000" /> <S d="20800000" /> <S d="34400000" /> <S d="40000000" /> <S d="24000000" /> <S d="39600000" /> <S d="40000000" r="2"/> <S d="37600000" /> <S d="28800000" /> <S d="40000000" /> <S d="30800000" /> <S d="40000000" r="1"/> <S d="36000000" /> <S d="34000000" /> <S d="26400000" /> <S d="32400000" /> <S d="39200000" /> <S d="25200000" /> <S d="40000000" r="1"/> <S d="39600000" r="1"/> <S d="40000000" r="3"/> <S d="39600000" r="4"/> <S d="25200000" /> <S d="24800000" /> <S d="20400000" /> <S d="39600000" r="1"/> <S d="40000000" /> <S d="39600000" r="1"/> <S d="27600000" /> <S d="39600000" r="2"/> <S d="40000000" r="2"/> <S d="39200000" /> <S d="39600000" r="2"/> <S d="40000000" /> <S d="21600000" /> <S d="39600000" /> <S d="40000000" r="2"/> <S d="39600000" r="3"/> <S d="40000000" /> <S d="39600000" r="3"/> <S d="40000000" /> <S d="39600000" /> <S d="32000000" /> <S d="40000000" /> <S d="39600000" /> <S d="39200000" /> <S d="39600000" r="1"/> <S d="40000000" /> <S d="39600000" r="1"/> <S d="40000000" r="1"/> <S d="39600000" r="1"/> <S d="39200000" /> <S d="39600000" r="5"/> <S d="21600000" /> <S d="30000000" /> <S d="39600000" /> <S d="39200000" /> <S d="39600000" r="5"/> <S d="20800000" /> <S d="39600000" /> <S d="24800000" /> <S d="40000000" /> <S d="39600000" r="11"/> <S d="39200000" /> <S d="39600000" r="1"/> <S d="40000000" /> <S d="26400000" /> <S d="20800000" /> <S d="39200000" /> <S d="40000000" r="3"/> <S d="39600000" r="1"/> <S d="39200000" /> <S d="39600000" r="3"/> <S d="40000000" /> <S d="39600000" /> <S d="22800000" /> <S d="37200000" /> <S d="40000000" r="1"/> <S d="20800000" /> <S d="39600000" r="3"/> <S d="40000000" r="3"/> <S d="39600000" r="1"/> <S d="40000000" /> <S d="39600000" r="5"/> <S d="40000000" r="43"/> <S d="39600000" /> <S d="34000000" /> <S d="19200000" /> </SegmentTimeline> </SegmentTemplate> <Representation id="bfC5Go" bandwidth="3500000" width="1920" height="1080" codecs="avc1.640028" scanType="progressive"></Representation> <Representation id="cfqq8h" bandwidth="1800000" width="1280" height="720" codecs="avc1.64001f" scanType="progressive"></Representation> <Representation id="dfQkcf" bandwidth="1200000" width="853" height="480" codecs="avc1.64001e" scanType="progressive"></Representation> <Representation id="efugWc" bandwidth="700000" width="640" height="360" codecs="avc1.64001e" scanType="progressive"></Representation> <Representation id="ff6egc" bandwidth="500000" width="426" height="240" codecs="avc1.640015" scanType="progressive"></Representation> </AdaptationSet> <AdaptationSet id="1" group="2" lang="tur" contentType="audio" minBandwidth="128000" maxBandwidth="128000" segmentAlignment="true" audioSamplingRate="48000" mimeType="audio/mp4" codecs="mp4a.40.2"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></AudioChannelConfiguration> <ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"></ContentProtection> <ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95" value="Microsoft PlayReady"> </ContentProtection> <ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" value="Widevine"> </ContentProtection> <SegmentTemplate timescale="10000000" initialization="gibi_s04b01=ha$RepresentationID$.dash" media="gibi_s04b01=ia$RepresentationID$-$Time$.dash"> <SegmentTimeline> <S t="0" d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="29226667" /> <S d="26666667" /> <S d="40106666" /> <S d="30080000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="33706666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39466667" /> <S d="40106667" /> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="40106667" /> <S d="39466666" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="21546667" /> <S d="39680000" /> <S d="39466667" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="20693334" /> <S d="40106666" /> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="40106666" /> <S d="39466667" /> <S d="39680000" /> <S d="20266667" /> <S d="40106666" /> <S d="32853334" /> <S d="39893333" /> <S d="40106667" /> <S d="35200000" /> <S d="39893333" /> <S d="40106667" /> <S d="21973333" /> <S d="39893333" /> <S d="40106667" /> <S d="39466667" /> <S d="32853333" /> <S d="24746667" /> <S d="31360000" /> <S d="39466666" /> <S d="24960000" /> <S d="39466667" /> <S d="35200000" /> <S d="37973333" /> <S d="31573334" /> <S d="39680000" /> <S d="40106666" /> <S d="39893334" /> <S d="32426666" /> <S d="39893334" /> <S d="24533333" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="30720000" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="30933333" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="37973334" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="25600000" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39893334" /> <S d="33706666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="33280000" /> <S d="39893333" /> <S d="40106667" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39253334" /> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39893334" /> <S d="32426666" /> <S d="39893334" /> <S d="26880000" /> <S d="40106666" /> <S d="39466667" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="21120000" /> <S d="25173334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="40106666" /> <S d="39893334" /> <S d="30080000" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="25173334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="32000000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="29226667" /> <S d="39893333" /> <S d="39680000" r="1"/> <S d="39893334" /> <S d="40106666" /> <S d="39466667" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="39466667" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="28160000" /> <S d="39893334" /> <S d="40106666" /> <S d="39466667" /> <S d="32426667" /> <S d="40106666" /> <S d="32213334" /> <S d="26453333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="37546667" /> <S d="40106666" /> <S d="39893334" /> <S d="38186666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="23040000" /> <S d="40106667" /> <S d="38400000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="36266667" /> <S d="38826666" /> <S d="40106667" /> <S d="23253333" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="31573333" /> <S d="40106667" /> <S d="28373333" /> <S d="39893333" /> <S d="20480000" /> <S d="39893334" /> <S d="40106666" /> <S d="29653334" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="29866666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="32426667" /> <S d="39466666" /> <S d="39680000" /> <S d="39253334" /> <S d="39893333" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" r="1"/> <S d="27093334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" r="1"/> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466666" /> <S d="39680000" r="1"/> <S d="23893334" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" /> <S d="39466667" /> <S d="38400000" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39040000" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466667" /> <S d="25600000" /> <S d="40106666" /> <S d="39893334" /> <S d="20906666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="25600000" /> <S d="39893334" /> <S d="38400000" /> <S d="40106666" /> <S d="31573334" /> <S d="40106666" /> <S d="39893334" /> <S d="30720000" /> <S d="40106666" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="29866667" /> <S d="27946667" /> <S d="40106666" /> <S d="37546667" /> <S d="39680000" /> <S d="39253333" /> <S d="39466667" /> <S d="40106667" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466667" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" r="1"/> <S d="39893333" /> <S d="32853333" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="20906666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39253333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="21120000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="36693334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="30080000" /> <S d="39893334" /> <S d="39680000" /> <S d="39893333" /> <S d="35626667" /> <S d="30080000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="30933333" /> <S d="32000000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39893334" /> <S d="40106666" /> <S d="21120000" /> <S d="31573334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="38613334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="23893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="25600000" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="20266667" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="20480000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="26453334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="37546667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="36906667" /> <S d="39893333" /> <S d="31573334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="20480000" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39040000" /> <S d="29653333" /> <S d="39680000" /> <S d="27520000" /> <S d="25173333" /> <S d="31360000" /> <S d="20693334" /> <S d="34346666" /> <S d="40106667" /> <S d="23893333" /> <S d="39680000" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="37760000" /> <S d="28800000" /> <S d="39893333" /> <S d="30933333" /> <S d="39893334" /> <S d="40106666" /> <S d="35840000" /> <S d="34133334" /> <S d="26240000" /> <S d="32426666" /> <S d="39253334" /> <S d="25173333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="39466667" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="39680000" r="1"/> <S d="25173334" /> <S d="24746666" /> <S d="20480000" /> <S d="39466667" /> <S d="39680000" /> <S d="39893333" /> <S d="39680000" r="1"/> <S d="27520000" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39253334" /> <S d="39680000" /> <S d="39466666" /> <S d="39680000" /> <S d="39893334" /> <S d="21760000" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="40106667" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="40106667" /> <S d="39466667" /> <S d="32000000" /> <S d="40106666" /> <S d="39680000" /> <S d="39040000" /> <S d="39680000" r="1"/> <S d="39893334" /> <S d="39680000" /> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" r="1"/> <S d="39040000" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="21546666" /> <S d="30080000" /> <S d="39680000" /> <S d="39040000" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="20906666" /> <S d="39466667" /> <S d="24746667" /> <S d="40106666" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39253333" /> <S d="39680000" /> <S d="39466667" /> <S d="40106666" /> <S d="26453334" /> <S d="20693333" /> <S d="39253333" /> <S d="39893334" /> <S d="40106666" /> <S d="39893334" /> <S d="40106666" /> <S d="39680000" /> <S d="39466667" /> <S d="39253333" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="40106666" /> <S d="39680000" /> <S d="22613334" /> <S d="37333333" /> <S d="39893333" /> <S d="40106667" /> <S d="20693333" /> <S d="39680000" r="1"/> <S d="39466667" /> <S d="39680000" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39466667" /> <S d="39680000" /> <S d="40106666" /> <S d="39466667" /> <S d="39680000" /> <S d="39466667" /> <S d="39680000" r="1"/> <S d="39466666" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="40106667" /> <S d="39893333" /> <S d="39680000" /> <S d="33920000" /> <S d="19386666" /> </SegmentTimeline> </SegmentTemplate> <Representation id="gf6s7" bandwidth="128000"></Representation> </AdaptationSet> <AdaptationSet id="2" group="3" contentType="text" lang="tur" mimeType="application/ttml+xml" startWithSAP="1"> <Role schemeIdUri="urn:mpeg:dash:role:2011" value="subtitle" /> <Representation id="subtitle=7" bandwidth="0"> <BaseURL>gibi_s04b01=vshfa.ttml</BaseURL> </Representation> </AdaptationSet> </Period> </MPD>
Further, there is another request to an API endpoint with a header value called "e-erdrm-message".
Here's an example of it:
I have no idea what that is but it clearly seems to be DRM related.Code:'x-erdrm-message': 'ticket=zy-l7JTq0vsnpGURtNEMaA_0D1PJrv2ev2qo8qzgNFjYq9eAIQUGZlOWaxJaZuWrEnpu2GN4OFuvpint7O8ly4vBbJ7On_YzVprtgXYsJGFw_61rzZctx1zGd0S-XtMyKuGIJ7OFusPHmT_HfBei6PmgQ496l_vLCnCW3Y8xyNwIi01P4tT1xxkZ5BDmaXes0'
Any help is appreciated.
+ Reply to Thread
Results 1 to 8 of 8
-
Last edited by cinemag; 10th Apr 2023 at 08:47.
-
If there's no PSSH or KID inside the mpd, you can read through this on how to get it: https://forum.videohelp.com/threads/404586-how-to-work-out-the-pssh-when-not-shown-in-the-mpd
You then need to locate the license url to see what headers you might need. Filter network traffic for method:POST and see what pops up. It usually contains "license", "lic", "wv", "drm", or similar. Read through the sticky posts to see what to do with all this. Or provide URL and/or access so others can give better help. -
Thank you. I was able to get the KID and PSSH.
I followed post #10 of the thread you posted.
1. Get the init data from "MediaKeySession::generateRequest" with the EME Logger script.
2. Convert it from Base64 to Base 16
3. Copied "8 digits before 7073 to the end"
4. Converted that back to Base64 (That's the PSSH)
5. Then I used PSSH Box Decoder to get KID out of the PSSH
PSSH HEX: 000000347073736800000000edef8ba979d64acea3c827dcd5 1d21ed0000001408011210771e678afa844b06b8c413b81061 a38a
PSSH Base64: AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQdx 5nivqESwa4xBO4EGGjig==
KID Base16: 771E678AFA844B06B8C413B81061A38A
KID Base64: dx5nivqESwa4xBO4EGGjig==
The only problem I have now is that N_m3u8DL-RE seems to ignore my key parameter:
Code:--key 771E678AFA844B06B8C413B81061A38A:AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQdx5nivqESwa4xBO4EGGjig==
I see a different PSSH in the output.
Code:17:20:42.039 WARN : When CENC encryption is detected, binary merging is automatically enabled 17:20:42.102 WARN : Type: cenc 17:20:42.102 WARN : PSSH(WV): CAESEHceZ4r6hEsGuMQTuBBho4o= 17:20:42.103 WARN : KID: 771e678afa844b06b8c413b81061a38a
Code:CAESEHceZ4r6hEsGuMQTuBBho4o=
The video is still scrambled though. What am I doing wrong?Last edited by cinemag; 10th Apr 2023 at 10:34.
-
the key for N_m3u8DL-RE is kid:key
pssh need only to find the key
use this kid:key with N_m3u8DL-RE
Code:771e678afa844b06b8c413b81061a38a:60fb996256f162312d2256848db42af4
-
Amazing, this worked! Could you kindly explain how you got this key from the PSSH?
I tried using this project but without any luck so far:
https://github.com/medvm/widevine_keys
Things I've found out:
- The token seems to expires really fast. With a fresh token I get an error 500. After some minutes I get an error 405.
- Further, it looks like the license server expects the raw challenge.
My best guess is that this CDM is blocked.
Edit:
I finally managed to get a license server response using the CDRM API. But the output isn't a hex key but a weirdly scrambled HTML file.Last edited by cinemag; 10th Apr 2023 at 16:54.
-
The PSSH obtained by re may be wrong, but the kid obtained by re is correct
-
I was able to get most of the keys from getwvkeys. It would be great if anybody could give me the key for this KID c58e2b36-b316-490b-87c3-75ff07d8f5a0
-
This platform PSSH value is constant. You only need x-erdrm-message value for key request. İt is easy to get that value with play request. In response you get all data you need(mpd\x-erdrm-message\subtitiles\auido tracks and etc. ) . Rest is use this infos.
Last edited by insafsiz; 14th Apr 2023 at 18:12. Reason: Translating to English
Similar Threads
-
How can I generate pssh if no kid in manifest?
By Musito in forum Video Streaming DownloadingReplies: 11Last Post: 7th Feb 2024, 12:27 -
Mpd Kid pssh how do I download it?
By cinamews in forum Video Streaming DownloadingReplies: 9Last Post: 24th Oct 2022, 12:20 -
how to generate pssh for this kid?
By tomtom12 in forum Video Streaming DownloadingReplies: 3Last Post: 24th Oct 2022, 04:49 -
Exracting PSSH from a MPD doesn't inc KID .
By chomako in forum Video Streaming DownloadingReplies: 3Last Post: 30th Jun 2022, 11:45 -
Youtube is the Most Mediocre Streaming Platform
By dellsam34 in forum Video Streaming DownloadingReplies: 41Last Post: 24th Aug 2020, 15:01