mirror of
https://github.com/levogevo/ffmpeg-av1-builder.git
synced 2026-01-15 16:56:18 +00:00
Merge pull request #2 from Cosmic-Skye/fix-encoding-crashes-add-crf
Fix encoding script crashes and add CRF parameter support
This commit is contained in:
@@ -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"
|
||||
@@ -204,7 +207,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user