Reversing video

Discussion in 'Other video questions' started by DrJBN, Jan 30, 2011.

  1. DrJBN

    DrJBN Member

    Joined:
    Jan 30, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    11
    I'm a bit new to video editing, and I am clueless as to the most direct way to achieve an effect. I have a short video that I want to make longer by reversing it.

    Imagine it is only 5 frames long, what I want to do is to create a new video that plays the frames in order of 1,2,3,4,5,4,3,2,1,2,3,4,5,4,3,2,1.....

    Software I have available is windows movie maker, avidemux, virtual dub, and Pinnacle studio. I'd certainly welcome any suggestion-

    Best,
    Byron
     
  2. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    I would think there are less convoluted ways, but here it is.

    If you are familiar with VirtualDub, you can create a script with AviSynth which can do this.
    Install Avisynth.
    The script is created with Notepad, but saved with the extension .avs (as in: trim.avs).
    If the source file is not in the same location as the .avs file, the full source path must be shown in line 1.
    Drag the .avs file into VirtualDub and step through the frames.
    They should sequence as required.Note that AviSynth counts from zero.

    If you really use a series of five jpegs in VirtualDub to create a new movie, note that the new file is created at a default of 10FPS, so your new nine frame video would last 900MS.

    s=avisource("source.avi")
    part1=s.Trim(0,4)
    part2=s.Trim(0,3).reverse()
    alignedSplice(part1,part2)
     
  3. DrJBN

    DrJBN Member

    Joined:
    Jan 30, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    11
    Thank you very much for the suggestion. I shall investigate it, but it sounds like it might be more convoluted than the solution I found. Avidemux has a filter that will reverse the video, so I saved the forward frame section backwards & then pasted one after the other. Worked reasonably well- but I'll need to go in and do a bit of frame cutting here and there to get it smoothed out.

    Thank you very much for the link to Avisynth- that is a new tool to me.
    Best,
    Byron
     

Share This Page