diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh index 4e47755..9921faf 100755 --- a/scripts/benchmark.sh +++ b/scripts/benchmark.sh @@ -45,9 +45,9 @@ ENCODER=('libsvtav1' 'librav1e' 'libaom-av1') PRESET=(4 8 12) # uncomment for quick testing -# CRF=(30) -# ENCODER=('libsvtav1') -# PRESET=(13) +CRF=(30) +ENCODER=('libsvtav1') +PRESET=(13) # Log for results LOG="$BENCHMARK_DIR/results.txt" @@ -86,6 +86,7 @@ do TIME_AFTER=$(date +%s) TIME_DIFF=$((TIME_AFTER - TIME_BEFORE)) echo -e "\ttime taken: $TIME_DIFF seconds" >> "$LOG" + echo -e "\tsize: $(du -h "$OUTPUT" | cut -f1)" >> "$LOG" # vmaf VMAF_RESULTS="${OUTPUT}_vmaf.json" diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index 244e8b8..42bf78e 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -9,7 +9,7 @@ sudo "$PKG_MNG" install autoconf automake build-essential cmake git-core \ libass-dev libfreetype6-dev libsdl2-dev libtool libva-dev libvdpau-dev \ libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config \ texinfo wget zlib1g-dev nasm yasm libssl-dev time python3 meson ninja-build\ - doxygen xxd jq lshw -y || exit 1 + doxygen xxd jq lshw gnuplot -y || exit 1 curl https://sh.rustup.rs -sSf | sh -s -- -y source "$HOME/.cargo/env"