View Single Post
Old 16th December 2016, 11:59   #20  |  Link
xekon
Registered User
 
Join Date: Jul 2011
Posts: 224
Ok, I finally got everything to compile, most of the errors were linking errors, it had been a couple years since I did any coding.
Also I did not realize that Visual Studio community 2015 by default did not install with a C++ compiler, you have to do advanced options install and check the boxes for that.
Thanks to HolyWu too! I found his C++ plugin/filter ports to be well structured and easy to follow (AddGrain, Deblock, DePan, W3FDIF). It provided with me with a good starting point for a Vapoursynth C++ filter

So there are no compiler errors, but VSedit crashes without any error messages when I try to use the filter.

how can I get VSedit to report the reason it crashed? to get more details, it has something to do with this filter, but i have no idea what without some kind of feedback.

I uploaded what I have so far: https://github.com/jieiku/GradCurve

here are some project files that can be used for testing it: http://www.mediafire.com/file/9nc2et...j/gradcurve.7z

Code:
import vapoursynth as vs
core = vs.get_core()
ret = core.d2v.Source(input=r'/media/sf_enc/032t.d2v', rff=False)#Frame 6167
ret = core.resize.Bicubic(clip=ret, format=vs.RGB24, matrix_in_s="709")
ret = core.grad.Curve(ret,var='/media/sf_enc/032t.acv')
ret.set_output()
Code:
cd $HOME/.installs/VapourSynthPlugins
git clone https://github.com/jieiku/GradCurve
cd $HOME/.installs/VapourSynthPlugins/GradCurve
./configure
make
sudo make install

Last edited by xekon; 3rd December 2021 at 07:32.
xekon is offline   Reply With Quote