Transcodes playing out of order

Every time i have tried to create a transcode( starting files varied from .avi, .mkv, and others) i have always ended up with a file that plays every other 5 seconds out of order. I am using a gtx 260 on xp 32bit any ideas?