VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I am trying to find a tool that will allow me to trim out some boring parts/new scenes of my home videos. I am working with DV/AVI files. Ideally I would like to script the process. I.E. I just feed it a list of files and start/stop times and it outputs multiple trimmed AVI files containing various scenes. I don't want to do any filtering or resizing just trim. Other programs I have tried take 5 minutes to write a 3 minute DV file. Also I already have my IN/OUT points established.

    I have looked into AVISYNTH and it looks promising. I just need a little guidance on how to proceed I think. I have an AVS script with multiple TRIM commands but what command do I need to write the trimmed AVIs?

    v1=AVISource("d:tape5_part1.avi")
    v2=AVISource("d:tape5_part2.avi")
    Trim(v1,0,1000)
    Trim(v1,1001,1500)
    Trim(v1,1501,10000)
    Trim(v1,10001,0)
    Trim(v2,0000,9000)
    Trim(v2,9001,0)

    Will this work? Or if you know of a better/easier tool let me know.

    Thanks,
    John
    Quote Quote  
  2. Yeah great guide I got my code from there. But I have looked all through it and I do not see how files are written. It is simple if I am only creating a single sequence. I want multiple sequences created from a single AVI. I think it is something simple that I am missing in the manual. I only learned of AVIsynth this morning.

    John
    Quote Quote  
  3. Avisynth is a very useful utility created by Ben Rudiak-Gould. It provides many options for joining and filtering videos. What makes Avisynth unique is the fact that it is not a stand-alone program that produces output files. Instead, Avisynth acts as the "middle man" between your videos and video applications.

    Basically, Avisynth works like this: First, you create a simple text document with special commands, called a script. These commands make references to one or more videos and the filters you wish to run on them. Then, you run a video application, such as VirtualDub, and open the script file. This is when Avisynth takes action. It opens the videos you referenced in the script, runs the specified filters, and feeds the output to video application. The application, however, is not aware that Avisynth is working in the background. Instead, the application thinks that it is directly opening a filtered AVI file that resides on your hard drive.( http://www.lukesvideo.com/avisynth.html )

    VirtualDub will create a new combined AVI file from the pieces after it opens your AVISynth script.
    Quote Quote  
  4. Thanks. I have since figured out VDub+AVISynth. Like I said it would be nice to have it batchable though. The batch process in Vdub seems do some of what I want.

    John
    Quote Quote  



Similar Threads

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