Opera codecs support

I have modern Opera, Packman, TW and gstreamer-plugins-bad gstreamer-plugins-ugly etc.

 sudo zypper install --from packman ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libpostproc54 libswresample2 libswscale4

But still I can’t watch many YT videos with Opera while all is ok with Brave. What’s the current voodoo I need to implement to make it work?

Did you perform the vendor switch?

sudo zypper install --allow-vendor-change --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs

Looks like so:

sudo zypper install --allow-vendor-change --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs
[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
'ffmpeg' not found in package names. Trying capabilities.
'ffmpeg-4' providing 'ffmpeg' is already installed.
'libavcodec' not found in package names. Trying capabilities.
'libavcodec57' providing 'libavcodec' is already installed.
'libavcodec58_134' providing 'libavcodec' is already installed.
'libavcodec60' providing 'libavcodec' is already installed.
'vlc-codecs' is already installed.
There is an update candidate 'vlc-codecs-3.0.21-1699.6.pm.22.i586' for 'vlc-codecs-3.0.21-1699.6.pm.17.x86_64', but it does not match the specified version, architecture, or repository.
'gstreamer-plugins-bad' not found in package names. Trying capabilities.
'gstreamer-plugins-bad' is already installed.
'gstreamer-plugins-ugly' not found in package names. Trying capabilities.
'gstreamer-plugins-ugly' is already installed.
'gstreamer-plugins-good' not found in package names. Trying capabilities.
'gstreamer-plugins-good' is already installed.
'gstreamer-plugins-libav' not found in package names. Trying capabilities.
'gstreamer-plugins-libav' is already installed.
Resolving package dependencies...
Nothing to do.

Only see here

There is an update candidate ‘vlc-codecs-3.0.21-1699.6.pm.22.i586’ for ‘vlc-codecs-3.0.21-1699.6.pm.17.x86_64’, but it does not match the specified version, architecture, or repository.

Checked, all looks ok - it’s from Packman

Try to install chromium-ffmpeg-extra. This should fix the issue. It is available in the full packman repo.

 sudo zypper in chromium-ffmpeg-extra

Nope

I think, Packman has a problem.

The chromium-ffmpeg-extra package at Packman is way out of date. The current Opera (112.0.5197.39) is based on Chromium 126, so download the appropriate ffmpeg,so for that version of Chromium and as root, copy it to /usr/lib64/opera/lib_extra/

I get ffmpeg.so from here; I’ve been doing it for so long that I don’t recall where I got the link from , but here’ tis…

https://onedrive.live.com/?authkey=!AC7ddalBsUiWsUE&id=75D48EF8D3750510!234&cid=75D48EF8D3750510

If you don’t feel comfortable getting it from there, I’m sure one of the other distros has it in their repository

Whenever the Packman package is current, one as root can link its library to /usr/lib64/opera/lib_extra/

Good Luck, Rod

1 Like

Can I copy it from Brave/Firefox source? Also I see

Waiting for a libffmpeg.so that’s compatible with Chromium 128 to be available
somewhere.

In last versions folders.

Opera forum guys suggested this link for the same solution Releases · Ld-Hagen/fix-opera-linux-ffmpeg-widevine · GitHub
And I can’t find this lib in Brave install dir. Anyway, I put the lib there and looks fine now.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.