diff --git a/av1an.py b/av1an.py index 1593e69..ab6a84f 100755 --- a/av1an.py +++ b/av1an.py @@ -67,7 +67,7 @@ class Av1an: self.encoders = {'svt_av1': 'SvtAv1EncApp', 'rav1e': 'rav1e', 'aom': 'aomenc', 'vpx': 'vpxenc'} @staticmethod - def get_cq(self, command): + def get_cq(command): """Return cq values from command""" matches = re.findall(r"--cq-level= *([^ ]+?) ", command) return int(matches[-1]) @@ -591,7 +591,7 @@ class Av1an: b_limit = self.d.get('boost_limit') b_range = self.d.get('boost_range') try: - cq = self.get_cq(command) + cq = Av1an.get_cq(command) if not new_cq: if br_geom < 128: new_cq = cq - round((128 - br_geom) / 128 * b_range) diff --git a/setup.py b/setup.py index 2a85826..8236563 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ with open("README.md", "r") as f: setuptools.setup( name="Av1an", - version="1.9.0", + version="1.9.0-1", author="Master_Of_Zen", author_email="master_of_zen@protonmail.com", description="All-in-one encode toolkit",