Codecs
Overview
Some multimedia codecs and implementations are subject to patent licensing requirements or other legal restrictions. Depending on the format and applicable licensing terms, this can limit what the openSUSE Project can distribute in its official repositories.
The official openSUSE repositories provide multimedia software and support for a range of common formats. Some proprietary or patent-encumbered codecs and additional multimedia functionality may require packages from other sources.
Packman has traditionally provided a broad selection of additional multimedia packages for openSUSE. Packman's future has recently been the subject of uncertainty following an announcement that its existing maintainers intended to step down. Other long-time contributors have since offered to take over the project, and the planned discontinuation has been cancelled. The handover is ongoing, so users should follow further announcements for updates.
There is no single replacement that necessarily provides all the functionality available through Packman.
Understanding Codec Support
Codec support is not a single system-wide setting. Different applications may use different multimedia libraries and therefore support different formats on the same system.
Playback and Encoding
Being able to play a media file does not necessarily mean that the system can encode media into the same format.
For example, an application may support H.264 playback but lack the encoder required to produce H.264 video. Encoding applications may also require additional libraries or plugins.
H.264 and H.265/HEVC
H.264 and H.265/HEVC support depends on the application, installed libraries, and available codec implementations.
Support for one format does not imply support for the other. Browser playback, local media playback, and video encoding should be considered separately.
openSUSE also provides OpenH264 packages through its dedicated OpenH264 repository. These provide H.264 support for compatible applications but should not be regarded as a general replacement for all H.264 codec implementations or multimedia functionality.
See the OpenH264 installation guide for further information.
Choosing a Codec Solution
Official openSUSE Repositories
Start with the official repositories if you primarily browse the web, play common audio and video formats, or use standard desktop applications.
The available functionality depends on the openSUSE release and the packages installed. If a particular format does not work, first identify the application and the codec or feature it requires.
Flatpak Applications
Flatpak applications can be a convenient alternative when a particular application needs additional multimedia functionality.
Applications may use their own bundled libraries or dependencies supplied through their Flatpak runtime and extensions. This can reduce the need to install additional multimedia packages system-wide or introduce third-party RPM repositories.
This approach can be particularly useful when only a small number of applications require additional codec support.
Codec support varies by application and its packaging. Hardware acceleration, sandbox permissions, integration with the desktop, and support for specialised formats should be checked individually.
See Flatpak for further information.
VideoLAN Repository
The VideoLAN repository provides multimedia packages for openSUSE and may be suitable for users who require additional codecs while preferring RPM packages.
However, it should not be assumed to be a complete drop-in replacement for Packman. Package availability, dependencies, supported architectures, and multimedia functionality can differ.
Before switching repositories, check that the packages required by your applications are available and compatible with your openSUSE release.
For instructions on installing FFmpeg packages from the VideoLAN repository, see the Installing FFmpeg from the VLC repository guide.
Packman Repository
Packman provides additional multimedia packages for openSUSE, including codec implementations and libraries that may not be available in the official repositories.
It is an independent, community-maintained repository and is not officially supported by the openSUSE Project. Its packages may differ from official packages in build options, dependencies, and licensing.
Packman offers different repository selections, including Packman Essentials, which focuses on commonly required multimedia components. Users who only need additional codecs may find this sufficient rather than requiring the full Packman repository.
Some commonly encountered Packman packages include:
- `ffmpeg`
- `libavcodec-full`
- `vlc-codecs`
- `gstreamer-plugins-bad-codecs`
- `gstreamer-plugins-ugly-codecs`
- `gstreamer-plugins-libav`
The exact packages required depend on the application and functionality being used.
Installing multimedia packages from Packman can involve vendor changes, particularly where Packman provides alternative builds of packages also available from the official repositories.
Users should understand the implications of repository mixing and vendor changes before proceeding. A blanket switch of all installed packages to Packman is not necessarily required for every multimedia requirement.
Existing Packman Users
Users who already have packages installed from Packman should review their dependencies before disabling or removing the repository.
Disabling a repository does not automatically remove packages previously installed from it. Subsequent package operations may propose vendor changes, downgrades, or removals.
Before switching to another package source:
- Identify the multimedia packages and applications you rely on.
- Check whether replacement packages provide the required functionality.
- Review the changes proposed by Zypper before accepting a transaction.
- Pay particular attention to dependencies involving FFmpeg, GStreamer, Wine and 32-bit libraries, where applicable.
Do not assume that replacing FFmpeg alone will resolve every multimedia dependency. The appropriate procedure depends on the openSUSE release, installed packages, and repositories in use. If you are unsure, ask on the openSUSE Forums.