Hey everyone, got a direct x problem here with tmpgenc

I have recently formatted and i have tried tmpgenc v 12a, 2.01 and 2.02 and they all give same error message after bout 30 min of encoding-

Illegal operation caused in quartz.dll

This dll has been confirmed as part of direct x. It happened both with direct x 8.1, 8.0a and direct x 6.1

Any help on why its causing illegal op?