PDA

View Full Version : I can't believe: my first virtual dub filter!


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?

Kurtnoise
31st July 2007, 18:35
yeah..feel free to post a link for downloading. ;)

nnever2000
31st July 2007, 18:38
yeah..feel free to post a link for downloading. ;)

At the moment I don't have a web site, so if someone can host is only 8K.

neuron2
31st July 2007, 19:34
I can host it for you, but only if you provide source code.

nnever2000
1st August 2007, 14:26
Of course (GNU docet).

I will email you?

LoRd_MuldeR
1st August 2007, 14:45
nnever2000, why not upload to MyTempDir (http://www.mytempdir.com/) and post the DL links here?
(It's free and doesn't even need registartion, so it's 100% anonymous)

nnever2000
1st August 2007, 15:11
nnever2000, why not upload to MyTempDir (http://www.mytempdir.com/) and post the DL links here?
(It's free and doesn't even need registartion, so it's 100% anonymous)

The filter

http://www.mytempdir.com/1377120

The sources

http://www.mytempdir.com/1377122

Warning, I find a bug: When you crop before the filter you obtain garbage. In the while I fix it, make sure to crop after the filter (with "null transformation" filter)

nnever2000
2nd August 2007, 10:59
I sended an updated version to Neuron with these improvements:

1) Crop bug fixed (with the help of Donald Graft)
2) Help file
3) All fade mode implemented

Hope someone find usefull this filter :)

neuron2
2nd August 2007, 15:05
Available here:

http://neuron2.net/exoticfade.zip

Thank you for your submission, Natan.

nnever2000
6th August 2007, 14:42
Available here:

http://neuron2.net/exoticfade.zip

Thank you for your submission, Natan.

The filter has been updated.

http://neuron2.net/exoticfade10b4.zip

HISTORY

____________________________
Version 1.0 beta1

First public release

____________________________
Version 1.0 beta2

Fixed crop bug (garbage cropping the video)
Added help file
Added top, bottom and right fade mode

____________________________
Version 1.0 beta3

Fixed top, bottom, left and right fade mode (increase step was incorrect)

____________________________
Version 1.0 beta4

Added "flush buffer" in the control panel
Now the "temp" directory is created automatically

nnever2000
27th August 2007, 11:49
Two boys are reporting me problem loading the filter. May be because I'm using Visual C++ Express 2005 edition? Someone else is having problem? Someone can supply positive feeback?

neuron2
27th August 2007, 14:18
Two possibilities:

1. You have not updated your Visual Studio install with its Service Pack 1.

2. They don't have the runtime installed:

http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en