• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMovie time/frame/length information and movie ending notifications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSMovie time/frame/length information and movie ending notifications? (From: James Andrews <email@hidden>)

  • Prev by Date: Re: Multiple controllers vs multiple categories (or tips for large projects)
  • Next by Date: Re: Send files over network
  • Previous by thread: NSMovie time/frame/length information and movie ending notifications?
  • Next by thread: Multiple Definitions of Symbol
  • Index(es):
    • Date
    • Thread