Add debug option to runconfig.sh
Misc changes for encode_video_seq_bs.sh Change-Id: I2fce0a90f7ef8b76c32c90a1652029d90f6204a5
This commit is contained in:
@@ -1,16 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# File:
|
# File:
|
||||||
# encode_exp_bs.sh
|
# encode_video_seq_bs.sh
|
||||||
# Decription:
|
# Decription:
|
||||||
# This script fixes an experiment and loops around on video sequences defined by
|
# This script fixes an experiment and loops around on video sequences defined by
|
||||||
# video_sequence_list. See encode_exp_bs.sh
|
# video_sequence_list.
|
||||||
|
# Also see encode_exp_bs.sh
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# if [ "$#" -ne 1 ]; then
|
if [ "$#" -ne 1 ]; then
|
||||||
# video_sequence=soccer_cif.sh
|
exp_tool=experimental
|
||||||
# else
|
else
|
||||||
# video_sequence=$1
|
exp_tool=$1
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
root_dir=~/Dev/av1w
|
root_dir=~/Dev/av1w
|
||||||
code_dir=$root_dir/aom
|
code_dir=$root_dir/aom
|
||||||
@@ -19,8 +20,6 @@ test_dir=~/Dev/field
|
|||||||
script_dir=~/Dev/sandbox/libvpx/scripts
|
script_dir=~/Dev/sandbox/libvpx/scripts
|
||||||
bitstream_dir=~/Dev/samples/bitstreams/routine
|
bitstream_dir=~/Dev/samples/bitstreams/routine
|
||||||
|
|
||||||
#. $script_dir/$video_sequence
|
|
||||||
|
|
||||||
# General options
|
# General options
|
||||||
Codec=av1
|
Codec=av1
|
||||||
codec="--codec=$Codec"
|
codec="--codec=$Codec"
|
||||||
@@ -33,32 +32,33 @@ commit_hash=`git log -1 --oneline | awk '{print $1}'`
|
|||||||
|
|
||||||
cd $test_dir
|
cd $test_dir
|
||||||
|
|
||||||
d1="chroma_sub8x8 filter_7bit reference_buffer"
|
# d1="chroma_sub8x8 filter_7bit reference_buffer"
|
||||||
d2="delta_q rect_tx global_motion ext_tx"
|
# d2="delta_q rect_tx global_motion ext_tx"
|
||||||
d3="cdef ext_intra mv_compress ext_refs"
|
# d3="cdef ext_intra mv_compress ext_refs"
|
||||||
d4="dual_filter motion_var warped_motion"
|
# d4="dual_filter motion_var warped_motion"
|
||||||
d5="ext_delta_q loopfiltering_across_tiles ec_smallmul"
|
# d5="ext_delta_q loopfiltering_across_tiles"
|
||||||
d6="var_tx ext_inter wedge compound_segment"
|
# d6="var_tx ext_inter wedge compound_segment"
|
||||||
d7="interintra one_sided_compound smooth_hv"
|
# d7="interintra one_sided_compound smooth_hv"
|
||||||
d8="parallel_deblocking rect_intra_pred convolve_round"
|
# d8="parallel_deblocking rect_intra_pred convolve_round"
|
||||||
d9="palette_throughput tempmv_signaling ext-comp-refs"
|
# d9="palette_throughput tempmv_signaling ext-comp-refs"
|
||||||
|
|
||||||
# Note: experimental list
|
# Note: experimental list
|
||||||
#exp_list="$d1 $d2 $d3 $d4 $d5 $d6 $d7 $d8 $d9"
|
#exp_list="$d1 $d2 $d3 $d4 $d5 $d6 $d7 $d8 $d9"
|
||||||
#exp_list=experimental
|
#exp_list=experimental
|
||||||
exp_tool=experimental
|
|
||||||
|
|
||||||
# Note: video sequence list
|
# Note: video sequence list
|
||||||
#video_sequence_list="BQTerrace_1080p60.sh BasketballDrive_1080p50.sh ParkScene_1080p24.sh"
|
#video_sequence_list="BQTerrace_1080p60.sh BasketballDrive_1080p50.sh ParkScene_1080p24.sh"
|
||||||
video_sequence_list="blue_sky_1080p25.sh rush_hour_1080p25.sh tennis_1080p24.sh"
|
#video_sequence_list="blue_sky_1080p25.sh rush_hour_1080p25.sh tennis_1080p24.sh"
|
||||||
|
video_sequence_list="aerial_4k.sh"
|
||||||
|
|
||||||
constant_cmdline_options="--skip=0 -p 2 --good --cpu-used=0 --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 --test-decode=warn --psnr"
|
constant_cmdline_options="--skip=0 -p 2 --good --cpu-used=0 --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 --test-decode=warn --psnr"
|
||||||
col_num=0
|
col_num=0
|
||||||
|
|
||||||
wi=1920
|
# Note:
|
||||||
he=1080
|
# Here we have an overall chance to override the encoding input options
|
||||||
frames=150
|
# wi=1920
|
||||||
bitrate=4000
|
# he=1080
|
||||||
|
# frames=2
|
||||||
|
# bitrate=4000
|
||||||
|
|
||||||
cd $build_dir
|
cd $build_dir
|
||||||
make clean > /dev/null
|
make clean > /dev/null
|
||||||
@@ -77,6 +77,11 @@ do
|
|||||||
. $script_dir/$video_sequence
|
. $script_dir/$video_sequence
|
||||||
videoname=$(basename $video_sequence .sh)
|
videoname=$(basename $video_sequence .sh)
|
||||||
|
|
||||||
|
# Note:
|
||||||
|
# Here we have an chance to override the encoding input options per video sequence
|
||||||
|
frames=25
|
||||||
|
bitrate=14000
|
||||||
|
|
||||||
profile=0
|
profile=0
|
||||||
bs="$Codec.$exp_tool.$videoname.$commit_hash.$profile.webm"
|
bs="$Codec.$exp_tool.$videoname.$commit_hash.$profile.webm"
|
||||||
|
|
||||||
|
|||||||
@@ -78,10 +78,11 @@ experiment_dependency() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#debug="--enable-debug --disable-optimizations"
|
||||||
common="--disable-unit-tests --disable-docs --enable-experimental"
|
common="--disable-unit-tests --disable-docs --enable-experimental"
|
||||||
|
|
||||||
. $script_dir/disabled_list.sh
|
. $script_dir/disabled_list.sh
|
||||||
|
|
||||||
experiment_dependency $1
|
experiment_dependency $1
|
||||||
|
|
||||||
../$libsrc/configure $common $disabled $tool > /dev/null
|
../$libsrc/configure $common $debug $disabled $tool > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user