mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
Fix typos and add extended pattern matching
- Fix typo in build.sh: 'commmand' -> 'command' - Fix incorrect script name in README: 'recc_encode_install.sh' -> 'recc_encode.sh' - Add shopt -s extglob to enable extended pattern matching in bash scripts
This commit is contained in:
@@ -12,7 +12,7 @@ With the scripts, you can:
|
||||
|
||||
1. Install required dependencies using `./scripts/install_deps.sh`
|
||||
2. Build and install ffmpeg from source using `./scripts/build.sh`
|
||||
3. Install an encoding script using `./scripts/recc_encode_install.sh -I`
|
||||
3. Install an encoding script using `./scripts/recc_encode.sh -I`
|
||||
4. Install a film-grain estimation script using `./scripts/estimate_fg.sh -I`
|
||||
5. Benchmark the different encoders using `./scripts/benchmark.sh`
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Enable extended pattern matching for ?() and +() operators
|
||||
shopt -s extglob
|
||||
|
||||
usage() {
|
||||
echo "./scripts/build.sh [options]"
|
||||
echo -e "\th:\tdisplay this help output"
|
||||
@@ -201,7 +204,7 @@ then
|
||||
fi
|
||||
|
||||
# compilation job count
|
||||
if commmand -v nproc 2> /dev/null ; then
|
||||
if command -v nproc 2> /dev/null ; then
|
||||
THREADS="$(nproc)"
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Enable extended pattern matching for ?() and +() operators
|
||||
shopt -s extglob
|
||||
|
||||
# this is simply my recommended encoding method.
|
||||
# do not take this as a holy grail.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user