mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-25 02:29:40 +00:00
27 lines
506 B
Python
Executable file
27 lines
506 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
from Av1an import *
|
|
from Startup.setup import startup_check
|
|
from Managers import Manager
|
|
|
|
class Av1an:
|
|
"""Av1an - Python framework for AV1, VP9, VP8 encoding"""
|
|
def __init__(self):
|
|
self.args = arg_parsing()
|
|
|
|
def main_thread(self):
|
|
"""Main."""
|
|
startup_check(self.args)
|
|
|
|
manager = Manager.Main(self.args)
|
|
|
|
manager.run()
|
|
# main_queue(self.args)
|
|
|
|
|
|
def main():
|
|
Av1an().main_thread()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|