Someone know if that's possible to encode in 2pass mode with Xvid or H264 codecs ?

I use the ffdshow interface to have access of the h264 parameters