diff --git a/REAL-Video-Enhancer.py b/REAL-Video-Enhancer.py index 01272cd3..4c65536a 100644 --- a/REAL-Video-Enhancer.py +++ b/REAL-Video-Enhancer.py @@ -468,8 +468,11 @@ def closeEvent(self, event): app = QApplication(sys.argv) # setting the pallette - + app.setPalette(Palette()) window = MainWindow() + if len(sys.argv) > 1: + if sys.argv[1] == '--fullscreen': + window.showFullScreen() window.show() sys.exit(app.exec()) diff --git a/backend/src/FFmpeg.py b/backend/src/FFmpeg.py index 6a9f6029..ee9a6602 100644 --- a/backend/src/FFmpeg.py +++ b/backend/src/FFmpeg.py @@ -6,7 +6,6 @@ import sys import time import math -from tqdm import tqdm from multiprocessing import shared_memory from .Util import ( currentDirectory, @@ -14,10 +13,8 @@ printAndLog, ffmpegPath, ffmpegLogFile, - removeFolder, ) import time -from time import sleep from threading import Thread @@ -256,7 +253,7 @@ def getFFmpegWriteCommand(self): "-", "-i", f"{self.inputFile}", - f"-crf", + "-crf", f"{self.crf}", "-pix_fmt", self.pixelFormat,