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/...7712864239.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/... 905a3128_.mp4
I used mp4decrypt from
https://www.bento4.com/
After i did the decryption, i ran the mp4info.
Before decryption:
Quote:
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:
Quote:
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 :-)