Re: Get the current frame and FPS of a video?
Re: Get the current frame and FPS of a video?
- Subject: Re: Get the current frame and FPS of a video?
- From: douglas welton <email@hidden>
- Date: Wed, 5 Nov 2008 09:44:44 -0500
Disclaimer: I am assuming that when you say "current frame", you mean
the current frame number relative to the beginning of the movie and
not the image that represents the current frame...
Add a Timecode track and use the related functions to get the counter
value. Check out the sample code for QTKitTimeCode. (If you need
further assistance, I would suggest that you query the QuickTime-API
mailing list)
regards,
douglas
On Nov 5, 2008, at 4:46 AM, Jean-Nicolas Jolivet wrote:
I need to get the current frame of a QTMovie object... The movie
object is assigned to a QTMovieView if this is of any help...
If there's no easy way to get the current frame, I guess I could
always calculate it using the "currentTime" method, which returns a
QTTime struct... but without the FPS, that info is useless...
So is there any way I can either: Get the current frame of a
QTMovieView/QTMovie.... or if not possible, get the FPS and try to
calculate it myself??
Thanks a lot!
Jean-Nicolas Jolivet
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden