Hi ...
thanks
Could someone explain to me how I can prevent this error? so that for any loaded source there is never this errorCode:import("v:\FuzzyBorders.avsi") LoadPlugin("V:\BestSource.dll") BSVideoSource("V:\eampleBMP.BMP") blur = 100 gain = 0.9 blue = 0.2 noise = 3 sat = 0.5 GaussResize(1920, 1080, p=19) QGaussBlur(blur, blur).QGaussBlur(blur, blur) ColorYUV(gain_y=f2c(gain), off_u=blue, cont_u=f2c(sat), cont_v=f2c(sat)) AddGrain(Float(noise), 0.22, 0.22, constant=1>0) CONVERTTOYUY2(INTERLACED=FALSE)
[Attachment 85378 - Click to enlarge]
+ Reply to Thread
Results 1 to 6 of 6
-
-
Bitmap images open as RGB. You need to convert to YUV before calling ColorYUV() or any other filter that requires YUV.
-
yes but, to convert to YUV is enough
the only
Code:ConvertToYUY2(interlaced=false)
-
Your ColorYUV() is also flawed.
So here your modified script:
Code:import("v:\FuzzyBorders.avsi") LoadPlugin("V:\BestSource.dll") BSVideoSource("V:\eampleBMP.BMP") blur = 100 gain = 0.9 blue = 0.2 noise = 3 sat = 0.5 GaussResize(1920, 1080, p=19) QGaussBlur(blur, blur).QGaussBlur(blur, blur) ConvertToYUY2(interlaced=false) #converting RGB to YUV ColorYUV(f2c=true, gain_y=gain, off_u=blue, cont_u=sat, cont_v=sat) AddGrain(Float(noise), 0.22, 0.22, constant=1>0)
Last edited by Sharc; 9th Feb 2025 at 04:22.
Similar Threads
-
BestSource.dll have to work in colorspace="YUY2"
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 3rd Feb 2025, 09:53 -
"code":400,"error":true,"message" on http://getwvkeys.cc
By johnsonkiss in forum Video Streaming DownloadingReplies: 14Last Post: 25th Jul 2024, 22:45 -
getwvkeys.cc code":400,"error":true,"message":"Failed to get license: 405
By Koldunas in forum Newbie / General discussionsReplies: 0Last Post: 27th Sep 2023, 03:44 -
Extract Y/C in YUV Colorspace in AviSynth?
By musmodtos in forum Newbie / General discussionsReplies: 7Last Post: 26th May 2023, 19:47 -
AviSynth Script error: there is no function named "setmtmode"
By minimax in forum RestorationReplies: 27Last Post: 10th Sep 2021, 04:57