Giter Club home page Giter Club logo

real-video-enhancer's Introduction

REAL Video Enhancer

Visitors downloads_total pypresence Discord Shield

Want a windows version?

Now out on flathub!

https://flathub.org/apps/io.github.tntwise.REAL-Video-Enhancer

REAL Video Enhancer is a redesigned and enhanced version of the original Rife ESRGAN App for Linux. This program offers convenient access to frame interpolation and upscaling functionalities on Linux, comparable to Flowframes or enhancr on Windows.

Features:

  • NEW! CUDA support.
  • NEW! MacOS support.
  • Support for Ubuntu 20.04+ on AppImage and Flatpak.
  • Discord RPC support for Discord system package and Discord flatpak.
  • Scene change detection to preserve sharp transitions.
  • Preview that shows latest frame that has been rendered.
  • Enhancing straight from a YouTube link or a video URL.

Benchmarks: (NCNN)

Benchmarks done with 1920x1080 video, default settings using JPG image extraction.

RX 6650 XT Ensemble False Ensemble True
rife-v2.0 - v2.4 12.341 fps -
rife-v3.0 - v3.1 10.646 fps -
rife-v4.0 - v4.5 32.504 fps -
rife-v4.6 31.154 fps 18.078 fps
rife-v4.7 - v4.9 27.924 fps 15.463 fps
rife-v4.10 - v4.15 22.801 fps 12.981 fps
rife-v4.16-lite 31.205 fps 19.381 fps

Confused on anything?

Download the Latest Beta release here:

https://github.com/TNTwise/REAL-Video-Enhancer-BETA/releases/latest

Software used:

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

Watchers

 avatar  avatar

real-video-enhancer's Issues

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!

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.

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

(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

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

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.