Project

General

Profile

« Previous | Next » 

Revision ed0ec7ca

Added by David Sorber about 2 years ago

Update build ffmpeg shared library script.

View differences:

software/misc/build_ffmpeg_shared.sh
LIB_DIR="$INSTALL_DIR/lib"
# Set to a string containing the version you wish to install
FFMPEG_VERSION="5.1" # <--- set this to latest version
FFMPEG_VERSION="6.1" # <--- set this to latest version
NUM_CORES=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
......
echo "Building NASM"
cd $SOURCES_DIR && \
wget https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.bz2 && \
tar xjvf nasm-2.15.05.tar.bz2 && \
cd nasm-2.15.05 && \
wget https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.bz2 && \
tar xjvf nasm-2.16.01.tar.bz2 && \
cd nasm-2.16.01 && \
./autogen.sh && \
PATH="$BIN_DIR:$PATH" ./configure --prefix="$INSTALL_DIR" --bindir="$BIN_DIR" --libdir="$LIB_DIR" && \
make -j$NUM_CORES && sudo make install

Also available in: Unified diff