nnever2000
31st July 2007, 18:33
Hi people,
I written a new virtual dub filter: Exotic fade.
It simply do a fade (dissolvence, left or right or top or down panning) when merging two video with "append avi segment" (or if you cut a scene).
Because VirtualDub work on each frame for time, I have managed to bufferize all frames involved in the dissolvence in the first pass.
In a second pass the filter do the dissolvence.
This is the main-panel
http://img502.imageshack.us/img502/3796/immaginehw1.png (http://imageshack.us)
Shot at 2007-07-31
"Used frames" is used to tell how many last frames of the first video and how many first frames of the second video are used.
"Base frame" is the frame number of the last frame of the first video.
"Fade mode" may be "fading" (do the dissolvence), "left", "right", "top" or "bottom" (do the panning). Only left and fading are working for now.
"End preload, do fade" when unchecked is the first pass, when checked is the second pass. In the first pass you only have to visualize the involved frames (not necessary you play all). IN the first pass, when the output screen is green then the frame has been bufferized successfully, else if is red then the frame has not been bufferized successfully (may be not enought space).
Very important: for the first pass, you have to create a temp directory under the virtualdub directory
At the moment I don't have a web site, so if someone can host is only 8K.
Much important: because I'm novice using C++, I've used the Image Zoom 1.2 filter sources (by Donald Graft) as a template. This is the only filter I was able to compile at the first time. Without these piece of software I never be able to write my first filter.
May be this filter can be usefull for someone out there?
I written a new virtual dub filter: Exotic fade.
It simply do a fade (dissolvence, left or right or top or down panning) when merging two video with "append avi segment" (or if you cut a scene).
Because VirtualDub work on each frame for time, I have managed to bufferize all frames involved in the dissolvence in the first pass.
In a second pass the filter do the dissolvence.
This is the main-panel
http://img502.imageshack.us/img502/3796/immaginehw1.png (http://imageshack.us)
Shot at 2007-07-31
"Used frames" is used to tell how many last frames of the first video and how many first frames of the second video are used.
"Base frame" is the frame number of the last frame of the first video.
"Fade mode" may be "fading" (do the dissolvence), "left", "right", "top" or "bottom" (do the panning). Only left and fading are working for now.
"End preload, do fade" when unchecked is the first pass, when checked is the second pass. In the first pass you only have to visualize the involved frames (not necessary you play all). IN the first pass, when the output screen is green then the frame has been bufferized successfully, else if is red then the frame has not been bufferized successfully (may be not enought space).
Very important: for the first pass, you have to create a temp directory under the virtualdub directory
At the moment I don't have a web site, so if someone can host is only 8K.
Much important: because I'm novice using C++, I've used the Image Zoom 1.2 filter sources (by Donald Graft) as a template. This is the only filter I was able to compile at the first time. Without these piece of software I never be able to write my first filter.
May be this filter can be usefull for someone out there?