mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Merge pull request #182 from as-com/patch-1
Fix SVT-AV1 two-pass command syntax
This commit is contained in:
commit
7776b9db3d
1 changed files with 2 additions and 2 deletions
|
@ -33,12 +33,12 @@ class SvtAv1(Encoder):
|
||||||
CommandPair(
|
CommandPair(
|
||||||
Encoder.compose_ffmpeg_pipe(a),
|
Encoder.compose_ffmpeg_pipe(a),
|
||||||
['SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params,
|
['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(
|
CommandPair(
|
||||||
Encoder.compose_ffmpeg_pipe(a),
|
Encoder.compose_ffmpeg_pipe(a),
|
||||||
['SvtAv1EncApp', '-i', 'stdin', '--progress', '2', '--irefresh-type', '2', *a.video_params,
|
['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