Opera can't play videos in OpenSUSE Leap (again)
-
psijicv last edited by
There was a problem with Opera not being able to use non-free codecs, or something similar. Currently, Opera cannot play half of the YouTube videos on OpenSUSE Leap 15.4, even though many updates have been released in the past six months. This problem was not present in Tumbleweed, except in rare cases where updates caused issues.
-
burnout426 Volunteer last edited by
Snap package of Opera or regular installation of Opera?
What version of Opera and Chromium version as seen at the URL
opera://about
?Is the right libffmpeg.so for your Opera showing an arrow when you start Opera from a terminal?
-
psijicv last edited by
@burnout426
It's regular Opera, currently in OpenSUSE TW. Modern version is: 112.0.5197.30 -
psijicv last edited by
I did steps helping 5 years ago for some Opera versions installing codecs but didn't help:
sudo zypper install --from packman ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libpostproc54 libswresample2 libswscale4
-
burnout426 Volunteer last edited by burnout426
Download the zip file from https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/releases/tag/nwjs-ffmpeg-0.89.0 and extract it. You'll get a
libffmpeg.so
file.Then, goto the URL
opera://about
, take note of the "install" path and close Opera.Then, open your file manager as root, navigate to the install folder and create a folder named
lib_extra
in the installer folder if it's not already there.Then, copy the
libffmpeg.so
that you extracted to thatlib_extra
folder.Then you should be good.
Note that there will already be a libffmpeg.so in the root of the install folder. Leave that one alone and do not replace it. Just put the one you downloaded in the
lib_extra
folder.You can do all that in a terminal if you prefer of course.
-
burnout426 Volunteer last edited by
When Opera reaches version 113 and uses Chromium 127, you''ll need to replace the
libffmpeg.so
in thelib_extra
folder with a new one from https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/releases that's made for Chromium 127.When Opera reaches 114, you'll do that again for Chromium 128... and so on.
-
psijicv last edited by psijicv
@burnout426 Can I use this lib from my Brave dir? Hm, can't find it there.
P.S. I replaced it into /usr/lib64/opera/lib_extra/ and it looks working
-
burnout426 Volunteer last edited by
@psijicv The current stable version of Brave is based on Chromium 127 instead of 126 that Opera 112 is based on. I'm surprised it worked in this specific case unless you still have a version of Braved based on Chromium 126. Either way though, glad it works.
Besides Brave, you can get it from Vivaldi too if it's based on the same major Chromium version as the Opera you're using. It's mentioned in this post.