[SOLVED] OpenSUSE browser video playback issues

Hi all,

Switched to OpenSUSE Tumbleweed and I'm having a blast so far. Only issue for me so far is that I'm having a hell of a time getting browsers to play youtube videos. Firefox and Chrome give a generic "there was a problem playing this video" error and vivaldi complains of no available codecs, although the youtube diagnostics page says it's got everything except the h264 codecs available.

I remember other distros would supply a codec package for this, but I couldn't find a package in the main repos. Is there a package that can be found to handle codec installation?

I am not very knowledgeable on this topic but if you install VLC wouldn't that be enough. I always install vlc after fresh install of oS and until now I didn't have any problems.

can't get VLC to play the videos either. it pulls one frame and gives up.

Definitely a good stopgap if I could get it working...

I have been running opensuse for years and I have never had an issue with chrome playing youtube videos. Did you get chrome from a repo or did you download the RPM from the google chrome website?

Firefox and chromium usually have issues when it comes to the flash plug in, but I don't think that is what is going on here.

First things first. Open up a terminal and type sudo zypper dup. That will give you all the updates you need and zypper will resolve any dependencies that might be missing or corrupted. Restart your computer and see if that fixed it.

If it did not, then you are missing some codecs which is a pretty dang easy problem to fix.

Open up a terminal and type this command

zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/packman

(everything in that block is supposed to be on a single line. The forum wants to break it up because of the hyperlink. Just copy and paste it so that it is a single command in your command line)

Then type in this command

zypper install k3b-codecs ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav

(again, that is supposed to be all on one line)

That will give you all of your H.264 and MP3 codecs.

1 Like

I've been kinda crossing my fingers you'd find this thread since I knew you were one of the regular opensuse users on the forum. I'm actually using chromium. I'm really new to opensuse, so proper noob guidelines probably apply here. (I'm not new to Linux through, just suse and rpm based)

I installed chromium from the factory repository. kinda just googled opensuse chromium, followed this link and was off to the races.

As it turns out, I can watch pre-recorded videos, but live streams don't work. Not as much of an issue now.

I've followed your guide now, and had previously had the packman repo added.

This appears to have solved my problem. Thank you very much!

Also, Damn, zypper is impressive, but it's a bit slow when running search and install. Any way to speed this up?

I mean if you or anyone else has opensuse questions, please don't hesitate to PM me or get my attention through using the @ symbol.

I know you kind of solved your issue, but I want to solve it completely.

When you install chromium, you also need a package called pepper flash. This SHOULD give you the ability to watch live streams and everything else.

If you simply run zypper se pepper, you should find the package. And then from there just install it.

However I find that there are some random issues when you do things this way.

As much as people don't care for google in the linux world, I would highly suggest you just go to the google chrome site and download the rpm.

https://www.google.com/chrome/browser/desktop/index.html

If you click download, you will get an option of a .deb package or a .rpm. Obviously you want the rpm file.

When it downloads, just double click it and it will launch yast.

Click yes yes yes yes about a billion times. It will eventually throw you an error about something stupid. I think it says something to the effect of yast can not verify the package so it might break. If you just hit ignore and ok, everything will install fine.

Vanilla chrome works great with everything out of the box. You do not need any weird repos or extra packages. It just works.


As for zypper running slow. There is a way however I am not sure if it works anymore.

https://forum.level1techs.com/t/how-to-cut-your-package-install-time-in-1-2-aria-2c-ubuntu-opensuse-arch-wip/77314

I tried this on opensuse 13.2 and it worked great. You basically end up downloading several packages concurrently to the point where it saturates your internet bandwidth.

Its a pretty nifty trick if it still works.

1 Like

Sweet. Thanks for adding this! I'll give that thread a look as well.

EDIT: that appears to have sped things up a bit. Thanks again!

I know this is old but I’m having similar problems. I did a fresh install of Tumbleweed. I prefer Opera, but Udemy and Youtube don’t work. In firefox youtube works but udemy doesn’t.

I followed this: https://en.opensuse.org/SDB:Firefox_MP4/H.264_Video_Support
Udemy works in firefox, but nothing in opera.

I ran it and got this error:

# zypper ar -f -n packman http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/packman
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).

Also:

# zypper install k3b-codecs ffmpeg lame gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon gstreamer-plugins-libav 
Loading repository data...
Reading installed packages...
Package 'k3b-codecs' not found.
'ffmpeg' not found in package names. Trying capabilities.
'ffmpeg-4' providing 'ffmpeg' is already installed.
Resolving package dependencies...

The following 33 NEW packages are going to be installed:
  gstreamer-libnice gstreamer-plugins-bad gstreamer-plugins-bad-lang gstreamer-plugins-libav
  gstreamer-plugins-ugly gstreamer-plugins-ugly-lang gstreamer-plugins-ugly-orig-addon lame
  libbs2b0 libgssdp-1_0-3 libgstadaptivedemux-1_0-0 libgstbadaudio-1_0-0 libgstbadvideo-1_0-0
  libgstbasecamerabinsrc-1_0-0 libgstcodecparsers-1_0-0 libgstisoff-1_0-0 libgstmpegts-1_0-0
  libgsturidownloader-1_0-0 libgstwayland-1_0-0 libgstwebrtc-1_0-0 libgupnp-1_0-4
  libgupnp-igd-1_0-4 liblrdf2 libmms0 libmpcdec5 libnice10 libofa0 libopencore-amrnb0
  libopencore-amrwb0 libSoundTouch1 libspandsp2 libsrtp2-1 libzbar0

33 new packages to install.
Overall download size: 4.5 MiB. Already cached: 0 B. After the operation, additional 10.2 MiB
will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package gstreamer-plugins-libav-1.14.4-38.5.x86_64
                                                       (1/33), 169.3 KiB (272.0 KiB unpacked)
Retrieving: gstreamer-plugins-libav-1.14.4-38.5.x86_64.rpm ...............[done (14.3 KiB/s)]
Retrieving package libgstwebrtc-1_0-0-1.14.4-4.7.x86_64
                                                       (2/33),  99.3 KiB ( 38.5 KiB unpacked)
Retrieving: libgstwebrtc-1_0-0-1.14.4-4.7.x86_64.rpm ..................................[done]
Retrieving package libgstbadaudio-1_0-0-1.14.4-4.7.x86_64
                                                       (3/33), 108.7 KiB ( 59.3 KiB unpacked)
Retrieving: libgstbadaudio-1_0-0-1.14.4-4.7.x86_64.rpm ................................[done]
Retrieving package libopencore-amrnb0-0.1.5-1.16.x86_64
                                                       (4/33),  98.7 KiB (176.2 KiB unpacked)
Retrieving: libopencore-amrnb0-0.1.5-1.16.x86_64.rpm ..................................[done]
Retrieving package libgstisoff-1_0-0-1.14.4-4.7.x86_64 (5/33),  97.7 KiB ( 22.1 KiB unpacked)
Retrieving: libgstisoff-1_0-0-1.14.4-4.7.x86_64.rpm ...................................[done]
Retrieving package libgstwayland-1_0-0-1.14.4-4.7.x86_64
                                                       (6/33),  93.4 KiB ( 14.1 KiB unpacked)
Retrieving: libgstwayland-1_0-0-1.14.4-4.7.x86_64.rpm .......................[done (964 B/s)]
Retrieving package libgstcodecparsers-1_0-0-1.14.4-4.7.x86_64
                                                       (7/33), 195.4 KiB (278.4 KiB unpacked)
Retrieving: libgstcodecparsers-1_0-0-1.14.4-4.7.x86_64.rpm ............................[done]
Retrieving package libgsturidownloader-1_0-0-1.14.4-4.7.x86_64
                                                       (8/33), 100.2 KiB ( 34.9 KiB unpacked)
Retrieving: libgsturidownloader-1_0-0-1.14.4-4.7.x86_64.rpm ...........................[done]
Retrieving package libgstmpegts-1_0-0-1.14.4-4.7.x86_64
                                                       (9/33), 135.3 KiB (170.5 KiB unpacked)
Retrieving: libgstmpegts-1_0-0-1.14.4-4.7.x86_64.rpm ..................................[done]
Retrieving package libgstbasecamerabinsrc-1_0-0-1.14.4-4.7.x86_64
                                                      (10/33), 100.1 KiB ( 34.7 KiB unpacked)
Retrieving: libgstbasecamerabinsrc-1_0-0-1.14.4-4.7.x86_64.rpm ........................[done]
Retrieving package libgstbadvideo-1_0-0-1.14.4-4.7.x86_64
                                                      (11/33), 111.3 KiB ( 63.4 KiB unpacked)
Retrieving: libgstbadvideo-1_0-0-1.14.4-4.7.x86_64.rpm ................................[done]
Retrieving package gstreamer-plugins-ugly-1.14.4-4.4.x86_64
                                                      (12/33), 165.3 KiB (397.8 KiB unpacked)
Retrieving: gstreamer-plugins-ugly-1.14.4-4.4.x86_64.rpm ....................[done (963 B/s)]
Retrieving package libopencore-amrwb0-0.1.5-1.16.x86_64
                                                      (13/33),  54.2 KiB ( 92.1 KiB unpacked)
Retrieving: libopencore-amrwb0-0.1.5-1.16.x86_64.rpm ..................................[done]
Retrieving package libgstadaptivedemux-1_0-0-1.14.4-4.7.x86_64
                                                      (14/33), 127.0 KiB (103.6 KiB unpacked)
Retrieving: libgstadaptivedemux-1_0-0-1.14.4-4.7.x86_64.rpm ...........................[done]
Retrieving package gstreamer-plugins-ugly-orig-addon-1.14.4-4.4.x86_64
                                                      (15/33), 127.0 KiB (253.5 KiB unpacked)
Retrieving: gstreamer-plugins-ugly-orig-addon-1.14.4-4.4.x86_64.rpm ...................[done]
Retrieving package lame-3.100-1.2.x86_64              (16/33),  55.8 KiB (101.1 KiB unpacked)
Retrieving: lame-3.100-1.2.x86_64.rpm .....................................[done (9.2 KiB/s)]
Retrieving package libSoundTouch1-2.1.0-1.1.x86_64    (17/33),  50.5 KiB (110.8 KiB unpacked)
Retrieving: libSoundTouch1-2.1.0-1.1.x86_64.rpm .......................................[done]
Retrieving package libbs2b0-3.1.0-11.9.x86_64         (18/33),  17.2 KiB ( 31.5 KiB unpacked)
Retrieving: libbs2b0-3.1.0-11.9.x86_64.rpm ............................................[done]
Retrieving package libgssdp-1_0-3-1.0.2-2.3.x86_64    (19/33),  53.1 KiB (122.3 KiB unpacked)
Retrieving: libgssdp-1_0-3-1.0.2-2.3.x86_64.rpm .......................................[done]
Retrieving package liblrdf2-0.5.0-3.2.x86_64          (20/33),  26.4 KiB ( 44.6 KiB unpacked)
Retrieving: liblrdf2-0.5.0-3.2.x86_64.rpm .............................................[done]
Retrieving package libmms0-0.6.4-5.6.x86_64           (21/33),  49.0 KiB (115.1 KiB unpacked)
Retrieving: libmms0-0.6.4-5.6.x86_64.rpm ..............................................[done]
Retrieving package libmpcdec5-1.2.6-34.10.x86_64      (22/33),  24.0 KiB ( 38.5 KiB unpacked)
Retrieving: libmpcdec5-1.2.6-34.10.x86_64.rpm .........................................[done]
Retrieving package libofa0-0.9.3-103.3.x86_64         (23/33),  40.3 KiB ( 92.0 KiB unpacked)
Retrieving: libofa0-0.9.3-103.3.x86_64.rpm ............................................[done]
Retrieving package libspandsp2-0.0.6-1.14.x86_64      (24/33), 270.3 KiB (796.6 KiB unpacked)
Retrieving: libspandsp2-0.0.6-1.14.x86_64.rpm .........................................[done]
Retrieving package libsrtp2-1-2.1.0-1.5.x86_64        (25/33),  40.3 KiB ( 87.2 KiB unpacked)
Retrieving: libsrtp2-1-2.1.0-1.5.x86_64.rpm ...........................................[done]
Retrieving package libzbar0-0.10_2013_02_28-6.4.x86_64
                                                      (26/33), 112.0 KiB (231.9 KiB unpacked)
Retrieving: libzbar0-0.10_2013_02_28-6.4.x86_64.rpm ...................................[done]
Retrieving package gstreamer-plugins-ugly-lang-1.14.4-1.1.noarch
                                                      (27/33),  63.1 KiB ( 54.3 KiB unpacked)
Retrieving: gstreamer-plugins-ugly-lang-1.14.4-1.1.noarch.rpm .........................[done]
Retrieving package libgupnp-1_0-4-1.0.3-1.1.x86_64    (28/33), 105.6 KiB (289.4 KiB unpacked)
Retrieving: libgupnp-1_0-4-1.0.3-1.1.x86_64.rpm .......................................[done]
Retrieving package libgupnp-igd-1_0-4-0.2.5-2.2.x86_64
                                                      (29/33),  33.6 KiB ( 63.3 KiB unpacked)
Retrieving: libgupnp-igd-1_0-4-0.2.5-2.2.x86_64.rpm ...................................[done]
Retrieving package libnice10-0.1.14-2.3.x86_64        (30/33), 131.8 KiB (297.0 KiB unpacked)
Retrieving: libnice10-0.1.14-2.3.x86_64.rpm .................................[done (984 B/s)]
Retrieving package gstreamer-libnice-0.1.14-2.3.x86_64
                                                      (31/33),  27.6 KiB ( 34.9 KiB unpacked)
Retrieving: gstreamer-libnice-0.1.14-2.3.x86_64.rpm ...................................[done]
Retrieving package gstreamer-plugins-bad-1.14.4-4.7.x86_64
                                                      (32/33),   1.6 MiB (  5.7 MiB unpacked)
Retrieving: gstreamer-plugins-bad-1.14.4-4.7.x86_64.rpm .................[done (415.1 KiB/s)]
Retrieving package gstreamer-plugins-bad-lang-1.14.4-1.2.noarch
                                                      (33/33), 114.9 KiB (102.7 KiB unpacked)
Retrieving: gstreamer-plugins-bad-lang-1.14.4-1.2.noarch.rpm ..........................[done]
Checking for file conflicts: ..........................................................[done]
( 1/33) Installing: gstreamer-plugins-libav-1.14.4-38.5.x86_64 ........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/gstreamer-plugins-libav-1.14.4-38.5.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                          


( 2/33) Installing: libgstwebrtc-1_0-0-1.14.4-4.7.x86_64 ..............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstwebrtc-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                                


( 3/33) Installing: libgstbadaudio-1_0-0-1.14.4-4.7.x86_64 ............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstbadaudio-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                              


( 4/33) Installing: libopencore-amrnb0-0.1.5-1.16.x86_64 ..............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libopencore-amrnb0-0.1.5-1.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                                


( 5/33) Installing: libgstisoff-1_0-0-1.14.4-4.7.x86_64 ...............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstisoff-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                                 


( 6/33) Installing: libgstwayland-1_0-0-1.14.4-4.7.x86_64 .............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstwayland-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                               


( 7/33) Installing: libgstcodecparsers-1_0-0-1.14.4-4.7.x86_64 ........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstcodecparsers-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                          


( 8/33) Installing: libgsturidownloader-1_0-0-1.14.4-4.7.x86_64 .......................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgsturidownloader-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                         


( 9/33) Installing: libgstmpegts-1_0-0-1.14.4-4.7.x86_64 ..............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstmpegts-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                                


(10/33) Installing: libgstbasecamerabinsrc-1_0-0-1.14.4-4.7.x86_64 ....................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstbasecamerabinsrc-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                      


(11/33) Installing: libgstbadvideo-1_0-0-1.14.4-4.7.x86_64 ............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstbadvideo-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                              


(12/33) Installing: gstreamer-plugins-ugly-1.14.4-4.4.x86_64 ..........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/gstreamer-plugins-ugly-1.14.4-4.4.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                            


(13/33) Installing: libopencore-amrwb0-0.1.5-1.16.x86_64 ..............................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libopencore-amrwb0-0.1.5-1.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                                


(14/33) Installing: libgstadaptivedemux-1_0-0-1.14.4-4.7.x86_64 .......................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libgstadaptivedemux-1_0-0-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY                         


(15/33) Installing: gstreamer-plugins-ugly-orig-addon-1.14.4-4.4.x86_64 ...............[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/gstreamer-plugins-ugly-orig-addon-1.14.4-4.4.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY


(16/33) Installing: lame-3.100-1.2.x86_64 .............................................[done]
(17/33) Installing: libSoundTouch1-2.1.0-1.1.x86_64 ...................................[done]
(18/33) Installing: libbs2b0-3.1.0-11.9.x86_64 ........................................[done]
(19/33) Installing: libgssdp-1_0-3-1.0.2-2.3.x86_64 ...................................[done]
(20/33) Installing: liblrdf2-0.5.0-3.2.x86_64 .........................................[done]
(21/33) Installing: libmms0-0.6.4-5.6.x86_64 ..........................................[done]
(22/33) Installing: libmpcdec5-1.2.6-34.10.x86_64 .....................................[done]
(23/33) Installing: libofa0-0.9.3-103.3.x86_64 ........................................[done]
(24/33) Installing: libspandsp2-0.0.6-1.14.x86_64 .....................................[done]
(25/33) Installing: libsrtp2-1-2.1.0-1.5.x86_64 .......................................[done]
(26/33) Installing: libzbar0-0.10_2013_02_28-6.4.x86_64 ...............................[done]
(27/33) Installing: gstreamer-plugins-ugly-lang-1.14.4-1.1.noarch .....................[done]
(28/33) Installing: libgupnp-1_0-4-1.0.3-1.1.x86_64 ...................................[done]
(29/33) Installing: libgupnp-igd-1_0-4-0.2.5-2.2.x86_64 ...............................[done]
(30/33) Installing: libnice10-0.1.14-2.3.x86_64 .......................................[done]
(31/33) Installing: gstreamer-libnice-0.1.14-2.3.x86_64 ...............................[done]
(32/33) Installing: gstreamer-plugins-bad-1.14.4-4.7.x86_64 ...........................[done]
Additional rpm output:
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/gstreamer-plugins-bad-1.14.4-4.7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY


(33/33) Installing: gstreamer-plugins-bad-lang-1.14.4-1.2.noarch ......................[done]
Installation has completed with error.

Then I tried installing Chromium, Discover opened and upon installing, it gave me “Internal error” message.