{"action":"created","issue":{"url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/1","repository_url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc","labels_url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/1/comments","events_url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/1/events","html_url":"https://github.com/HomeOfVapourSynthEvolution/havsfunc/issues/1","id":172862298,"number":1,"title":"QTGMC is broken in VS R33.","user":{"login":"fuchanghao","id":11471475,"avatar_url":"https://avatars.githubusercontent.com/u/11471475?v=3","gravatar_id":"","url":"https://api.github.com/users/fuchanghao","html_url":"https://github.com/fuchanghao","followers_url":"https://api.github.com/users/fuchanghao/followers","following_url":"https://api.github.com/users/fuchanghao/following{/other_user}","gists_url":"https://api.github.com/users/fuchanghao/gists{/gist_id}","starred_url":"https://api.github.com/users/fuchanghao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuchanghao/subscriptions","organizations_url":"https://api.github.com/users/fuchanghao/orgs","repos_url":"https://api.github.com/users/fuchanghao/repos","events_url":"https://api.github.com/users/fuchanghao/events{/privacy}","received_events_url":"https://api.github.com/users/fuchanghao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T04:31:45Z","updated_at":"2016-08-24T08:44:38Z","closed_at":null,"body":"For example when I use sth like:\r\n\r\n> import vapoursynth as vs\r\nimport sys\r\nimport havsfunc as haf\r\nimport mvsfunc as mvf\r\ncore = vs.get_core(accept_lowercase=True,threads=8)\r\ncore.max_cache_size = 8192\r\na = r\"G:\\Ghost in the Shell STAND ALONE COMPLEX\\STAND_ALONE_COMPLEX_02\\BDMV\\STREAM\\00002.m2ts\"\r\nsrc8 = core.lsmas.LWLibavSource(a)\r\nsrc8 = core.std.Trim(src8, 0, 499)\r\nsrc8 = core.std.SetFrameProp(src8, prop=\"_FieldBased\", intval=2)\r\nres = haf.QTGMC(src8,TFF=True,Preset=\"Fast\",Border=True)\r\n#res = mvf.BM3D(res, sigma=3.0, profile1=\"fast\")\r\nres.set_output()\r\n\r\nit showed error:\r\n\r\n>Failed to evaluate the script:\r\nPython exception: Analyse: failed to retrieve first frame from super clip. Error message: Resize error 3076: image shift or subwindow too great\r\nTraceback (most recent call last):\r\n  File \"src\\cython\\vapoursynth.pyx\", line 1491, in vapoursynth.vpy_evaluateScript (src\\cython\\vapoursynth.c:26905)\r\n  File \"F:/test.vpy\", line 13, in <module>\r\n    res = haf.QTGMC(src8,TFF=True,Preset=\"Fast\",Border=True)\r\n  File \"C:\\Program Files\\Python3\\lib\\site-packages\\havsfunc.py\", line 1005, in QTGMC\r\n    truemotion=TrueMotion, _lambda=Lambda, lsad=LSAD, pnew=PNew, plevel=PLevel, _global=GlobalMotion, dct=DCT, chroma=ChromaMotion)\r\n  File \"src\\cython\\vapoursynth.pyx\", line 1383, in vapoursynth.Function.__call__ (src\\cython\\vapoursynth.c:25212)\r\nvapoursynth.Error: Analyse: failed to retrieve first frame from super clip. Error message: Resize error 3076: image shift or subwindow too great"},"comment":{"url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/comments/241996934","html_url":"https://github.com/HomeOfVapourSynthEvolution/havsfunc/issues/1#issuecomment-241996934","issue_url":"https://api.github.com/repos/HomeOfVapourSynthEvolution/havsfunc/issues/1","id":241996934,"user":{"login":"hydra3333","id":10749357,"avatar_url":"https://avatars.githubusercontent.com/u/10749357?v=3","gravatar_id":"","url":"https://api.github.com/users/hydra3333","html_url":"https://github.com/hydra3333","followers_url":"https://api.github.com/users/hydra3333/followers","following_url":"https://api.github.com/users/hydra3333/following{/other_user}","gists_url":"https://api.github.com/users/hydra3333/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra3333/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra3333/subscriptions","organizations_url":"https://api.github.com/users/hydra3333/orgs","repos_url":"https://api.github.com/users/hydra3333/repos","events_url":"https://api.github.com/users/hydra3333/events{/privacy}","received_events_url":"https://api.github.com/users/hydra3333/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T08:44:38Z","updated_at":"2016-08-24T08:44:38Z","body":"I have R33 x64 and this works:\r\n```\r\nimport vapoursynth as vs \r\nimport havsfuncTS as haf # this version uses vanilla TemporalSoften instead of TemporalSoften2, as it will be \"better\" over time \r\nimport mvsfunc as mvs  # http://forum.doom9.org/showthread.php?t=172564 \r\nimport finesharp as finesharp # http://forum.doom9.org/showthread.php?p=1777815#post1777815 http://avisynth.nl/index.php/FineSharp \r\nimport Plum # http://forum.doom9.org/showthread.php?t=173775 https://github.com/IFeelBloated/Plum \r\nimport Vine # http://forum.doom9.org/showthread.php?t=173703 https://github.com/IFeelBloated/Vine \r\ncore = vs.get_core(accept_lowercase=True) # leave off threads=8 so it auto-detects threads \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\AddGrain.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\BM3D.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\d2vsource.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\Deblock.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\DFTTest.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\fmtconv.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\KNLMeansCL.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\libawarpsharp2.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\libmvtools.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\libmvtools_sf_emt64.dll') # for Plum, the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\libnnedi3.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\scenechange.dll') # http://forum.doom9.org/showthread.php?t=166769 \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\TCanny_AVX.dll') # http://forum.doom9.org/showthread.php?t=166769 \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\vcfreq.dll') # http://forum.doom9.org/showthread.php?t=171413 http://www.avisynth.nl/users/vcmohan/index.html ... for Plum \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\vsdctfilter.dll')  # http://vfrmaniac.fushizen.eu/works \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\vsfft3dfilter.dll')  # http://vfrmaniac.fushizen.eu/works \r\ncore.std.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\Yadifmod.dll') # the r'' indicates do not treat special characters and accept backslashes \r\ncore.avs.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\DGIndex\\DGDecodeNV.dll')  \r\n##core.avs.LoadPlugin(r'C:\\SOFTWARE\\Vapoursynth-x64\\vapoursynth64\\plugins\\dll-to-choose-from\\d2vsource.dll')  \r\n# NOTE:: INDENTING IS CRITICAL AND MUST BE PRECISELY THE SAME WITHIN EACH FUNCTION  \r\ndef main(): \r\n    video = core.d2v.Source(r'T:\\HDTV\\WDTVlive\\MP4-VS\\x64-1\\test.d2v') \r\n    # INTERLACED-AWARE DEBLOCKER IN HERE \r\n    video = core.std.SeparateFields(video, tff=True) \r\n    video = haf.Deblock_QED(video) \r\n    video = haf.Weave(video, tff=True)  \r\n    video = mvs.AssumeTFF(video) \r\n    video = haf.QTGMC(video, TFF=True, Preset=\"Very Slow\", Sharpness=1.2, SLMode=2, EZKeepGrain=1.2, NoiseProcess=2)     # result is double framerate progressive, so re-interlate it later \r\n    video = finesharp.sharpen(video,mode=1,sstr=0.85) \r\n    # RE-INTERLACE VIDEO  from double-framerate back down to normal \r\n    video = core.std.SeparateFields(video, tff=True) \r\n    video = core.std.SelectEvery(video, cycle=4, offsets=[0, 3])     # looks like avisynth  \r\n    video = haf.Weave(video, tff=True)  \r\n    video = mvs.AssumeTFF(video) \r\n    video.set_output() \r\n    return True \r\nmain() \r\n\r\n```"}}
{"actor":{"display_login":"hydra3333"}}