script.module.inputstreamhelper
script.module.inputstreamhelper copied to clipboard
Doesn't work on Sony Xperia XA2/ARM v8l/Qualcomm SDM630
Could you try the master branch? https://github.com/emilsvennesson/script.module.inputstreamhelper/archive/master.zip
It will report that Widevine is built into Android.
Based on the log file it may be that Widevine is not supported by your system, or it is an inputstream.adaptive issue.
VideoPlayer::OpenFile: plugin://plugin.video.tester/?_=play_video&index=3
2020-01-10 18:51:15.357 T:14174 NOTICE: Creating InputStream
2020-01-10 18:51:15.438 T:14174 ERROR: AddOnLog: InputStream Adaptive: Key system request: com.widevine.alpha
2020-01-10 18:51:17.567 T:14174 ERROR: AddOnLog: InputStream Adaptive: Unable to initialize media_drm
2020-01-10 18:51:17.568 T:14174 ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
2020-01-10 18:51:17.570 T:14174 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.tester/?_=play_video&index=3]
cc @peak3d
There is no widevine installed on my phone yet since it's running Sailfish OS/Aliendalvik. I thought widevine would be provided by inputstream helper if not preinstalled?
There is no Widevine CDM library publicly available for us to install on Android AFAIK. It normally ships with the Android OS. If you happen to find a solution, we could reconsider, but I doubt it's going to be pretty...
What exactely is needed for widevine? May it be possible to copy the widevine library from a genuine Sony Xperia Android image? I would be willing to try this but info about which files were needed is hard to find. Can you provide some further information? Thanks!
Wouldn't it be possible to utilize the ChromeOS widevine libraries on SailfishOS/Aliendalvik as well? And if not, why not?
Wouldn't it be possible to utilize the ChromeOS widevine libraries on SailfishOS/Aliendalvik as well?
Possibly, but we are not allowed to redistribute these libraries, so we cannot automate it ourselves. But if you put them in the right place, I believe it ought to work. It ought to go into the path shown in the information window.
Sounds interesting. I've extracted the relevant libraries using this script: https://gist.github.com/ruario/19a28d98d29d34ec9b184c42e5f8bf29 Can you tell me the path where to put them? Thank you!
See my previous message.
Already saw it, sorry for asking :) However, it doesn't seem possible to modify files in /user/0 on sailfishOS at present. Can I change the path at which inputstreamhelper looks for the widevine libs to e.g. $home/Android/data/org.xbmc.kodi/ or somewhere else in the homdir (e.g. $home/.widevine)? Thank you!
@cintema You can modify this path from the inputstream.adaptive settings in General » Decrypter path.
Not sure if that will work for Android, as it may expect Widevine to ship with Android. Default value is: special://home/cdm
I don't think I have this option on android (and the only accessible dir on SfOS-Alien Dalvik is the Android user home directory, therefore copying to /home cdm is not an option, unfortunately). Can I modify the plugin .py/.xml stored at $home/data?
I said inputstream.adaptive, not inputstreamhelper. It is a different add-on.
Inputstream.adaptive doesn't appear to be installed nor available for android in the official repo. Installing zip-files fails. May I try the rpi2 version or what would you suggest? Any other way to supply the widevine lib to inputstream.helper?
Yes it does.
I'm using a standard kodi release for android and i didn't modify the repos (except for ADDING some skygo related stuff):
What am I missing? Thank you.
/Edit: Incompatible Addons are not hidden
We have the same Kodi. But your Android may be missing required infrastructure for inputstream.adaptive?
As I said, I'm on SailfishOS (which is rather a LSB-Linux devirative (with rpm, zypper etc.) and an Android compatibility layer (Alien Dalvik) than a full featured Android. Since Kodi is somewhat standalone, I wonder if it was possible to utilize third party libwidevine as on Ubutntu instead of searching for Android DRM support. This would also benefit people using Kodi on Foss-Android clones like LineageOS.
Plus, I don't understand why inputstream.adaptive is not even offered for my Kodi release (not even when listing incompatible packages). I tried to search for a standalone.zip file but I could only find some packages für x86. Is there no other possibility to address libwidevine from inputstream.helper than inputstream.adaptive? I wonder since the inputstream.helper information screen displays a widevine.cdm path. I would have thought that, if it was possible to change this path to where the libwidevine.so is found, libwidevine might be utilized for decoding...
@cintema I think this is the wrong forum for your questions, maybe https://github.com/peak3d/inputstream.adaptive is a better location to direct your questions?
We can try to solve issues here, if it is ok for you @dagwieers, I agree that it is not the right place.
- from where do you get kodi, and for what platform exactly @cintema ? How have you installed it? (pls. provide a link to the package you use for installation)
@peak3d I don't mind, it's just that I have no clue on the cause, or if a solution is at all possible.
Plus, I don't understand why inputstream.adaptive is not even offered for my Kodi release (not even when listing incompatible packages). I tried to search for a standalone.zip file but I could only find some packages für x86. Is there no other possibility to address libwidevine from inputstream.helper than inputstream.adaptive? I wonder since the inputstream.helper information screen displays a widevine.cdm path. I would have thought that, if it was possible to change this path to where the libwidevine.so is found, libwidevine might be utilized for decoding...
I downloaded the Android package from kodi.tv. Since I have both, the 32bit and 64bit release in my download folder I cannot really tell which release is currently installed (I presume the 32bit release as the 64bit release could not be installed - could be vice versa, though - is there a way to figure that out, couldn't find anything from sysinfo?).
BTW: Sorry for always hitting the wrong (close issue) button... wasn't intentional, the issue still exists!
@cintema search your device for the kodi.log file and post it here. inputstream.adaptive is in general always bundled in the apk's provided by kodi, so either you have picked a bad nightly, or something else is wrong. widevine presence does not influence inputstream.adaptive appearance b.t.w., means it should be there.
Edit: from log above inputstream.adaptive 2.4.2 is installed, so everything fine. For android we use MediaDrm for widevine, not libwidevine.so. If you want to use libwidevine on a android device, some deeper changes have to be done, this includes the build system which already sticks MediaDrm to inputstream.adaptive at build time.
@peak3d It appears my smartphone has the same Kodi release as @cintema, the one from the Play Store (update from 2019-11-17). See screenshots. But mine is running on a real Android.