waifu2x-caffe
waifu2x-caffe copied to clipboard
How to use Waifu2x to working on videos?
So here's what hap*pened. I want to upscale a low-res Vocaloid song video to 1080p. I have the latest Windows 10 and NVIDIA GeForce GTX 1060 6G installed on my PC What should I do next? Because my machine has certain bugs I can't use Linux so it would be nice if I can just run thin on my Windows PC. CUDA and cuDNN are all set.
btw I'm not really good on Japanese so any English documents would be nice, thank you
I had some success using FFmpeg to extract every frame from a video and then use waifu2x to upscale all of them. This can take a very long time, depending on the scale, model, and the number of frames, but using CUDA will help a lot. Then you will need to put the frames back together into a video, which I have not tried to do, but it should work. I was not able to make a video out of it (I got lazy), so I cannot say how good it will look in the end.
FFmpeg will work on Windows.
On Thu, Feb 14, 2019 at 11:29 PM 割鱼蜓猪 [email protected] wrote:
btw I'm not really good on Japanese so any English documents would be nice, thank you
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lltcggie/waifu2x-caffe/issues/150#issuecomment-463902618, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPTFOkFKRrV2KPL_AOksesIr5lNDwNrks5vNjePgaJpZM4a86nc .
I had some success using FFmpeg to extract every frame from a video and then use waifu2x to upscale all of them. This can take a very long time, depending on the scale, model, and the number of frames, but using CUDA will help a lot. Then you will need to put the frames back together into a video, which I have not tried to do, but it should work. I was not able to make a video out of it (I got lazy), so I cannot say how good it will look in the end. FFmpeg will work on Windows. … On Thu, Feb 14, 2019 at 11:29 PM 割鱼蜓猪 @.***> wrote: btw I'm not really good on Japanese so any English documents would be nice, thank you — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#150 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPTFOkFKRrV2KPL_AOksesIr5lNDwNrks5vNjePgaJpZM4a86nc .
That's my solution now. Using Premiere Pro to extract every single frame from that video and just using Waifu2X to upscale each of these. BUT it takes almost forever and I'm not sure if I can even success. Does the speed of Waifu2X have anything to do with RAM or CPU or just CUDA cores
I had some success using FFmpeg to extract every frame from a video and then use waifu2x to upscale all of them. This can take a very long time, depending on the scale, model, and the number of frames, but using CUDA will help a lot. Then you will need to put the frames back together into a video, which I have not tried to do, but it should work. I was not able to make a video out of it (I got lazy), so I cannot say how good it will look in the end. FFmpeg will work on Windows. … On Thu, Feb 14, 2019 at 11:29 PM 割鱼蜓猪 @.***> wrote: btw I'm not really good on Japanese so any English documents would be nice, thank you — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#150 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPTFOkFKRrV2KPL_AOksesIr5lNDwNrks5vNjePgaJpZM4a86nc .
I mean 9000+ PNG files, each upscaling to 4K resolution, that can take a whole day
As far as I know, your GPU is the deciding factor on how fast it goes. An RTX 2080 will do a lot better than a GTX 760. The more CUDA cores the better (and make sure it's actually using CUDA!)
On Fri, Feb 15, 2019 at 12:46 AM 割鱼蜓猪 [email protected] wrote:
I had some success using FFmpeg to extract every frame from a video and then use waifu2x to upscale all of them. This can take a very long time, depending on the scale, model, and the number of frames, but using CUDA will help a lot. Then you will need to put the frames back together into a video, which I have not tried to do, but it should work. I was not able to make a video out of it (I got lazy), so I cannot say how good it will look in the end. FFmpeg will work on Windows. … <#m_-2526989077447663436_> On Thu, Feb 14, 2019 at 11:29 PM 割鱼蜓猪 @.***> wrote: btw I'm not really good on Japanese so any English documents would be nice, thank you — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#150 (comment) https://github.com/lltcggie/waifu2x-caffe/issues/150#issuecomment-463902618>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPTFOkFKRrV2KPL_AOksesIr5lNDwNrks5vNjePgaJpZM4a86nc .
I mean 9000+ PNG files, each upscaling to 4K resolution, that can take a whole day
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lltcggie/waifu2x-caffe/issues/150#issuecomment-463915428, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPTFAmXNVgp5DHheCU5UrxvoWHHGhS-ks5vNkmugaJpZM4a86nc .
https://github.com/K4YT3X/video2x
ffmpeg works perfectly (win10 x64 here). Be sure to get the most recent version of ffmpeg.
ffmpeg.exe -hide_banner -i
Be aware: -c 540 is the fastest for 1080p input for my card which has a lot of video RAM. You mileage may vary.