Log in

View Full Version : Help with using W2X


blaze077
27th February 2016, 02:00
Is there any way to resize a 512x288 video to 720p using W2X?

http://forum.doom9.org/showthread.php?t=172197

http://waifu2x-avisynth.sunnyone.org/

It simply says it can enlarge the video resolution by 2 times, 4 times and so on.

Asmodian
27th February 2016, 02:02
Not using only W2X, you would need to take it to 2048x1152 and then downscale with something else.

blaze077
27th February 2016, 02:09
Not using only W2X, you would need to take it to 2048x1152 and then downscale with something else.
Oh, I see. That makes complete sense. This is gonna be super easy now. Thank you. :thanks:

blaze077
27th February 2016, 08:12
I have a new problem now. This is my script:

LoadPlugin("C:\Anime Encoding\MeGUI\tools\avisynth_plugin\Waifu2xAvisynth.dll")
LoadPlugin("C:\Anime Encoding\MeGUI\tools\avs\plugins\directshowsource.dll")
DirectShowSource("C:\Users\Blaze\Desktop\Bleach - 01.mkv", fps=24.000, audio=false, convertfps=true).AssumeFPS(24,1)
ConvertToYV12()
waifu2x(nr=0, scale=4, models="C:\Anime Encoding\MeGUI\tools\avisynth_plugin\models", jobs=0)

So I tried running this through MeGUI and AVSPMod but neither of them worked - they both use the x264 encoder. MeGUI crashed whereas AVSPMod opened the x264.exe encoder but the encoding never started.

foxyshadis
28th February 2016, 11:09
The original w2x is incredibly unoptimized and crashes a lot; you really need to use something based on w2xc. Waifu2x-w2xc (https://forum.doom9.org/showthread.php?t=172390) fits the bill, but requires Vapoursynth.

blaze077
28th February 2016, 21:02
The original w2x is incredibly unoptimized and crashes a lot; you really need to use something based on w2xc. Waifu2x-w2xc (https://forum.doom9.org/showthread.php?t=172390) fits the bill, but requires Vapoursynth.
Ah, I see. Also, it seems MeGUI crashed because of what you stated. I tried encoding the video using AVS2AVI and wow, it took me 9 hours to encode just 700 frames. I sure am not testing this anymore until I get a server for it. Thank you for the help. :thanks: