Multimedia Guide for openSUSE Tumbleweed no longer available? My system can't play web videos again

Hi Folks,

There used to have a Multimedia Guide for openSUSE Tumbleweed here sticky on the top, but now it’s missing. I used to copy the command code in it to enable multimedia play on web browser once my tumbleweed system got updated and couldn’t play web videos. And once again, after the latest update (openSUSE Tumbleweed 20200714), my system is no longer able to play web videos on browser. The old command code I copied from past Multimedia Guide for openSUSE Tumbleweed as follows no longer works at this time:

sudo zypper install -f libxine2-codecs ffmpeg-4  dvdauthor gstreamer-plugins-bad gstreamer-plugins-bad-orig-addon gstreamer-plugins-base  gstreamer-plugins-good gstreamer-plugins-good-extra gstreamer-plugins-libav gstreamer-plugins-qt5 gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon vlc smplayer x264 x265 vlc-codecs vlc-codec-gstreamer ogmtools libavcodec58

Any suggestions?

This one?
https://forums.opensuse.org/showthread.php/541600-Packman-and-Tumbleweed-OSS-offer-conflicting-packages-for-identical-codec-libraries

No, I removed the TW “how to” guide I had provided as it was adapted from previous versions and now outdated.

Anyway, you could use this guide…
https://opensuse-guide.org/codecs.php

or this “how to” thread (in same forum)…
https://forums.opensuse.org/showthre…Packman-Codecs

I have the same issue as OP.

All the codecs are installed from packman and have been since my initial install. Since I updated yesterday, videos won’t play.

richard@andromeda-ascendant repos.d
>>> zypper lr                                                                                                                           ✓ 
Repository priorities in effect:                                                                           (See 'zypper lr -P' for details)
90 (raised priority)  :  1 repository
99 (default priority) :  4 repositories

# | Alias                            | Name                        | Enabled | GPG Check | Refresh
--+----------------------------------+-----------------------------+---------+-----------+--------
1 | http-opensuse-guide.org-f6eb26a7 | libdvdcss repository        | Yes     | (r ) Yes  | Yes
2 | openSUSE-20200411-0              | openSUSE-20200411-0         | No      | ----      | ----
3 | packman                          | packman                     | Yes     | ( p) Yes  | Yes
4 | repo-debug                       | openSUSE-Tumbleweed-Debug   | No      | ----      | ----
5 | repo-non-oss                     | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes
6 | repo-oss                         | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes
7 | repo-source                      | openSUSE-Tumbleweed-Source  | No      | ----      | ----
8 | repo-update                      | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes
richard@andromeda-ascendant repos.d
>>> sudo zypper dist-upgrade --allow-vendor-change --allow-downgrade --from packman                                                     ✓ 
Retrieving repository 'packman' metadata ............................................................................................[done]
Building repository 'packman' cache .................................................................................................[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following item is locked and will not be changed by any action:
Available:
PackageKit

Nothing to do.

Edit: Not sure if this is important in this instance:


Operating System: openSUSE Tumbleweed 20200716
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.7-1-default
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD OLAND

More details please.
What videos won’t play in which application(s)?

If you have problems with Firefox (which currently doesn’t support the latest ffmpeg/libavcodec), install libavcodec57 for now, a fix will be coming with the next update.
(https://forums.opensuse.org/showthread.php/541543-Another-Problem-With-Today-s-Update?p=2946730#post2946730)

You may have to uninstall libavcodec58 manually (if it’s installed from the standard repos) to avoid problems, as especially Firefox will still try to use it. Although, it normally should get removed automatically, as it is no longer available.

Firefox, so that was right on the nail.

Yeah, FireFox is exactly the case. And removing libavcodec58 as well as installing libavcodec57 work!

sudo zypper install -f libxine2-codecs ffmpeg-4  dvdauthor gstreamer-plugins-bad gstreamer-plugins-bad-orig-addon gstreamer-plugins-base  gstreamer-plugins-good gstreamer-plugins-good-extra gstreamer-plugins-libav gstreamer-plugins-qt5 gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon vlc smplayer x264 x265 vlc-codecs vlc-codec-gstreamer ogmtools libavcodec58

Hoping the fix for firefox will drop soon.

But separate Q - with the old TW guide gone - will the above still be relevant once we have added the packman repo?

This method as described here has always fulfilled my requirements since at least before openSUSE 10.
https://forums.opensuse.org/showthread.php/540572-Installing-Packman-Codecs

Yes, that is one of the links provided in post #3. :wink:

Yes, I know, but the OP asked again, so I answered again.

But I promise not to create an eternal loop out of this.

that’s because it’s not terribly obvious - at least compared to the old method: :slight_smile:

localhost:/home/xxxxxx # zypper addrepo --refresh --priority 90 http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/
If only one argument is used, it must be a URI pointing to a .repo file.
addrepo (ar) [OPTIONS] <URI> <ALIAS>
addrepo (ar) [OPTIONS] <FILE.repo>

Add a repository to the system. The repository can be specified by its URI or can be read from
specified .repo file (even remote).

  Command options:

-r, --repo <FILE.repo>      Just another means to specify a .repo file to read.
-c, --check                 Probe URI.
-C, --no-check              Don't probe URI, probe later during refresh.
-p, --priority <PRIORITY>   Set priority of the repository. Default: 90
-k, --keep-packages         Enable RPM files caching. Default: false
-K, --no-keep-packages      Disable RPM files caching.
-g, --gpgcheck              Enable GPG check for this repository.
    --gpgcheck-strict       Enable strict GPG check for this repository.
    --gpgcheck-allow-unsigned
                            Short hand for '--gpgcheck-allow-unsigned-repo
                            --gpgcheck-allow-unsigned-package'.
    --gpgcheck-allow-unsigned-repo
                            Enable GPG check but allow the repository metadata to be unsigned.
    --gpgcheck-allow-unsigned-package
                            Enable GPG check but allow installing unsigned packages from this
                            repository.
-G, --no-gpgcheck           Disable GPG check for this repository.
    --default-gpgcheck      Use the global GPG check setting defined in /etc/zypp/zypp.conf. This is
                            the default.
-n, --name <NAME>           Set a descriptive name for the repository.
-e, --enable                Enable a disabled repository. Default: true
-d, --disable               Disable the repository (but don't remove it).
-f, --refresh               Enable auto-refresh of the repository. Default: false
-F, --no-refresh            Disable auto-refresh of the repository.

  Legacy options:

-t, --type                  The repository type is always autodetected. This option is ignored.

localhost:/home/xxxxxx # zypper dist-upgrade --allow-vendor-change --allow-downgrade --from packman
Loading repository data...
Reading installed packages...
Computing distribution upgrade...
Repository 'packman' not found by its alias, number, or URI.
Use 'zypper repos' to get the list of defined repositories.
localhost:/home/xxxxxx # zypper repos
Repository priorities are without effect. All enabled repositories share the same priority.

# | Alias                            | Name                       | Enabled | GPG Check | Refresh
--+----------------------------------+----------------------------+---------+-----------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes
2 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes
3 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes
4 | openSUSE-20200715-0              | openSUSE-20200715-0        | No      | ----      | ----
5 | repo-debug                       | openSUSE-Tumbleweed-Debug  | No      | ----      | ----
6 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | ----
localhost:/home/xxxxxxx # 

i have obviously not grasped some simple point…?
thank you for bearing with me.

Same problem here since I’ve accepted vendor change upgrade suggestion last week. I just switched back to Packman but it doesn’t work since it has libavcodec58_91 too. So, after read this thread, I’ve installed libavcodec57 from Packman, even without remove libavcodec58_91, and works fine. Firefox is able to play H.264/MP4 again.

Thx guys!

zypper se libavcodec
Carregando dados do repositório...
Lendo os pacotes instalados...

S  | Nome                            | Resumo                           | Tipo
---+---------------------------------+----------------------------------+-------
   | ffmpeg-2-libavcodec-devel       | Development files for FFmpeg's-> | pacote
   | ffmpeg-3-libavcodec-devel       | Development files for FFmpeg's-> | pacote
   | ffmpeg-4-libavcodec-devel       | Development files for FFmpeg's-> | pacote
   | libavcodec56                    | FFmpeg codec library             | pacote
   | libavcodec56-32bit              | FFmpeg codec library             | pacote
   | libavcodec56-32bit-debuginfo    | Debug information for package -> | pacote
   | libavcodec56-debuginfo          | Debug information for package -> | pacote
i+ | libavcodec57                    | FFmpeg codec library             | pacote
   | libavcodec57-32bit              | FFmpeg codec library             | pacote
   | libavcodec57-32bit-debuginfo    | Debug information for package -> | pacote
   | libavcodec57-debuginfo          | Debug information for package -> | pacote
i  | libavcodec58_91                 | FFmpeg codec library             | pacote
   | libavcodec58_91-32bit           | FFmpeg codec library             | pacote
   | libavcodec58_91-32bit-debuginfo | Debug information for package -> | pacote
   | libavcodec58_91-debuginfo       | Debug information for package -> | pacote

What is not very obvious? You add the Packman repo (either using zypper, or if you do not like the CLI, use YaST > Software > Repository Management and then Add repo > community repos and there it should be somewhere.

That is indeed a mistake of Karl. When you compaire with the Leap 15.2 one, you will see that the alias is missing (and that is also waht the error message tells you):

zypper addrepo --refresh --priority 90 http://ftp.fau.de/packman/suse/openSUSE_Tumbleweed/ packman

I will go to the other thread and inform him.

I think that you can learn from this incident that you should always check a command given by somebody. Check what it will do with the information in the man page and your sutuation. In the end you are responsible for what happens on the system and you can not claim any disaster happening because you blindly copied “some command from the internet”. Even if it is given by the very trusted people here. They can also make mistakes.

With the contents of the original post being pretty small I did not create a new wiki page and link to it. This is a bad idea, because necessary updates and discussions render the thread unwieldy and cumbersome to modify while wiki easily accommodates changes and maintains a history. Sorry for taking a shortcut.

Sure, that works. But on the other hand the proper codec which works is:

linux:~ # zypper se -is libavcodec
Loading repository data...
Reading installed packages...

S | Name            | Type    | Version   | Arch   | Repository
--+-----------------+---------+-----------+--------+-----------
i | libavcodec58_91 | package | 4.3.1-4.2 | x86_64 | packman
linux:~ # 

Currently there is no need for manual install: https://forums.opensuse.org/showthread.php/541543-Another-Problem-With-Today-s-Update?p=2947597#post2947597

You do need to additionally install libavcodec57 currently for Firefox, because it doesn’t support libavcodec58_91 yet, it just doesn’t find it.
But that should be fixed with the next Firefox update, which should be in the next Tumbleweed snapshot.

I have libavcodec58_91 only and Firefox plays videos:

linux:~ # zypper se -is libavcodec
Loading repository data...
Reading installed packages...

S | Name            | Type    | Version   | Arch   | Repository
--+-----------------+---------+-----------+--------+------------------
i | libavcodec58_91 | package | 4.3.1-4.2 | x86_64 | (System Packages)
linux:~ # find / -xdev -name libavcodec*
/usr/lib64/vlc/plugins/codec/libavcodec_plugin.so
/usr/lib64/libavcodec.so.58.91
/usr/lib64/libavcodec.so.58.91.100
/usr/share/licenses/libavcodec58_91
linux:~ # zypper se -is firefox
Loading repository data...
Reading installed packages...

S | Name                               | Type    | Version    | Arch   | Repository
--+------------------------------------+---------+------------+--------+-----------------------
i | MozillaFirefox                     | package | 78.0.2-1.1 | x86_64 | Haupt-Repository (OSS)
i | MozillaFirefox                     | package | 78.0.2-1.1 | x86_64 | openSUSE-20200710-0
i | MozillaFirefox-branding-openSUSE   | package | 68-2.1     | x86_64 | Haupt-Repository (OSS)
i | MozillaFirefox-branding-openSUSE   | package | 68-2.1     | x86_64 | openSUSE-20200710-0
i | MozillaFirefox-translations-common | package | 78.0.2-1.1 | x86_64 | Haupt-Repository (OSS)
i | MozillaFirefox-translations-common | package | 78.0.2-1.1 | x86_64 | openSUSE-20200710-0
linux:~ # 

I don’t need additionally install libavcodec57 with TW 20200717.

hey, so how do I install libavcodec57 if it isn’t avaliable? I cannot downgrade the libavcodec58_91 to libavcodec57 right? trying to install libavcodec57 gives me this:

No provider of ‘libavcodec57’ found.

That may depend on what videos you try to play exactly, or what other addons you may have installed.

You certainly do need it for full codec support though.
(otherwise this thread and the bug report wouldn’t exist in the first place).