Re: Fast Forward and backward about QuickTime movie
Re: Fast Forward and backward about QuickTime movie
- Subject: Re: Fast Forward and backward about QuickTime movie
- From: douglas welton <email@hidden>
- Date: Tue, 21 Apr 2009 10:59:13 -0400
To implement a fast (scan) forward or backward, simply set the movie's
playback rate to a value greater than 1.0 ( or -1.0 for going
backward). You'll want to experiment with want looks best for you,
but a typical value might be 2.0, 4.0, 8.0... you get the picture.
Depending on how you want to the user to interact with your fast
forward or fast backward buttons, you'll want to create an action that
interprets the button's click, then determines when to start the movie
playing at the "scan" rate.
later,
douglas
On Apr 21, 2009, at 10:39 AM, Bright wrote:
Hi,
By using the "-stepForward:" and the "-stepBackward:" methods
of the QTMovie class, I realized the forward/backward a frame
when I click the corresponding buttons.
But my purpose is to implement fast forward and fast backward
when I press the corresponding buttons for a while. The result
should like the QuickTime Play's fast forward and fast backward
buttons.How to implement it? Any help is useful for me.
Thanks
_______________________________________________
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