full suite again

This commit is contained in:
2024-01-14 19:54:52 -06:00
parent 87dfb3e9df
commit d73361d79f

View File

@@ -45,17 +45,17 @@ ENCODER=('libsvtav1' 'librav1e' 'libaom-av1')
PRESET=(4 8 12) PRESET=(4 8 12)
# uncomment for quick testing # uncomment for quick testing
CRF=(30) # CRF=(30)
ENCODER=('libsvtav1') # ENCODER=('libsvtav1')
PRESET=(13) # PRESET=(13)
# Log for results # Log for results
LOG="$BENCHMARK_DIR/results.txt" LOG="$BENCHMARK_DIR/results.txt"
rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR" rm -rf "$OUTPUT_DIR" && mkdir -p "$OUTPUT_DIR"
ffmpeg -version | grep "version" > "$LOG" ffmpeg -version | grep "version" > "$LOG"
uname -srmpio >> "$LOG"
CPU_PROD=$(sudo lshw | grep "product" | head -1 | cut -d ':' -f2) CPU_PROD=$(sudo lshw | grep "product" | head -1 | cut -d ':' -f2)
echo "CPU product:$CPU_PROD with $(nproc) threads" >> $LOG echo "CPU product:$CPU_PROD with $(nproc) threads" >> $LOG
uname -srmpio >> "$LOG"
# Find versions of files # Find versions of files
cd /usr/local/lib || exit cd /usr/local/lib || exit
@@ -64,7 +64,7 @@ RAV1E_VER=$(basename "$(find . -mindepth 1 ! -type l | grep "librav1e.so")")
AOM_VER=$(basename "$(find . -mindepth 1 ! -type l | grep "libaom.so")") AOM_VER=$(basename "$(find . -mindepth 1 ! -type l | grep "libaom.so")")
VMAF_VER=$(basename "$(find . -mindepth 1 ! -type l | grep "libvmaf.so")") VMAF_VER=$(basename "$(find . -mindepth 1 ! -type l | grep "libvmaf.so")")
cd "$BASE_DIR" || exit cd "$BASE_DIR" || exit
echo -e "$SVTAV1_VER \t $RAV1E_VER \t $AOM_VER \t $VMAF_VER" >> "$LOG" echo -e "$SVTAV1_VER $RAV1E_VER $AOM_VER $VMAF_VER" >> "$LOG"
for input in "${INPUT[@]}" for input in "${INPUT[@]}"
do do