捕获屏幕并流至 RTMP 服务器
我想尝试编码一个应用程序,该应用程序可以捕获桌面或屏幕部分(分辨率的高度和宽度变量)并将其流式传输到 RTMP 服务器(rtmp://server.com/live)
我更喜欢为了让这个有趣的项目在 Windows 上可用,所以我考虑使用 C#,因为它能够制作非常漂亮、专业的 GUI。
不管怎样,没有像覆盖或身份验证这样的花哨功能,我只想截取屏幕的一部分并将适当的信息发送到开放的 RTMP 服务器(如 Flash Media Server)。
这些东西是 C# 内置的吗?所有这些流媒体程序(Flash Media Live Encoder、Xsplit、Procaster 等)如何工作?这可能是我的起点。
谢谢!
I would like to play around with coding an application that could capture a desktop or section of a screen (height and width variables for resolution) and stream those to an RTMP server (rtmp://server.com/live)
I'd prefer for this fun project to be available on Windows, so I'm thinking C# for its ability to make really nice professional looking GUIs.
Anyway, without all the fancy features like overlays or authentication, I just want to take a section of a screen and send the appropriate information to an open RTMP server like Flash Media Server.
Are these things built-in to C#? How do all of these streaming programs (Flash Media Live Encoder, Xsplit, Procaster, etc work? This is probably my starting point.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
ffsplit 与您正在寻找的有些相似。我会检查 ffmpeg 和 https://github.com/rdp /screen-capture-recorder-to-video-windows-free 以及。我不知道 directshow 中有任何高质量的 rtmp 实现...而且那也不会是 C# :)
ffsplit is somewhat similar to what you're looking for. I'd checkout ffmpeg and https://github.com/rdp/screen-capture-recorder-to-video-windows-free as well. I'm unaware of any high quality rtmp implementations in directshow...and that wouldn't be C# anyway :)
它有一些应用程序可以完成此任务:
1.您使用虚拟网络摄像头来捕捉您想要的内容(ManyCam Pro可以做到这一点)
2. 使用Adobe Flash Media Encoder从上面的摄像头获取流并将其发送到FMS服务器,它是RTMP。
问候。
It have some application can do this task:
1. You user a vurtual webcam to capture what you want ( ManyCam Pro can do this)
2. Use Adobe Flash Media Encoder to get the stream from the camera above and put this to FMS server, it is RTMP.
Regards.