Install ffmpeg after initial install

Is there a way to install ffmepg after the initial install? I accidentally said no during the install

Hey @zorak2, the best way to go about this would be to compile it from source, much like the script does. You can do so by following these steps. Also, this would be handy to have a script to do this in the chance others encounter this… so we’ll work on building that here in the next couple of days.

MAXCPUS=$(echo "$(nproc) / 2"|bc)
mkdir /root/tmp
cd /root/tmp
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
git clone git://github.com/yasm/yasm.git ffmpeg/yasm
git clone git://git.videolan.org/x264.git ffmpeg/x264
cd ffmpeg/yasm
./autogen.sh
./configure
make
make install
cd ../x264
./configure --enable-static --enable-shared
make
make install
ldconfig
cd ..
export FC_CONFIG_DIR=/etc/fonts
export FC_CONFIG_FILE=/etc/fonts/fonts.conf
./configure --enable-libfreetype --enable-filter=drawtext --enable-fontconfig --disable-asm --enable-libx264 --enable-gpl
make -j${MAXCPUS}
make install
cp /usr/local/bin/ffmpeg /usr/bin
cp /usr/local/bin/ffprobe /usr/bin
rm -rf /root/tmp/ffmpeg

or just rerun the install script :smiley:

Would that upgrade it to the latest version as well?

re running the script will upgrade it as well yes.

just make sure to rm -rf ~/QuickBox

then re-run the install script that should redownload all files needed.

1 Like

Root is no longer available to me and the script is giving me an error that says I need to be root. Tried sudo but that also didn’t work. Any ideas?

why is root no work anymore? did you do something to the sudo file?

No, but when I use my root password it doesn’t work anymore.

use sudo passwd to change the password I believe

That did it thank you!

1 Like

@JMSolo @dtech_banned

if I rerun the script will it delete all my stuffs off rutorrent and btsync?

when I was installing this script to make it faster I said no for ffmpeg but now I want to …

just apt apt install ffmpeg

3 Likes