Log in

View Full Version : VirtualDubMod and AviSynth


wiz2703
18th February 2007, 15:06
Hi everybody,

I'n quite new to encoding and video elaboration.
Till now I used VDM just to make some DivX and, regardless understanding audio-video problems, results were quite good.
Now I'd like to go deeper and deeper in video elaboration using filters. ;)
I've got some AVIs (cartoons) with apparent defects (macro-blocks in plain color areas, mosquito noise, etc). i wanna try to correct them. :mad:

All the infos I found take me to AviSynth but since I'm a complete newbye, the best I could do is load an avi via script vith AViSource command.:confused:

1 - Can I load an AVI video in VDM and apply avisynth filters and see the two windows with both input and output videos? When I load from Open Video File and choose and .avs script I can only see the processed video in both windows.

2 - Where can I find the more complete guide to using AVIsynth and VDM together?

3 - is there any improvement to use AviSynth instead of VDM only or better, where can I find the VDM version of AVISynth filters?

I think I took off the cap of pandora's box so thanx for now:scared:

Wiz

Wilbert
18th February 2007, 19:07
1 - Can I load an AVI video in VDM and apply avisynth filters and see the two windows with both input and output videos? When I load from Open Video File and choose and .avs script I can only see the processed video in both windows.
The only thing you can do is stack the unfiltered and filtered version in AviSynth. Thus a script like:

original = AviSource(...)
c = filter1(original)
c2 = filter2(c)
...
return stackhorizontal(original,c2) # or stackvertical(original,c2)


2 - Where can I find the more complete guide to using AVIsynth and VDM together?
The analog capture guide (the AviSynth part) is a very suitable guide for learning this.

3 - is there any improvement to use AviSynth instead of VDM only
Yes:
1) flexibility (use multiple input clips, import fancy video formats and many other stuff).
2) processing in the colorspace YUV.
3) the number of available filters.
4) i probably forgot a few ...

the VDM version of AVISynth filters?
On neuron2.net you can find a few. I think that forums.virtualdub.org contains some threads with links to many filters.

wiz2703
21st February 2007, 23:48
thanx for the answers but I've some more doubts!!!:confused:

Let's assume I start from an AVI (e.g. divX format).
I wrote an easy script just to see how it works and chages the video respect the original.

When I save it, starting from a 80 MB video I obtain 14 GB video, whatever is the output mode (direct stream copy, fast processing, etc). What's wrong?:eek:

I was expecting the same size of the original one!!!
All the articles I read assume that you're starting from a DVD, TV, etc source, not from a already-compressed source like a divX.

What have I to do once applied the script to the avi?

Guest
22nd February 2007, 00:19
In VirtualDub, use Video/Compression to select an output compression. You saved uncompressed output.