Tweak video compression params

This commit is contained in:
2022-06-23 17:15:30 -04:00
parent 6b23065119
commit 8bc573bfad
2 changed files with 3 additions and 3 deletions

View File

@@ -33,9 +33,9 @@ if [[ $use_gpu == "" || $2 == "" || $output_name == "" ]]; then
fi
# Found the following to work best with vids containing text (e.g. programming vid): 25 for CPU encoding and 27 for GPU.
use_crf=25
use_crf=21
if [[ $use_gpu -eq 1 ]]; then
use_crf=27
use_crf=25
fi
compress-video-with-crf $use_gpu $use_crf "$filename" "$output_name"