[英]Is there any way to play video other then .mp4 on Android in Kivy?
While I didn't find this in docs, currently only way to play video on Android in Kivy is to use ffmpeg . 尽管我在文档中没有找到此功能,但目前在Kivy上在Android上播放视频的唯一方法是使用ffmpeg 。 Am I right?
我对吗?
Even so looks like default ffmpeg recipe supports only .mp4
videos. 即使如此,默认ffmpeg配方也仅支持
.mp4
视频。 Is there any way to make it work with .avi
and other popular video formats? 有什么方法可以使其与
.avi
和其他流行的视频格式一起使用?
After merging this PR to p4a it'll be possible to specify ffpyplayer_codecs
recipe to install codecs for ffpyplayer
video provider. 将此PR合并到p4a后,可以指定
ffpyplayer_codecs
配方为ffpyplayer
视频提供程序安装编解码器。 openssl
can also be added to support SSL. 还可以添加
openssl
以支持SSL。
buildozer.spec: buildozer.spec:
requirements = python2, kivy, ffpyplayer, ffpyplayer_codecs, openssl
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.