[英]NDI ( Network Device Interface ) with Python
I want to program a python script that list the all available NDI sources.我想编写一个 python 脚本,列出所有可用的 NDI 源。 Over a LAN connection finds NDI sources ,receives data from them and updates the data on status change.通过 LAN 连接查找 NDI 源,从它们接收数据并更新有关状态变化的数据。 The data to be read is: NDI source name Source IP Address Source Tally status (tally on preview and on program) The data should be printed on screen in the following manner: and so on...要读取的数据是: NDI 源名称 源 IP 地址 源 Tally 状态(预览和节目中的 Tally) 数据应按以下方式打印在屏幕上:等等...
Whenever there is a change in the received data, a new line with the updated status should be printed immediately.每当接收到的数据发生变化时,应立即打印具有更新状态的新行。
NDI (network device interface) is a video/audio over ip distribution protocol and it's royalty-free, the SDK is distributable as such. NDI(网络设备接口)是一种通过 ip 分发协议的视频/音频,它是免版税的,因此 SDK 可以分发。
The goal for this program is to just plug in a LAN network and collect the data.该程序的目标是插入 LAN 网络并收集数据。 can anyone help me with this, how i can interact with an SDK using python?任何人都可以帮助我,我如何使用 python 与 SDK 交互? Please I need help.请我需要帮助。
There's an NDI Python wrapper on GitHub: GitHub 上有一个 NDI Python 包装器:
https://github.com/buresu/ndi-python https://github.com/buresu/ndi-python
As far as I'm aware it can do most things the original SDK can - maybe with a bit of tweaking to the original SDK example scripts.据我所知,它可以完成原始 SDK 所能做的大多数事情——也许对原始 SDK 示例脚本进行一些调整。 There are four example scripts provided in the release anyway.无论如何,发行版中提供了四个示例脚本。 I'd suggest:我建议:
It has worked well for a research project I'm doing so I hope this helps you too.它对我正在做的一个研究项目很有效,所以我希望这对你也有帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.