简体   繁体   English

是否有任何选项可以更改 kivy 中的视频播放器?

[英]Is there any option to change the videoplayer in kivy?

I have a project that is built with kivy.我有一个使用 kivy 构建的项目。 It has one video background, one video that is over the background and the third layer of text.它有一个视频背景,一个在背景上的视频和第三层文字。 It works fine on windows, but when I run it on raspberry pi 4 4gb the videos are playing with 5fps.它在 windows 上运行良好,但是当我在树莓派 4 4gb 上运行它时,视频以 5fps 播放。 I want to change the kivy video player(gstream) with something else.我想用别的东西改变 kivy 视频播放器(gstream)。 I wish i was playing it with omxplayer inside of kivy, so I have the control over the second video size and position.我希望我在 kivy 中使用 omxplayer 播放它,所以我可以控制第二个视频大小和 position。 Thank you.谢谢你。

Sorry I can't make a comment yet, but I did kind of a similar integration and I managed to use omxplayer by following this guys blog.抱歉,我还不能发表评论,但我做了类似的集成,并且通过关注这个家伙的博客,我设法使用了 omxplayer。 Hope that helps希望有帮助

https://www.codedesigner.de/articles/omxplayer-kivy-overlay/https://www.codedesigner.de/articles/omxplayer-kivy-overlay/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM