tntwise / real-video-enhancer Goto Github PK
View Code? Open in Web Editor NEWInterpolate and Upscale easily on Linux/MacOS.
License: GNU Affero General Public License v3.0
Interpolate and Upscale easily on Linux/MacOS.
License: GNU Affero General Public License v3.0
Before submitting an issue, please confirm it meets all the criteria
Describe the bug
After selecting the input and starting the enhancement the next time I want to change some settings and repeat the process I'm met with the error shown below.
To Reproduce
Expected behavior
The file should remain selected no matter if the enhancement was already done on the file.
Logs
Logs folder on Flatpak: /home/$USER/.var/app/io.github.tntwise.REAL-Video-Enhancer/logs/
Logs folder on AppImage: /home/$USER/.local/share/REAL-Video-Enhancer/logs/
Desktop (please complete the following information):
GPU
RX 6600 M
Additional context
Add any other context about the problem here.
Hi, possibly to run ur software on windows? if yes how?
rife-v4 allows for specifying the number of frames that should be generated, because often the math for going from one frame-rate to another, especially with image collages, is dead wrong with every interpolator I've ever used, it's almost always short. You could do this automatically of course, the math is quite simple. It's ceil(target_fps * (original_amount_of_frames\original_fps)). We always want to round up to the nearest whole number, or you'll be one short. Conversely, I'm working with image collages for a variety of reasons, and I'm just having a hell of a time getting vapoursynth to do want I want to deal with the jank of transitions. I'd also prefer something other than h264 or 5, as these are always lossy, but could swap something lossless back to an image collage.
Is there any plan to add supports for removing duplicate frames on animes?
Describe the bug
Rife enhancement crashes the application.
To Reproduce
Try to use Rife to interpolate the frames of the input video, press start, and it should then crash.
Expected behaviour
The enhancement would complete successfully.
Logs
ERROR: Importing of notifications failed! module 'notify.linux' has no attribute 'LinuxNotification'
Model: Rife
'MainWindow' object has no attribute 'fps' Traceback (most recent call last):
File "main.py", line 316, in showChangeInFPS
AttributeError: 'MainWindow' object has no attribute 'fps'
added model rife-v4.6
Program Started
Starting Render, input_file=/run/user/1000/doc/3d9c2c3c/Alice in Wonderland Trailer (180p_30fps_H264-96kbit_AAC).mp4
Start Progressbar/Info Thread
End of start function
INFO: Running AI: ['/home/baf9900/.var/app/io.github.tntwise.REAL-Video-Enhancer/models//rife/rife-ncnn-vulkan', '-m', 'rife-v4.6', '-i', "/home/baf9900/.var/app/io.github.tntwise.REAL-Video-Enhancer/renders//Alice in Wonderland Trailer (180p_30fps_H264-96kbit_AAC).mp4_temp/input_frames/", '-o', "/home/baf9900/.var/app/io.github.tntwise.REAL-Video-Enhancer/renders//Alice in Wonderland Trailer (180p_30fps_H264-96kbit_AAC).mp4_temp/output_frames/0/", '-j', '1:4:2', '-f', '%08d.png', '-n', '2176']
INFO: Starting Render Thread
ERROR: Unhandled exception! [<FrameSummary file /home/runner/work/REAL-Video-Enhancer-BETA/REAL-Video-Enhancer-BETA/archive-build/REAL-Video-Enhancer/src/workers.py, line 383 in finishRenderSetup>, <FrameSummary file /home/runner/work/REAL-Video-Enhancer-BETA/REAL-Video-Enhancer-BETA/archive-build/REAL-Video-Enhancer/src/workers.py, line 415 in Render>, <FrameSummary file /home/runner/work/REAL-Video-Enhancer-BETA/REAL-Video-Enhancer-BETA/archive-build/REAL-Video-Enhancer/src/workers.py, line 229 in optimized_render>, <FrameSummary file /home/runner/work/REAL-Video-Enhancer-BETA/REAL-Video-Enhancer-BETA/archive-build/REAL-Video-Enhancer/src/workers.py, line 213 in render>, <FrameSummary file /usr/lib/python3.8/subprocess.py, line 858 in __init__>, <FrameSummary file /usr/lib/python3.8/subprocess.py, line 1704 in _execute_child>],finishRenderSetup,<class 'FileNotFoundError'>,An unhandled exception occurred: [Errno 2] No such file or directory: '/home/baf9900/.var/app/io.github.tntwise.REAL-Video-Enhancer/models//rife/rife-ncnn-vulkan'
Desktop (please complete the following information):
GPU
Radeon Vega 64
Before submitting an issue, please confirm it meets all the criteria
Describe the bug
I am experiencing an issue with upscaling video resolutions using the Flatpak version of the software on Manjaro Linux. Despite selecting various upscaling models such as RealESRGAN, RealCUGAN, and Waifu2x, the output video's resolution remains unchanged. The process completes without any errors, but the expected increase in resolution does not occur.
To Reproduce
Launch the application using the Flatpak package on Manjaro Linux.
Select a video file for upscaling.
Choose any of the upscaling models (RealESRGAN, RealCUGAN, or Waifu2x).
Start the upscaling process.
Upon completion, check the output video's resolution.
Expected behavior
I expected the resolution of the output video to be increased according to the selected upscaling model. Regardless of the model chosen (RealESRGAN, RealCUGAN, or Waifu2x), the resolution should have been enhanced, but it remains the same as the original.
Logs
If the application generates a log, please upload it here.
log_2024-02-20:13:55:52.txt
Logs folder on Flatpak: /home/$USER/.var/app/io.github.tntwise.REAL-Video-Enhancer/logs/
Logs folder on AppImage: /home/$USER/.local/share/REAL-Video-Enhancer/logs/
Desktop (please complete the following information):
GPU
Please state your GPU, support on NVIDIA is difficult as I lack testing hardware, please be understanding if it is a problem relating to NVIDIA.
RTX4090
Additional context
Add any other context about the problem here.
Hi,
Before I start, thank you for making a project like this possible. If anything, I am deeply appreciate of it as someone coming from Windows with little knowledge in Linux recently.
For the problem:
I am having issue getting RVE to pickup my CUDA installation. My OS is LMDE running on 6.1.0-21. I installed my nvidia driver and CUDA using sudo apt install nvidia-driver && sudo apt install nvidia-cuda-toolkit.
CUDA seems to be detected when I run nvcc --version though
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Can advise what other steps are necessary to get RVE to detect CUDA?
This is a Flatpak installation btw if it helps.
Thank you
Before submitting an issue, please confirm it meets all the criteria
Describe the bug
As mentioned in the title, frame extraction takes ages. Is there a setting for multithreading? Because it only uses one of 24 threads.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If the application generates a log, please upload it here.
Logs folder on Flatpak: /home/$USER/.var/app/io.github.tntwise.REAL-Video-Enhancer/logs/
Logs folder on AppImage: /home/$USER/.local/share/REAL-Video-Enhancer/logs/
Desktop (please complete the following information):
GPU
RX 6800XT, ncnn
Additional context
Add any other context about the problem here.
I apologize for posting here, I don't have any issues with the program, it runs beautifully! I only have one suggestion or perhaps getting some help. Is there a way to lower the upscaling resolution? Having the resolution (fixed aspect ratio) of course so there won't be any stretching or black boxes.
I really love this handy tool and I use it daily, it's definitely the best one I proudly have installed on my system.
I would love to see this in an upcoming update!
Once again, I really apologize for posting it here, I found no other way to contact you, or to send this message out. I hope you don't mind.
Thank you!
Before submitting an issue, please confirm it meets all the criteria
Describe the bug
No file is actually being created by the program.
When choosing the input file, it is correctly getting registered in the status window (top right corner). But not when choosing output folder.
After upscaling my video, the status window says "Finished! Output video: /home/shotweb/Videos//out.avi_1408x1024.mp4
Total Time: 0:01:42"
I assume the problem is the extra slash? And it's something flatpak related, but I'm not smart enough to think further.
To Reproduce
Try to upscale video.
Expected behavior
File of the updated video is created in the specified output folder.
Screenshots
N/A
Logs
If the application generates a log, please upload it here.
Logs folder on Flatpak: /home/$USER/.var/app/io.github.tntwise.REAL-Video-Enhancer/logs/
Logs folder on AppImage: /home/$USER/.local/share/REAL-Video-Enhancer/logs/
Desktop (please complete the following information):
GPU
Radeon RX 6800 XT
Additional context
It also wants to change the file extension from avi to mp4.
log.txt
Hi
Can you implement waifu2x vulkan as well ??
https://github.com/nihui/waifu2x-ncnn-vulkan
This is a known issue, please adjust gpu_threading in settings if your gpu is not being utilized enough if you see this issue.
Will it be possible to deduplicate anime frames and interpolate it into full frames using the repository below?
https://github.com/hyw-dev/AFI-ForwardDeduplicate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.