Re: QuickTime callbacks
Re: QuickTime callbacks
- Subject: Re: QuickTime callbacks
- From: David Remahl <email@hidden>
- Date: Sun, 1 Jul 2001 22:13:31 +0200
I looked quickly into the NSMovie and NSMovieView classes'
documentation. But that was to discover disapointingly that the only
things you could do with the movie was to play it, stop it, rewind
it,... but nothing more advanced from what QuickTime really allows
for. This is really a kindergarten kind of thing to my opinion... I
read somewhere though (cannot remember where) that NSMovie allows to
get a pointer to the QuickTime movie (there's indeed such a function
in the Objective-C implementation, why not in Java's, since there's a
Quicktime for Java API ?). What from there ? Does the QTMovie offer
an API to respond to user input which I could just use inside my
Cocoa app ?
You will have to use the QuickTime features directly (through Carbon,
you could say..). Cocoa only has rudimentary QT support right now. I
don't know Java, and havn't used cocoa-java, so I dont know how using
Carbon works from Java...
Does it mean that I won't be able to use Cocoa (in which case I'm
definitely not going to use QuickTime...), or is it possible to mix
Carbon with Cocoa ?
Could you please tell me a bit more about this ?
No! Its very possible! You can mix and match all you want (although you
should mix cocoa and carbon interface code). You can use all QT
functions if you include the framework that contains them. I'm not sure
about the details of calling it from a java-style cocoa application...
/ david