NSMovieView: Get frame counter
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.