changed bitrate to calculated values
This commit is contained in:
parent
071d57f6c8
commit
c510629c0c
@ -1,8 +1,8 @@
|
|||||||
repeats: 3
|
repeats: 3
|
||||||
|
# bitrate is calculated from W*H*R*bpp, where bpp - 0.08, 0.13, 0.2
|
||||||
options:
|
options:
|
||||||
x264enc:
|
x264enc:
|
||||||
bitrate: [ "10000", "20000", "5000" ]
|
bitrate: [ "10500", "4000", "6850" ]
|
||||||
speed-preset: [ "ultrafast", "fast", "medium" ]
|
speed-preset: [ "ultrafast", "fast", "medium" ]
|
||||||
tune: [ "zerolatency" ]
|
tune: [ "zerolatency" ]
|
||||||
sliced-threads: [ "true", "false" ]
|
sliced-threads: [ "true", "false" ]
|
||||||
@ -10,14 +10,15 @@ options:
|
|||||||
rc-lookahead: [ "40", "0" ]
|
rc-lookahead: [ "40", "0" ]
|
||||||
ref: [ "3", "0" ]
|
ref: [ "3", "0" ]
|
||||||
nvh264enc:
|
nvh264enc:
|
||||||
bitrate: [ "10000", "20000", "5000" ]
|
bitrate: [ "10500", "4000", "6850" ]
|
||||||
preset: [ "4", "5", "1" ]
|
preset: [ "4", "5", "1" ]
|
||||||
rc-lookahead: [ "0" ]
|
rc-lookahead: [ "0" ]
|
||||||
rc-mode: [ "2", "0", "5" ]
|
rc-mode: [ "2", "0", "5" ]
|
||||||
zerolatency: [ "true", "false" ]
|
zerolatency: [ "true", "false" ]
|
||||||
|
gop-size: ["75", "0", "-1"]
|
||||||
nvv4l2h264enc:
|
nvv4l2h264enc:
|
||||||
bitrate: [ "10000000", "20000000", "5000000" ]
|
bitrate: [ "10500000", "4000000", "6850000" ]
|
||||||
profile: [ "0", "1", "2" ]
|
profile: [ "0", "2" ]
|
||||||
preset-id: [ "1", "2", "3" ]
|
preset-id: [ "1", "2", "3" ]
|
||||||
control-rate: [ "1", "2" ]
|
control-rate: [ "1", "2" ]
|
||||||
idrinterval: [ "1", "256" ]
|
idrinterval: [ "1", "256" ]
|
||||||
|
|||||||
@ -104,7 +104,10 @@ def generateEncoderStrings():
|
|||||||
options = get_config().options
|
options = get_config().options
|
||||||
result = dict()
|
result = dict()
|
||||||
for encoder, value in options.items():
|
for encoder, value in options.items():
|
||||||
result[encoder] = generate_combinations(value)
|
val = generate_combinations(value)
|
||||||
|
logging.debug(len(val))
|
||||||
|
result[encoder] = val
|
||||||
|
exit(1)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
@ -129,7 +132,6 @@ def generate_combinations(config_dict):
|
|||||||
param_strings.append(f"{key}={value}")
|
param_strings.append(f"{key}={value}")
|
||||||
|
|
||||||
combinations.append(" ".join(param_strings))
|
combinations.append(" ".join(param_strings))
|
||||||
|
|
||||||
return combinations
|
return combinations
|
||||||
|
|
||||||
|
|
||||||
@ -213,7 +215,7 @@ def run_autotest():
|
|||||||
qualityDataframe = pd.DataFrame()
|
qualityDataframe = pd.DataFrame()
|
||||||
latencyDataframe = pd.DataFrame()
|
latencyDataframe = pd.DataFrame()
|
||||||
for params in tqdm(combinations, desc="params combination loop", leave=False):
|
for params in tqdm(combinations, desc="params combination loop", leave=False):
|
||||||
for profile in get_config().profiles:
|
for profile in tqdm(get_config().profiles, desc="profile loop", leave=False):
|
||||||
for videoName, videoPath in tqdm(get_config().videos.items(), desc="videos loop", leave=False):
|
for videoName, videoPath in tqdm(get_config().videos.items(), desc="videos loop", leave=False):
|
||||||
for _ in tqdm(range(get_config().repeats), desc="repeat loop", leave=False):
|
for _ in tqdm(range(get_config().repeats), desc="repeat loop", leave=False):
|
||||||
filename = "autotest-" + encoder + "-" + \
|
filename = "autotest-" + encoder + "-" + \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user