Distro upgrade via command line, a compiled ffmpeg version will be delete during upgrade?

Every two years I am going to install via command line a distro upgrade :

sudo apt update

sudo apt upgrade

sudo apt-get dist-upgrade

sudo do-release-upgrade

to get the LTS version. Currently I have a compiled ffmpeg version 8.0 on my system.

Will it be deleted ? Or is it possible with additional parameter to exclude an update of ffmpeg if the version will be <= 8.0 (to still have libvmaf included) ?

I followed the installation guide of : GitHub - yash1994/Build-FFmpeg-with-libvmaf: Guide to build FFmpeg from source with Netflix's libvmaf on Ubuntu 18.04

1 Like

I know that there is a "freeze" function for package versions.

I just don't know if using such a freeze an any single package (i.e. ffmpeg) will "disturb" the logic of the update/upgrade scripts to the point of triggering a "FAIL" report, as opposed to "SUCCESS".

That is one for the experts to comment on.

Also, I don't know if you could go ahead and install everything, without a freeze, but keep the actual Debian package file for your current ffmpeg version "safe" in you HOME directory (be sure to save all you preference settings and customizations), then after the upgrade, remove (not purge) the new version, then install the old version from the Deb file.

:slight_smile:

I will check it whether a freeze function will be applicable.

Its a compiled version an old DEB-file I have not, libvmaf is not a standard integrated ffmpeg library.

AFAIK, a custom software which is not installed as a package from a repository is not affected by automated updates and upgrades. Unfortunately, such the software title can be overwritten by upgrade procedure if the packaged software version has to be installed by default.

Hopefully, that might help.

1 Like

As I understand you correctly (?!), because ffmpeg is not a default Ubuntu-Mate distribution package, it will not be overwritten ?

1 Like

I sincerely think so. And, surely, everything one believes in can go wrong against one's beliefs :slight_smile:

1 Like

Thank you for reply, May 2026 I will know it.

To all of the Ubuntu-Mate user or Linux user in common have a good new year.

:slightly_smiling_face:

3 Likes

FWIW - ffmpeg8 will be available in 26.04, see: https://packages.ubuntu.com/resolute/ffmpeg. However, I don't believe that libvmaf filter will be available in the package. As you know, to enable that filter requires the config argument --enable-libvmaf which I don't see in the rules that are provided in ffmpeg_8.0.1-2ubuntu1.debian.tar.xz.

libvmaf - FFmpeg 8.0 - Videos - Filters also requires that the libvmaf library is installed - which is not available on the main Ubuntu repository.

3 Likes

Yes of course, I have to compile the respective library if there are any changes and also recompile ffmpeg. Its time to start to create a script to install all dependencies, the respective development packages to have at the end a ffmpeg 8.0 default installation + libvmaf.

(Beneath, for that an old PC will be nice to have, check the script a.s.o..)

But I must confess, libvmaf developed by Netflix+ffmpeg community, its a bit strange to me, that this work will not be a default Ubuntu package. Its open source, given by github.

1 Like