• 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
NSMovieView: Get frame counter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMovieView: Get frame counter


  • Subject: NSMovieView: Get frame counter
  • From: Jens Bauer <email@hidden>
  • Date: Sun, 15 Jun 2003 03:57:45 +0200

Hi all,

How do I get the current frame, the selection start and selection end from a NSMovie/NSMovieView ?

This is my code:

- (void)setup
{
NSMovie *movie;

movie = [[NSMovie alloc] initWithURL:[NSURL URLWithString:@"file:///Volumes/music/Movies/Fars Fede Las- Vegas Ferie"] byReference:YES];
[movieView setMovie:movie];
}

I want to be able to do the following:

Get the frame number (don't confuse this with the rectangle the movie is displayed inside).
The frame number is usually known as a SMPTE time-code similar to this: 01:33:15.04
I'd also like to get the selection range. It doesn't appear to me how this is possible.

Finally, I'd like to grab a frame, modify it, and write it back.
I know that QuickTime player can do this, you can even paste TIFF images into the movie-player, so this must be possible from my own player as well. ;)

I can't find any methods in NSMovie, nor in NSMovieView that seems to do what I want...

Any help will be greatly appreciated. :)


Love,
Jens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSMovieView: Get frame counter
      • From: "Douglas A. Welton" <email@hidden>
  • Prev by Date: Re: Callbacks in C libraries
  • Next by Date: Re: [ANN] NSTableView Assistant
  • Previous by thread: [ANN] QSW_UUID framework 1.1
  • Next by thread: Re: NSMovieView: Get frame counter
  • Index(es):
    • Date
    • Thread