mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
moving defaults
This commit is contained in:
parent
e099d281e7
commit
3be6e4376a
1 changed files with 3 additions and 2 deletions
5
avian.py
5
avian.py
|
@ -25,8 +25,7 @@ except ImportError:
|
||||||
print('ERROR: No PyScenedetect installed, try: sudo pip install scenedetect')
|
print('ERROR: No PyScenedetect installed, try: sudo pip install scenedetect')
|
||||||
|
|
||||||
#-w 252 -h 144
|
#-w 252 -h 144
|
||||||
DEFAULT_ENCODE = '--threads=2 --cpu-used=4 --end-usage=q --cq-level=35 --aq-mode=1'
|
|
||||||
DEFAULT_AUDIO = '-c:a copy'
|
|
||||||
FFMPEG = 'ffmpeg -hide_banner -loglevel warning '
|
FFMPEG = 'ffmpeg -hide_banner -loglevel warning '
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,6 +67,8 @@ def arg_parsing():
|
||||||
Command line parser
|
Command line parser
|
||||||
Have default params
|
Have default params
|
||||||
"""
|
"""
|
||||||
|
DEFAULT_ENCODE = '--threads=2 --cpu-used=4 --end-usage=q --cq-level=35 --aq-mode=1'
|
||||||
|
DEFAULT_AUDIO = '-c:a copy'
|
||||||
|
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('--encoding_params', type=str, default=DEFAULT_ENCODE, help='AOMENC settings')
|
parser.add_argument('--encoding_params', type=str, default=DEFAULT_ENCODE, help='AOMENC settings')
|
||||||
|
|
Loading…
Reference in a new issue