Specify bit stream file for each tool
Change-Id: I7eb9e699bf3819c99f259460b3701ecd2e585433
code_dir=$root_dir/aom
build_dir=$root_dir/build
test_dir=~/Dev/field
+script_dir=~/Dev/refine/libvpx/scripts
# video=~/Dev/samples/videos/yaowu/soccer_cif.y4m
# wi=352
bitrate=5000
fps="50/1"
-bs=bs.webm
+bs=bs
codec="--codec=av1"
verbose=
do
cd $build_dir
make clean > /dev/null
- ~/Dev/bin/runconfig_hbd.sh $exp_tool
+ $script_dir/runconfig_hbd.sh $exp_tool
make -j > /dev/null
if [ $? -ne 0 ]; then
echo Build failed on experiment: $exp_tool
cd $test_dir
elog=e_$exp_tool.txt
dlog=d_$exp_tool.txt
+ bs=$bs_$exp_tool.webm
./aomenc -o $bs $video $codec --limit=$frames --skip=0 -p 2 --good --cpu-used=0 --target-bitrate=$bitrate --lag-in-frames=25 --min-q=0 --max-q=63 --auto-alt-ref=1 --kf-max-dist=150 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --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 --profile=$profile $bitdepth --test-decode=warn $verbose --psnr &>> $elog