The Videos Don't Play Topic
-
Leoneld last edited by
simlink ubuntu 20.04
sudo ln -s /snap/chromium-ffmpeg/17/chromium-ffmpeg-95241/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
-
njt145 last edited by leocg
This is just a workaround, not a solution.
This legal issue needs to be solved, and it's a Must
I suggest to developers to work on this before to working for stuffs on Opera GX. (or maybe you can replace Opera GX with Opera, why you created GX while your normal browser is not working properly...) -
mosabama last edited by
Another way is to download libffmpeg from here and replace the one in Opera directory
locate libffmpeg.sp
and copy the file from the repository and replace the one in this directory.
-
A Former User last edited by leocg
I've been using Opera for several years but reluctantly will be moving on to a different browser because of Opera not being able to play many videos due to missing codecs. I keep hearing that it is because of legal reasons which I can't understand. Other browsers such as Firefox, Vivaldi, etc. apparently don't have this legal problem. Why can't this be resolved? Opera is great is all other aspects.
-
leocg Moderator Volunteer last edited by
@ercouper To be able to play proprietary codecs by itself, Opera needs to have a license that may be very expensive. For that reason, Opera relies on the OS to be able to play media that uses those codecs.
On Windows and Mac things are more easy, but Linux being more decentralized makes things a little more complicated.By the way, Firefox has the license. Don't know about Vivaldi but it seems to be in the same situation as Opera.
-
rgplayzmc last edited by rgplayzmc
No method seems to be working for the version of opera released today (Version 79.0.4143.22, chromium 93.0.4577.63). Replacing the provided libffmpeg.so with any of the provided methods causes the entire page to crash if you try to play any video embedded on it. I have now defaulted back to the provided one.
My go-to method before this was to download the latest version from iteufel's github repo and replace it manually. Had worked since I installed opera. -
rgplayzmc last edited by leocg
@rgplayzmc **Update To Previous Post **
Solution: Until @xZero updates his script (It returnsopera-fix-ffmpeg.sh: 15: [: Illegal number: Error: snapd is not installed Command 'snap' not found /usr/bin/snap
Snap is actually installled
)
Here's what to do (GUI method):- Install the chromium-ffmpeg snap
- Navigate to /snap/chromium-ffmpeg/current
- Find the folder with the highest number and open terminal over there (Right click->open with terminal).
- Run
sudo cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
(Replace opera directory with wherever yours is installed.)
(CUI method) (I am a noob at bash, so please forgive me pros)
1.snap install chromium-ffmpeg && cd /snap/chromium-ffmpeg/current
- Find the highest number
cd chromium-ffmpeg-highestnumber && cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
Done!
Now I request @xZero or anyone else to fix that script. Once the script is fixed, store the command the run it in a terminal utility known as keep for easy access.
-
Fuzedrums last edited by
I've had this problem for about two years now. Can't the fix it? Vivaldi solved it somehow.
Every time I update, I start looking for the damn libffmpeg.so file.For Opera 79.0 install latest Vivaldi browser 4.2 and the take the lib:
sudo cp /var/opt/vivaldi/media-codecs-79b56700ea9558c50a5edacaeb70298120127d2f8b32bb5e05c3876a51bd64b5/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so -
torrit last edited by
@rgplayzmc
Your solution worked like a charm. Thanks!I had tried copying libffmpeg from /usr/lib/chromium-browser/libffmpeg.so but it worsened the situation. Not only the playback didn't work - opera cashed on any page with an embedded video.
Now everything works as expected. Finally! -
leocg Moderator Volunteer last edited by
@ipa As far as I know, Vivaldi doesn't have the license.
Regarding the snap version, the codecs are provided by Canonical: https://blogs.opera.com/desktop/2018/08/opera-54-0-2952-71-stable-update/