mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
Small changes
This commit is contained in:
parent
0500d4ef04
commit
0eb682d337
1 changed files with 2 additions and 1 deletions
3
av1an.py
3
av1an.py
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
# Todo: Rav1e 2 pass, SVT-AV1 2 pass on windows
|
||||
# AV1 encoding wiki
|
||||
# Testing
|
||||
|
||||
import time
|
||||
from tqdm import tqdm
|
||||
|
@ -71,7 +72,7 @@ class Av1an:
|
|||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--mode', '-m', type=int, default=self.mode, help='Mode 0 - video, Mode 1 - image')
|
||||
parser.add_argument('--video_params', '-v', type=str, default=self.video_params, help='encoding settings')
|
||||
parser.add_argument('--file_path', '-i', type=Path, default='bruh.mp4', help='Input File', required=True)
|
||||
parser.add_argument('--file_path', '-i', type=Path, help='Input File', required=True)
|
||||
parser.add_argument('--encoder', '-enc', type=str, default=self.encoder, help='Choosing encoder')
|
||||
parser.add_argument('--workers', '-w', type=int, default=0, help='Number of workers')
|
||||
parser.add_argument('--audio_params', '-a', type=str, default='-c:a copy', help='FFmpeg audio settings')
|
||||
|
|
Loading…
Reference in a new issue