Fedora 41 users -- enable VLC to play H264/H265/HEVC etc again


jimbo45

Well-known member
Pro User
VIP
Local time
9:51 AM
Posts
4,000
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks
Whether on a real or VM -- if you are testing Fedora 41 and want to get VLC to play almost all codecs again properly simply cut and paste this line into a console :


sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin && sudo dnf groupupdate sound-and-video

Job done -- "Alles in Ordnung" -- working properly again now.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi Jimbo,

Thanks for posting this.
Do you need to re-exclude packages with each update? Or is this permanent?

I've encountered this also in F39 and Centos S9 / Alma9. Using the system codecs for now.
Happened a short while ago that VLC was added to system repository, then some conflicts with the RPM Fusion version were risen during update. Installing VLC from system got its own 'free' codecs. Installing RPM Fusion packages works for instance by selecting the repo to install from.
Code:
sudo dnf reinstall vlc vlc-core --repo rpmfusion-free-updates

Cheers
Hopachi
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC
    CPU
    i3 8109U
    Motherboard
    Intel
    Memory
    16GB DDR4 @2400
    Graphics Card(s)
    Intel Iris Plus Graphics 655
    Sound Card
    Intel / Realtek HD Audio
    Monitor(s) Displays
    LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Intel SSD 250GB + Samsung QVO SSD 1TB
    PSU
    Adapter
    Cooling
    The usual NUC airflow
    Keyboard
    Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    CentOS 9 Stream / Alma / Rocky / Fedora
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA
    CPU
    Intel i7 4800MQ
    Motherboard
    TOSHIBA
    Memory
    32GB DDR3 @1600
    Graphics card(s)
    NVIDIA Quadro K2100M
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Built-in
    Screen Resolution
    1920x1080
Hi Jimbo,

Thanks for posting this.
Do you need to re-exclude packages with each update? Or is this permanent?

I've encountered this also in F39 and Centos S9 / Alma9. Using the system codecs for now.
Happened a short while ago that VLC was added to system repository, then some conflicts with the RPM Fusion version were risen during update. Installing VLC from system got its own 'free' codecs. Installing RPM Fusion packages works for instance by selecting the repo to install from.
Code:
sudo dnf reinstall vlc vlc-core --repo rpmfusion-free-updates

Cheers
Hopachi
Seems pretty permanent -- I've done a few updates since -- remember Fed 41 is a rolling release. I haven't needed those commands again.

In fact just did an upgrade a few minutes ago including a kernel update -- VLC stillworking fine.

Screenshot_20240325_102450.png

Cheers
jimbo
 
Last edited:

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Thanks. That looks fine.
I think I get it now. The command is one-time and will install just the needed extras from rpmfusion. Then on each update the packages will get their own updates when available.
So it should enable the system VLC to get the rpmfusion codecs...
I'll have to play with this in a VM to see how it mixes, I got confused at one time with the difference between EL9 - F39 and because there were two VLC apps from the two repo's at the same time.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC
    CPU
    i3 8109U
    Motherboard
    Intel
    Memory
    16GB DDR4 @2400
    Graphics Card(s)
    Intel Iris Plus Graphics 655
    Sound Card
    Intel / Realtek HD Audio
    Monitor(s) Displays
    LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Intel SSD 250GB + Samsung QVO SSD 1TB
    PSU
    Adapter
    Cooling
    The usual NUC airflow
    Keyboard
    Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    CentOS 9 Stream / Alma / Rocky / Fedora
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA
    CPU
    Intel i7 4800MQ
    Motherboard
    TOSHIBA
    Memory
    32GB DDR3 @1600
    Graphics card(s)
    NVIDIA Quadro K2100M
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Built-in
    Screen Resolution
    1920x1080
Hi folks
Whether on a real or VM -- if you are testing Fedora 41 and want to get VLC to play almost all codecs again properly simply cut and paste this line into a console :


sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm && sudo dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin && sudo dnf groupupdate sound-and-video

Job done -- "Alles in Ordnung" -- working properly again now.

Cheers
jimbo
Not pertinent to this post but in an earlier post, you asked me where I got Fedora 41 and of course it was the Fedora Nightly Compose Finder
 

My Computer

System One

  • OS
    Fedora 39 Silverblue and Rhino Linux . Kernels 6.6x and 6.7
    Computer type
    PC/Desktop
    Manufacturer/Model
    HomeBrew
    CPU
    AMD Ryzen 7 2700X Eight-Core Processo
    Motherboard
    Gigabyte
    Memory
    32GB
    Graphics Card(s)
    Nvidia
    Monitor(s) Displays
    Dell
    Hard Drives
    4 2 in Linuz raid0
    Keyboard
    Eluktronics
    Mouse
    Eluktronics
    Browser
    Firefox and Chromium
    Other Info
    Gnome 45
Thanks. That looks fine.
I think I get it now. The command is one-time and will install just the needed extras from rpmfusion. Then on each update the packages will get their own updates when available.
So it should enable the system VLC to get the rpmfusion codecs...
I'll have to play with this in a VM to see how it mixes, I got confused at one time with the difference between EL9 - F39 and because there were two VLC apps from the two repo's at the same time.
Hi there
when using F41 use the rawhide fusion repos -- easy enough done to get the appropriate / correct fusion repos

for the FREE stuff :

sudo dnf install \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

for the NON FREE stuff

sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

These will pick up the correct repos for your installed release.

cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC
    CPU
    i3 8109U
    Motherboard
    Intel
    Memory
    16GB DDR4 @2400
    Graphics Card(s)
    Intel Iris Plus Graphics 655
    Sound Card
    Intel / Realtek HD Audio
    Monitor(s) Displays
    LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Intel SSD 250GB + Samsung QVO SSD 1TB
    PSU
    Adapter
    Cooling
    The usual NUC airflow
    Keyboard
    Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    CentOS 9 Stream / Alma / Rocky / Fedora
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA
    CPU
    Intel i7 4800MQ
    Motherboard
    TOSHIBA
    Memory
    32GB DDR3 @1600
    Graphics card(s)
    NVIDIA Quadro K2100M
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Built-in
    Screen Resolution
    1920x1080

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Back
Top Bottom