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
+ Reply to Thread
Results 1 to 6 of 6
-
-
Moved to Editing, Cutting and Joining forum
-
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 -
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.
Similar Threads
-
Make a playable file from AVI part 5 when you don't have parts 1-4?
By gumbygum in forum Software PlayingReplies: 3Last Post: 12th Aug 2011, 08:51 -
File has more frames after trimming.
By sambat in forum EditingReplies: 0Last Post: 27th Jul 2011, 07:43 -
Basic AVCHD non-lossy file trimming - your suggestions?
By AndreWilley in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 25th Nov 2009, 16:46 -
AVI - Lossless Trimming
By tripecac in forum EditingReplies: 14Last Post: 4th Jul 2008, 02:03 -
.wmv movie file couldn't fast forward/fast seek?
By tigerb in forum Newbie / General discussionsReplies: 1Last Post: 10th May 2007, 20:43