GithubHelp home page GithubHelp logo

tntwise / real-video-enhancer Goto Github PK

View Code? Open in Web Editor NEW
107.0 107.0 7.0 533.62 MB

Interpolate and Upscale easily on Linux/MacOS.

License: GNU Affero General Public License v3.0

Python 99.84% Makefile 0.09% Shell 0.07%
gui ifrnet interpolation linux macos real-esrgan rife upscaling waifu2x

real-video-enhancer's People

Contributors

tntwise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

real-video-enhancer's Issues

Input file becomes "deselected" after running enhancement for one time

Before submitting an issue, please confirm it meets all the criteria

  • I am on a distribution that is at least Ubuntu 20.04+, this means that your distros packages are the same as, or more up-to-date than Ubuntu 20.04.
  • I am using the Flatpak or stable AppImage release, if you are on the BETA, please create an issue in that respective repository.

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.

Screenshots
image

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):

  • OS: Fedora 38
  • Version: Flatpak

GPU
RX 6600 M

Additional context
Add any other context about the problem here.

[Feature Request] Image Collage and Precise Frame interpolation, maybe not rendering to lossy formats

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.

  • OS: Arch
  • Version Lastest Flatpak

(Flatpak) Rife enhancement crashes the application

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):

  • OS: [Fedora 39]
  • Version [Flatpak]

GPU
Radeon Vega 64

Video Upscaling Not Working in Flatpak Version on Manjaro

Before submitting an issue, please confirm it meets all the criteria

  • I am on a distribution that is at least Ubuntu 20.04+, this means that your distros packages are the same as, or more up to date than Ubuntu 20.04.
  • [x ] I am using the Flatpak or stable AppImage release, if you are on the BETA, please create an issue in that respective repository.

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.

Screenshots
Screenshot from 2024-02-20 13-59-02
Screenshot from 2024-02-20 14-00-16

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):

  • OS: Manjaro linux 6.5.13-7-MANJARO
  • Version Flatpak

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.

doesn't progress, no error.

  • I am using the Flatpak

Describe the bug
stops after 3 frames (buffer fills?)

Screenshots
Screenshot from 2024-04-30 16-32-54

Desktop (please complete the following information):

  • Fedora silverblue
  • Current Version: 1.1.2

GPU
amd r7 250 - vulkan

CUDA not detected

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

Is it normal that Frames Extraction is incredibly slow at max 8 frames per second?

Before submitting an issue, please confirm it meets all the criteria

  • [ x] I am using the Flatpak or stable AppImage release, if you are on the BETA, please create an issue in that respective repository.

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):

  • CPU: 5900X, 64GB RAM
  • OS: [Arch]
  • Version [AppImage]

GPU
RX 6800XT, ncnn

Additional context
Add any other context about the problem here.

Upscaling Resolution - Suggestion and/or Help

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!

Nothing is being output

Before submitting an issue, please confirm it meets all the criteria

  • [x ] I am on a distribution that is at least Ubuntu 20.04+, this means that your distros packages are the same as, or more up to date than Ubuntu 20.04.
  • [x ] I am using the Flatpak or stable AppImage release, if you are on the BETA, please create an issue in that respective repository.

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):

  • OS: KDE Neon
  • Version: Flatpak

GPU
Radeon RX 6800 XT

Additional context
It also wants to change the file extension from avi to mp4.
log.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.