possible fix + readding FSR

This commit is contained in:
2023-03-28 13:46:49 +02:00
parent c93d866dd4
commit 3ed9781d27
4 changed files with 11 additions and 12 deletions

View File

@@ -120,7 +120,6 @@ class Handler:
print("created dir") print("created dir")
if self.os_type == "linux": if self.os_type == "linux":
print("linux")
self.command = f"ffmpeg -i {str(self.filepath)} {self.tmppath}ex%08d.png" self.command = f"ffmpeg -i {str(self.filepath)} {self.tmppath}ex%08d.png"
elif self.os_type == "win32": elif self.os_type == "win32":
self.command = f"ffmpeg -i {str(self.filepath)} \"{self.tmppath}ex%08d.png\"" self.command = f"ffmpeg -i {str(self.filepath)} \"{self.tmppath}ex%08d.png\""

BIN
bin/lib/FidelityFX_CLI.exe Normal file

Binary file not shown.

View File

@@ -12,6 +12,7 @@ import bin.handler
import os import os
import multiprocessing import multiprocessing
if __name__ == '__main__':
ap = argparse.ArgumentParser( description='FSRImageVideoUpscaler - CLI, a CLI application to upscale videos and images using FSR. ' ) ap = argparse.ArgumentParser( description='FSRImageVideoUpscaler - CLI, a CLI application to upscale videos and images using FSR. ' )
ap.add_argument( 'inputfile', help='File path for the video / image to be upscaled' ) ap.add_argument( 'inputfile', help='File path for the video / image to be upscaled' )
ap.add_argument( 'outputfile', help='File path for the video / image that was upscaled' ) ap.add_argument( 'outputfile', help='File path for the video / image that was upscaled' )
@@ -23,7 +24,6 @@ handler = bin.handler.Handler()
go = True; go = True;
if __name__ == '__main__':
multiprocessing.freeze_support(); multiprocessing.freeze_support();
if ( os.path.exists( args.outputfile ) ): if ( os.path.exists( args.outputfile ) ):
if ( input( 'File already exists. Do you want to replace it? (y/n) ' ).lower() == 'y' ): if ( input( 'File already exists. Do you want to replace it? (y/n) ' ).lower() == 'y' ):