Re: Overlapping NSMovieViews step on each other
Re: Overlapping NSMovieViews step on each other
- Subject: Re: Overlapping NSMovieViews step on each other
- From: Ricky Sharp <email@hidden>
- Date: Tue, 29 Mar 2005 15:46:17 -0600
On Mar 29, 2005, at 3:35 PM, David Hoerl wrote:
If I have two NSMovieViews which have some area of overlap, I was
expecting that one would be dominant and the other one would play
"under" it.
However, what I see is that they alternate writing to the screen.
How would one put a movie playing on top of another (exactly like the
picture-in-picture feature of TVs)? Can this be done in one window or
do I need to stack a second window on top of the first one (and use
smoke and mirrors when the lower windows is moved around)?
One method is to use an overlay window to show the smaller video.
However, this may have performance issues. It's been a long time since
I've done work with movies, but I seem to remember performance hits
when you attempted to draw on top of a movie.
I would ask this in the QuickTime developer list as it may be more
beneficial to add a second video track such that it's scaled and
positioned correctly. That should fully take advantage of any hardware
acceleration as ultimately you'd just have one frame at a time being
rendered. And nothing will be drawn on top of the movie.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden