控制在Android视频的播放速度 [英] Control the playback speed of video in android

查看:1113
本文介绍了控制在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:)

这篇关于控制在Android视频的播放速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆