I concur with QuickTimeKirk: use the "Audio MIDI Setup" application, in the Utilities folder, to set the audio output format to 44100Hz, but you should also use Audio MIDI Setup to check the Default Input and Default Output settings. Try the "Built-In Audio" setting for all these options, and see if that helps. What's happening here is that sometimes the Mac's audio settings have gotten messed up, and need to be reset (why this interacts with playing movies, and only in Quicktime Player, I don't know). The Sound prefpane also lets you change some of these settings, but sometimes it can't properly do the job.
If that doesn't help, trash the plist file that these settings are stored in--com.apple.audio.DeviceSettings.plist file (at Macintosh HD/Library/Preferences)--it might have gotten damaged. Then restart the Mac and try running Quicktime Player again.
I found what was causing my Mac's problem (that I describe above) with playing MPEG files (even MPEG-1) in a jerky fashion, in Quicktime Player--it's related to this audio settings problem: my Mac's audio hardware (on the logic board) has failed, and without working audio hardware, the audio settings for Input Device, Output Device, etc. as described above, can't be set--Audio MIDI Setup on my Mac just displays "None", "No devices", "Input is not supported", etc. I already knew my audio hardware was dead, but that didn't bother me so much. Quicktime 6.5.2 worked under OS 10.3.9--it was only after I updated to OS 10.4 and Quicktime 7 that this problem started, and it didn't occur to me how dependent Quicktime 7 is on things like audio working properly. I don't know of any software fix that would let Quicktime play smoothly regardless of this hardware problem. I've been thinking of getting an iMic, made by Griffin, to see if that will produce audio with my G4s logic board (it plugs into the Mac's USB ports), or at least let me select it in the Audio MIDI Setup application, but I doubt it will help, since it's the basic audio-generating chip on my logic board that's dead, not just the audio output amps.