Thanks for the tip.
Before reading your option I removed Quicktime 5.0 from my machine and reinstalled Quicktime 4.1.2 Pro and then tried it again using TMPGenc 1.2h and it worked perfectly and the picture was less pixalated then when QT5 was installed.