On Ubuntu 16/18 LTS, you can bring support for Netflix by copying the libffmpeg file from Google Chrome. You can run the simple command:
sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
Do more on the web, with a fast and secure browser!
Download Opera browser with:
On Ubuntu 16/18 LTS, you can bring support for Netflix by copying the libffmpeg file from Google Chrome. You can run the simple command:
sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
There are new changes with the release of Ubuntu 19.10 that interrupt Opera's support for Widevine and H.264 videos. Note that this solution assumes you have Google Chrome installed. I've only had time to test this on Ubuntu.
With previous iterations of Ubuntu (e.g. 18.04 and 19.04) I was had widevine (Netflix, Amazon Prime) and H.264 (YouTube) support with a simple adjustments. You need to copy over Google Chrome's libffmpeg.so
file over to Opera's directory
sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
However, in Ubuntu 19.10 things changed a bit. The libffmpeg.so
file moved to /usr/share/code/libffmpeg.so
. The fix was fairly easy
sudo cp /usr/share/code/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
This returned support for H.264 videos (YouTube). But widefine was still missing. Again, files moved with Ubuntu 19.10's release. Here is where I found the necessary libwidevinecdm.so
file.
sudo cp /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so /opt/google/chrome/libwidevinecdm.so
Looking at Opera's files we can see that it utilizes Google's files once again.
(base) jonathan@asus:~$ 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"
}
]
So the fix is to copy that livwidevinecdm.so
to one of those directories. The above command does so.
I hope this helps anyone out there encountering this problem. Comments and suggestions are welcome (especially for non-Ubuntu distributions).