简体   繁体   English

如何创建 RTSP 服务器以从网络摄像头流式传输?

[英]How to create an RTSP server to stream from webcam?

I want to create an RTSP streaming server using my integrated webcam and later on using the same stream server to click pictures using java code.我想使用我的集成网络摄像头创建一个 RTSP 流服务器,然后使用相同的流服务器使用 java 代码单击图片。 I did some research and there are several options available such as FFmpeg, wowza, etc but I don't know how to use them properly.我做了一些研究,有几个选项可用,例如 FFmpeg、wowza 等,但我不知道如何正确使用它们。 I am using windows OS.我正在使用 Windows 操作系统。 I want the streaming server to be localhost.我希望流媒体服务器是本地主机。 And i can use this link to actually take pictures in java.我可以使用这个链接在java中实际拍照。

This rpos project by Jeroen Versteege looks promising. Jeroen Versteege 的这个rpos 项目看起来很有希望。 It turns a PI into an ONVIF/RTSP server.它将 PI 变成 ONVIF/RTSP 服务器。 The build steps looks long from its repo page.构建步骤从它的 repo 页面看起来很长。 It will take some effort to get it to compile and run for other platforms.让它在其他平台上编译和运行需要一些努力。 The project won an ONVIF challenge top 10 .该项目获得了 ONVIF 挑战赛前 10 名

To debug or otherwise help testing the server, you may look into another top 10 winner in the same challenge: an ONVIF viewer by Casper Meijin .为了调试或以其他方式帮助测试服务器,您可以查看同一挑战中的另一个前 10 名获胜者: Casper MeijinONVIF 查看器

Hope the information can get you started.希望这些信息可以帮助您入门。 Though not a complete solution to date (Nov of 2019).虽然迄今为止还不是一个完整的解决方案(2019 年 11 月)。

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

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