mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 10:40:51 +00:00
arg parse changes
This commit is contained in:
parent
e3fff55431
commit
1339ed051e
1 changed files with 1 additions and 2 deletions
|
@ -5,7 +5,6 @@ from pathlib import Path
|
|||
def arg_parsing():
|
||||
"""Command line parsing"""
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--mode', '-m', type=int, default=0, help='0 - local, 1 - master, 2 - encoder')
|
||||
|
||||
# Input/Output/Temp
|
||||
parser.add_argument('--input', '-i', nargs='+', type=Path, help='Input File')
|
||||
|
@ -26,7 +25,7 @@ def arg_parsing():
|
|||
parser.add_argument('--reuse_first_pass', help='Reuse the first pass from aom_keyframes split on the chunks', action='store_true')
|
||||
|
||||
# Encoding
|
||||
parser.add_argument('--passes', '-p', type=int, default=2, help='Specify encoding passes')
|
||||
parser.add_argument('--passes', '-p', type=int, default=2, help='Specify encoding passes', choices=[1, 2])
|
||||
parser.add_argument('--video_params', '-v', type=str, default=None, help='encoding settings')
|
||||
parser.add_argument('--encoder', '-enc', type=str, default='aom', help='Choosing encoder',
|
||||
choices=['aom', 'svt_av1', 'rav1e', 'vpx'])
|
||||
|
|
Loading…
Reference in a new issue