reve icon indicating copy to clipboard operation
reve copied to clipboard

What i need to make this work with real world videos ?

Open vinicioslc opened this issue 2 years ago • 2 comments

What is the files that i need know and explore to figure how add suport to other models and convert real world videos ?

I only need know where start...

vinicioslc avatar Mar 10 '23 02:03 vinicioslc

I took a quick look at this. It's basically using ffmpeg to write frames as images, scaling the images, then re-encoding the scaled images to video. Each of these are just command-line program calls. The upscaler is called here: https://github.com/ONdraid/reve/blob/b2aacdae840415aa7630ae955c91b38077d93754/reve-shared/src/lib.rs#L129

Should be easy enough to replace that with something else. You can get a bunch of different options from this upscaler: https://github.com/k4yt3x/video2x/releases/tag/4.8.1. I wouldn't recommend using that app over reve, though (just get the different scaler command line utilities out of it), as I find it can crash, and has no resumption, which is sucky when it's been redlining your CPU for 10 hours or more. AT least reve can restart.

gramster avatar Mar 14 '23 22:03 gramster

Actually you may have to only change one line; realsrgan-ncnn-vulkan has 4 different models; reve has hardcoded one but that would be easy to change. It looks like you can get the other models from the links here: https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan/issues/29

gramster avatar Mar 15 '23 04:03 gramster