This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Add more option To FSRCNNX
#6
Okay now I at least can read what you want. Smile

Quote:Bro I tried a lot..
but I Don't think It is working..maybe i am doing something wrong..
For testing I did the following:
  • copied SRCNN x2_r2_32-0-2.glsl and FSRCNNX_x2_16-0-4-1.glsl into the "Hybrid\64bit\vsfilters\ResizeFilter\GLSL" folder
  • started Hybrid
  • loaded a source (resolution: 640x352)
  • enable "Crop/Resize->Base->Resize"
  • set "Crop/Resize->Base->Resize->Target resolution" to (width) "1280"
  • enabled "Filtering->Resize->Resizer"
  • selected "Filtering->Resize->Resizer->GLSL Resizer"
  • selected "Filtering->Resize->Resizer->GLSL Resizer" "Hybrid/64bit/vsfilters/ResizeFilter/GLSL/FSRCNN_x2_r2_32-0-2.glsl"
  • checked the "Vapoursynth Preview", preview was properly shown.
  • checked the "Vapoursynth Script":
    # Imports
    import vapoursynth as vs
    core = vs.get_core()
    # Loading Plugins
    core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/libvs_placebo.dll")
    core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
    core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/FFMS2/ffms2.dll")
    # source: 'F:\TestClips&Co\files\test.avi'
    # current color space: YUV420P8, bit depth: 8, resolution: 640x352, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
    # Loading source using FFMS2
    clip = core.ffms2.Source(source="F:/TestClips&Co/files/test.avi",cachefile="E:/Temp/avi_078c37f69bb356e7b5fa040c71584c40_853323747.ffindex",format=vs.YUV420P8,alpha=False)
    # making sure input color matrix is set as 470bg
    clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
    # making sure frame rate is set to 25
    clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
    # Setting color range to TV (limited) range.
    clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
    # adjusting color space from YUV420P8 to YUV444P16 for VsGLSLResizer
    clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P16, range_s="limited")
    clip = core.placebo.Shader(clip=clip, shader="I:/Hybrid/64bit/vsfilters/ResizeFilter/GLSL/FSRCNN_x2_r2_32-0-2.glsl", width=1280, height=704)
    # adjusting output color from: YUV444P16 to YUV420P8 for x264Model (i420@8)
    clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
    # set output frame rate to 25.000fps
    clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
    # Output
    clip.set_output()

-> No clue where your problem is with using FSRCNN_x2_r2_32-0-2.glsl.
(I also changed to FSRCNNX_x2_16-0-4-1.glsl and that also caused no problem.)

About the pre-scalers: I don't know of any way to use those .hook files through Vapoursynth.

Quote:Since I am getting error in Vapoursynth tab..
No debut output, no mention of what error you get,.. -> no clue how to respond Smile

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Add more option To FSRCNNX - by light - 25.02.2021, 16:03
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 17:03
RE: Add more option To FSRCNNX - by light - 25.02.2021, 19:30
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 19:33
RE: Add more option To FSRCNNX - by light - 25.02.2021, 19:37
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 20:01
RE: Add more option To FSRCNNX - by light - 25.02.2021, 20:22
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 20:33
RE: Add more option To FSRCNNX - by light - 25.02.2021, 20:54
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 20:51
RE: Add more option To FSRCNNX - by Selur - 25.02.2021, 21:14
RE: Add more option To FSRCNNX - by light - 25.02.2021, 21:16
RE: Add more option To FSRCNNX - by Selur - 26.02.2021, 06:14

Forum Jump:


Users browsing this thread: 1 Guest(s)