问题描述
我建设的Android定制的视频播放器,它需要能够调节视频播放速度。我知道Android的MediaPlayer的没有内置的做任何事情,但没有人知道一个良好图书馆在那里,能做到吗?
I'm building a custom video player in Android and it needs to be able to adjust video playback speed. I know Android's MediaPlayer doesn't have anything built-in to do that, but does anyone know of a good library out there that can do that?
我尝试Vitamio。不过,我读它有一些限制,但我找不到什么那些局限性。有没有人有Vitamio工作,你会推荐它?
I'm trying out Vitamio right now. However, I read that it has a few limitations, but I couldn't find what those limitations are. Has anyone worked with Vitamio and would you recommend it?
推荐答案
我还一直没能找到Vitamio所有限制,但是对于播放速度控制,它工作正常(只要你留在.5x内和2倍的速度)。
I still haven't been able to find all the limitations for Vitamio, but for playback speed control, it works fine (as long as you stay within .5x and 2x speeds).
链接Vitamio: https://www.vitamio.org/en/Download/
Link to Vitamio: https://www.vitamio.org/en/Download/
这不是超有据可查的,所以我花了一段时间才能弄明白,但他们的下载确实包含一个示例项目您在戳。
It's not super well documented, so it took me a while to figure it out, but their download does include a sample project for you to poke at.
这篇关于Android视频播放速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!