Codecs for chromium-based browsers

Hello, I made all steps from here like I did it in my Leap 42 before.


zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.0/ packmanzypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ dvd
zypper install ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav libdvdcss2 vlc-codecs
zypper dup --from http://packman.inode.at/suse/openSUSE_Leap_15.0/

but it didn’t helps my Opera browser to play HTML5 videos except youtube’s DASH.
The Firefox plays HTML5 video ok.

Opera’s console error:

VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported. 

Opera version: 53.0.2907.37


zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.0/ packmanzypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ dvd

zypper dup --from http://packman.inode.at/suse/openSUSE_Leap_15.0/

If you actually typed the above, I believe that that may be your problem.
You may have wanted to do the following instead:


zypper addrepo -f http://packman.inode.at/suse/openSUSE_Leap_15.0/ packman
zypper addrepo -f http://opensuse-guide.org/repo/openSUSE_Leap_15.0/ dvd

And then you could have done the following:


zypper dup --from http://packman.inode.at/suse/openSUSE_Leap_15.0/

Or even better, the following, because in this case it’s shorter to type in
(as well, because it would have thrown an error because there would not have been a “packman” repo (because you typed in “packmanzypper”)):


zypper dup --from packman

But, if you did, in fact, type it in properly, then I’ll have to bow out and let someone else more knowledgeable chime in.

Opera seems to be doing fine here.

I have installed:

  • chromium-ffmpeg-extra
  • chromium-plugin-widevinecdm

in addition to what you mention.

Yeah, thanks. Works ok now. Is the widevine still actual now? I think it’s a kind of rubbish.

I don’t know much about widevine. I suspect that it was the “chromium-ffmpeg-extra” that you really needed.

it’s linked with chromium package, so I uninstall both and all seems ok with only chromium-ffmpeg-extra

widevinecdm is needed to watch drm encrypted content on sites such as netflix etc . . .

Hm, there is the trouble again. But now I have all codecs installed,

chromium-plugin-widevinecdm - Chromium Widevine CDM plugin

chromium-ffmpeg-extra - Extra ffmpeg codecs for browsers based on Chromium

chromedriver - WebDriver для Google Chrome/Chromium

chromium

And my system packets are on Pacman. Some days before I was able to play videos in Firefox, now no browser can play them.

VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported.

Desktop video is ok.
Upd: I made some manipulations and now Firefox works ok. Not Opera

I have “firefox”, “chromium” and “vivaldi” all working fine. But “opera” cannot handle some videos. It may require an “opera” update. As far as I know, “opera” is based on the same web engine as “chromium” and “vivaldi”.

Do you switch ffmpeg-4 to Packman?

zypper in -f libavcodec58

Yes, that comes from packman on my systems. And that does not seem to help with “opera”.

I haven’t read carefully:

Desktop video is ok.
Upd: I made some manipulations and now Firefox works ok. Not Opera

Yeah, Chromium and Firefox plays video ok, but not Opera. There is a new version available
54.0.2952.64
but there is only 54.0.2952.41 in the repo. And I don’t want to download it separately from official site.

Based on past experience, the new opera version will show up fairly soon.

is it safe to use some Tumbleweed repos? Or they called “debug”?

If you configure a Tumbleweed repo, install just the application you want, and then disable the repo, the risk is probably not too great. If there’s a problem, you can just uninstall what you installed from that repo.

The bigger risk is to keep the Tumbleweed repo enabled. Then you run the risk of installing incompatible libraries from that repo.

If this is just for “opera”, then my understanding (which could be wrong) is that the “opera” in the repos is just the version from the “opera” site, repackaged for openSUSE users.