diff --git a/ffmpeg-src/README.md b/ffmpeg-src/README.md index 3fd5d902..9d919710 100644 --- a/ffmpeg-src/README.md +++ b/ffmpeg-src/README.md @@ -6,8 +6,11 @@ For detailed instructions on how to use `FFmpeg`, please visit the [official doc ## Dependencies On Ubuntu run following commands before running `./build.sh`: + +``` sudo apt install nasm sudo apt install pkg-config +``` ## Building diff --git a/ffmpeg-src/build.sh b/ffmpeg-src/build.sh index d852fab3..6de63067 100755 --- a/ffmpeg-src/build.sh +++ b/ffmpeg-src/build.sh @@ -1,9 +1,10 @@ #!/bin/bash -# Clean up. +# Clean up rm -fr ffmpeg* app-ffmpeg -git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg +git clone --depth 1 --branch n6.0 https://git.ffmpeg.org/ffmpeg.git ffmpeg + echo "Configuring ffmpeg..." pushd ffmpeg &> /dev/null || exit 1