2018-04-17, 22:18
Hello.
I'm trying play encrypted video, but have problems with it.
Service gives me three links:
"widevine": "http://videomore.ru/video/file/bcf0e1a848ca4fe399d49e55fd09c0f8/1523994846/627565.wvm",
"widevine_xml": "http://videomore.ru/api/widevine_url.json?app_id=VMCVTAndr&track_id=617829&sig=4bd879b42a975a3ae2f2e624bb11cc9d", - url content https://pastebin.com/p5mHQ4KH
"widevine_modular": "http://videomore.ru/video/file/1bdc0a481390986ee772ab22f3acda59/1523994846/627565.mpd" - url content https://pastebin.com/b26gHUmp
For playing video, official application send request to http://widevine.videomore.ru/cenc/getlic...svideomore
According all tips, that I found, I'm trying play video with this code:
Full log: https://pastebin.com/98aaxHNi
Can someone tell me what I'm doing wrong?
I'm trying play encrypted video, but have problems with it.
Service gives me three links:
"widevine": "http://videomore.ru/video/file/bcf0e1a848ca4fe399d49e55fd09c0f8/1523994846/627565.wvm",
"widevine_xml": "http://videomore.ru/api/widevine_url.json?app_id=VMCVTAndr&track_id=617829&sig=4bd879b42a975a3ae2f2e624bb11cc9d", - url content https://pastebin.com/p5mHQ4KH
"widevine_modular": "http://videomore.ru/video/file/1bdc0a481390986ee772ab22f3acda59/1523994846/627565.mpd" - url content https://pastebin.com/b26gHUmp
For playing video, official application send request to http://widevine.videomore.ru/cenc/getlic...svideomore
According all tips, that I found, I'm trying play video with this code:
But Widevine has problems with getting license:python:li = xbmcgui.ListItem(path='http://videomore.ru/video/file/667f2e0dbf3ce6b8d4473138c4226287/1523991890/627565.mpd')
li.setProperty('inputstream.adaptive.license_type', 'com.widevine.alpha')
li.setProperty('inputstream.adaptive.license_key', 'http://widevine.videomore.ru/cenc/getlicense/inventosvideomore||R{SSM}|')
li.setProperty('inputstream.adaptive.manifest_type', 'mpd')
li.setProperty('inputstreamaddon', 'inputstream.adaptive')
li.setMimeType('application/dash+xml')
xbmcplugin.setResolvedUrl(_handle, True, li)
Code:
DEBUG: AddOnLog: InputStream Adaptive: Entering encryption section
DEBUG: AddOnLog: InputStream Adaptive: Initializing stream with KID: 788B68EACADC54FA85181C8F9DFB79A5
ERROR: AddOnLog: InputStream Adaptive: Init_data with length: 294 seems not to be cenc init data!
ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
DEBUG: AddOnLog: InputStream Adaptive: Session::~Session()
Can someone tell me what I'm doing wrong?