When vspipe calls a main Python program how do we set the output node?
The following does not work:
def main(argv):
...
...
vapoursynth code
...
clip.set_output()
if __name__ == "__main__":
main(sys.argv[1:])
Neither does this:
....
if __name__ == "__main__":
clip = main(sys.argv[1:])
clip.set_output()
Error message is: Failed to retrieve output node. Invalid index specified?