-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPI - Unable to play videos - error: InputStream Adaptive: Unable to load widevine shared library #1154
Comments
Same LibreElec version (9.2.6), same Netflix add-on version (1.12.4) on my Raspberry-Pi 3B - and same problem as well. The log shows two pertinent errors: Widewine was updated about 24 hours ago. Playback worked immediately after the update, as did about 8 hours ago. I don't have an idea what might have been the trigger for this behavior. Tried several reboots, no luck. |
i have the same problem: file is there:
I tried to delete it and redownload it. Got the same problem. |
I have the same error, my log:
|
Guys, found a "fix". I had an image backup and extracted the old libwidevinecdm.so and copied it over to the PI. -rwxr--r-- 1 root root 7297324 May 9 16:45 libwidevinecdm.so |
I can confirm that restoring previous libwidevinecdm.so from backup solves the problem: find / -name "libwidevinecdm.so" cp -a /storage/.kodi/userdata/addon_data/script.module.inputstreamhelper/backup/13729.56.0/libwidevinecdm.so /storage/.kodi/cdm/ Instead of the not working libwidevinecdm.so version 13816.64.0, the previous version 13729.56.0 works right. Best regards. |
Any ideas on how to get an older version when you don't have any older backups? |
Backups are stored in the RPi. Enable the ssh service (Kodi settings), connect to your RPi (you can use putty in Windows) and execute the above commands. Also you can follow the instructions at: |
You might want to report this issue over on the InputStream Helper add-on: More than likely Google added a new recovery image that isn't for the ARM platform, and this is why you have a problem loading the library. They usually have to add an exclusion rule to InputStream Helper. You can go into the InputStream Helper add-on and roll back to a previous version. Try logging in via SSH and running (on LibreELEC or CoreELEC): |
Well, it looks like the libwidevinecdm is an ARM library, as expected. But it is almost 1M larger than the previous versions. There isn't enough logging in InputStream Adapter to know why it is failing, but it is either failing to load the library, or one of the symbols required are missing (which doesn't appear to be the case). |
Here's what worked for me (I think this is doing the same as @ancebfer above but easier for those less experienced with the command line): Go to Add-ons > My add-ons > Program add-ons > InputStream Helper > Configure > Restore Widevine CDM Library Select the most recent previous version. The one that worked for me was ...77.0 |
There is this issue (the date is a bit old) but the script in comment also works correctly. emilsvennesson/script.module.inputstreamhelper#35 (comment) I solved it yesterday this way, then I have seen that maybe the best way is the way @lgangler explains it |
Basically anything before Widevine 4.10.2252.0 will work (this is part of the ChromeOS image 13816.64.0), Google changed something with the library. Pretty much you need to rollback the version via the Restore option in InputStream Helper. This is only deferring the eventual incompatibility. |
If you open the InputStream Helper information pane, you get all the details of which ChromeOS image the Widevine CDM was extracted from, and this may help us understand what is going on. On my Raspberry Pi 4 it says:
It appears that this one is not working on my RPi4 system. kodi04:~ # ls -la ~/.kodi/cdm/libwidevinecdm.so
-rwxr--r-- 2 root root 8887360 May 10 14:34 /storage/.kodi/cdm/libwidevinecdm.so
kodi04:~ # sha1sum ~/.kodi/cdm/libwidevinecdm.so
4d129768d3753328a837a940e6ee903830c791c4 /storage/.kodi/cdm/libwidevinecdm.so If I remove FIEVEL from the list of accepted ARM ChromeOS images (in ~/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/config.py) and reinstall Widevine CDM. I get:
And with the same Widevine CDM library: kodi04:~ # ls -la ~/.kodi/cdm/libwidevinecdm.so
-rwxr--r-- 2 root root 8887360 May 10 14:51 /storage/.kodi/cdm/libwidevinecdm.so
kodi04:~ # sha1sum /storage/.kodi/cdm/libwidevinecdm.so
4d129768d3753328a837a940e6ee903830c791c4 /storage/.kodi/cdm/libwidevinecdm.so So it's not just one ChromeOS build that is broken in this way, Google is releasing a new library that no longer works with Inputstream Adaptive. |
Rolling back to an earlier release is the only option now until we find the exact cause.
Obviously this will impact anyone setting up a new ARM Kodi system, with no access to a backup Widevine CDM. |
If I interpret the latest news from Widevine correctly (https://www.widevine.com/news), older Widevine CDM versions will no longer be working as soon as 2021-05-31. So if we do not fix this new Widevine CDM, all our ARM users could be affected in 3 weeks. |
I tried to restore a previous version but it reported that it did not find any backups. Indeed when I run:
I could only see the new version. Is there any way to find a file to download in order to restore to a working version? |
ARMv7 4.10.1679.0 here if anybody needs https://k.slyguy.xyz/.decryptmodules/widevine/4.10.1679.0-linux-armv7.so |
My first time with Kodi so I don't have any previous version of the library. Is there an "official" fix easy to use that could work after June ;) |
Hi Guys, There is a new version of InputStreamHelper v0.5.3, which has a patch for this, as the release notes saids, It may fail on 1st of June. So far , so good!!! emilsvennesson/script.module.inputstreamhelper@8f4205e Cheers |
20 ChromeOS builds affected. Only Scarlet build is valid now. Oh my... |
As @dagwieers said, everyone setting up a new ARM Kodi system, with no access to a backup Widevine CDM, would be stuck at this point, but they have updated InputStream Helper in order to use a ChromeOS build (SCARLET) that ships with an older Widevine CDM. Updating the plugin and re-downloading will do the trick. At least, temporarily. EDITED IN ORDER TO UPDATE STATUS |
@AlisterAmo We have updated InputStream Helper so that it only uses a ChromeOS build (SCARLET) that ships with an older Widevine. This will get us to 2021-05-31 (when Google will revoke any older Widevine CDM libraries) or until SCARLET gets the updated CDM.. So updating Widevine CDM with the newer InputStream Helper, or rolling back the Widevine CDM will do the trick. PS We have been asking for ISH to get a notification when Widevine has an issue so we can ask the user to update the CDM when it is needed, rather than having to update it regularly to prevent future issues. (This mechanism is now causing issues while the mechanism was designed to prevent issues) But currently Kodi does not report back any playback issues related to Widevine CDM, key revocation, HTTP access problems, etc... |
i don't have an older backup, is there any chance i can get it? |
Look up a few comments: |
Hi guys, someone can explain me how to downgrade widevine without backup on my libreelec kodi ? Thanks |
Update your InputStreamHelper to 0.5.3, ince installled Open iit and select Remove Widevine then select (Re)Installl ,and there you go! |
Thanks i found an other solution ! |
Apparently, the newer InputStream Helper v0.5.3 for Krypton/Leia has not been approved yet by Team Kodi, so people are still affected by this on Leia every day. xbmc/repo-scripts#2012 |
I have an RPI 3 Runnng LE 9.2.6 Kodi Leia, and Cloned the Gitt and the Insalled without isssues, and for a RPI4 I ran the Vivaldi Script to grab de library and works great....aalso O have a Development Bord on RPI 4 running Matrix... and it runs smoothly. It requires pytho 2.5+ sio I think is ok as far for Leia... |
I have opened a new Issue thread: #1179 |
HI This is what i run InputstreamHelper does not offer you the option to install widevine. i tried to install widevine have the option install from ZIP File I have a small problem with video streaming using Kodi , spesely when I tries to view a DRM protected video below is information the problem have That means that Inputstream Helper has detected your O.S. as Android. Since Widevide CDM is a google product it is shipped with Android by default and InputstreamHelper does not offer you the option to install widevine. read more what can I do to getting Widevide is installed. cause I'm struggling with it. thank you very much for your time |
Hi 2024-06-17 00:00:29.970 T:3823 debug : AddOnLog: inputstream.adaptive: New period, dispose sample decrypter and reinitialize |
Bug report
Your Environment
Used Operating system:
Describe the bug
Program will not play when selected in the menu, no error and remains on the menu rather than the play window
Expected behavior
hitting enter on a netflix program should stream the video, or at least show an error that it could not play
Actual behavior
Silent, no error and remained on menu page. Have played around with the resolution settings and everything else the wiki suggest for video issues. On kodi disabled hardware decoding and set a 720p resolution, still no help
Steps to reproduce the behavior
Possible fix
Total noob here but probably something to do with the log line 799
GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/
or the chrome installer for widevine could be silently failing?Debug log
The debug log can be found here: https://paste.kodi.tv/ozicucivol
Additional context or screenshots (if appropriate)
Other information
A quick search of related issues picks up this #154
but my issue looks most similar to #474
Screenshots
The text was updated successfully, but these errors were encountered: