mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
Update main.py
This commit is contained in:
parent
e009b5ab07
commit
9dcb810276
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -97,6 +97,6 @@ if __name__ == '__main__':
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('--encoding_params', type=str, default=' -an -c:v libaom-av1 -strict -2 -row-mt 1 -tiles 2x2 -cpu-used 8 -crf 60 ', help='FFmpeg settings')
|
parser.add_argument('--encoding_params', type=str, default=' -an -c:v libaom-av1 -strict -2 -row-mt 1 -tiles 2x2 -cpu-used 8 -crf 60 ', help='FFmpeg settings')
|
||||||
parser.add_argument('--input_file', '-i', type=str, default='bruh.mp4', help='input video file')
|
parser.add_argument('--input_file', '-i', type=str, default='bruh.mp4', help='input video file')
|
||||||
parser.add_argument('--num_worker', '-t', type=int, default=8, help='input video file')
|
parser.add_argument('--num_worker', '-t', type=int, default=8, help='number of encode running at a time')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
main(args.input_file, args.encoding_params, args.num_worker)
|
main(args.input_file, args.encoding_params, args.num_worker)
|
Loading…
Reference in a new issue