VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Oct 2003
    Location
    United States
    Search Comp PM
    I've read the documentation, but it assumes that I know what I'm doing or can understand it.

    I'm trying to "reverse" an AVI clip.

    My AVS is so far:

    a = AVISource("c:\temp\foo.avi")
    Reverse (a)


    What am I doing wrong?
    Quote Quote  
  2. Hi-

    How about:

    AVISource("c:\temp\foo.avi")
    Reverse ()

    ?
    Quote Quote  
  3. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    or:
    a = AVISource("c:\temp\foo.avi")
    Reverse (a)
    return a

    In the original example, there is no video to output.
    Quote Quote  
  4. You have to remove the space between Reverse and (a), thus

    a = AVISource("c:\temp\foo.avi")
    Reverse(a)

    or just

    AVISource("c:\temp\foo.avi")
    Reverse

    celtic, celtic ... the video is not reversed in your script
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Ok, so
    a = reverse(a)
    return a
    Quote Quote  
  6. This single line script works:

    AviSource("source.avi").Reverse()

    Or this:

    Reverse(AviSource("source.avi"))

    In the absense of an explicit Return() AVISynth defaults to returning the result of the last operation.
    Quote Quote  
  7. Member
    Join Date
    Aug 2005
    Location
    washington DC
    Search Comp PM
    very good forum.
    I posted earlier [2 movies in 1 sceen] and got good leads.
    I got the Reverse to work and at last figured out the Stackhorizontal command.
    I was trying to create a new movie, let say #3, made of 2 movies (#1 and #2) playing in same screen next to eachother.

    here is my script for who ever might be interested (and like me doesn't know much about this world):

    Stackhorizontal(AVISource("C:\movie1.avi"), AVISource("C:\movie2.avi"))

    works great. thanks to all of you.

    olivier
    Quote Quote  
  8. I always did it this way:

    Code:
    a=AVISource("c:\temp\foo.avi") 
    a=Reverse(a)
    return a
    or like this

    Code:
    a=AVISource("c:\temp\foo.avi") 
    return Reverse(a)
    Darryl
    Quote Quote  
  9. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Or this way:

    Code:
    AVISource("c:\temp\foo.avi") 
    Reverse()
    Unless you need more than one video, labels aren't required. Here's an example of the need for labels:

    Code:
    a=AVISource("c:\temp\foo.avi") 
    b=Reverse(a) 
    stackvertical(a,b)
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  10. Code:
    AVISource("c:\temp\foo.avi")
    stackvertical(last,last.reverse)
    Quote Quote  
  11. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Okay, maybe not!
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  



Similar Threads

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