function BasicEffects (clip video, int FadeInFrames, int FadeInColor,int FadeOutFrames, int FadeOutColor, bool EnableGreyScale, int Rotate, string Flip, float hue, float sat, float bright, float cont, string seppia, float blurvalue, string TypeOfNoise, float N1, float N2, float N3 , float N4 , bool Color, bool Temporal) {
 
   s1=video
   
   FadeInFrames >0 ? Eval("""
   s1=s1.FadeIn(FadeInFrames,FadeInColor)
  """) : Eval("""
  """)
  
   FadeOutFrames >0  ? Eval("""
   s1=s1.FadeOut(FadeOutFrames,FadeOutColor)
  """) : Eval("""
  """)
   
   EnableGreyScale==true  ? Eval("""
   s1=s1.GreyScale()
  """) : Eval("""
  """)
  
   Rotate==90  ? Eval("""
   s1=s1.TurnLeft.BilinearResize(s1.Width,s1.height)
  """) : Eval("""
  """)
  
   Rotate==180  ? Eval("""
   s1=s1.Turn180
  """) : Eval("""
  """)
  
   Rotate==270  ? Eval("""
   s1=s1.TurnRight.BilinearResize(s1.Width,s1.height)
  """) : Eval("""
  """)
  
  
   Flip=="FlipHorizontal"  ? Eval("""
   s1=s1.FlipHorizontal()
  """) : Eval("""
  """) 
  
   Flip=="FlipVertical"  ? Eval("""
   s1=s1.FlipVertical()
  """) : Eval("""
  """) 
  
  
  hue<>0 || sat<>1 || bright<>0 || cont<>1 ? Eval("""
       s1=s1.ConvertToyv12.Tweak(hue,sat,bright,cont).ConvertToRGB32
  """) : Eval("""
  """)
  
   
   seppia=="seppia1"  ? Eval("""
   s1=s1.ConvertToyv12.Coloryuv(off_u=-22, off_v=25).ConvertToRGB32
  """) : Eval("""
  """)  
  
  
   seppia=="seppia2"  ? Eval("""
   s1=s1.ConvertToyv12.ColorYUV(off_u=-32, off_v=32).ConvertToRGB32
  """) : Eval("""
  """) 
  
  
   blurvalue>=-1.0 && blurvalue<=1.58 ? Eval("""
       s1=s1.Blur(blurvalue) 
  """) : Eval("""
  """) 
 
 
   TypeOfNoise=="MPlayerNoise"  ? Eval("""
   s1=s1.ConvertToyv12.MPlayerNoise(N1,N2).ConvertToRGB32
  """) : Eval("""
  """)
  
  
   TypeOfNoise=="GNoise"  ? Eval("""
   s1=s1.GNoise(N1,1,Color,Temporal)
  """) : Eval("""
  """)
  
  
   TypeOfNoise=="AddGrainC"  ? Eval("""
   s1=s1.AddGrainC(N1,N2,N3,N4)
  """) : Eval("""
  """)    
 
 
 
   return s1     

}