ffdshow shows up in virtualdub just like any other codec (the encoding part is actually 'just' ffvfw if I'm right). So just select ffdshow and press the configure button, select h264 as encoding method and configure the settings to your needs. if your looking for detailed settings to go with h264, I'm kinda clueless... so in that case, sorry for an unnecessary post ;)