Good afternoon gentlemen.
I'm trying to use the ''AviSynth AiUpscale v1.2.0'' plugin but I receive a Script error ''script error expected a, or )'' as shown in the attached image.
I added the ''AiUpscale.avsi'' file to the Plugin+ and Plugin64+ folders in addition to the Shader file and DLL, but the error persists, below is the link to the GitHub page, I followed the instructions but I don't understand why the error occurred, if anyone can help I'll be happy Much obliged
https://github.com/Alexkral/AviSynthAiUpscale
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
You call it with arguments, not definitions.
AiUpscale(last, Factor=4, luma="fast",...) -
Sorry for my lack of maturity when putting together the values, I tried to put it together so I could play with them but I know I'm making a mistake
-
You need to set values for CPlace and OutDepth. See the docs for possible values. And note that you don't have to specify all of them. Just the ones that you want to change from the defaults. So try something simple like:
Code:AiUpscale(last, Factor=2)
-
-
I've never used AiUpscale but that's indicating you're missing some files. AI filters usually require a bunch of support files. It looks like it's expecting a Shader folder (in your plugins64+ folder) with a bunch of sub folders and support (AI model) files. That folder is included in the ZIP file you downloaded for AiUpscale.
-
You were right friend, the zip file had the ''shades'' folders and I added them to the plugin folder, but a new error appears haha, I'll have to use another Upscale AI tool, Avisynth in this tool seems complicated to me.
Still, I appreciate your help. -
Marcio, did you ever succeed in going forward with making AiUpscale work for you? These Avisynth filters presume you've already been using Avisynth for your video processing needs. Avisynth is very different and not something that one can easily become proficient in overnight.
-
-
Many of the AI filters require 32 bit float RGB. I see AIUpscale can work with several YUV formats too. Looking more closely at your command lines I see errors in all of them. For example, in post #3 there's a missing comma after CResample("fast") and "fast" isn't a valid vaue, an invalid Mode, Cplace should not be between quotes and should be followed by a valid placement string, and OutDepth should not be preceded by "int", shouldn't be in quotes, and be set to a value. You want something like:
Code:AiUpscale(last, Factor=4, luma="fast", chroma="fast", CResample="Spline36", mode="Photo", CPlace="MPEG2", outDepth=8).ConvertToYV12()
Similar Threads
-
multiAVCHD AviSynth error .AddBorders()
By pises in forum Authoring (Blu-ray)Replies: 3Last Post: 30th Jun 2021, 21:40 -
AviSynth error with upgrade from 2.6.6.6 to 2.6.8.4
By dukeroyal in forum Newbie / General discussionsReplies: 14Last Post: 21st Jun 2021, 21:35 -
avisynth error code 126 ?!
By themaster1 in forum RestorationReplies: 3Last Post: 12th Nov 2020, 04:54 -
multiAVCHD avisynth error!
By hdfills in forum Authoring (Blu-ray)Replies: 17Last Post: 16th May 2020, 05:39 -
AviSynth script error on meGUI
By vancew90 in forum EditingReplies: 16Last Post: 16th Jan 2019, 06:42