I have a high speed video camera (Edgertronic).I produced a nice video clip: http://www.youtube.com/watch?v=OL8xwX0QUCA
Now I want to speed up part of the video, and keep the rest at the current speed.
So I've installed VirtualDubMod and separated the two pieces...
a=avisource("untitled.avi").trim(1,124)# comment
#assumefps(100)
b=avisource("untitled.avi").trim(125,1196)# comment
video=a+b
video
The above works fine, but of course it doesn't DO anything, other than separate the two pieces and then play them back as one..
What code would I have to add (keep it simple, please) to speed up the first part.
Say, by a factor of 6.
I know there is assumefps, changefps, but I can't seem to get the syntax right.
I am not fussy about getting this perfect the first time.
I could select every 6th frame, or blend frames, whatever.
Would appreciate it if someone could suggest exact changes to the above, so I have a starting point for experimentation.
Thanks a lot.
Alan Wolf
+ Reply to Thread
Results 1 to 4 of 4
-
-
a=avisource("untitled.avi").trim(1,124)# comment
a=a.SelectEvery(6).AssumeFPS(a.framerate)
b=avisource("untitled.avi").trim(125,1196)# comment
video=a+b
video -
I don't use VirtualdubMod, but I assume it's using something like Avisynth scripts. So if you are using 30 fps source and want to speed up the first part by 6x, then you may want to use something like this:
a=avisource("untitled.avi").trim(1,124).assumefps( 180).changeFPS(30)
b=avisource("untitled.avi").assumeFPS(30).trim(125 ,1196)# comment
video=a+b
videoLast edited by racer-x; 3rd Jan 2014 at 15:02. Reason: typo
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........
Similar Threads
-
brighten only a portion of a video?
By magnumpy in forum EditingReplies: 1Last Post: 23rd Dec 2011, 00:00 -
Hi ! How can I cut a portion from a video,and paste it to another?
By nightshift in forum EditingReplies: 20Last Post: 21st Nov 2010, 00:15 -
Simple CROP of AVI (XVID) in virtualdubmod
By Rudyard in forum EditingReplies: 4Last Post: 1st Jun 2010, 20:43 -
Simple question about video capture from ps3
By adamsbomb in forum Newbie / General discussionsReplies: 0Last Post: 11th Mar 2010, 00:48 -
Incorporating video in DVD SlideshowGUI without speeding it up
By rosmari in forum Newbie / General discussionsReplies: 2Last Post: 5th Nov 2009, 21:47