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] How to use Custom Code/Plugins
#2
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
def beforeEnd(clip):
  #YOUR CODE HERE
  return clip
at the beginning and
clip = beforeEnd(clip)
before the output of the return 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
clip = core.grad.Curve(clip,'/media/sf_moon/enc/GradCurve/003b.amp', ftype=1, pmode=1)
# you might also want to convert back to the color space you came from

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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
How to use Custom Code/Plugins - by airpoint - 26.05.2020, 01:25
RE: How to use Custom Code/Plugins - by Selur - 26.05.2020, 16:50
RE: How to use Custom Code/Plugins - by airpoint - 31.05.2020, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)