Real-ESRGAN icon indicating copy to clipboard operation
Real-ESRGAN copied to clipboard

Real-ESRGAN the fixed version

Open marana22 opened this issue 2 years ago • 7 comments

I sell the fixed tool the fixed version does not suffer from lags with the audio [email protected]

marana22 avatar Aug 19 '22 02:08 marana22

I sell the fixed tool the fixed version does not suffer from lags with the audio

Imagine trying to sell something that is free because of issues that you have yourself because you're too dumb to use it. Nice scam.

TechnoMasterBoy avatar Aug 21 '22 09:08 TechnoMasterBoy

need whan you convert it back to video too -r (framerate) for esragan input

5min google ffmpeg drop frames by frames input

kiam001 avatar Aug 29 '22 11:08 kiam001

ffmpeg -r 25.000 -i "D:\work\tmp\out_frames\frame%%08d.jpg" -c:v libx264 -r 25.000 -pix_fmt yuv420p "D:\work\output%%G.mkv"

kiam001 avatar Aug 29 '22 11:08 kiam001

ffmpeg -r 25.000 -i "D:\work\tmp\out_frames\frame%%08d.jpg" -c:v libx264 -r 25.000 -pix_fmt yuv420p "D:\work\output%%G.mkv"

ffmpeg -r 25/1 -start_number 0 -i %%6d.png -preset veryslow -pix_fmt yuv420p -x264-params bframes=16:merange=24:no-fast-pskip=1:rc-lookahead=120:subme=11:aq-mode=2:open-gop=1 -refs 1 -crf 15 output.mp4 This will give you the best quality. If you want faster, use GPU instead. Replace the %%6d.png with whatever you use. Put the frames in the same folder as where you're executing this command.

If you want a piss easy to use setup, I've made one here: https://mega.nz/file/c5xAgY5b#vOvEAIUCDszw85Upzi2CkQUnU_GD2d7q78AABzW80lI However, everything is tied to C, so if you want to use your D drive, you'll have to edit the bat files, but that shouldn't take long. There's a full guide in it too explaining every step on how to use it. The link will die over time as I update it every now and then.

TechnoMasterBoy avatar Aug 29 '22 12:08 TechnoMasterBoy

this was by the way my full script https://github.com/kiam001/Upscale-bat-file/blob/main/start.bat

kiam001 avatar Aug 29 '22 12:08 kiam001

@TechnoMasterBoy thx for improof :) https://github.com/kiam001/Upscale-bat-file/commit/1cb68eff927a91a076b7dc4ee84d99e46b2b5c0c

kiam001 avatar Aug 30 '22 17:08 kiam001

@TechnoMasterBoy thx for improof :) kiam001/Upscale-bat-file@1cb68ef

Nice. Btw I saw the -vf scale=1920x1080 You can set ESRGAN to upscale 2x or 3x instead of 4x, unless you need 4x to hit 1920x1080. It should speed up the upscale time for you.

TechnoMasterBoy avatar Aug 30 '22 17:08 TechnoMasterBoy