[Solved]Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon)
-
sgunhouse Moderator Volunteer last edited by
@operafan123 Did you install the right version for your version of Opera? What version of Chromium is listed on the About Opera page?
-
operafan123 last edited by
Version:75.0.3969.93
Opera is up to date
Update stream:Stable
System:Linux Mint 20.1 (x86_64; X-Cinnamon)
Rate Opera
Opera help
Browser identification
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 OPR/75.0.3969.93 -
sgunhouse Moderator Volunteer last edited by
@operafan123 And did you install the codecs for Chromium 89.0?
-
operafan123 last edited by
@sgunhouse said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):
@operafan123 And did you install the codecs for Chromium 89.0?
I simply followed the instructions from the above original post
"First of all, you need to install the chromium-codecs-ffmpeg-extra package. You can do this using the terminal with the following command:
sudo apt install chromium-codecs-ffmpeg-extra
Usually the second step is to create a symlink for the file libffmpeg.so, but since now the Opera browser delivers a file with this name (but not solving the problem), we will delete it and then create a simlink to the new file. File deletion:
sudo rm /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
Creating a simlink:
sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/"I will also add that a fresh install does not work - even on a new machine, yet a fresh install of Vivaldi, and Chrome both work with Netflix without problems
-
operafan123 last edited by
@sgunhouse said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):
@operafan123 Netflix will also require widevine.
Of course, and it's there and updated to the latest
-
nneo16 last edited by nneo16
@operafan123 Try rename the original file and replace with that file from chromium package. I don't understand why we should use a symlink here.
-
niepiekm last edited by
@zarathustra-f90
Thanks, this worked for me to on Ubuntu 20.04 and Opera installed with APT. -
RungeKutta last edited by
Hi, I create a script to download and install ffmpeg lib on linux and fix this problem with opera:
-
miqwalsh last edited by miqwalsh
I re-package this into a 'portable' version for the Puppy Linux community. Portable applications work very well for Puppy's somewhat unusual method of operation.
I get libffmpeg.so & Widevine for Opera by the simple expedient of using the updater scripts supplied by Vivaldi for their browser. As noted above, it doesn't matter how you actually obtain these; what matters is that you end up with the specific version compiled to work with the particular release of Chromium that Opera has been built around.
If you run the script from your /home 'user' directory, the scripts will write the 'codecs' directory, containing libffmpeg.so, to /var/opt. You'll get a sym-link appear which you can delete; simply copy libffmpeg.so across to the location where Opera expects to find it.
Bob's yr uncle; sorted.
Mike.
(EDIT:- Apologies to anyone who wants terminal commands to do the above. We don't really use these all that much in Puppy; we tend to 'dive-in' to the file-system & physically move stuff around to suit.....and the 'portable' version doesn't use 'standard' locations anyway!)
-
efsandino last edited by
@vladimir-bardakov I installed the extra lib, and then downloaded the last version of opera and installed it again with ,
sudo dpkg -i operaXXX.deband the problem was finally solved !
-
mau21mau last edited by
That fixed the issue for me
wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.52.2/0.52.2-linux-x64.zip -P ~/Downloads/ unzip ~/Downloads/0.52.2-linux-x64.zip -d ~/Downloads/ sudo mv ~/Downloads/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
-
thinog last edited by
If it was installed through Snap, you can try to connect system camera interface on the Opera camera interface
sudo snap connect opera:camera :camera
Restart opera and check if it worked.
-
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.