I have a single QTMovie with one video track playing well in a QTMovieLayer within a window. In fact I can have three or more of these windows open all playing separate videos without noticeable slow down. However when I add a second QTMovieLayer to a single window things start to fall apart. This happens whether or not the QTMovieLayers are in the same layer tree.

Alternatively, I can play two movies in two QTMovieViews in the same window quite happily. However, if I tell these QTMovieViews to have animation layers, things go pear shaped - placing the video in the top left of the window.

My aim was to overlay each video with text etc. using CoreAnimation layers, and then have interaction between these layers. What's the cause of the dramatic performance drop? Is there only one CoreAnimation render thread per window, and being hit by redraw requests from two movies just flipping it out? Is it possible to synchronize the QTMovies on a separate thread(s) to remove this problem? Do I really need to mess around with borderless windows to achieve having two QTMovieLayers playing next to each other with CALayers? This would kind of defeat the purpose of having nice easy transitions when videos are taken away, and moved around, on the fly.

Regards,

Greg



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to