2

System: Linux 6.1.21-1-MANJARO

After updating/upgrading my system, mpv no longer works. It seems ffmpeg is using libavcodec 60 and mpv is using 59. Though I'm not 100% sure this is the issue. Any help would be appreciated.

notabot
  • 33
  • 1
  • 4

1 Answers1

0

After updating/upgrading my system, mpv no longer works. It seems ffmpeg is using libavcodec 60 and mpv is using 59.

Use pacman -Qo on both programs (with which mpv to find out its path) to verify whether both packages were installed from the official repositories.

  • If they were – it's the Manjaro ffmpeg/mpv packagers' responsibility to solve this problem; they should have published a rebuilt mpv package for libavcodec 60 at the exact same time as they published the new ffmpeg. (Or, at least, they should have rebuilt it to depend on "ffmpeg5" if the new version was incompatible.)

    (It's also technically possible for your package mirror to end up grabbing a package database that was only partially updated, such that it had the new ffmpeg but the old mpv, but that should be rare – and the problem should go away after the mirror's next refresh, in an hour at most.)

    Either way, repeat a system upgrade, and make sure your package versions match those listed on the distribution's website.

  • On the other hand, if mpv has been installed from a locally-built package (AUR or similar), then you must rebuild it to use the new libraries.

Also: It might be useful to run lddtree on the mpv executable and verify whether the bad library dependency comes directly from mpv itself or whether it comes as a transitive dependency from another library. Sometimes it is a library "in the middle" that needs to be updated or rebuilt.

grawity
  • 501,077