Fix SVT-AV1 two-pass command syntax

This commit is contained in:
Andrew Sun 2020-10-19 11:23:46 -04:00 committed by GitHub
parent 496696f453
commit 67ff6480af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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, '-']
'--output-stat-file', 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, '-']
'--input-stat-file', f'{c.fpf}.stat', '-b', output, '-']
)
]