Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get current frame number



Perhaps you want Media.timeToSampleNum() ?

The idea of a movie's frame number makes a number of assumptions which aren't necessarily true (eg, the movie has exactly one video track), which is why you won't find an exact "get current frame number" method. Instead, work with the abstractions: movies have tracks, tracks have one media each, media have samples. For a video track, the frames are samples. So, if there's a video track you care about, go to its media and get samples.

--Chris

On May 30, 2008, at 6:34 AM, John Wilkinson wrote:

I am going to poll a playing movie and get its current frame number.

What method do I use for this?


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-java mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.