Stuttering Multiple QTMovieLayers in Single Window
Stuttering Multiple QTMovieLayers in Single Window
- Subject: Stuttering Multiple QTMovieLayers in Single Window
- From: Greg Sutton <email@hidden>
- Date: Wed, 30 Apr 2008 17:28:50 +1000
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@hidden)
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:
This email sent to email@hidden