VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Hello everyone and thanks for reading this.

    I try almost everything here : https://forum.videohelp.com/threads/372157-New-upscaling-algorithm-waifu2x


    When I try to using it(with MeGUI), I have this error message:


    My script:
    Code:
    LoadPlugin("C:\Users\Hokuto\Desktop\Encodage\MeGUI_2507_x86\tools\avisynth_plugin\SmoothD2.dll")
    LoadPlugin("C:\Users\Hokuto\Desktop\Encodage\MeGUI_2507_x86\tools\avisynth_plugin\Waifu2xAvisynth.dll")
    LoadPlugin("C:\Users\Hokuto\Desktop\Encodage\MeGUI_2507_x86\tools\ffms\ffms2.dll")
    FFVideoSource("G:\***.mp4", fpsnum=121, fpsden=5, threads=1)
    
    SmoothD2(quant=1, num_shift=4, Matrix=18, Qtype=2, ZW=5)
    Waifu2x(nr=1, scale=2)

    I don't mind waiting 6-7h for a video (or more), but I want to make this Waifu2x works.
    Thanks in advance for your help.
    Last edited by Minato; 12th Nov 2016 at 11:39.
    Quote Quote  
  2. ConvertToYV12() or ConvertToYV24() before Waifu2x.
    Quote Quote  
  3. YV12 is required for SmoothD2; that's where the error is probably being raised.
    You need to add ConvertToYV12 above SmoothD2.

    (MeGui doesn't give the line number with its AviSynth error messages? That's unhelpful of it.)
    Quote Quote  
  4. I have the same message event without SmoothD2 in my script.
    I'll try to convert to YV12/24.

    Thanks for your answers, both of you.
    Quote Quote  
  5. Sorry to bother you again but I have a problem.

    When I try to use "ConvertToYV12()" the problem stay the same. But when I try to use "ConvertToYV24()", I have a white preview and the programme crash after I close the preview.

    Thanks again for your help.
    Quote Quote  
  6. What's the frame size of the video you're trying to upscale? In my experience it doesn't work with source frames much over 720x480. I think it runs out of memory but doesn't report the problem, just fails with unpredictable behavior.
    Quote Quote  
  7. I try to upscale one 720p to 1080p.
    Using Waifu2x-koroshell is way too long frame by frame. ^^'
    Quote Quote  
  8. You won't be able to upscale 720p to 1080p with 32 bit waifu2x for AviSynth. And even if you could it would take more than a minute per frame, over 500 hours for a 22 minute video. You'll be much better off using nnedi3_rpow2() with a little sharpening. It's almost as good but much faster.
    Last edited by jagabo; 13th Nov 2016 at 11:22.
    Quote Quote  
  9. The vapoursynth Waifu2x-w2xc version is pretty stable and fast ("fast" compared to the avisynth version), but there is a learning curve to vapoursynth (steeper curve than avisynth IMO). But this version can use cpu/gpu
    Quote Quote  
  10. Thanks for all your help, but i will abandon this upscale project with waifu. Thanks again.
    Quote Quote  
  11. I can replicate your error message in the 1st post (with sourcefilter + waifu2x only) . For some reason, even if you send YV12 source, it still sends that message (you can check with info() ) . But it only occurs with certain source filters like ffms2, lsmash. For some reason directshowsource() works, even if all the characteristics in info() were matched between lsmash, ffms2. I can't explain it.

    Another option you can try is the aviutl version

    The vapoursynth version is about 30-40x faster than the avisynth version . The avs version has no optimizations yet.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!