VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi, i can't decrypt this segment using mp4decrypt v 1.4

    init
    Code:
    https://www.mediafire.com/file/41nm3xqujg23ory/0_1_3519_init.mp4/file
    segment
    Code:
    https://www.mediafire.com/file/fx3898fehpd7cn1/0_1_3519_149131310175180.mp4/file
    pssh
    Code:
    AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQWA0ccDTY6BgjdP53xHdJoBIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARoAKgAyADgASABQAA==
    default_KID
    Code:
    1fbaec39-5d01-3374-e6cb-207107dd1b0a
    keys :
    Code:
    c78f56d837307cc2346ecab5efc583c8:3dfb1b1034144807b6b775a622d29b76
    1fbaec395d013374e6cb207107dd1b0a:61c1807549aff34b6801be80b9e4a8e7
    4cfc3e42a7a261dde12942df0ed35ee4:b89bdcca39a692caa428bc6b61064be0
    12a3fa84d5168ba4eb24ccf5e1149701:a3bfe99d044aeee5f530283d7b3445f8
    580d1c7034d8e8182374fe77c47749a0:9112a58d7937fd336285c91135604f27

    concat init + segment using bash:
    Code:
    cat 0_1_3519_init.mp4 0_1_3519_149131310175180.mp4 > segment.mp4
    decrypt it :

    Code:
     ./mp4decrypt --key 1fbaec395d013374e6cb207107dd1b0a:61c1807549aff34b6801be80b9e4a8e7 --show-progress segment  output.mp4
    the stream still scrambled

    but when i use player ex: https://bitmovin.com/demos/stream-test , the stram work !!!



    mp4dump init :
    Code:
    [ftyp] size=8+32
      major_brand = mp41
      minor_version = 0
      compatible_brand = iso8
      compatible_brand = isom
      compatible_brand = mp41
      compatible_brand = dash
      compatible_brand = hvc1
      compatible_brand = cmfc
    [moov] size=8+829
      [mvhd] size=12+96
        timescale = 90000
        duration = 0
        duration(ms) = 0
      [trak] size=8+673
        [tkhd] size=12+80, flags=7
          enabled = 1
          id = 1
          duration = 0
          width = 1920.000000
          height = 1080.000000
        [mdia] size=8+537
          [mdhd] size=12+20
            timescale = 90000
            duration = 0
            duration(ms) = 0
            language = und
          [hdlr] size=12+33
            handler_type = vide
            handler_name = VideoHandler
          [minf] size=8+452
            [dinf] size=8+28
              [dref] size=12+16
                [url ] size=12+0, flags=1
                  location = [local to file]
            [stbl] size=8+388
              [stsd] size=12+308
                entry_count = 1
                [encv] size=8+296
                  data_reference_index = 1
                  width = 1920
                  height = 1080
                  compressor = HEVC Coding
                  [hvcC] size=8+130
                    Configuration Version = 1
                    Profile Space = 0
                    Profile = Main
                    Tier = 0
                    Profile Compatibility = 40000000
                    Constraint = 0
                    Level = 123
                    Min Spatial Segmentation = 0
                    Parallelism Type = 0
                    Chroma Format = 1
                    Chroma Depth = 8
                    Luma Depth = 8
                    Average Frame Rate = 0
                    Constant Frame Rate = 0
                    Number Of Temporal Layers = 0
                    Temporal Id Nested = 0
                    NALU Length Size = 4
                  [sinf] size=8+72
                    [frma] size=8+4
                      original_format = hvc1
                    [schm] size=12+8
                      scheme_type = cenc
                      scheme_version = 65536
                    [schi] size=8+32
                      [tenc] size=12+20
                        default_isProtected = 1
                        default_Per_Sample_IV_Size = 8
                        default_KID = [00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00]
              [stts] size=12+4
                entry_count = 0
              [stsc] size=12+4
                entry_count = 0
              [stsz] size=12+8
                sample_size = 0
                sample_count = 0
              [stco] size=12+4
                entry_count = 0
            [vmhd] size=12+8, flags=1
              graphics_mode = 0
              op_color = 0000,0000,0000
        [edts] size=8+28
          [elst] size=12+16
            entry_count = 1
            entry/segment duration = 0
            entry/media time = 3600
            entry/media rate = 1
      [mvex] size=8+32
        [trex] size=12+20
          track id = 1
          default sample description index = 1
          default sample duration = 0
          default sample size = 0
          default sample flags = 0
    mp4dump show kid 0000000000000

    any ideas !!!!

    thanks
    Quote Quote  
  2. Originally Posted by LZAA View Post
    Url?
    i uploaded the init and 1 segment
    the mpd url is not public

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <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-live:2011" type="dynamic" publishTime="2022-07-05T13:49:27Z" availabilityStartTime="1970-01-01T00:00:00Z" minimumUpdatePeriod="PT2S" minBufferTime="PT6.4S" timeShiftBufferDepth="PT14400S" suggestedPresentationDelay="PT9.6S">
    	<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="https://time.akamai.com/?iso" />
    	<Period id="0" start="PT0S">
    		<AdaptationSet id="0" group="1" segmentAlignment="true" startWithSAP="1" contentType="video">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="4cfc3e42-a7a2-61dd-e129-42df0ed35ee4"/>
    			<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="1,2,3"/>
    			
    			<Representation id="379" bandwidth="400000" codecs="avc1.64000d" mimeType="video/mp4" width="384" height="216" frameRate="25">
    				<SegmentTemplate timescale="90000" initialization="0_1_379_init" media="0_1_379_$Time$">
    					<SegmentTimeline>
    						<S t="149131309959180" d="288000" r="4503"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation><Representation id="380" bandwidth="800000" codecs="avc1.64001e" mimeType="video/mp4" width="640" height="360" frameRate="25">
    				<SegmentTemplate timescale="90000" initialization="0_1_380_init" media="0_1_380_$Time$">
    					<SegmentTimeline>
    						<S t="149131309959180" d="288000" r="4503"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation><Representation id="381" bandwidth="1600000" codecs="avc1.64001f" mimeType="video/mp4" width="896" height="504" frameRate="25">
    				<SegmentTemplate timescale="90000" initialization="0_1_381_init" media="0_1_381_$Time$">
    					<SegmentTimeline>
    						<S t="149131309959180" d="288000" r="4503"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation><Representation id="3517" bandwidth="1600000" codecs="hvc1.1.2.L93" mimeType="video/mp4" width="896" height="504" frameRate="50">
    				<SegmentTemplate timescale="90000" initialization="0_1_3517_init" media="0_1_3517_$Time$">
    					<SegmentTimeline>
    						<S t="149131310175180" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="1" group="1" segmentAlignment="true" startWithSAP="1" contentType="video">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="12a3fa84-d516-8ba4-eb24-ccf5e1149701"/>
    			<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,2,3"/>
    			
    			<Representation id="382" bandwidth="3000000" codecs="avc1.64001f" mimeType="video/mp4" width="1280" height="720" frameRate="25">
    				<SegmentTemplate timescale="90000" initialization="0_1_382_init" media="0_1_382_$Time$">
    					<SegmentTimeline>
    						<S t="149131309959180" d="288000" r="4503"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="2" group="1" segmentAlignment="true" startWithSAP="1" contentType="video">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="c78f56d8-3730-7cc2-346e-cab5efc583c8"/>
    			<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,1,3"/>
    			
    			<Representation id="3518" bandwidth="4800000" codecs="hvc1.1.2.L123" mimeType="video/mp4" width="1920" height="1080" frameRate="50">
    				<SegmentTemplate timescale="90000" initialization="0_1_3518_init" media="0_1_3518_$Time$">
    					<SegmentTimeline>
    						<S t="149131310175180" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="3" group="1" segmentAlignment="true" startWithSAP="1" contentType="video">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="1fbaec39-5d01-3374-e6cb-207107dd1b0a"/>
    			<SupplementalProperty schemeIdUri="urn:mpeg:dash:adaptation-set-switching:2016" value="0,1,2"/>
    			
    			<Representation id="3519" bandwidth="14800000" codecs="hvc1.1.2.L123" mimeType="video/mp4" width="1920" height="1080" frameRate="50">
    				<SegmentTemplate timescale="90000" initialization="0_1_3519_init" media="0_1_3519_$Time$">
    					<SegmentTimeline>
    						<S t="149131310175180" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="376" group="2" segmentAlignment="true" startWithSAP="1" contentType="audio" lang="fra">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="580d1c70-34d8-e818-2374-fe77c47749a0"/>
    			
    			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
    			<Representation id="376" bandwidth="64000" codecs="mp4a.40.2" mimeType="audio/mp4">
    				<SegmentTemplate timescale="90000" initialization="0_1_376_init" media="0_1_376_$Time$">
    					<SegmentTimeline>
    						<S t="149131310114096" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="377" group="2" segmentAlignment="true" startWithSAP="1" contentType="audio" lang="und">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="580d1c70-34d8-e818-2374-fe77c47749a0"/>
    			
    			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="main"/>
    			<Representation id="377" bandwidth="64000" codecs="mp4a.40.2" mimeType="audio/mp4">
    				<SegmentTemplate timescale="90000" initialization="0_1_377_init" media="0_1_377_$Time$">
    					<SegmentTimeline>
    						<S t="149131310114096" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="455" group="3" segmentAlignment="true" startWithSAP="1" contentType="text" lang="fra">
    			
    			
    			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="caption"/>
    			<Representation id="455" bandwidth="64000" codecs="stpp" mimeType="application/mp4">
    				<SegmentTemplate timescale="90000" initialization="0_1_455_init" media="0_1_455_$Time$">
    					<SegmentTimeline>
    						<S t="149131310112000" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="461" group="3" segmentAlignment="true" startWithSAP="1" contentType="text" lang="fra">
    			
    			
    			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="subtitle"/>
    			<Representation id="461" bandwidth="64000" codecs="stpp" mimeType="application/mp4">
    				<SegmentTemplate timescale="90000" initialization="0_1_461_init" media="0_1_461_$Time$">
    					<SegmentTimeline>
    						<S t="149131310112000" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		<AdaptationSet id="463" group="2" segmentAlignment="true" startWithSAP="1" contentType="audio" lang="fra">
    			<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"><cenc:pssh>AAAAiHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAGgIARIQH7rsOV0BM3TmyyBxB90bChIQx49W2DcwfMI0bsq178WDyBIQTPw+QqeiYd3hKULfDtNe5BIQEqP6hNUWi6TrJMz14RSXARIQWA0ccDTY6BgjdP53xHdJoBoAKgAyADgASABQAA==</cenc:pssh></ContentProtection>
    			<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc" cenc:default_KID="580d1c70-34d8-e818-2374-fe77c47749a0"/>
    			
    			<Role schemeIdUri="urn:mpeg:dash:role:2011" value="description"/>
    			<Representation id="463" bandwidth="64000" codecs="mp4a.40.2" mimeType="audio/mp4">
    				<SegmentTemplate timescale="90000" initialization="0_1_463_init" media="0_1_463_$Time$">
    					<SegmentTimeline>
    						<S t="149131310114096" d="288000" r="4502"/>
    					</SegmentTimeline>
    				</SegmentTemplate>
    			</Representation>
    		</AdaptationSet>
    		
    	</Period>
    </MPD>
    Quote Quote  
  3. Do the keys work for decrypting the other lower resolutions and avc codec?
    click click2
    If I/my posts ever helped you, and you want to give back, send me a private message!
    Quote Quote  
  4. Originally Posted by [ss]vegeta View Post
    Do the keys work for decrypting the other lower resolutions and avc codec?
    no i can't decrypt any resolution !!!!

    from google they sad you need to add trex and tkhd manually
    Quote Quote  
  5. try decrypt it like 00000000:key
    Quote Quote  
  6. Originally Posted by perwann View Post
    try decrypt it like 00000000:key
    tested before
    1:key
    00000000:key

    lol not working
    Quote Quote  
  7. mediainfo:

    General
    Complete name : 0_1_3519_init.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 1
    Codec ID : mp41 (iso8/isom/mp41/dash/hvc1/cmfc)
    File size : 877 Bytes
    Encoded date : UTC 2022-07-05 02:01:10
    Tagged date : UTC 2022-07-05 02:01:10

    Video
    ID : 1
    Format : HEVC
    Format/Info : High Efficiency Video Coding
    Format profile : Main@L4.1@Main
    Codec ID : encv / hvc1
    Codec ID/Info : High Efficiency Video Coding
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 50.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Encoded date : UTC 2022-07-05 02:01:10
    Tagged date : UTC 2022-07-05 02:01:10
    Encryption : Encrypted
    Codec configuration box : hvcC
    Quote Quote  
  8. This is live dynamic mpd

    Segments are too small to play

    What exactly did you expect to play from 877 Bytes?
    discord=notaghost9997
    Quote Quote  



Similar Threads

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