How to Get MP4/H.264 Working on OpenSuSE Tumbleweed

How to Get MP4/H.264 Working on OpenSuSE Tumbleweed

tryed that one:


 sudo zypper addrepo -f http://packman.inode.at/suse/openSUSE_Tumbleweed/ packman
sudo zypper install vlc vlc-codecs k3b-codecs ffmpeg lame gstreamer-plugins-libav gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-good gstreamer-fluendo-mp3 libdvdcss2^C
sudo zypper dist-upgrade --from packman

error with

sox-14.4.2-5.5.x86_64
vlc-vdpau-3.0.6-7.1.x86_64
libvlc5-3.0.6-7.1.x86_64
libgstcodecparsers-1_0-0-1.14.4-4.1.x86_64
libvlccore9-3.0.6-7.1.x86_64
libgstisoff-1_0-0-1.14.4-4.1.x86_64
libgstadaptivedemux-1_0-0-1.14.4-4.1.x86_64
vlc-3.0.6-7.1.x86_64
libgsturidownloader-1_0-0-1.14.4-4.1.x86_64
libgstwebrtc-1_0-0-1.14.4-4.1.x86_64
libgstbasecamerabinsrc-1_0-0-1.14.4-4.1.x86_64
libquicktime0-1.2.4+git20180207.666c35c-1.5.x86_64
bgstmpegts-1_0-0-1.14.4-4.1.x86_64
vlc-codec-gstreamer-3.0.6-7.1.x86_64
libgstwayland-1_0-0-1.14.4-4.1.x86_64
libsox3-14.4.2-5.5.x86_64
vlc-noX-3.0.6-7.1.x86_64
libgstbadvideo-1_0-0-1.14.4-4.1.x86_64
libgstphotography-1_0-0-1.14.4-4.1.x86_64
vlc-qt-3.0.6-7.1.x86_64
gstreamer-plugins-bad-lang-1.14.4-4.1.noarch
vlc-lang-3.0.6-7.1.noarch
gstreamer-plugins-ugly-lang-1.14.4-1.2.noarch

You don’t say what error.

I would expect a bunch of conflicts with those commands. You need to add

--allow-vendor-change

to avoid conflicts related to vendor change.

Try

zypper dup --allow-vendor-change --from packman

here is the error code:

sudo zypper install vlc vlc-codecs k3b-codecs ffmpeg lame gstreamer-plugins-libav gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-good gstreamer-fluendo-mp3 libdvdcss2^C
Loading repository data...
Reading installed packages...
Package 'gstreamer-fluendo-mp3' not found.
Package 'k3b-codecs' not found.
'gstreamer-plugins-bad' is already installed.
There is an update candidate for 'gstreamer-plugins-bad' from vendor 'obs://build.opensuse.org/multimedia', while the current vendor is 'openSUSE'. Use 'zypper install gstreamer-plugins-bad-1.14.4-260.5.x86_64' to install this candidate.
'gstreamer-plugins-good' is already installed.
There is an update candidate for 'gstreamer-plugins-good' from vendor 'obs://build.opensuse.org/multimedia', while the current vendor is 'openSUSE'. Use 'zypper install gstreamer-plugins-good-1.14.4-140.10.x86_64' to install this candidate.
'gstreamer-plugins-ugly' is already installed.
There is an update candidate for 'gstreamer-plugins-ugly' from vendor 'obs://build.opensuse.org/multimedia', while the current vendor is 'openSUSE'. Use 'zypper install gstreamer-plugins-ugly-1.14.4-122.10.x86_64' to install this candidate.
'vlc' is already installed.
There is an update candidate for 'vlc' from vendor 'obs://build.opensuse.org/multimedia', while the current vendor is 'openSUSE'. Use 'zypper install vlc-3.0.6-285.3.x86_64' to install this candidate.
'lame' is already installed.
No update candidate for 'lame-3.100-10.18.x86_64'. The highest available version is already installed.
'libdvdcss2^C' not found in package names. Trying capabilities.
No provider of 'libdvdcss2^C' found.

if i install zypper install vlc-3.0.6-285.3.x86_64

i get:


sudo zypper install vlc-3.0.6-285.3.x86_64
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: vlc-3.0.6-285.3.x86_64 requires vlc-noX = 3.0.6-285.3, but this requirement cannot be provided
  not installable providers: vlc-noX-3.0.6-285.3.i586[http-download.opensuse.org-fdcfc0bf]
                   vlc-noX-3.0.6-285.3.x86_64[http-download.opensuse.org-fdcfc0bf]
 Solution 1: install vlc-noX-3.0.6-285.3.x86_64 (with vendor change)
  openSUSE  -->  obs://build.opensuse.org/multimedia
 Solution 2: do not install vlc-3.0.6-285.3.x86_64
 Solution 3: break vlc-3.0.6-285.3.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c)

if i try 1:

esolving dependencies...
Resolving package dependencies...
2 Problems:
Problem: vlc-qt-3.0.6-7.1.x86_64 requires vlc-noX = 3.0.6-7.1, but this requirement cannot be provided
Problem: vlc-3.0.6-285.3.x86_64 requires vlc-noX = 3.0.6-285.3, but this requirement cannot be provided

Problem: vlc-qt-3.0.6-7.1.x86_64 requires vlc-noX = 3.0.6-7.1, but this requirement cannot be provided
 Solution 1: install vlc-qt-3.0.6-285.3.x86_64 (with vendor change)
  openSUSE  -->  obs://build.opensuse.org/multimedia
 Solution 2: do not install vlc-noX-3.0.6-285.3.x86_64
 Solution 3: break vlc-qt-3.0.6-7.1.x86_64 by ignoring some of its dependencies

I’m suspecting that your problems are all from that obs multimedia repo. I’m not using that.

“gstreamer-fluendo-mp3” : I’m not finding anything related to “fluendo”. I seem to recall that being used in the past for license requirements, but no longer needed because the relevant patents have expired.

“k3b-codecs”: I’m not finding that, either. Again, I think that’s history now that patents have expired.

“gstreamer-plugins-bad”: for me, that is coming from packman.
“gstreamer-plugins-ugly”: also coming from packman
“gstreamer-plugins-good”: I am getting that from the main openSUSE repo
“lame” is coming from the main repo, and “vlc” is coming from packman.

“libdvdcss2”: You might have a typo somewhere. I’m getting “libdvdcss2” from

http://opensuse-guide.org/repo/openSUSE_Leap_15.1/

My suggestion: disable that multimedia obs repo, and try to get everything sorted out without that repo. Then if you really still need something from the multimedia repo, you can try adding that later.

As you can see, multimedia repo and packman is no good choice…

So post:

zypper lr -d

But why did ubuntu or openmandriva works better out of the box with that?
I guess something is wrong with opensuse here.

Note the name openSUSE. it is only open source if you want/need proprietary stuff you have to install it… Other distro’s often include proprietary codecs openSUSE does not.

Hi
Looks like a user error :wink: Perhaps understanding how OBS and packman works, the packman build service in a lot of cases (especially multimedia) is just an external rebuild service (as in third party) that enables the non-oss features and rebuilds.

For example, package X is built and maintained on the openSUSE Build Service and conditions (bcond in OBS speak) are set to disable feature Y, what the packman build service does is create a link to it from the openSUSE build service and then ‘enable’ feature Y and rebuild. So if you have package X OBS repository active (with feature Y disabled) and packman repository active containing package X (with feature Y enabled) of course you will get conflicts…

The reason is packman resources (both hardware and human) to reduce the package maintenance load where in a lot of cases stuff was copied over changed to enable feature Y and rebuilt, now the bulk of it is automated in it’s all maintained in one place, but built on two build instances… hope that all makes sense?

I would suggest just using openSUSE oss, non-oss (if required) and then packman for you multimedia needs.

If there are specific packages you are wanting (and multimedia related), ask the third party repository folks to enable a build there?