Install ffmpeg after initial install

install

#1

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


Video Contact Sheet
#2

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

#3

or just rerun the install script :smiley:


#4

Would that upgrade it to the latest version as well?


#5

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.


#6

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?


#7

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


#8

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


#9

use sudo passwd to change the password I believe


#10

That did it thank you!


#11

@JMSolo @dtech

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 …


#12

just apt apt install ffmpeg