VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    This is an Avisynth script that I have had for a while.
    It takes the text and brings it in at the lower right of the frame, it moves to the left in an ascending trajectory and at frame 200 it ends.
    I've seen similar examples but none explain in simple language what each of the parameters does.
    anyone know what the red values mean.


    AviSource("cd1.avi")
    Animate(0,200,"subtitle", "Goodbyeeee!",720,576,0,0,"Arial",40,$FF0000,$00FF00, "Goodbyeeee!",0,200,200,200,"Arial",40,$FF0000,$00FF00)
    Quote Quote  
  2. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    I read it and don't understand it.
    The example in the link: are 25/130 and 160/120 referring to frame numbers or pixel positions and what is o and 99999 ?

    Animate(0,48,"Subtitle", "Hello, World!",160,120,0,99999,"Arial",0,
    \ "Hello, World!",25,130,0,99999,"Arial",48)
    Quote Quote  
  3. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    (160,120) is the starting (x,y) position of the text and (25,130) is the final position.
    In your original example, these were (720,576) [ie lower right] and (200,200).

    0 and 99999 are the start and end frames for the Subtitle command, which means that once the animation ends at frame 48, the subtitle remains on screen at its final position until frame 99999 (or the end of the clip if sooner). Conversely in your first example, the subtitle will disappear at the same time as the animation ends, at frame 200.

    For a full description of Subtitle parameters, see
    http://avisynth.org/mediawiki/Subtitle
    Quote Quote  
  4. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Thank you, your explanation helped me understand and get the result I was looking for.
    Quote Quote  



Similar Threads

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