~Rami ₪ MANUALS
רמי
SUBJECT: Fedora: RPMFusion - дополнительные кодеки и поддержка hardware
AUTHOR: Rami Rosenfeld
DATE: 07/12/23
TIME: 01.00
LANG: ru, en
LICENSE: GNU FDL 1.3
TAGS: gnu, gnome, software, opensource, linux, system, man, manual, bash, privacy, security, rhel, centos, mate, xfce, lxde, spin, de, systemd, systemctl, selinux, firewalld, dnf, rpm, ostree, flatpak, siverblue, codec, gstreamer, ffmpeg
Fedora: RPMFusion - дополнительные кодеки и поддержка hardware
INTRO
Предварительно см.:
Из-за лицензионных ограничений Fedora GNU/Linux не содержит некоторые мультимедийные кодеки. Ниже - краткое руководство по инсталляции дополнительных пакетов из репозитория RPMFusion.
ВАЖНО! Руководство с сайта RPMFusion приводится без изменений и перевода. Я НЕ(!) тестировал его, т.к. у меня не возникало необходимости в установке дополнительных мультимедийных пакетов (и за неимением дискретных видеокарт на имеющемся оборудовании). Однако решил сохранить эту информацию: возможно, она пригодится в дальнейшей работе.
Используйте это руководство только в случае, если у вас действительно возникли трудности в воспроизведении мультимедиа.
NOTE
- Переход на полную версию FFMPEG
Fedora ffmpeg-free works most of the time, but one will experience version missmatch from time to time. Switch to the rpmfusion provided ffmpeg build that is better supported. You will still need to follow the next section for additional codecs or plugins related to packages you might have installed.
dnf swap ffmpeg-free ffmpeg --allowerasing
There you don't need libavcodec-freeworld that is only meant to complement the ffmpeg-free package (and related libraries).
- Установка дополнительных кодеков GSTREAMER
This will allows the application using the gstreamer framework and other multimedia software, to play others restricted codecs.
- The following command will install the complements multimedia packages needed by gstreamer enabled applications:
dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
- The following command will install the sound-and-video complement packages needed by some applications:
dnf groupupdate sound-and-video
- Кодеки для hardware
1) Intel (recent)
Using the rpmfusion-nonfree section:
dnf install intel-media-driver
2) Intel (older)
Using the rpmfusion-free section:
dnf install libva-intel-driver
3) AMD (Mesa) hardware codecs
Using the rpmfusion-free section This is needed since Fedora 37 and later... and mainly concern AMD hardware since NVIDIA hardware with nouveau doesn't work well
dnf swap mesa-va-drivers mesa-va-drivers-freeworld
dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
If using i686 compat libraries (for Steam or alikes):
dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
4) NVIDIA hardware codecs
The Nvidia proprieatary driver doesn't support VAAPI, but there is a wrapper that can bridge NVDEC/NVENC with VAAPI
dnf install nvidia-vaapi-driver
- Воспроизведение DVD
You need to have the libdvdcss package, to install libdvdcss you need enable tainted repos. Tainted free is dedicated for FLOSS packages where some usages might be restricted in some countries.
dnf install rpmfusion-free-release-tainted
dnf install libdvdcss
- Различное firmware
Tainted nonfree is dedicated to non-FLOSS packages without a clear redistribution status by the copyright holder. But is allowed as part of hardware inter-operability between operating systems in some countries :
dnf install rpmfusion-nonfree-release-tainted
dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"
Дополнительно см.:
🄯 Rami Rosenfeld, 2023. GNU FDL 1.3.