![]() |
[HELP] How to use Custom Code/Plugins - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [HELP] How to use Custom Code/Plugins (/thread-1381.html) |
How to use Custom Code/Plugins - airpoint - 26.05.2020 Hello ? First of all, thank you for such a fantastic bundle as the Hybrid app is. IMO is the best, if not the only way how to get QTGMC on macOS today ? I'm a total newb and trying to figure out how to install and use any custom plugins with Hybrid. I understand I can run any vapoursynth code from the `Custom` section. But the problem is, I'm at absolute loss as for how to call a custom plugin and refer (pipe?) the clip that is being processed. For example the GradCurve plugin — I've managed to make a `dylib` file on my macOS installation by following their linux guide. Only to realise that there is already a `libgradcurve.dylib` included by default. Either way, what next whatever I type in or try to run results in job crash. I'm not even actually able to see where did it crash ? So my question would be, please, if somebody's reading this and knows where I should look: 1. how to call custom plugins/code in Hybrid? 2. how to debug crash logs (where to find them)? TaPlease, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem. RE: How to use Custom Code/Plugins - Selur - 26.05.2020 Quote:2. how to debug crash logs (where to find them)?If you had not ignored the request: Quote:Please, read the 'Infos needed to fix&reproduce bugs,..'-sticky before you post about a problem.you would have known. -> read the sticky. Quote:how to call custom plugins/code in Hybrid?for Avisynth: Filtering->Avisynth->Custom for Vapoursynth: Filtering->Vapoursynth->Custom then look at the Vapoursynth/Avisynth script view to see what happens. Assuming you know your way around the script language you want to extend the rest should be easy. For example if you add a custom addition before the end Hybrid would add # defining beforeEnd-function clip = beforeEnd(clip) Assuming you properly write the '#YOUR CODE HERE'-part everything should work. For example: clip = core.resize.Bicubic(clip=clip, format=vs.RGB24) # you might need to specify additional parameters here depending of on your current color space For debugging script the Avisynth/Vapoursynth Preview and pspipe are usually good tools. If the Vapoursynth/Avisynth Preview does not work properly with your script neither will the encode. Cu Selur RE: How to use Custom Code/Plugins - airpoint - 31.05.2020 Oh Wow! Thank you so much for this! Amazing, you're the best! Cheers |