Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
作为我项目的一部分,我需要捕获我的屏幕并将其通过 webrtc(使用 aiortc)发送到客户端,这也是一个 python 脚本。我实际上使用了来自aiortc 的repo的 videostream -cli示例。但我不知道如何调整代码以显示流而不是将其写入文件。我在想也许可以使用 ffmpeg 来解码和显示流。但是我找不到任何通过 python 支持 ffplay 的包。
任何帮助都会很棒!提前致谢!