![]() |
|
[BUG] Spotless.avs error - 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: [BUG] Spotless.avs error (/thread-4484.html) |
Spotless.avs error - idbirch - 16.09.2026 Greeting Selur! Hope all is well with you. I was doing some encoding today and wanted to use SpotLess but I couldn't preview with that enabled as I was getting: Quote:Avisynth preview error: -> Script error: Invalid arguments to function 'Reverse'. (C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\SpotLess.avs, line 104) (C:\Users\Ian\AppData\Local\Temp\tempPreviewAvisynthFile18_03_46_145.avs, line 18) The error traces back to SpotLess.avs which contains the line: Quote:Last.Reverse(Trim(1,-radT)) + Last + Last.Reverse(Trim(Framecount-1-radT,-radT)) Reverse only accepts one parameter and this is passing two, so I replaced the line with: Quote:Trim(1,-radT).Reverse() + Last + Trim(Framecount-1-radT,-radT).Reverse() and now preview opens successfully. Best wishes, cu RE: Spotless.avs error - Selur - 17.09.2026 Thanks for the info, will look at it after work RE: Spotless.avs error - Selur - 17.09.2026 (before work) I added that line to fix artifacts at the start and end of a clip, but it seems like I made a copy-and-paste mistake. :/ => Uploaded a new dev with the fixed avs Cu Selur |