If your Linux OS is old, then you may not be able to compile some codec libraries for use with FFmpeg. These libraries may require a newer version of Python 3 than the one that is used by your desktop or window manager. If you compile from source and update to the latest version of Python 3, your old desktop may become unusable.
This problem is elaborated in this updated blog post:
www.vsubhash.in/blogs/blog/2023-03-22-the-mate-desktop-environment-is-the-best-not-kde-or-gnome.html