Did you check out the Q&A for computing a movie's static frame rate? <http://developer.apple.com/qa/qa2001/qa1262.html >

Alternately, have you considered simply adding a timecode track (as seen in the example code <http://developer.apple.com/samplecode/QTKitTimeCode/ >) and extracting the counter value? (perhaps using TCTimeCodeToFrameNumber)


On Jun 5, 2009, at 5:50 PM, Jean-Nicolas Jolivet wrote:

Hi there!

I was wondering if there's a way to go to a specific frame number (or get the frame number of the QTMovieView's currentLocation)

I can get a QTTime easily but apparently there's no easy way to convert this to a frame number... and getting the frame rate (FPS) of a video is just as hard...

I'm guessing there's a way considering that QuickTime Player does it (if you open a video, click on the timestamp in the lower left corner and change it to Frame Number), but I'm afraid it's not possible using QTKit... anyone can confirm/help ?


Jean-Nicolas Jolivet
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to