Re: Drawing on a QuickTime movie
Re: Drawing on a QuickTime movie
- Subject: Re: Drawing on a QuickTime movie
- From: Ricky Sharp <email@hidden>
- Date: Tue, 26 Apr 2005 08:11:37 -0500
>On Apr 25, 2005, at 9:36 PM, Aender Robinet wrote:
>
>> 1. Creating a semi-transparent overlay window where I do the drawing.
>> Drawing works fine, but the underlying movie doesn't look very nice.
>> 2. Using a movie drawing callback to update the drawings in
>> NSMovieView after the toolbox finished drawing the movie. Works, but
>> the image flickers.
On Tuesday, April 26, 2005, at 07:54AM, Cornelius Jaeger <email@hidden> wrote:
>I use method 1 and the movie looks fine.
>make sure you remove shadows from the overlay window and invalidate
>shadows on both windows.
It could also be the case where hardware acceleration isn't kicking in since the movie isn't the front-most view. It's been a long time since I've done drawing on top of a movie, but IIRC, a QT engineer mentioned that if the movie wasn't the front-most entity, it may not be rendered via HA.
For the original poster's needs, it may end up being better to dynamically add a second video track. There was a recent thread about doing a "picture in picture" feature. I believe the solution was to use another video track.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
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