Hi all,
I have been unable to resolve the QT MPEG playback issue where any MPEG loaded after the first video loads plays back slowly. I have, however, found a potential workaround. If you create a new wxFrame each time you load a new video (in other words, each frame only ever loads one video), then you don't run into this problem. In short, the problem only occurs when two or more videos are loaded into the same TLW, and furthermore this is only the case with long MPEG videos.
The hard part about tracking this down is that pretty much every QT sample app I've seen on the web loads each video into a new TLW, including of course the QT Player. So at this point there are two options:
- The Quick Fix: Clean up the wxQtMovie code to enable loading multiple videos at the same time (by being a bit more careful about how we call ExitMovies) and fix a couple bugs with loading multiple videos in multiple windows. (It works, but it sometimes crashes so I need to hunt that down)
- The Real Fix: Track down exactly what's happening by modifying some QT samples to load multiple videos into the same window. Then debug from there. Note that I don't have an ADC select membership, so if there is an issue at the QuickTime level that was simply never caught because none of their own apps (including samples) try it, then we're pretty much stuck.
What I'm going to do for the moment is get the "Quick Fix" out the door, sometime within the next couple days. I'd like to get this issue completely resolved, but that could take quite some time, and if most apps could workaround with the Quick Fix, then I'd much rather prefer to be spending my time on things that can't be worked around. (Like getting wxMozilla 2.5 packages out the door!
Thanks,
Kevin