控制在Android视频的播放速度
我使用的是VideoView播放视频文件保存在RES /生。我不能找到一种方法来控制视频的播放速度。基本上我想,以减少和增加播放,同时移动滚动条。是否有任何变通执行本?
I am using a VideoView to play a video file kept in res/raw. I couldnt find a way to control the playback speed of the video. Basically i want to reduce and increase the playback while moving a scroll bar. Is there any work around for implementing this?
没有,你不能改变播放速度只需要使用 VideoView
。 VideoView
和的MediaPlayer
只提供有限的媒体功能。
No, you cannot change the playback rate by simply using VideoView
. VideoView
and MediaPlayer
only provide limited media functions.
您必须使用一些第三方库,例如,PVPlayer,并实现了自己。
You have to use some third party library, e.g., PVPlayer, and implement that yourself.
这也是为什么在Android良好的媒体播放器是如此宝贵的:)
That's also why good media players on Android are so valuable:)