PDA

View Full Version : Dash mdp mp4 decryption


Techmandk
03-23-2016, 02:58 AM
I have tried to download and decrypt files from viaplay. Its easy to download, but not easy to decrypt.

example.
Link to mdp file:
http://dash.scandi.cdn1.viaplay.com/Viaplay_Prod_-_Scandi/902/412/V56748-1427712864239.mpd

You will be able to see all the links to different resolutions and audio. You will also be able to se the "KID" key.

I have tried to decrypt this (From the above mpd file):

http://dash.scandi.cdn1.viaplay.com/Viaplay_Prod_-_Scandi/902/412/V56748_3500000-encrypted_track1_dashinit_8a812ffeded748b296dfa9f0 905a3128_.mp4

I used mp4decrypt from https://www.bento4.com/

After i did the decryption, i ran the mp4info.

Before decryption:
C:\Bento\bin>mp4info --verbose C:\Sample\V56748_3500000-encrypted_track1_dashinit_8a812ffeded748b296dfa9f0 905a3128_.mp4
File:
major brand: iso5
minor version: 1
compatible brand: iso5
compatible brand: dsms
compatible brand: msix
compatible brand: dash

Movie:
duration: 0 ms
time scale: 600
fragments: yes

Found 1 Tracks
Track 1:
flags: 7 ENABLED IN-MOVIE IN-PREVIEW
id: 1
type: Video
duration: 0 ms
language: und
media:
sample count: 0
timescale: 10000000
duration: 0 (media timescale units)
duration: 0 (ms)
bitrate (computed): 3216.436 Kbps
display width: 1280.000000
display height: 720.000000
Sample Description 0
[ENCRYPTED]
Coding: encv
Scheme Type: cenc
Scheme Version: 65536
Scheme URI:
Protection System Details:
[schi] size=8+32
[tenc] size=12+20
default_AlgorithmID = 1
default_IV_size = 8
default_KID = [f3 3f e2 b3 0f e6 58 06 88 be e2 28 77 59 2d 15]
Bytes: 00000000000000010000000000000000000000000000000005 0002d000480000004800000000000000010f456c656d656e74 616c20482e3236340000000000000000000000000000000000 18ffff0000003d61766343014d4029ffe10026274d4029b918 0a00b7602200000300020000030065c000006acf80001406f7 7bdc07c22114e001000428febc80
Coding: avc1 (H.264)
Width: 1280
Height: 720
Depth: 24
AVC Profile: 77 (Main)
AVC Profile Compat: 40
AVC Level: 41
AVC NALU Length Size: 4
AVC SPS: [274d4029b9180a00b7602200000300020000030065c000006a cf80001406f77bdc07c22114e0]
AVC PPS: [28febc80]
Codecs String: avc1.4D4029

After decryption:
C:\Bento\bin>mp4info --verbose C:\Sample\decrypted.mp4
File:
major brand: iso5
minor version: 1
compatible brand: iso5
compatible brand: dsms
compatible brand: msix
compatible brand: dash

Movie:
duration: 0 ms
time scale: 600
fragments: yes

Found 1 Tracks
Track 1:
flags: 7 ENABLED IN-MOVIE IN-PREVIEW
id: 1
type: Video
duration: 0 ms
language: und
media:
sample count: 0
timescale: 10000000
duration: 0 (media timescale units)
duration: 0 (ms)
bitrate (computed): 3216.436 Kbps
display width: 1280.000000
display height: 720.000000
Sample Description 0
Bytes: 00000000000000010000000000000000000000000000000005 0002d000480000004800000000000000010f456c656d656e74 616c20482e3236340000000000000000000000000000000000 18ffff0000003d61766343014d4029ffe10026274d4029b918 0a00b7602200000300020000030065c000006acf80001406f7 7bdc07c22114e001000428febc80
Coding: avc1 (H.264)
Width: 1280
Height: 720
Depth: 24
AVC Profile: 77 (Main)
AVC Profile Compat: 40
AVC Level: 41
AVC NALU Length Size: 4
AVC SPS: [274d4029b9180a00b7602200000300020000030065c000006a cf80001406f77bdc07c22114e0]
AVC PPS: [28febc80]
Codecs String: avc1.4D4029

What i dont understand, is why its still unwatchable , because the encryption should be gone. But picture is still unwatchable. I guess i must be doing something wrong. If anybody know what i am doing wrong, then please point me in the right direction :-)

Fuzzball
09-06-2016, 03:35 PM
Hello

Did you get an answer ? I have the exact same problem :)

Techmandk
09-06-2016, 09:56 PM
Sorry body, i dont think it's possible.

Maybe Audials moviebox or Playon can do the job. (Not freeware).

Going to test both in a week or so when i recieve my new pc.

Fuzzball
09-08-2016, 02:16 PM
Well these 2 will do webrip and not web-dl ... damn! S?dan noget l*rt ;)

ihryjfbd
09-08-2016, 05:47 PM
Try this, If you have a file using the exact same codecs, bitrates and fps,
which can be checked with GSpot or Mediainfo
there's an earlier free version irc.

http://www.videohelp.com/software/Video-Repair-Tool
http://grauonline.de/cms2/?page_id=5#download