Widevine and Opera
-
A Former User last edited by
@Pibe Thank you for your tip.
Unfortunatly it doesn't work for me.
I have opera 63 on linux 64 bit.
I have done each step you recommand and after I have the error :
Code d'erreur : O7701-1003
Impossible to find WidevineCdm on the computer.
I have chrome on the same computer and it works fine. -
gregurbi last edited by
@pm38 said in Widevine and Opera:
@Pibe Thank you for your tip.
Unfortunatly it doesn't work for me.
I have opera 63 on linux 64 bit.
I have done each step you recommand and after I have the error :
Code d'erreur : O7701-1003
Impossible to find WidevineCdm on the computer.
I have chrome on the same computer and it works fine.It doesn't work for me too.
-
zekemx last edited by
@jimunderscorep Hi,.... Opera did not work with spotify but once I replaced libffmpeg.so from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ spotify started working great.
-
zekemx last edited by
@gregurbi what distro do you use?.
In some distros you need to add libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera
I'm using Mageia 7.1 64bit and I had to install it to /usr/lib64/opera
Just replace the one that comes included with your opera installation with the one from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
Regards
-
zekemx last edited by
One tip...
Visit https://html5test.com and make sure H.264 support is enabled on the Video Section.. otherwise widevine will not work.
It seems widevine requires H.264 support.
Regards
-
zekemx last edited by
Update:
I just noticed that widevine stop working with my opera Version:64.0.3417.83. The problem is that Google Chrome change their libwidevinecdm.so location from /opt/google/chrome/libwidevinecdm.so" to: opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/
All you have to do is modify your widevine_config.json in the resources folder of your opera (Mine is in /usr/lib64/opera folder)...
Regards
Ezequiel -
gregurbi last edited by
@zekemx said in Widevine and Opera:
Update:
I just noticed that widevine stop working with my opera Version:64.0.3417.83. The problem is that Google Chrome change their libwidevinecdm.so location from /opt/google/chrome/libwidevinecdm.so" to: opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/
All you have to do is modify your widevine_config.json in the resources folder of your opera (Mine is in /usr/lib64/opera folder)...
Regards
EzequielThx, it works.
-
johnnyboycurtis last edited by
I'm currently watching Netflix right now on Ubuntu 19.10 using the solution: Widevine + H.264 Support on Ubuntu 19.10.
- Opera version 62.0.3331.116
-
maydin95 last edited by
If you don't want to install Google Chrome you can follow these steps:
Go here: https://gist.github.com/ruario/3c873d43eb20553d5014bd4d29fe37f1
Download the script then run. It will automatically downloadlibwidevinecdm.so
toopt/google/chrome/libwidevinecdm.so
.In Opera 64 on Ubuntu 18.04, that directory defined inside
/usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json
. It might change in future versions, so keep in mind.I just tested on Spotify Web Player, which works perfect.
-
paulkastel last edited by
@maydin95 You are hero!
For everyone who is struggling with ths widevine DRM nightmare, and still have problems with "Enable secure playback in your browser" (or other) on Spotify Web Player using Opera here is what I did step by step (for newbie like me that are new to linux) to fix it:
I am using Opera 64.0.3417.92 and Deepin Linux 15.11.
-
Close all web-browsers.
-
Download this file https://gist.github.com/ruario/3c873d43eb20553d5014bd4d29fe37f1 then execute it in terminal
sudo sh latest-widevine.sh
This will download newest version of widevine (for today this is 4.10.1440.19) to /opt/google/chrome folder.
- Using command
cd /usr/lib/x86_64-linux-gnu/opera/resources/
or file manager go to this folder and edit file widevine_config.json
I edited it so it looks this way:
(I don't know if it is super correct, but whatever)- Go to folder /usr/lib/x86_64-linux-gnu/opera and remove not working proprietary codecs file using command
sudo rm -f libffmpeg.so
- Download this: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
(For today I used 0.41.3-linux-x64.zip)
Extract file
libffmpeg.so
and copy it to the folder where you removed not working version with command:
sudo cp ~/Downloads/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
- Run Opera browser. Visit https://bitmovin.com/demos/drm . If everything went OK then you will see
That mean that Spotify and Netflix should run on Opera browser without any issues.
Proof (that everything is working with Opera as well on Google Chrome)
-
-
mpvrisavant last edited by
I have a same problem. If you have google chrome you can do this for widevine.
ll /opt/google/chrome/WidevineCdm/
ll /opt/google/chrome/WidevineCdm/_platform_specific/
ll /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/in this path if you have "libwidevinecdm.so" you have to copy path "widevine_config.json" this file.
your file like this:cat /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json [ { "preload" : "/opt/google/chrome/libwidevinecdm.so" }, { "preload" : "/opt/google/chrome-beta/libwidevinecdm.so" }, { "preload" : "/opt/google/chrome-unstable/libwidevinecdm.so" } ]
first copy "libwidevinecdm.so" /opt/google/chrome
sudo cp /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so /opt/google/chromethen add to this file path widevine_config.json.
sudo nano /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json
add this line:"plugin" : "/opt/google/chrome/libwidevinecdmadapter.so"
then file like this:
[
{
"preload" : "/opt/google/chrome/libwidevinecdm.so",
"plugin" : "/opt/google/chrome/libwidevinecdmadapter.so"
},
{
"preload" : "/opt/google/chrome-beta/libwidevinecdm.so"
},
{
"preload" : "/opt/google/chrome-unstable/libwidevinecdm.so"
}
]don't forget the "," :).
hope it helps. -
paulkastel last edited by
@paulkastel
I performed some updates of software and of operating system and Opera lost DRM support - again.(This is joke from creators of Opera, that after all this time it works on macOS and Windows and Linux version of their product is not supported as well).
But - good news is that I performed same steps from my instruction but in step 5 I used newer version of codecs: 0.42.4-linux-x64.zip, and Opera ver. 65.0.3467.48 plays Spotify Web again.
-
A Former User last edited by
As mentioned above the problem is the predefined path of widevine plugin which points to an address which is not valid anymore.
- Install google chrome or download the libwidevinecdm.so
- edit /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json and give it the address of the libwidevinecdm.so
in my case it was
/opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so - restart the opera and it will work fine.
I am using Opera 65 on Linux.
-
parasit last edited by
Like @paulkastel wrote before "I performed some updates of software and of operating system and Opera lost DRM support - again." I have AGAIN the same situation, but this time above solution just not work.
I have new ffmpeg, libwidevinecmd, corrected (again !!!) widevine_config, and still no DRM, no Netflix, no Spotify.
This is not annoying anymore, this is a joke. Every #fword update is the same situation.Any suggestions besides switching to Chrome?
This time Opera 66.0.3515.44 on Kubunu Linux 19.10
-
parasit last edited by
P.S. (Can't edit now) Chrome on the same libs works fine and shows in Components - Widevine 4.10.1610.0, where Opera shows 0.0.0.0
-
maydin95 last edited by
Great. It is broken after Opera 66 update. Chrome version is 79 right now. I have no problem with Youtube videos but I cannot access Spotify.
I learned last version from this link: https://dl.google.com/widevine-cdm/versions.txt
Then downloaded last Widewine library using this link: https://dl.google.com/widevine-cdm/4.10.1582.2-linux-x64.zip
(This is what afore-mentioned script does)All settings are correct but Opera doesn't play DRM content. I have updated this file too:
/opt/google/chrome/libwidevinecdm.so
# /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json [ { "preload" : "/opt/google/chrome/libwidevinecdm.so" }, { "preload" : "/opt/google/chrome-beta/libwidevinecdm.so" }, { "preload" : "/opt/google/chrome-unstable/libwidevinecdm.so" } ]
-
A Former User last edited by
@parasit I also confirm that after upgrading to Opera 66 the above mentioned solution is not working anymore. I have tried different versions of libwidevincdm but none worked. I have switched to Brave, since I had enough of this frustrating issue. All other chrome-based browsers such as Vivaldi and Brave already fixed this stupid problem by simply delivering the widevine with the browser.