mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Faster probes for aomenc and rav1e
This commit is contained in:
parent
edf2ea7656
commit
ba0c7e7a0c
1 changed files with 3 additions and 3 deletions
|
@ -90,8 +90,8 @@ def probe_cmd(chunk: Chunk, q, ffmpeg_pipe, encoder, probing_rate) -> CommandPai
|
||||||
probe_name = gen_probes_names(chunk, q).with_suffix('.ivf').as_posix()
|
probe_name = gen_probes_names(chunk, q).with_suffix('.ivf').as_posix()
|
||||||
|
|
||||||
if encoder == 'aom':
|
if encoder == 'aom':
|
||||||
params = ['aomenc', '--passes=1', '--threads=8',
|
params = ['aomenc', '--passes=1', '--threads=24',
|
||||||
'--end-usage=q', '--cpu-used=6', f'--cq-level={q}']
|
'--end-usage=q', '--cpu-used=6', '--tile-columns=2', '--tile-rows=1', f'--cq-level={q}']
|
||||||
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
||||||
|
|
||||||
elif encoder == 'x265':
|
elif encoder == 'x265':
|
||||||
|
@ -100,7 +100,7 @@ def probe_cmd(chunk: Chunk, q, ffmpeg_pipe, encoder, probing_rate) -> CommandPai
|
||||||
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
||||||
|
|
||||||
elif encoder == 'rav1e':
|
elif encoder == 'rav1e':
|
||||||
params = ['rav1e', '-y', '-s', '10', '--tiles', '8', '--quantizer', f'{q}']
|
params = ['rav1e', '-y', '-s', '10', '--tiles', '32', '--quantizer', f'{q}']
|
||||||
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
cmd = CommandPair(pipe, [*params, '-o', probe_name, '-'])
|
||||||
|
|
||||||
elif encoder == 'vpx':
|
elif encoder == 'vpx':
|
||||||
|
|
Loading…
Reference in a new issue