Thread: Vapoursynth
View Single Post
Old 3rd September 2017, 16:21   #2712  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by poisondeathray View Post
Maybe because GiGoCu is avisynth 2.5 plugin ? Or maybe you're using 64bit vpy ?

Probably the former because I can't even get it to work in in 32bit avisynth . Unless there is another version somewhere ?

What about gradcurve, the vdub port for vapoursynth ?
I didn't test it yet, but in the example, he's using an .amp file
https://github.com/xekon/GradCurve
Wow nice find, didn't know that we have the curve filter for vs.
The filter work both on amp and acv, no more work around or conversion.

Code:
cur_path = r'test.amp'

clip = core.ffms2.Source(abc.mp4)
clip = core.resize.Bicubic(clip, matrix_in_s="709", format=vs.RGB24)

clip = core.grad.Curve(clip, cur_path, ftype=1, pmode=1) # ftype 1 for amp, 2 for acv
Found some missing safety checks though, if I declared a wrong type in the argument for the input curve file, the editor will crash. These are the 2 combinations I found that crash, don't know if there's more.
Code:
cur_path = r'test.amp'
clip = core.grad.Curve(clip, cur_path, ftype=2, pmode=1) 

cur_path = r'test.acv'
clip = core.grad.Curve(clip, cur_path, ftype=6, pmode=1)
lansing is offline   Reply With Quote