How do I use a G4P slider to adjust video speed?

edited April 20 in Library Questions

As above. For part of a college assignment I have a G4P slider with 3 ticks that set the video speed to 0.5x, 1x and 2x respectively. I'm having trouble figuring out how to actually get the slider to control that.

Somewhat related, the video is very laggy when it plays back. I have it set to a very low bitrate at 240p H264. I just want it to play through smoothly. Thanks in advance.

Tagged:

Answers

  • Have you looked at the examples that come with the Video library, there is one that shows how to change the playback rate. It uses the method speed(s) where s is a multiplier e.g. 0.5, 1.0. 2.0

    The second issue of _laggy _playback could be due to your source code, you might post it here.

Sign In or Register to comment.