VideoHelp.com Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member GMaq's Avatar
    Join Date: Mar 2004
    Location: Canada
    Hi,
    Although I know my way around most MPEG-4 encoders, I'll be the first to admit that my AviSynth skills are wanting, I am using SUPER to do some H.264 encoding and just want a simple "Tweak" script to decrease brightness and increase contrast on some MPEG-1 files, I am using AVSP to create a script and all is well until I try to preview my Tweak settings and I get complaints about my line missing a comma or a right bracket, if I include these, I still get the same error, (Boy I wish my good ole' VirtualDub would do H.264!) If some of you avisynth pros are feeling charitable I could sure use some suggestions or even a sample Tweak script, Thanks in advance.
    Quote Quote  

  2. Member
    Join Date: Aug 2004
    Location: United States
    tweak(0,1,0,1) <----default

    the last 2 numbers are brightness and contrast respectively(in that order).


    a sample to decrease brightness and increase contrast would be like:

    tweak(0,1,-10,1.5)


    brightness can have values from -255 to +255
    contrast can have values from 0-10
    Quote Quote  

  3. Member GMaq's Avatar
    Join Date: Mar 2004
    Location: Canada
    Pinstripes 23,
    Thank You VERY much, your time and reply are greatly appreciated!!
    Quote Quote  




Similar Threads

  1. AviSynth "ConvertToYV12()" command - correct placement in script?
    By spicediver10191 in forum Video Conversion
    Replies: 2
    Last Post: 11th Dec 2010, 19:15
  2. "smoother" plugin for avisynth script
    By Lastman369 in forum Video Conversion
    Replies: 5
    Last Post: 21st May 2010, 13:17
  3. Remove "Windowbox" script
    By Tpiom in forum Software Playing
    Replies: 1
    Last Post: 5th Jan 2010, 12:31
  4. Help. Avisynth Error Message "no function named deblock"
    By hypnoticpimp in forum Video Conversion
    Replies: 13
    Last Post: 27th Sep 2008, 23:45
  5. Replies: 2
    Last Post: 21st Sep 2008, 20:52
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools