PDA

View Full Version : Vcf2avs


YouDontKnowMe
31st July 2006, 22:27
here I're got a vcf (VDubMod settigs-dat) which I would like to have as avs script

VirtualDub.RemoveInputStreams();
VirtualDub.video.DeleteComments(1);
VirtualDub.video.AddComment(0x00000002,"ISFT","VirtualDubMod 1.5.10.2 (build 2540/release)");
VirtualDub.video.AdjustChapters(1);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("2d cleaner optimized (0.9)");
VirtualDub.video.filters.instance[0].Config(0, 10, 2, 2);
VirtualDub.video.filters.Add("HSV adjust");
VirtualDub.video.filters.instance[1].Config(65392,81712,3696);
VirtualDub.video.filters.Add("warp sharp");
VirtualDub.video.filters.instance[2].Config(114, 1);
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,29927);


could plz someone "translate" this vcf to a avs ^^
it mustnt be really the same an equial endproduct would be fine for me as well. but plz help me out :D

foxyshadis
1st August 2006, 00:49
AviSource("yourvideo.avi") # or Mpeg2Source()
YourFavoriteIVTC() # try TIVTC or Decomb
MSmooth(strength=10) # there are zillions of denoising filters avilable, this is just one
ColorYUV(????) # I can't translare from those arguments, see the avisynth docs to map them over
WarpSharp(114,70)
Trim(0,29927)

MSmooth and WarpSharp have to be picked up rom warpenterprises or their home page.

YouDontKnowMe
1st August 2006, 09:36
thank you very much I will try it today and will give you a feedback :D

EDIT: I've heard there is a way to use the virtualdub mod filters in avisynth aswell. Can you give me some info about that ? (sorry for my dump questions but I'm a avisynth-n00b)

neuron2
1st August 2006, 14:25
I've heard there is a way to use the virtualdub mod filters in avisynth aswell. Can you give me some info about that ? (sorry for my dump questions but I'm a avisynth-n00b)

http://www.avisynth.org/AviSynthPlugins

Don't be so apologetic; it's unbecoming.

YouDontKnowMe
1st August 2006, 14:47
I've understand now how to load them into the avs script but anyways dont know how to use it -.- I mean the virtualdub mod filters arent made for avisynth and so I bet it's quite tricky to get this work (for a n00b aswell)

foxyshadis
1st August 2006, 15:09
Fortunately, neuron2 and others already did most of the hard work. ;) There are big benefits to working on native avisynth plugins, but this could get you started.

http://www.avisynth.org/VirtualDub_I
http://www.avisynth.org/VirtualDub_II
http://www.avisynth.org/SimpleVDubFilters

YouDontKnowMe
1st August 2006, 16:15
yeah that script I used but I cant get it to work could you make a litte example (all included) so that I might understand it. I made that avsi and put it into the avisynth plugin folder than I made a little script but couldn't get it work -.-

neuron2
1st August 2006, 17:04
There have been reports of problems autoloading avsi files. Try putting it in a directory other than the plugins directory and then explicitly import it. If that doesn't work, please post your avsi file, your script, and a description of the error you encounter.