简体   繁体   English

在python程序中将PiCamera视频显示到嵌入式视频播放器

[英]Display PiCamera video to an embedded video player in a python program

Is there any way of embedding a video player into the GUI of a python program and then displaying video from a piCamera to it in real time? 有没有办法将视频播放器嵌入到python程序的GUI中,然后实时显示来自piCamera的视频?

Currently, when I preview it fills the whole screen and makes any GUI unusable. 目前,当我预览时,它会填满整个屏幕并使任何GUI无法使用。

I would like to overlay information over the video capture. 我想在视频捕获上叠加信息。

I'm not too hot on Python but on Visual Studio for example you could use the VLC plug-in and use it as a display component. 我对Python不太热,但在Visual Studio上,你可以使用VLC插件并将其用作显示组件。

There's lots of tutorials about how to host video and stream it to a server but nothing covers local display. 有很多关于如何托管视频并将其流式传输到服务器的教程,但没有任何内容涵盖本地显示。

Cheers. 干杯。

I'm not sure if this is exactly what you are looking for, but I use RPi-Cam-Web-Interface. 我不确定这是否正是您正在寻找的,但我使用的是RPi-Cam-Web-Interface。 If you are not aware of it you may want to take a look: http://elinux.org/RPi-Cam-Web-Interface 如果您不了解它,您可能需要查看: http//elinux.org/RPi-Cam-Web-Interface

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

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