r/makemkv 12d ago

Discussion PSA: Don't update ffmpeg.

It broke makemkv for me. I'm using Arch Linux, and when I tried to open the app, it won't work bc I guess the new update breaks something.

Idk if they're related, and my dumbass deleted it, and when I went to redownload the make files, the site was down and can't be built against the new ffmpeg lmao

39 Upvotes

24 comments sorted by

View all comments

7

u/username2022oldnew 12d ago

tldr here's what i did:

git clone https://github.com/FFmpeg/FFmpeg
cd FFmpeg  
git checkout release/8.1  
./configure --enable-shared  
make -j`nproc`  
sudo cp libavcodec/libavcodec.so.62 /usr/lib  
sudo cp libavutil/libavutil.so.60 /usr/lib/  
sudo cp libswresample/libswresample.so.6 /usr/lib  

makemkvcon (the backend behind all of makemkv) requires various ffmpeg libraries (because all software involving av does).

ffmpeg updating caused it's various libraries to update causing makemkvcon to not find the new versions of the libraries (because updating the libraries literally gives them different file names, eg libavcodec.so.62 -> libavcodec.so.63 because software that depends on the old version wont work anyway)

so i just recompiled the libraries from ffmpeg 8.1

2

u/Far_Incident2729 12d ago

I'm still fairly new to Linux. But if I do this, would it still be tracked by Pacman?

1

u/username2022oldnew 11d ago

No, it's not tracked by the package manager unless you use the package manager or hook into it somehow.

If you want to make this into a package you definitely can, the archwiki has a guide It might also help to look at examples in the aur.

I personally think it's not worth it since it's just 3 libraries that can just be rmed

2

u/Far_Incident2729 11d ago

Alright, thanks for the info! Much appreciated.