I've made this simple vbscript some time ago because I hated to create those .avs files each time. I could write an installer that does all the work if anyone likes, but this is very easy
- requirements: virtualdub, avisynth, directshow codecs
installation:
========
1) place a file called "DirectShow 4 VirtualDub.vbs" with the following lines into your virtualdub folder
2) create a shortcut of this file on your desktopCode:Option Explicit Dim q,vdubEXE,Arg,Argstr,fo,sh,f,file,pos,AVSfile,tcreate q=Chr(34) vdubEXE=Left(wscript.ScriptFullName,Len(wscript.ScriptFullName)-Len(wscript.ScriptName))+"VirtualDub.exe" Set Arg = WScript.Arguments Argstr=Arg.Item(0) Set fo = CreateObject("Scripting.FileSystemObject") Set sh = CreateObject("Wscript.Shell") Set f = fo.GetFile(Argstr) file=f AVSfile=file+".avs" Set tcreate=fo.CreateTextFile(AVSfile,1) tcreate.writeLine("DirectShowSource("+q+file+q+")") tcreate.Close() sh.run q+vdubEXE+q+" "+q+AVSfile+q,,True fo.DeleteFile(AVSfile) set fo = Nothing set sh = Nothing
3) give it a virtualdub icon and the name you want, for example (Vdub Dshow)
Now if you drop a .rm file or whatever on that icon a .avs is created next to it (with the same name) and virtualdub is opened with that file, when you are done and close virtualDub the file is removed.
+ Reply to Thread
Results 1 to 3 of 3
-
-
Or use VirtualDubMod and it's built in AviSynth DirectShowSource option. That will create the AVS script and open it.
Similar Threads
-
VirtualDub Now Has a Directshow Driver Plugin
By Soopafresh in forum Video ConversionReplies: 57Last Post: 30th Dec 2013, 21:26 -
A problem with Directshow and VirtualDub
By CrystalClear47 in forum Newbie / General discussionsReplies: 23Last Post: 7th Jun 2011, 02:34 -
Simple Script to Prepare Your DivX/Xvid AVIs for Transcoding
By Soopafresh in forum Video ConversionReplies: 17Last Post: 13th Jul 2009, 20:30 -
Probably very simple but just cant figure it out (VBS- directshow)
By doggyjumper in forum ProgrammingReplies: 0Last Post: 17th Sep 2008, 16:40 -
Trying to write a simple batch script for VDubMod
By mob in forum Newbie / General discussionsReplies: 1Last Post: 17th Aug 2007, 19:39