Skip to content


How to fix H264 video playback in Fedora 40

After upgrade to Fedora 40 I found that many my videos cannot be played with vlc. Menu "Tools -> Codec Information" (Ctrl-J keyboard shortcut) shows Codec: H264 - MPEG-4 AVC (part10) (avc1)

Solution:

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 install ffmpeg libavcodec-freeworld vlc --allowerasing

Posted in Misc.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.