Anyone got an idea how to implement slow motion ?  or at least slow down the 
playback of a video ?

thanks in advance


On May 24, 2011, at 7:19 PM, TheBear wrote:

> I am able to play back video using the mediaplayer with the standard
> video control buttons.
> 
> My question is how can I use a slider /progress bar to act as a play
> back speed.
> which function would I have to override and how.
> basically
> 
> while not end of movie
>    play next frame
>    sleep (value of progress bar   (0 - 100) * 4000);
> 
> this way when the slider/progress bar is at 0 sleep is 0; thus there
> is NO delay in playback
> 
> when the slider is at 100 then sleep is 40,000, thus there is a 40
> second delay between frames causing the video to slow.
> 
> As you can see I have a concept but I am not sure of the routines, I
> found reference to play a frame
> but could not find any examples and it would appear that it is now
> depreciated.
> 
> thanks in advance
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to