Re: Multiple QTMovies and Images under one controller
Re: Multiple QTMovies and Images under one controller
- Subject: Re: Multiple QTMovies and Images under one controller
- From: "douglas a. welton" <email@hidden>
- Date: Mon, 5 Mar 2007 13:47:23 -0500
Tim,
check out the QTMovieTrack sample code for clues as to how to combine
multiple video tracks into a single movie
later,
douglas
On Mar 5, 2007, at 1:35 PM, Tim Yates wrote:
Very, very interesting! I really like this idea :-)
So you have multiple seperate movies effectively "floating" above the
desktop with a main Window which controls them?
This is a direction I hadn't thought of! Time to break out XCode :-)
Do you know if it would be possible using this method to recombine all
the playing movies into a new movie once you are happy with their
positioning? Heh...maybe I should take this one step at a time though
;-)
Thanks for the reply Chris!!
Tim
On 3/5/07, Chris B <email@hidden> wrote:
Tim, I have and am doing a similar thing. However my approach has
worked very well for me, and does exactly what you described. Use
multiple NSWindows. Use NSBorderlessWindowMask (sp) and make set
their
backgrounds to clearColor. Then set the content views to your
NSImageView, or QTMovieView. You can layer / order these all day
long.
Move them, animate them. If you add them as children to a parent
window then they will stay with the parent. Works like charm.
I am pretty new to this too, so there may be a better way, but this
has worked well for me.
On 3/5/07, Tim Yates <email@hidden> wrote:
> Hi everyone, I hope someone can point me in the right direction,
I've
> got that flailing feeling at the moment...
>
> I am trying to write an application to play multiple movies and
> display images simultaneously on the same View
>
> The first thing I tried was declaring my own view which created
> QTMovieView subviews that could be dragged around, but after
reading
> these lists found out that overlapping views is not a Good Thing
to be
> doing (and you cannot draw over the top of QTMovieView very
easily to
> show resize handles, etc
>
> So I am now trying rendering movies/images etc to OpenGL
textures, and
> displaying them as OpenGL quads (like the QTCoreVideo101 sample,
and
> the LiveVideoMixer sample).
>
> Is this the way forward?
>
> I keep crashing head first into problems, and don't have the
> experience to tell me if it is worth going forward...
>
> It would be great if someone could tell me if I am on the right
path,
> or if there are other avenues I should be looking into and
> considering..
>
> Thanks for any help/ideas/new directions you can give!
>
> Tim
>
> PS: Sorry if this is a regularly repeated question, I had a quick
> look through the search, but couldn't see anything directly
relating
> to my problem :-(
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
40gmail.com
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40earthlink.net
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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