mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Increase rate for big chunks with target quality
This commit is contained in:
parent
6050140562
commit
508d7304af
1 changed files with 6 additions and 2 deletions
|
@ -36,8 +36,12 @@ def adapt_probing_rate(rate, frames):
|
|||
return min(rate, 2)
|
||||
elif frames < 120:
|
||||
return min(rate, 3)
|
||||
else:
|
||||
return rate
|
||||
elif frames < 240:
|
||||
return min(rate, 4)
|
||||
elif frames > 240:
|
||||
return max(rate, 5)
|
||||
elif frames > 480:
|
||||
return 10
|
||||
|
||||
|
||||
def get_target_q(scores, target_quality):
|
||||
|
|
Loading…
Reference in a new issue