Vapoursynth syntax error with DGCube()

These CUDA filters are packaged into DGDecodeNV, which is part of DGDecNV.
Post Reply
User avatar
Posts: 3690
Joined: Fri Sep 06, 2019 12:57 pm

Vapoursynth syntax error with DGCube()

Post by Rocky »

It's been a while since I worked on DGCube() and today I was going to work on some changes. This is a line in my test script for Vapoursynth:


This line causes a Vapoursynth syntax error. I tracked it down to the fact that "in" is a Python keyword, and so this line now works without error:


Notice that "in" has been changed to "in_". The underscore prevents it from being interpreted by Python. This is documented in the Vapoursynth documentation. Apparently, after renaming the DGCube() argument names, I never tested under Vapoursynth. :oops:

I have updated the example in the DGCube() manual to include this fix.
Post Reply