Add speed=0 AV1 nightly speed test

Change-Id: I237060e064e068568b429ff0510779d5a1132cf0
This commit is contained in:
Yi Luo
2018-01-10 11:36:48 -08:00
parent 4cf045a57a
commit 74cc050622
3 changed files with 24 additions and 14 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
video=~/Dev/samples/videos/midres/BasketballDrill_832x480_50.y4m
wide=
high=
frames=60
frames=2
bitrate=800
fps="50/1"
wide=
high=

View File

@@ -11,16 +11,18 @@
# verbose=-v
#set -x
if [ "$#" -ne 4 ]; then
if [ "$#" -ne 5 ]; then
root_dir=~/Dev/av1d
pdfps=1
petime=1
speed=0
html_log_file=log.html
else
root_dir=$1
pdfps=$2
petime=$3
html_log_file=$4
speed=$4
html_log_file=$5
fi
log_path=~/Dev/log
@@ -54,10 +56,9 @@ profile=0
tune_content=
col_num=0
laginframes=19
speed=0
elog=av1enc_log_p_$profile.txt
dlog=av1dec_log_p_$profile.txt
elog=av1enc_log_p_$profile.$speed.txt
dlog=av1dec_log_p_$profile.$speed.txt
bstream=av1_p_$profile.$speed.$commit.webm
taskset -c $core_id ./aomenc $verbose -o /dev/shm/"$bstream" $video $codec --limit=$frames --profile=$profile $bitdepth --fps=$fps $tune_content --target-bitrate=$bitrate --skip=0 -p 2 --good --cpu-used=$speed --lag-in-frames=$laginframes --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=$col_num --psnr &>> $elog

View File

@@ -8,11 +8,14 @@ log_path=~/Dev/log
date_str=`date -d tomorrow +%b_%d_%Y`
log_file=aomenc_$date_str.txt
html_log_file=aomenc_$date_str.html
s0_log_file=av1_s0_$date_str.txt
s1_log_file=av1_s1_$date_str.txt
prev_date_str=`date +%b_%d_%Y`
prev_log_file=aomenc_$prev_date_str.txt
prev_s0_log_file=av1_s0_$prev_date_str.txt
prev_s1_log_file=av1_s1_$prev_date_str.txt
test_dir=~/Dev/nightly
rm $test_dir/*
@@ -27,15 +30,21 @@ echo "<p>" >> $log_path/$html_log_file
$script_path/aom_conf_build.sh $av1_code >> $log_path/$html_log_file 2>&1
echo "</p>" >> $log_path/$html_log_file
pdfps=`cat $log_path/$prev_log_file | grep e_ok | awk '{print $2}' | awk 'NR==1 {print $1}'`
petime=`cat $log_path/$prev_log_file | grep e_ok | awk '{print $1}' | awk 'NR==1 {print $1}'`
$script_path/aom_nightly_speed.sh $av1_code $pdfps $petime $html_log_file >> $log_path/$log_file 2>&1
pdfps=`cat $log_path/$prev_s0_log_file | grep e_ok | awk '{print $2}' | awk 'NR==1 {print $1}'`
petime=`cat $log_path/$prev_s0_log_file | grep e_ok | awk '{print $1}' | awk 'NR==1 {print $1}'`
speed=0
$script_path/aom_nightly_speed.sh $av1_code $pdfps $petime $speed $html_log_file >> $log_path/$s0_log_file 2>&1
pdfps=`cat $log_path/$prev_s1_log_file | grep e_ok | awk '{print $2}' | awk 'NR==1 {print $1}'`
petime=`cat $log_path/$prev_s1_log_file | grep e_ok | awk '{print $1}' | awk 'NR==1 {print $1}'`
speed=1
$script_path/aom_nightly_speed.sh $av1_code $pdfps $petime $speed $html_log_file >> $log_path/$s1_log_file 2>&1
# Send an email to coworkers
users=luoyi
host_name=`hostname`
sender=luoyi
cc_list="--cc=yunqingwang,vpx-eng"
#cc_list="--cc=yunqingwang,vpx-eng"
$script_path/gen_html_footer.sh >> $log_path/$html_log_file