Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon)
-
xZero last edited by xZero
@xzero said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):
My previous solution still works, but you might lose the changes (symlink) when Opera gets updated. At least that happened in my case. Applying the solution manually every time is a pain.
You can use this handy script to fix ffmpeg support for you, whenever it gets broken.Fetch the always up to date script from here, or simply use this command to directly download the script:
curl -fsSL https://raw.githubusercontent.com/xZero707/opera-fix-ffmpeg/master/opera-fix-ffmpeg.sh -o opera-fix-ffmpeg.sh
Remember: When downloading the script from the internet, it is always a good idea to inspect the script first.
Run with:
sudo /bin/bash opera-fix-ffmpeg.sh
or
sudo /bin/bash opera-fix-ffmpeg.sh /path/to/your-opera-installation
or
sudo /bin/bash opera-fix-ffmpeg.sh /path/to/your-opera-installation /path/to/your/snap/binary
The script will install or update snap chromium-ffmpeg and create a symlink to the latest bundled ffmpeg.so, in your opera directory.
Note that sudo is required.
Tested and working on Linux Manjaro. Should work for other Linux distros as well.
Disclaimer: This script is provided as-is. Use at your own responsibility.The script has been updated. It is now moved to the repository here: https://github.com/xZero707/opera-fix-ffmpeg
Instructions have been also updated in the quote.
@rgplayzmc Please check it out and let me know if this is the fix you expected.
-
miyen last edited by
@xzero that does not work to me,
have to check few more codecs from here - http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/?C=M;O=A
currently working only with the codec from "chromium-codecs-ffmpeg-extra_94.0.4606.81-0ubuntu0.18.04.1_amd64.deb"
My PC is:
Linux Mint 20.2 Cinnamon / kernel 5.4.0-89-generic
Opera 80.0.4170.72
i5-2500k CPU,i386 codecs does not work to me.
Regards
-
MarcoRboels last edited by
Easy solution via Terminal (rooted):
$ sudo snap install chromium-ffmpeg
$ sudo cp /snap/chromium-ffmpeg/current/chromium-ffmpeg-104195/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
I chose 104195 version because is the only one workable over Opera version 80.0.4170.72 and Ubuntu 20.04.3 LTS (x86_64; LXQt)
-
nathaniel last edited by
@marcorboels thank you very much, it's working great!
Ubuntu 20.04.3 LTS
Opera 81.0.4196.54 -
arieljuod
-
arieljuod
-
linuc last edited by
Hi
Since the latest update of Opera some websites crash again. Here's an example:
It seems like this fix is no longer working properly at the moment:
-
linuc last edited by
Hm...the update function in Opera Menu is not doing anything. So I tried with the terminal using
sudo apt --only-upgrade install
so...
q4os@q4os-desktop:~/Desktop$ sudo apt --only-upgrade install opera-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done opera-stable is already the newest version (81.0.4196.60). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. q4os@q4os-desktop:~/Desktop$
It looks as I have to be patiently until Q4OS sends the next Opera update? Or what can I do?
-
styen last edited by
@linuc said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):
Hm...the update function in Opera Menu is not doing anything. So I tried with the terminal using
sudo apt --only-upgrade install
so...
q4os@q4os-desktop:~/Desktop$ sudo apt --only-upgrade install opera-stable Reading package lists... Done Building dependency tree... Done Reading state information... Done opera-stable is already the newest version (81.0.4196.60). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. q4os@q4os-desktop:~/Desktop$
It looks as I have to be patiently until Q4OS sends the next Opera update? Or what can I do?
Also you may download it directly from opera.com
-
linuc last edited by
Well, I'll see what I do then. In any case, it would be advantageous if the developers of Opera would test the latest version to see whether it really works correctly before it is distributed all over the world! It's pretty sad when a user has a correctly functioning installation and after the update it no longer works correctly
-
masemoel last edited by
On Linux Mint 20.2 and with the latest Opera upgrade, I got YT live streaming and Instagram videos playing properly with the following script:
https://github.com/nicolas-meilan/fix-opera-linux-ffmpeg
I've tried it without Chrome installed, though the script recommends to have it installed. The scripts mentioned above resulted in Opera bricked/not even opening for me...
-
xZero last edited by
My script seems to brick the most recent versions of Opera. I am working on a resolution. Until then, a warning is added to the script.
If you ended up with your Opera bricked, you can restore the backup of the changed file:
cd /usr/lib/opera/ cp -v libffmpeg.so.bak libffmpeg.so
-
linuc last edited by
After a few days of patient waiting, version 82 finally arrived
And everything is working normally again! I still use the same solution as at the beginning. Here is a link to my website, which is unfortunately a bit slow (ifastnet!):
By the way, in my traffic report from Wordfence I find every day some visitors from all over the world who call up the forum post . So there are even more patient people then just me
-
pranadot last edited by
thanks @zarathustra-f90 this worked for me. as at 30/12/2021, my version is 104707, hence i had something like this current/chromium-ffmpeg-98516 .
NB: please close your Opera Browser after following the steps and reopen it.
Super happy that Youtube and Linkedin Videos can now play so well. -
adamapfelski last edited by
@vladimir-bardakov After this advice I had to remove opera because it simply stopped working.