Re: Adding NSImage to empty QTMovie
Re: Adding NSImage to empty QTMovie
- Subject: Re: Adding NSImage to empty QTMovie
- From: Eric Brunstad <email@hidden>
- Date: Sun, 12 Jun 2005 21:06:49 -0400
Hi Tim,
On Jun 12, 2005, at 7:16 PM, Tim Monroe wrote:
In case you don't already know this, there is a fairly easy way for
anyone to see what methods, public and private, a framework
contains. In Terminal, you can do something like this:
% cd /System/Library/Frameworks/QTKit.framework
% cd *fra*
% nm QTKit | grep QTMovie
Once again, I'm not recommending that you use private methods. But
it might be interesting to see what's actually in the framework....
I didn't know about this, thanks!
Do you know what other improvements Apple will be giving the QTKit
or when?
I have some ideas, but I can't really reveal them. (One Apple
mantra: we do not comment on unreleased products....) One very
common request is for some classes to do audio and video capture,
so I would not be surprised if something like that was added to the
next version of QTKit. But we are very interested in hearing from
QTKit adopters, to see what they would like to see added to it.
For people that cannot wait, I have written a subclass of NSImageView
that can capture video and audio. It's available at my website,
http://www.mindsprockets.com as part of the iRecord sample app.
It would definetely be nice to see this as part of the QTKit, though
(maybe as a NSRecorderView or something like that).
My other requests would be a method to create empty QTMovies and a
method to add tracks to a QTMovie. Also, it would be nice to have a
method like
-setDuration:(NSTimeInterval)duration loops:(BOOL)loops
for QTMovie. The loops argument would allow the programmer to chose
whether the movie should loop if it is made longer than it was
before. This would be useful when implementing GarageBand-like
looping audio. Also note that I used NSTimeInterval, not QTTime.
QTTime is very inconvenient, as QTTimes often have to be converted to
numbers and back.
Once again, thanks for all of your help,
-Eric
_______________________________________________
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