How to install video codecs in Rocky Linux

Hey everyone… love what happening here. To be honest, I am still new here, so please forgive me if I am asking something silly.

I have tried to search everywhere but I have never found Rocky Linux “specific” answer. I have several experience with ubuntu, with ubuntu I can install ubuntu-restricted-extras packages to play some video in firefox. Can somebody give me advice to install the codecs? I found this but, I am not really sure if it will be working in rocky linux.

Thanks in advance :slight_smile:

I usually install gstreamer1-libav to add support for additional video formats in Firefox. It’s available from RPMFusion Free, see Configuration - RPM Fusion.


Hello @Tus

check this post

there step by step to install codec


Hello, you can install RPM-Fusion directly with dnf install rpmfusion-free-release which is in the extras repository


@dali @JustSomeone @ligenix
Thank you for spending time to answer my question. I hope the best for you guys!


@Tus you very welcome and you too :slight_smile: