mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
removed clutter
This commit is contained in:
parent
b1b23faddb
commit
e9faf49e70
3 changed files with 1 additions and 7 deletions
8
main.py
8
main.py
|
@ -31,7 +31,7 @@ def arg_parsing():
|
|||
|
||||
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 ',
|
||||
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='number of encode running at a time')
|
||||
|
@ -124,12 +124,6 @@ def main(input_video, encoding_params, num_worker):
|
|||
|
||||
if __name__ == '__main__':
|
||||
|
||||
# Command line parser
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--encoding_params', type=str, default=' -an -c:v libaom-av1 -strict -2 -cpu-used 8 -crf 63', 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=determine_resources(), help='number of encode running at a time')
|
||||
|
||||
args = arg_parsing()
|
||||
|
||||
# Main thread
|
||||
|
|
BIN
vids/output.webm
Normal file
BIN
vids/output.webm
Normal file
Binary file not shown.
BIN
vids/vid.webm
Normal file
BIN
vids/vid.webm
Normal file
Binary file not shown.
Loading…
Reference in a new issue