I am using VirtualDub to edit a video, and I want to speed up just the part of the video I have selected. I have seen how to speed up the whole video altogether, but I want to do just my selection. I found a method where you save your selection as a separate file, and then speed it up, but I don't want to do that, either. Is there any way to do this, or is there a plug-in or something? Thanks.
+ Reply to Thread
Results 1 to 3 of 3
-
-
'Conditional Filtering' for VD should let you select just a portion of the video to apply a filter to:
http://web.archive.org/web/20050405002942/http://wwwtcs.inf.tu-dresden.de/~dc1/conditional
And welcome to our forums.Last edited by redwudz; 28th Apr 2015 at 01:22.
-
This was discussed at the defunct VirtualDub Forum.
http://forums.virtualdub.org/index.php?act=ST&f=4&t=21806&st=0
Here's the commented script for AviSynth.
## speed change test:
## the frame numbers reference the original source, not the numbers seen in VirtualDub when served from Avisynth.
## 130% speed from frame 0 to frame 500
## 200% speed from frame 501 to frame 1000
## normal speed to end of video
## float 'factor' ('factor' is the variable) value is 1.3 or 2 (130% or 200%) 'float' means floating point.
## 'framerate' varies using the value 'factor'
## the varying audio tempo retains pitch by referencing 'factor'
## 'ChangeSpeed' is a user defined function that's called twice for frames 0-500 and 501-1000.
V=AviSource ("video.avi")
return ChangeSpeed(Trim(V, 0, 500), 1.3)
\ + ChangeSpeed(Trim(V, 501, 1000), 2)
\ + Trim(V, 1001, 0)
function ChangeSpeed(clip c, float factor )
{
oldRate = FrameRate(c)
newVid = AssumeFPS(c, oldRate * factor)
return AudioDub(ChangeFPS(newVid, c), c.TimeStretch(tempo=100*factor))
}Last edited by sambat; 5th May 2015 at 18:00. Reason: Clarity, I hope.
Similar Threads
-
Hotkey for Cropping Selection in VirtualDub
By Slasher_101 in forum EditingReplies: 1Last Post: 22nd Jul 2014, 20:30 -
VirtualDub Capture AVI audio AND video speed up
By dogpapa in forum Capturing and VCRReplies: 3Last Post: 13th Nov 2012, 21:40 -
adding blur filter on selection frames not present in virtualdub
By Ganesh Ujwal in forum EditingReplies: 1Last Post: 16th Jul 2012, 11:16 -
VirtualDub & H.264 Encoder Speed
By gonwk in forum Newbie / General discussionsReplies: 5Last Post: 24th Jun 2012, 08:55 -
Speed up Virtualdub
By graphics in forum Newbie / General discussionsReplies: 6Last Post: 24th Jul 2011, 19:13