Sectioning off filters
- FinalResolve
- Joined: Sun Apr 15, 2007 1:34 pm
Sectioning off filters
I'm trying to remove some noise through filtering in VirtualDubMod. Is it possible to tell the FRFun7() filter I'm using to only affect certain sections of the video?
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
You'll have to use Trim() in tandem with splice commands. For instance:
In that scenario, the smoothing is done on the middle section of the video, frames 1501-2500. The double pluses make sure that any audio remains synced - even if there isn't audio, I still see it as the safer option just the same. That's also all written on one line - if you want to use new lines for it you have to put a \ at the end of each broken line, after the pluses.
There are likely to be more esoteric or programming-esque ways of doing the same thing, but what I posted will get it done also (for instance, doing the Trim commands and whatnot inside of separate scripts for each section, and then using one master script to unify them all with Import and splice commands; that way does at least let you use new lines the normal way instead of having to use \, although in the master script you'll have to do it on one line or with the \). Obviously you can replace deen with the filter you want to use.
Code: Select all
AVISource("video.avi").Trim(0,1500) ++ AVISource("video.avi").Trim(1501,2500).deen("w3d",3,8,10) ++ AVISource("video.avi").Trim(2501,0)
There are likely to be more esoteric or programming-esque ways of doing the same thing, but what I posted will get it done also (for instance, doing the Trim commands and whatnot inside of separate scripts for each section, and then using one master script to unify them all with Import and splice commands; that way does at least let you use new lines the normal way instead of having to use \, although in the master script you'll have to do it on one line or with the \). Obviously you can replace deen with the filter you want to use.