VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Hi ...
    thanks


    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)
    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)
    Could someone explain to me how I can prevent this error? so that for any loaded source there is never this error

    Image
    [Attachment 85378 - Click to enlarge]
    Quote Quote  
  2. You have to move ConvertToYUY2(interlaced=false) before ColorYUV(....)
    Quote Quote  
  3. Bitmap images open as RGB. You need to convert to YUV before calling ColorYUV() or any other filter that requires YUV.
    Quote Quote  
  4. yes but, to convert to YUV is enough
    the only

    Code:
    ConvertToYUY2(interlaced=false)
    ?
    Quote Quote  
  5. Originally Posted by marcorocchini View Post
    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.
    Quote Quote  
  6. it's working
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!