Created
September 25, 2021 18:06
-
-
Save TiGR/fddbe611fda8e25a75af674a0a346e6b to your computer and use it in GitHub Desktop.
Build and install kffmpegthumbnailer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /tmp | |
wget https://github.com/dirkvdb/ffmpegthumbnailer/archive/master.zip -c | |
unzip master.zip | |
cd ffmpegthumbnailer-master/ | |
sudo apt purge -y ffmpegthumbnailer ffmpegthumbs | |
sudo apt install -y cmake pkg-config extra-cmake-modules libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libkf5kio-dev libkf5config-dev libkf5i18n-dev gettext | |
cmake . -DCMAKE_INSTALL_PREFIX=/usr/ | |
make | |
sudo make install | |
cd kffmpegthumbnailer/ | |
cmake . | |
make | |
sudo make install | |
# cleanup | |
sudo apt purge -y cmake pkg-config extra-cmake-modules libavcodec-dev libavformat-dev libavutil-dev libavfilter-dev libkf5kio-dev libkf5config-dev libkf5i18n-dev gettext | |
sudo apt autoremove -y | |
cd /tmp | |
rm -rf /tmp/ffmpegthumbnailer-master/ /tmp/master.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment