Thread: Interesting...
View Single Post
  #7 (permalink)  
Old 02-21-2002, 09:11 PM
abraham130
Guest
 
Posts: n/a
Quote:
Originally posted by oo7tushar:
The method is simple: Go through your video and write down on a piece of paper the following:
1. in seconds, the start time where you want to start chopping.
2. in seconds, the duration of the clip.

ASFCut works great but the 'duration' part it's looking for makes it a little more difficult to use than it should be.

Having purchased Snapstream at about the same time I started teaching myself Perl I decided I might as well make my first project something that could 'automate' that task a bit.

It's definitely a work in progress but does the job, and since I'm a stickler for getting those commercial breaks out at EXACTLY the right 10th of a second it eliminates the need for manual calculations. (My latest revision will also let you view all of the extracted segment sections and make any changes if necessary, so if you notice a segment that runs long you can easily make a change.)

What I do is load up the clip in Windows Movie Maker, and then note down the beginning and end of each segment into my program. The program then outputs 'segs#.txt' files containing the start and duration information that can be fed into asfcut. (The actual splitting part is still a manual process and I'll probably be adding that functionality at some point, but like you said if you just build a batch file even that can be pretty easily automated.) Then, once all the segments are yanked out you can use asfcut to put them back together and within a few minutes have a nicely edited, commercial free show waiting for you.

Anyway, if anyone is interested I'd be happy to share. Keep in mind, it's perl so you're either going to have to have perl on your system or convert it to an executable if you want it to run. Of course, (insert legal stuff) I take no responsibility for anything that might happen to your system if you decide to use the program etc.
Reply With Quote