CentOS 9 firefox video support mpeg 264 265 librubberband

Issues related to applications and software problems and general support
Post Reply
ron7000
Posts: 162
Joined: 2019/01/15 20:00:28

CentOS 9 firefox video support mpeg 264 265 librubberband

Post by ron7000 » 2022/10/25 04:37:22

My PC I have two SSD's I can boot from, one being CentOS 7.9 and the other CentOS 9.

I have repos EPEL and rpmfusion-free.

In CentOS 7.9 a yum install vlc* *264* *265* *mpeg* will work without problems.
In CentOS 9 I have problems. Basically trying to watch video in firefox and I get unsupported format or source. In CentOS 7.9 that was rectified basically by installing vlc* and getting those codecs. In CentOS 9 while I think I was able to do just a "yum install vlc*" successfully, I get the following response from yum for 265, 264, and mpeg stuff?

Code: Select all

[root@pc-ron:/etc/yum.repos.d] : yum install *265* *264* *mpeg*
Last metadata expiration check: 0:46:56 ago on Mon 24 Oct 2022 11:09:42 PM EDT.
Package x265-libs-3.5-3.el9.x86_64 is already installed.
Package x264-libs-0.163-6.20210613git5db6aa6.el9.x86_64 is already installed.
Package compat-ffmpeg4-4.4.3-1.el9.x86_64 is already installed.
Package libmpeg2-0.5.1-24.el9.x86_64 is already installed.
Error: 
 Problem 1: package ffmpeg-libs-5.1.2-3.el9.x86_64 requires librubberband.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides ladspa needed by rubberband-3.1.0-2.el9.x86_64
 Problem 2: package libde265-examples-1.0.9-1.el9.x86_64 requires libswscale.so.6()(64bit), but none of the providers can be installed
  - package libde265-examples-1.0.9-1.el9.x86_64 requires libswscale.so.6(LIBSWSCALE_6)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-5.1.2-3.el9.x86_64 requires librubberband.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides ladspa needed by rubberband-3.1.0-2.el9.x86_64
 Problem 3: package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libavutil.so.57()(64bit), but none of the providers can be installed
  - package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libavformat.so.59()(64bit), but none of the providers can be installed
  - package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libavutil.so.57(LIBAVUTIL_57)(64bit), but none of the providers can be installed
  - package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libavformat.so.59(LIBAVFORMAT_59)(64bit), but none of the providers can be installed
  - package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libswscale.so.6()(64bit), but none of the providers can be installed
  - package x264-0.163-6.20210613git5db6aa6.el9.x86_64 requires libswscale.so.6(LIBSWSCALE_6)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-5.1.2-3.el9.x86_64 requires librubberband.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides ladspa needed by rubberband-3.1.0-2.el9.x86_64
 Problem 4: package ffmpeg-5.1.2-3.el9.x86_64 requires ffmpeg-libs(x86-64) = 5.1.2-3.el9, but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavutil.so.57()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavformat.so.59()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavutil.so.57(LIBAVUTIL_57)(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavformat.so.59(LIBAVFORMAT_59)(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libswscale.so.6()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libswresample.so.4()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libswscale.so.6(LIBSWSCALE_6)(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavfilter.so.8()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libavfilter.so.8(LIBAVFILTER_8)(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libswresample.so.4(LIBSWRESAMPLE_4)(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libpostproc.so.56()(64bit), but none of the providers can be installed
  - package ffmpeg-5.1.2-3.el9.x86_64 requires libpostproc.so.56(LIBPOSTPROC_56)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-5.1.2-3.el9.x86_64 requires librubberband.so.2()(64bit), but none of the providers can be installed
  - conflicting requests
  - nothing provides ladspa needed by rubberband-3.1.0-2.el9.x86_64
 Problem 5: package compat-ffmpeg4-devel-4.4.3-1.el9.x86_64 conflicts with ffmpeg-devel provided by ffmpeg-devel-5.1.2-3.el9.x86_64
  - conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Any help appreciated. I'd like to get to the install level I had with centos 7.9. I guess the big question is, what's up with librubberband ?

scottro
Forum Moderator
Posts: 2556
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Re: CentOS 9 firefox video support mpeg 264 265 librubberband

Post by scottro » 2022/10/25 13:50:42

What I found from just playing around with things was that, on a minimal install, adding things as I went on, and only experimenting with mpv and ffplay from an rxvt-unicode terminal, was that I first needed pipewire-libs. Then, from rpmfusion, I needed ffmpeg and compat-ffmpeg4. This would enable me to play mp4 files after a reboot.
However, in firefox, it wouldn't give me sound with an mp4 video. However, if I then went to youtube, and played anything at all, sound would work. Then, I could go to an mp4 video in firefox and it would work.

Note that I didn't try with vlc, just mpv and firefox. Also, once I found that after playing a youtube video, other mp4s in firefox worked, I never investigated further. Lastly this was with AlmaLinux not CentOS. I have a little page going through my various trials with packages I use and had to build myself at https://srobb.net/rhel9.html though I don't know if anything there would help. Also, things like mpv which I had to build, got rpm packages from epel or rpmfusion since the article was written.
New users should check the FAQ and Read Me First pages

Post Reply