2020-02-05 21:59:59 +00:00
|
|
|
#!/usr/bin/env python3
|
2020-02-18 08:09:20 +00:00
|
|
|
|
2020-07-21 17:42:15 +00:00
|
|
|
from Av1an import *
|
2020-06-17 08:06:39 +00:00
|
|
|
|
2020-06-22 20:11:07 +00:00
|
|
|
|
2020-01-12 15:55:22 +00:00
|
|
|
class Av1an:
|
2020-07-04 19:57:09 +00:00
|
|
|
"""Av1an - Python framework for AV1, VP9, VP8 encoding"""
|
2020-01-12 15:55:22 +00:00
|
|
|
def __init__(self):
|
2020-07-18 18:50:39 +00:00
|
|
|
self.args = arg_parsing()
|
2020-01-14 19:17:59 +00:00
|
|
|
|
2020-05-16 14:38:37 +00:00
|
|
|
def main_thread(self):
|
|
|
|
"""Main."""
|
2020-07-20 20:15:52 +00:00
|
|
|
startup_check(self.args)
|
2020-07-21 13:09:44 +00:00
|
|
|
main_queue(self.args)
|
2020-05-16 14:38:37 +00:00
|
|
|
|
2020-06-22 20:11:07 +00:00
|
|
|
|
2020-06-22 19:53:12 +00:00
|
|
|
def main():
|
2020-07-21 13:09:44 +00:00
|
|
|
Av1an().main_thread()
|
2020-06-22 19:53:12 +00:00
|
|
|
|
2020-06-22 20:11:07 +00:00
|
|
|
|
2020-06-22 19:53:12 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|