This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Video Quality | |
# The range of the CRF scale is 0–51, where 0 is lossless, 23 is the default, | |
# and 51 is worst quality possible. A lower value generally leads to higher | |
# quality, and a subjectively sane range is 17–28 | |
QUALITY=28 | |
# check if slop command exists | |
if ! command -v slop &> /dev/null |