mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
Add --pass argument
This commit is contained in:
parent
67ff6480af
commit
703d94be6b
1 changed files with 2 additions and 2 deletions
|
@ -33,12 +33,12 @@ class SvtAv1(Encoder):
|
|||
CommandPair(
|
||||
Encoder.compose_ffmpeg_pipe(a),
|
||||
['SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params,
|
||||
'--output-stat-file', f'{c.fpf}.stat', '-b', os.devnull, '-']
|
||||
'--pass', '1', '--stats', f'{c.fpf}.stat', '-b', os.devnull, '-']
|
||||
),
|
||||
CommandPair(
|
||||
Encoder.compose_ffmpeg_pipe(a),
|
||||
['SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params,
|
||||
'--input-stat-file', f'{c.fpf}.stat', '-b', output, '-']
|
||||
'--pass', '2', '--stats', f'{c.fpf}.stat', '-b', output, '-']
|
||||
)
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue