QualityScaler
QualityScaler copied to clipboard
[BUG] Upscale error
Hello,
My problem is that at the very end of the upscaling process I get an error. I have no idea what could be causing it. In the folder where all the frames are unpacked there are also all the frames that are correctly upscaled, but it seems that the program is not able to put it back into a movie. Input format AVI. In the meantime I am trying to use a different model than in the attached screenshot, but the time needed to process a 6-minute video in the case of other models is too long to make sense (1 - 2.5 hours). I am using version 4.1. I also had one attempt where the error did not appear, the message said that the process was successful, but I did not get the output file.
Error message:
My settings:
CPU spec: AMD Ryzen 7 4800H RTX 2060 6GB VRAM RAM 16GB
One of the problems was the wrong location of ffmpeg.exe, I fixed it but I still have a problem getting the output file
Hi my friend,
the 1. problem was that ffmpeg.exe was not correctly installed.
In the second photo i can see that ffmpeg completed without problem, the red text is only a warning; so the upscaled video should be in the path you selected or in the same directory of the original file (as the default setting)
How can I find my logs? I have the same issue and none of the codecs work.
Setup: Ryzen 7 2700x RTX 3070
@TheBoxyBear
Hi my friend, check ffmpeg.exe position.
You need to put it in Assets folder
So it doesn't check for FFmpeg at the start? It could be something to consider adding with a more appropriate error message. Also, checking if FFmpeg is installled as a global command as it is the case on my setup.
yes the app gives an error if does not find ffmpeg.exe, the error is in the terminal
How do I open the console to see errors?
are you running the python script?
I can't seem to find such script. I'm using the version from itch.io. I also can't find the Assets folder to put ffmpeg
if you are using itch version everything is already installed, what problem do you get?
In any case try to execute the app as Administrator. Sometimes Windows is annoying
Right click on QualityScaler.exe > run as Administrator
I still get the codec error from the original issue.
can you share a screen of your QS settings? and a screen of your PC infos?
Hi my friend,
the settings seem correct to me based on your pc.
I ask you one last thing, when the app is going to create the upscaled video, after upscaling the frames, it creates a txt file named after the file needed to create the video.
Can you see this txt file? (It is in the same location as the upscaled frames.) Could it be that it is not created correctly
The file is created with just lists of all the frames. Although strangely I have files from multiple runs all with slightly different sizes.
Mh are you upscaling the same video with the same settings? Input resolution, output resolution and AI model?
the app should restart where it finished last time.
In any case it seems that the error is related solely to encoding via ffmpeg.
My advice is to do a good restore and start from a clean situation:
- Delete the app and re-download it from itch.io
- Update your pc to the latest version of Windows
- Update the GPU and motherboard drivers and CPU (https://www.amd.com/en/support/download/drivers.html)
- Install the Visual C libraries (https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/) download the file .zip, extract everything and click install_all.bat
That way you should start from as clean a situation as possible
After these suggestions I tried with another video and it worked. It just seems to not like this one particular video, despite it coming from the same source so it should be encoded the same way. So I'm not too sure if it's a QualityScaler or ffmpeg issue.
@TheBoxyBear oh this is really strange
if you want, send me the video on telegram or in another way
so i can test this specific video, thank you :)
Hello @BugTickler,
I've encountered this due to a ' in the file name. See here: https://github.com/Djdefrag/QualityScaler/issues/133
My filename doesn't have a ' but it does contain the emote :( that could alco be problematic characters.