Re: NSMovie time/frame/length information and movie ending notifications?
Re: NSMovie time/frame/length information and movie ending notifications?
- Subject: Re: NSMovie time/frame/length information and movie ending notifications?
- From: "Douglas A. Welton" <email@hidden>
- Date: Sat, 22 Jan 2005 11:41:39 -0500
James,
You'll need to use QuickTime to check the playback status of a movie. Take
a look at the SimpleCocoaMovie sample code, which uses QuickTime's callback
mechanism. Alternately, you can install an NSTimer and "poll" the movie's
playback status using the QuickTime function IsMovieDone()
To get other info about the movie, simply use the -QTMovie method to get a
QuickTime Movie pointer, which you can use in the appropriate QuickTime
function (e.g., GetMovieDuration()).
later,
douglas
on 1/22/05 1:51 AM, James Andrews at email@hidden wrote:
> OK,
>
> Friend as me to throw together a quick app to allow him to show
> multiple movies in a row kind of like a slideshow. Problem is I can't
> find any methods to notify me that the movie has finished. Also I
> don't see any infomormation on movie time codes/lengths? in the AppKit
> NSMovie or NSMovieView class. Am I missing something? Is there some
> kind of dev kit I need to do more advanced QT stuff?
>
> Thanks
> James
_______________________________________________
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