Log in

View Full Version : autoload subtitle


Davinator
24th February 2009, 03:22
Hello all -

I'm trying to debug an application I have to see if it uses avisynth. My thoughts on how to do this is to somehow automatically add some Subtitle() text to every avisynth script created on this computer, regardless of the code. That means if the script is a simple 1 line "avisource("clip.avi")" or "directshowsource("clip.mpg"), it will have the subtitle text of my choosing.

Is there any way of doing this? My first path to accomplish this was to use an avsi, but I can't figure out how on earth to make it work. Any help is greatly appreciated. Thanks!

kemuri-_9
24th February 2009, 03:29
not sure if you can do what you're attempting with an .avsi as those are for generally for loading functions and global variables, IanB or squid_80 may be able to provide better insight on that tho.

but if you have process explorer (abbreviated procexp frequently), you can see if the process loaded avisynth.dll which would indicate it's using avisynth....

AlanHK
24th February 2009, 12:58
Rename the avisynth.dll file (mine is in C:\windowsNT\system32) to, say, avisynth.dllx.
Any attempt to use avisynth will then cause an error.

Change the name back, of course, when you're done testing.