VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member loa909's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Search Comp PM
    I am trying my best to learn about AviSynth scripts and cannot find out how to add them right like I want to adjust contrast in my script or gamma what line do i add as it seems hard at 1st unless there is a program which adds lines like cont and others automaticially i have heard of one but lost name of it now

    # -= AviSynth v2.5.7.0 script by FitCD v1.2.8 =-
    AVISource("G:\movie.avi")
    LanczosResize(688,528,6,0,548,288)
    AddBorders(16,24,16,24)
    AssumeFPS(25.000, true)
    #Trim(0,162624).FadeOut(150)
    Quote Quote  
  2. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    AVSEdit is a pretty good editor, as is AvsP. AvsP also allows you to set up interactive sliders so you can see the changes you are making as they happen. AVSEdit also comes with a self-contained version of the Avisynth help documentation as well as covering some of the better external plugins. Very handy as a quick look-up.

    In your specific case, you probably want to use the Tweak statement, and you want to add it between the Resize and the AddBorders statements. That way the borders won't be affected by any changes you make. try either

    Tweak (Cont=1.0), then change the value to adjust the contrast.
    Read my blog here.
    Quote Quote  
  3. Member Soopafresh's Avatar
    Join Date
    Jan 2004
    Location
    United States
    Search Comp PM
    Respect to you for going through the learning curve. Once you figure it out, you'll always use it.

    http://avisynth.org/index.php?page=Tweak
    Quote Quote  
  4. Here's your previous thread about it:

    https://forum.videohelp.com/viewtopic.php?t=327761

    When you lose track of one of your threads, hit "Advanced Search" at the top of any thread and search on your name.
    Quote Quote  
  5. Member loa909's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Search Comp PM
    yeah sorry but i did lose thread thanks

    anyway on that tweak page what do all this means

    Tweak(clip clip [, float hue] [, float sat] [, float bright] [, float cont] [, bool coring] [, int startHue] [, int endHue] [, int maxSat] [, int minSat] [, int interp])

    and where is command to sharpen
    Quote Quote  
  6. It means you can string together the Contrast, Brightness, Hue, and Saturate and Coring commands in the same Tweak. Like I showed in your other thread:
    Tweak(Bright=20,Sat=30,Coring=True)#Coring is on by default
    Sharpen is a different filter:

    http://avisynth.org/index.php?page=Blur

    It's a pretty lousy sharpen filter, though. There are better ones, once you learn some AviSynth:

    http://avisynth.org/LimitedSharpen
    Quote Quote  
  7. Member loa909's Avatar
    Join Date
    Mar 2007
    Location
    United Kingdom
    Search Comp PM
    sorry to be a bit unsure of this but what do they mean by Sharpen(clip clip, float amount)
    whats this clip,clip and what amount do you put
    Quote Quote  
  8. The clip is there in case I want to load several clips and only one will be sharpen.
    For example:
    a=Avisource(\blah.avi)
    b=Mpeg2source(\blah.d2v)
    c=avisource(\blah-blah.avi)
    Sharpen(c, 1.234567)
    You see I am loading three videos, give them names (a,b and c) and try to sharp only the third. Now the amount of sharpening is float (not integer).
    Quote Quote  



Similar Threads

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