diff --git a/compilation.sh b/compilation.sh index f048d38..dba3c47 100755 --- a/compilation.sh +++ b/compilation.sh @@ -5,6 +5,10 @@ PWD=`pwd` # Creating of install, bin and package config directories where we will download all the source packages, install them and link the package config mkdir -p $HOME/ffmpeg/bin $HOME/ffmpeg/lib/pkgconfig $HOME/ffmpeg/logs $HOME/ffmpeg/downloads +# Defining the CPU cores count to optimize the compilation +cpu_cnt="$(nproc --all)" +export cpu_cnt + # Start executing the scripts echo "System Update is started..." diff --git a/scripts/ffmpeg.sh b/scripts/ffmpeg.sh index 25fe984..bf8c936 100755 --- a/scripts/ffmpeg.sh +++ b/scripts/ffmpeg.sh @@ -51,7 +51,7 @@ cd ffmpeg-4.0 --enable-libx265 \ --disable-ffplay \ --enable-libopenjpeg \ - --enable-srt \ + --enable-libsrt \ --enable-libwebp \ --enable-libxvid \ --enable-libvidstab \