I use h264 which can be found in ffdshow . When i was testing xvid/mp42/divx etc it seemed the best