Update main.py

This commit is contained in:
IIIBlueberry 2020-01-09 22:58:05 +08:00
parent e009b5ab07
commit 9dcb810276

View file

@ -97,6 +97,6 @@ if __name__ == '__main__':
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('--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()
main(args.input_file, args.encoding_params, args.num_worker)