From f3888babcbf8485fb11aad21e6d59f7a5a7c8ba6 Mon Sep 17 00:00:00 2001 From: Cinar Ozkul Date: Sun, 24 Sep 2023 19:50:13 +0000 Subject: [PATCH 1/2] Add dependencies on ffmpeg-src/README.md Signed-off-by: Cinar Ozkul --- ffmpeg-src/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ffmpeg-src/README.md b/ffmpeg-src/README.md index b398a915..3fd5d902 100644 --- a/ffmpeg-src/README.md +++ b/ffmpeg-src/README.md @@ -3,6 +3,12 @@ You can use the scripts in this repository to build [FFmpeg](https://ffmpeg.org/). For detailed instructions on how to use `FFmpeg`, please visit the [official documentation](https://ffmpeg.org/documentation.html). +## Dependencies + +On Ubuntu run following commands before running `./build.sh`: +sudo apt install nasm +sudo apt install pkg-config + ## Building Run the `./build.sh` script. From 00b0311186abb5c12890c621d9bbdd710e3cf196 Mon Sep 17 00:00:00 2001 From: Cinar Ozkul Date: Sun, 24 Sep 2023 19:51:27 +0000 Subject: [PATCH 2/2] README.md: Document dependencies Add `Dependencies` section to `README.md` 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