From db8dfec8195d75bb1bf0d8eb7c5cb958681ea4e1 Mon Sep 17 00:00:00 2001 From: Cinar Ozkul Date: Sun, 24 Sep 2023 19:51:27 +0000 Subject: [PATCH] Add version control tag for ffmpeg-src Signed-off-by: Cinar Ozkul --- ffmpeg-src/README.md | 3 +++ ffmpeg-src/build.sh | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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