1#!/bin/bash 2#INPUT=media/cheer_sif.y4m 3OUTPUT=test.webm 4LIMIT=17 5CPU_USED=3 6CQ_LEVEL=36 7 8for input in media/* 9do 10 echo "****" >> experiment.txt 11 echo "input: $input" >> experiment.txt 12 ./aomenc --limit=$LIMIT --codec=av1 --cpu-used=$CPU_USED --end-usage=q --cq-level=$CQ_LEVEL --psnr --threads=0 --profile=0 --lag-in-frames=35 --min-q=0 --max-q=63 --auto-alt-ref=1 --passes=2 --kf-max-dist=160 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --sharpness=0 --undershoot-pct=100 --overshoot-pct=100 --frame-parallel=0 --tile-columns=0 -o $OUTPUT $input >> experiment.txt 13done 14