How to install ffmpeg?

I follow the tips about install ffmpeg:

curl -LO https://ffmpeg.org/releases/ffmpeg-4.2.tar.bz2
tar jxf ffmpeg-4.2.tar.bz2
cd ffmpeg-4.2
./configure --prefix=/usr/local --enable-shared && make && sudo make install

sudo sh -c ‘echo /usr/local/lib >>/etc/ld.so.conf’
sudo ldconfig

But it still cannot find the library.

have no idea now.

Hi there,

the easiest way to install ffmpeg is greginator’s 3rd party repository:

Check the codec section of the readme for details:

3 Likes

Thank you, but I can not install mp4 support . Me too , I have not idea

This isn’t working for me. Firefox is still getting playback errors. I’ve followed…

…and have searched…

https://community.clearlinux.org/search?q=codecs%20category%3A12

I cannot seem to get Firefox working correctly. For now I’m getting by with Chrome…

As your colleague forstmannbiz wrote to you: The easiest way to do it is install ffmpeg is greginator’s 3rd party repository:

sudo swupd 3rd-party add greginator https://clear.greginator.xyz/
sudo swupd 3rd-party bundle-add ffmpeg
echo “export LD_LIBRARY_PATH=/opt/3rd-party/bundles/greginator/usr/lib64:/opt/3rd-party/bundles/greginator/usr/lib32” >> ${HOME}/.config/firefox.conf

1 Like

OH! Jeeze, I need to read slower sometimes, thank you. Yeah that worked.

NB! RESOLVED

Gregor Schram (the owner) discontinued the repo after permanently moving to Fedora. Adding the repo gives the error:
Unable to determine the latest version for repository greginator
One can try the following:

1 Like