No video after installing codecs - Opensuse 15.6

I installed the codecs using the guide below, now there is no picture on VLC. Tried it on Kaffiene and got and even worse result; it froze my entire laptop. Any ideas?

sudo zypper addrepo -cfp 90 ‘https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/’ packman
sudo zypper refresh
sudo zypper dist-upgrade --from packman --allow-vendor-change
sudo zypper install --from packman ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs

Mmm, weird. This looks correct. I know there are some issues with Packman atm, but I am not aware wat the status is.

Please show:
zypper lr -d

If I use quoting or $relesever in the URL, I get an error when adding it:

linux64:/home/stephan # LANG=C zypper addrepo -cfp 90 ‘https://ftp.gwdg.de/pub/linux/misc/packman/suse/op
enSUSE_Leap_$releasever/’ packman12
Specified local path does not exist or is not accessible.
linux64:/home/stephan # LANG=C zypper addrepo -cfp 90 https://ftp.gwdg.de/pub/linux/misc/packman/suse/ope
nSUSE_Leap_$releasever/ packman12
Adding repository 'packman12' ....................................................................[error]
Can't find a valid repository at given location:
[packman12|https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_/] Repository type can't be dete
rmined.
Could not determine the type of the repository. Please check if the defined URIs (see below) point to a v
alid repository:https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_/

linux64:/home/stephan #
zypper lr -d
#  | Alias                       | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                             | Service
---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+--------+---------------------------------------------------------------------------------+--------
 1 | Google-Chrome               | Google-Chrome                                                                               | Yes     | (r ) Yes  | No      |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                             | 
 2 | google-chrome               | google-chrome                                                                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://dl.google.com/linux/chrome/rpm/stable/x86_64                            | 
 3 | openSUSE-Leap-15.6-1        | openSUSE-Leap-15.6-1                                                                        | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Corsair_Survivor_3.0_070848C458CA7568-0:0-part1 | 
 4 | packman                     | packman                                                                                     | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/             | 
 5 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/update/leap/15.6/backports_debug/                  | 
 6 | repo-backports-update       | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports/                        | 
 7 | repo-debug                  | Debug Repository                                                                            | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/             | 
 8 | repo-debug-non-oss          | Debug Repository (Non-OSS)                                                                  | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/         | 
 9 | repo-debug-update           | Update Repository (Debug)                                                                   | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/oss/                        | 
10 | repo-debug-update-non-oss   | Update Repository (Debug, Non-OSS)                                                          | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/non-oss/                    | 
11 | repo-non-oss                | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/               | 
12 | repo-openh264               | Open H.264 Codec (openSUSE Leap)                                                            | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/                              | 
13 | repo-oss                    | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/                   | 
14 | repo-sle-debug-update       | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/sle/                        | 
15 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/sle/                              | 
16 | repo-source                 | Source Repository                                                                           | No      | ----      | ----    |   99     | N/A    | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/            | 
17 | repo-update                 | Main Update Repository                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/oss/                              | 
18 | repo-update-non-oss         | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/non-oss/                          |

Please use Code-Tags, is easier to read:

Code-Tags

Post the complete outpu incl. the complete commandline of:
sudo zypper dist-upgrade --from packman --allow-vendor-change
and
sudo zypper install -f ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs

I am unfamiliar with code-tags, cant seem to find it anywhere. Sorry.

sudo zypper dist-upgrade --from packman --allow-vendor-change
[sudo] password for root: 
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following package is going to be upgraded:
  yt-dlp-bash-completion

The following package is going to change vendor:
  yt-dlp-bash-completion  openSUSE -> http://packman.links2linux.de

1 package to upgrade, 1 to change vendor.
Overall download size: 77.2 KiB. Already cached: 0 B. No additional space will be used or freed after the
operation.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: yt-dlp-bash-completion-2024.05.27-150600.2.pm.1.noarch (packman)              (1/1),  77.2 KiB    
Retrieving: yt-dlp-bash-completion-2024.05.27-150600.2.pm.1.noarch.rpm ....................[done (31.6 KiB/s)]

Checking for file conflicts: ...........................................................................[done]
(1/1) Installing: yt-dlp-bash-completion-2024.05.27-150600.2.pm.1.noarch ...............................[done]
 
icarus@Linuxbox564:~> sudo zypper install -f ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs

Loading repository data...
Reading installed packages...
Forcing installation of 'ffmpeg-3.4.2-150200.11.47.1.x86_64' from repository 'Update repository with updates from SUSE Linux Enterprise 15'.
'libavcodec' not found in package names. Trying capabilities.
'libavcodec57' providing 'libavcodec' is already installed.
'libavcodec58_134' providing 'libavcodec' is already installed.
'libavcodec61' providing 'libavcodec' is already installed.
Forcing installation of 'vlc-codecs-3.0.20-150600.2.pm.14.x86_64' from repository 'packman'.
Forcing installation of 'gstreamer-plugins-bad-1.24.0-lp156.2.3.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-good-1.24.0-150600.1.1.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-libav-1.22.0-bp156.2.9.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-ugly-1.24.0-150600.1.1.x86_64' from repository 'Main Repository'.
Resolving package dependencies...

Problem: 1: the installed ffmpeg-7-7.0-150600.2.pm.1.x86_64 conflicts with 'ffmpeg-tools' provided by the to be installed ffmpeg-3.4.2-150200.11.47.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of ffmpeg-7-7.0-150600.2.pm.1.x86_64
  do not install vlc-codecs-3.0.20-150600.2.pm.14.x86_64
  downgrade of libavcodec57-3.4.13-150600.1.pm.7.x86_64 to libavcodec57-3.4.2-150200.11.47.1.x86_64
  install libavcodec57-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavcodec57-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavformat57-3.4.13-150600.1.pm.7.x86_64 to libavformat57-3.4.2-150200.11.47.1.x86_64
  install libavformat57-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavformat57-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavutil55-3.4.13-150600.1.pm.7.x86_64 to libavutil55-3.4.2-150200.11.47.1.x86_64
  install libavutil55-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavutil55-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libpostproc54-3.4.13-150600.1.pm.7.x86_64 to libpostproc54-3.4.2-150200.11.47.1.x86_64
  install libpostproc54-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libpostproc54-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libswresample2-3.4.13-150600.1.pm.7.x86_64 to libswresample2-3.4.2-150200.11.47.1.x86_64
  install libswresample2-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libswresample2-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libswscale4-3.4.13-150600.1.pm.7.x86_64 to libswscale4-3.4.2-150200.11.47.1.x86_64
  install libswscale4-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libswscale4-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  deinstallation of vlc-codecs-3.0.20-150600.2.pm.14.x86_64
 Solution 2: do not install ffmpeg-3.4.2-150200.11.47.1.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
icarus@Linuxbox564:~>

@icarus the </> icon or use markdown…

I must be blind. I’m using Konsole to do the terminal and don’t see any options.

@icarus no when you post here in the thread :wink:

Screenshot from 2024-06-16 21-49-51

Or using markdown Basic Syntax | Markdown Guide

Whoops, embarrassing. I got it now.

sudo zypper dist-upgrade --from packman --allow-vendor-change
[sudo] password for root: 
Retrieving repository 'google-chrome' metadata .........................................................[done]
Building repository 'google-chrome' cache ..............................................................[done]
Retrieving repository 'packman' metadata ...............................................................[done]
Building repository 'packman' cache ....................................................................[done]
Retrieving repository 'Update repository of openSUSE Backports' metadata ...............................[done]
Building repository 'Update repository of openSUSE Backports' cache ....................................[done]
Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata ..........[done]
Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache ...............[done]
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following 8 packages are going to be upgraded:
  libpipewire-0_3-0 pipewire pipewire-lang pipewire-libjack-0_3 pipewire-modules-0_3 pipewire-spa-plugins-0_2
  pipewire-spa-tools pipewire-tools

8 packages to upgrade.
Overall download size: 4.7 MiB. Already cached: 0 B. No additional space will be used or freed after the
operation.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: pipewire-spa-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)        (1/8), 440.8 KiB    
Retrieving: pipewire-spa-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm .............[done (215.8 KiB/s)]
Retrieving: pipewire-spa-plugins-0_2-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)  (2/8),   1.2 MiB    
Retrieving: pipewire-spa-plugins-0_2-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm .........[done (1.2 MiB/s)]
Retrieving: pipewire-modules-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)     (3/8), 1007.0 KiB    
Retrieving: pipewire-modules-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm ...........[done (767.6 KiB/s)]
Retrieving: libpipewire-0_3-0-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)         (4/8), 542.9 KiB    
Retrieving: libpipewire-0_3-0-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm ..............[done (255.8 KiB/s)]
Retrieving: pipewire-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)            (5/8), 457.0 KiB    
Retrieving: pipewire-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm .................[done (431.6 KiB/s)]
Retrieving: pipewire-libjack-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)      (6/8), 413.4 KiB    
Retrieving: pipewire-libjack-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm ...........[done (207.6 KiB/s)]
Retrieving: pipewire-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 (packman)                  (7/8), 356.0 KiB    
Retrieving: pipewire-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64.rpm .......................[done (319.6 KiB/s)]
Retrieving: pipewire-lang-1.0.5+git36.60deeb2-150600.2.pm.19.noarch (packman)             (8/8), 360.1 KiB    
Retrieving: pipewire-lang-1.0.5+git36.60deeb2-150600.2.pm.19.noarch.rpm ..................[done (207.6 KiB/s)]

Checking for file conflicts: ...........................................................................[done]
(1/8) Installing: pipewire-spa-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 .........................[done]
(2/8) Installing: pipewire-spa-plugins-0_2-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 ...................[done]
(3/8) Installing: pipewire-modules-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 .......................[done]
(4/8) Installing: libpipewire-0_3-0-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 ..........................[done]
(5/8) Installing: pipewire-tools-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 .............................[done]
(6/8) Installing: pipewire-libjack-0_3-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 .......................[done]
(7/8) Installing: pipewire-1.0.5+git36.60deeb2-150600.2.pm.19.x86_64 ...................................[done]
(8/8) Installing: pipewire-lang-1.0.5+git36.60deeb2-150600.2.pm.19.noarch ..............................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
 
icarus@Linuxbox564:~> sudo zypper install -f ffmpeg gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs
Loading repository data...
Reading installed packages...
Forcing installation of 'ffmpeg-3.4.2-150200.11.47.1.x86_64' from repository 'Update repository with updates from SUSE Linux Enterprise 15'.
'libavcodec' not found in package names. Trying capabilities.
'libavcodec57' providing 'libavcodec' is already installed.
'libavcodec58_134' providing 'libavcodec' is already installed.
'libavcodec61' providing 'libavcodec' is already installed.
Forcing installation of 'vlc-codecs-3.0.20-150600.2.pm.14.x86_64' from repository 'packman'.
Forcing installation of 'gstreamer-plugins-bad-1.24.0-lp156.2.3.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-good-1.24.0-150600.1.1.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-libav-1.22.0-bp156.2.9.x86_64' from repository 'Main Repository'.
Forcing installation of 'gstreamer-plugins-ugly-1.24.0-150600.1.1.x86_64' from repository 'Main Repository'.
Resolving package dependencies...

Problem: 1: the installed ffmpeg-7-7.0-150600.2.pm.1.x86_64 conflicts with 'ffmpeg-tools' provided by the to be installed ffmpeg-3.4.2-150200.11.47.1.x86_64
 Solution 1: Following actions will be done:
  deinstallation of ffmpeg-7-7.0-150600.2.pm.1.x86_64
  do not install vlc-codecs-3.0.20-150600.2.pm.14.x86_64
  downgrade of libavcodec57-3.4.13-150600.1.pm.7.x86_64 to libavcodec57-3.4.2-150200.11.47.1.x86_64
  install libavcodec57-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavcodec57-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavdevice57-3.4.13-150600.1.pm.7.x86_64 to libavdevice57-3.4.2-150200.11.47.1.x86_64
  install libavdevice57-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavdevice57-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavfilter6-3.4.13-150600.1.pm.7.x86_64 to libavfilter6-3.4.2-150200.11.47.1.x86_64
  install libavfilter6-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavfilter6-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavformat57-3.4.13-150600.1.pm.7.x86_64 to libavformat57-3.4.2-150200.11.47.1.x86_64
  install libavformat57-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavformat57-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavresample3-3.4.13-150600.1.pm.7.x86_64 to libavresample3-3.4.2-150200.11.47.1.x86_64
  install libavresample3-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavresample3-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libavutil55-3.4.13-150600.1.pm.7.x86_64 to libavutil55-3.4.2-150200.11.47.1.x86_64
  install libavutil55-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libavutil55-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libpostproc54-3.4.13-150600.1.pm.7.x86_64 to libpostproc54-3.4.2-150200.11.47.1.x86_64
  install libpostproc54-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libpostproc54-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libswresample2-3.4.13-150600.1.pm.7.x86_64 to libswresample2-3.4.2-150200.11.47.1.x86_64
  install libswresample2-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libswresample2-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  downgrade of libswscale4-3.4.13-150600.1.pm.7.x86_64 to libswscale4-3.4.2-150200.11.47.1.x86_64
  install libswscale4-3.4.2-150200.11.47.1.x86_64 from vendor SUSE LLC <https://www.suse.com/>
    replacing libswscale4-3.4.13-150600.1.pm.7.x86_64 from vendor http://packman.links2linux.de
  deinstallation of vlc-codecs-3.0.20-150600.2.pm.14.x86_64
 Solution 2: do not install ffmpeg-3.4.2-150200.11.47.1.x86_64

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
icarus@Linuxbox564:~> 

I would deinstall ffmpeg-3 and install ffmpeg-7


zypper rm ffmpeg-3

I was experiencing some other weird issues, so I reimaged the laptop. That fixed Kaffiene but VLC came up black still. I turned off hardware acceleration and that fixed it. So I’m good to go playing videos on VLC and Kaffiene. However, Mplayer and MPV Player do not launch, but that is another topic.
Thanks for looking into this.

Got Mplayer and MPV player working, just had to install libjack0.