Fast Forward and backward about QuickTime movie
Fast Forward and backward about QuickTime movie
- Subject: Fast Forward and backward about QuickTime movie
- From: Bright <email@hidden>
- Date: Wed, 22 Apr 2009 11:05:59 +0800 (CST)
Hi douglas,
thank you for your help.
Now I expect that the speed is fast when user press the button and the speed
is normal when user unfasten the button. I am a fresh man,ha. I don't know how
to do this. Could you tell more detail?thank you!
2009-04-21,"douglas welton" <email@hidden>
>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