Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Windows program that uses the Apple QuickTime API to play video. On Windows 7, CPU usage is 100% on one core, which I believe is why the playback is choppy. If I turn on XP compatibility mode for this program, the CPU usage is around 20% of one core, and playback is normal.

Using a profiling tool called Very Sleepy (http://www.codersnotes.com/sleepy), I was able to narrow down the high CPU usage to a function in the QuickTime H.264 decoder called JVTCompComponentDispatch.

I can't imagine why there would be a difference in CPU usage when XP compatibility mode is turned off or on. Any ideas?

share|improve this question
add comment

1 Answer

Most likely, it's able to use your display processor to do some of the decoding in compatibility mode but forced to do software-only decoding otherwise. To know why that's happening, you'd likely need to know more about your hardware configuration and drivers and how QuickTime was implemented internally, which probably isn't realistic unless you work at Apple and wrote the code.

share|improve this answer
    
Thanks, Nicole. That does make sense. I should also mention that the Apple Quicktime Player plays fine, and it uses the same DLLs as my program. What could be causing this difference? –  user858518 Oct 18 '12 at 0:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.