r/openSUSE • u/ZenitDS • 6d ago
Installing openh264 codecs
Hi,
I think that I am missing something on the H264 codecs but cannot figure out how to install what I am missing.
Both in OBS the other day and today with VLC it states that there is an error with the H264 codec because of it being missing.
Furthermore, mp4 files do not play either in VLC.
Cheers. zen
12
Upvotes
9
u/klyith 6d ago
Those programs can't get h264 codecs from open264.
Use flatpaks or packman.
4
u/carreganis 6d ago
The easiest way is just to use flatpak versions of all the apps you need codecs for and delete the RPM versions. Flatpaks come with their own codecs whereas Opensuse’s repos don’t distribute them.
But if you need codecs from zypper you can use either the VLC Tumbleweed repo (I tried this and experienced a lot of issues with updates). https://www.videolan.org/vlc/download-suse.html
Or you can use the opi method which enables Pacman repos for codecs (not officially supported, i don’t know if this causes conflicts often but it probably does). https://en.opensuse.org/SDB:Installing_codecs_from_Packman_repositories#Option_5:_OBS_Package_Installer
7
u/Tall-Oil1717 6d ago
zypper in opi opi codecs
2
u/Weak_Coat_9036 Tumbleweed 5d ago
use vlc own zypper repo and install vlc from it and ffmpeg, use "zypper install from VLC", and adjust the priority of vlc repo to the highest, these other comments on this post are useless
2
u/Ok_Opposite7385 6d ago
With Flatpsk, Snap, and AppImage, we're turning a Linux advantage into a Windows-like operation. Previously, Linux's ability to share libraries and code was an advantage, Now each application has its own libraries and code, just for it.
-4
u/Jedibeeftrix TW 6d ago
install tw
uninstall: firefox, vlc, and obs too
install: flatpak versions of each.