I notice that avisynth can accept as input a "live directshow source" only through a graphedit file that includes that source in it. Is there any help tool out there to create a graphedit file on the fly, given you know a capture sources name (and/or the output format you want from that pin)?
ref: http://betterlogic.com/roger/2012/05/avisynth-live-capture
The graphedit file syntax is described here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd388788(v=vs.85).aspx (though it doesn't mention how to discover the right values to put in there).