Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > VirtualDub Filters and Filter Development > Audio Filter/plugin Sdk


Posted by: pbristow Apr 15 2008, 08:13 PM
Can anyone tell me the current status of the audio filter SDK? Avery mentioned it some versions back as being in development, but that he might trash it and start again.

The most recent forum comment I've found anywhere relating to it seems to be February 2003!

I'd *love* to be able to develop audio plug-ins for VirtualDub - starting with a simple dynamic range compressor/limiter/AVC - But I can't find the SDK or any recent info on what's happening.

I'm *this close* to being able to clean-up and convert all kinds of AVI files ready for DVD mastering, all in one pass (using a combination of AVIsynth and VirtualDub); The only thing I can't do without resorting to exporting and importing lots of temporary files is to tidy up the audio.

Posted by: phaeron Apr 16 2008, 04:36 AM
The audio filter SDK doesn't exist, actually... I never got around to writing it, partly because I was unhappy with the way the API turned out. That's why in the input plugin API I eschewed the function entry point paradigm and went for interfaces, under the assumption that if I made all the methods __stdcall I wouldn't screw over GCC too much.

All versions of VirtualDub that have had audio filters can actually load them externally -- all internal filters go through the exact same API the external ones do. It is undocumented, however, so you would have to look at the headers in the source code for the API, specifically h\vd2\plugin\vdaudiofilt.h. VirtualDub audio filters are stream-based and process samples continuously until blocked by a buffering issue or a seek. The base plugin API is the same as for input drivers and thus VDGetPluginInfo() is the entry point for getting an audio filter loaded.

I've never written an external audio filter, though, so YMMV....

Posted by: pbristow Apr 17 2008, 08:38 PM
Ah! Thanks for the info and suggestions.

I'll probably try doing something as an AVIsynth plug-in first, then. That looks like a slightly simpler/safer route for a C++ beginner who's trying to haul his aged Pascal, FORTRAN & PL/1 brain into the 21st century. =:o}

Posted by: olnima Apr 19 2008, 12:23 PM
...uuuh, and fading in/out audio would also be nice...

smile.gif Olnima

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)