This commit is contained in:
JMARyA 2025-06-14 18:58:38 +02:00
parent 61e2b5e1e6
commit 328db5b95f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

20
functions/av1crf.fish Normal file
View file

@ -0,0 +1,20 @@
function av1crf
if test (count $argv) -lt 1
echo "Usage: av1smart <input-file> [preset] [min-vmaf]"
return 1
end
set input "$argv[1]"
set preset (or $argv[2] 6)
set min_vmaf (or $argv[3] 95)
echo "Running ab-av1 crf-search..."
echo "Input: $input"
echo "Preset: $preset"
echo "Min VMAF: $min_vmaf"
ab-av1 crf-search \
-i "$input" \
--preset $preset \
--min-vmaf $min_vmaf
end