From 5255e202835124ab31a58964c80fe3ac2b55b99f Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 25 May 2023 18:43:53 +0000 Subject: [PATCH] fixed incorrect interpolator choices; reduced libfdk_aac cutoff freq --- video2x/__main__.py | 2 +- video2x/encoder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/video2x/__main__.py b/video2x/__main__.py index b279fc5..6e858ce 100755 --- a/video2x/__main__.py +++ b/video2x/__main__.py @@ -131,7 +131,7 @@ def parse_arguments() -> argparse.Namespace: interpolate.add_argument( "-a", "--algorithm", - choices=UPSCALING_ALGORITHMS, + choices=INTERPOLATION_ALGORITHMS, help="algorithm to use for upscaling", default=INTERPOLATION_ALGORITHMS[0], ) diff --git a/video2x/encoder.py b/video2x/encoder.py index ead0f50..073de90 100755 --- a/video2x/encoder.py +++ b/video2x/encoder.py @@ -92,7 +92,7 @@ class VideoEncoder: crf=17, preset="veryslow", # acodec="libfdk_aac", - # cutoff=20000, + # cutoff=18000, r=frame_rate, map_metadata=1, metadata="comment=Processed with Video2X",