Edit Info Other
Login

Multimedia"

Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2017-12-05 20:42:42
Size: 370
Comment:
Revision 11 as of 2023-04-22 15:52:43
Size: 2692
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Once RPM Fusion is configured (see https://rpmfusion.org/Configuration)

== Switch to full ffmpeg ==
Fedora ffmpeg-free works but one will experience version missmatch, switch to the rpmfusion provided ffmpeg build.
{{{
sudo 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).

Line 4: Line 15:
Line 6: Line 18:
Once RPM Fusion is installed, you only need to do:
{{{
$ sudo dnf groupupdate Multimedia
 * The following command will install the complements multimedia packages needed by gstreamer enabled applications: {{{
sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin
Line 12: Line 23:
 * The following command will install the sound-and-video complement packages needed by some applications: {{{
sudo dnf groupupdate sound-and-video
}}}
 
 <<BR>>

== Hardware Accelerated Codec ==

=== Intel(recent) ===
# Using the rpmfusion-nonfree section
{{{
sudo dnf install intel-media-driver
}}}

=== Intel(older) ===
# Using the rpmfusion-free section
{{{
sudo dnf install libva-intel-driver
}}}

=== Hardware codecs with AMD (mesa) ===
# 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
{{{
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
}}}


If using i686 compat libraries (for steam or alikes):
{{{
sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686
}}}

=== Hardware codecs with NVIDIA ===
The Nvidia proprieatary driver doesn't support VAAPI, but there is a wrapper that can bridge NVDEC/NVENC with VAAPI
{{{
sudo dnf install nvidia-vaapi-driver
}}}

 <<BR>>
Line 13: Line 67:
You need to have the libdvdcss package provided by rpm.livna.org You need to have the libdvdcss package, to install libdvdcss you need enable tainted repos.
Line 15: Line 69:
 * Tainted free is dedicated for FLOSS packages where some usages might be restricted in some countries. {{{
sudo dnf install rpmfusion-free-release-tainted
sudo dnf install libdvdcss
}}}

== Various firmwares ==

 * 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 : {{{
sudo dnf install rpmfusion-nonfree-release-tainted
sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"
}}}

Multimedia on Fedora

Once RPM Fusion is configured (see https://rpmfusion.org/Configuration)

Switch to full ffmpeg

Fedora ffmpeg-free works but one will experience version missmatch, switch to the rpmfusion provided ffmpeg build.

sudo 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).

Install additional codec

This will allows the application using the gstreamer framework to play others restricted codecs:

  • The following command will install the complements multimedia packages needed by gstreamer enabled applications:

    sudo 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:

    sudo dnf groupupdate sound-and-video


Hardware Accelerated Codec

Intel(recent)

# Using the rpmfusion-nonfree section

sudo dnf install intel-media-driver

Intel(older)

# Using the rpmfusion-free section

sudo dnf install libva-intel-driver

Hardware codecs with AMD (mesa)

# 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

sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld

If using i686 compat libraries (for steam or alikes):

sudo dnf swap mesa-va-drivers.i686 mesa-va-drivers-freeworld.i686
sudo dnf swap mesa-vdpau-drivers.i686 mesa-vdpau-drivers-freeworld.i686

Hardware codecs with NVIDIA

The Nvidia proprieatary driver doesn't support VAAPI, but there is a wrapper that can bridge NVDEC/NVENC with VAAPI

sudo dnf install nvidia-vaapi-driver

Play a 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.

    sudo dnf install rpmfusion-free-release-tainted
    sudo dnf install libdvdcss

Various firmwares

  • 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 :

    sudo dnf install rpmfusion-nonfree-release-tainted
    sudo dnf --repo=rpmfusion-nonfree-tainted install "*-firmware"


CategoryHowto

Howto/Multimedia (last edited 2024-02-14 07:02:41 by NicolasChauvet)