如何使用Flash将网络摄像机的实时视频流发布到Flash媒体服务器?

发布于 2024-09-10 21:18:28 字数 1539 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

半衬遮猫 2024-09-17 21:18:28

安讯士有许多直接支持 RTMP 的 IP 摄像机:

http://search.axis .com/search?restrict=&ie=%3DUTF-8&site=All_sites&output=xml_no_dtd&client=axis_com&lr=%3DUTF-8&proxystylesheet=axis_com&oe=%3DUTF-8&q=rtmp& btnG.x=0&btnG.y=0

Wowza 可以将 RTSP 流重新传输为 RTMP。不需要实际转码来执行此操作。同样的视频可以采用 RTSP 或 RTMP 方式传输,只是传输协议不同而已。软件可以捕获一个视频并重新传输另一个视频,而无需实际对视频进行转码。

http://www.wowzamedia.com/forums/showthread.php?t= 6470

我确信 FMS 也支持这一点,但我找不到任何明确的参考资料。

下面是一个示例,其中有人连接到 Axis IP 摄像机并将图像重新广播到 FMS 以流式传输到 Flash(这涉及完全解码和重新编码):

http://www.geekorgy.com/index.php/2010/06/ip-camera -to-fms-flash-video-howto-osx/

这里有一个公告,第一个具有内置 RTMP 支持的 IP 摄像机存在,尽管我是盲人或者它没有提及它指的是哪个摄像机(或者也许这只是一个早期测试版,因此没有提及):

http ://groups.google.com/group/c-rtmp-server/browse_thread/thread/f5de18f4e8b5ea5f

Axis has a number of IP cameras that directly support RTMP:

http://search.axis.com/search?restrict=&ie=%3DUTF-8&site=All_sites&output=xml_no_dtd&client=axis_com&lr=%3DUTF-8&proxystylesheet=axis_com&oe=%3DUTF-8&q=rtmp&btnG.x=0&btnG.y=0

Wowza can re-transmit an RTSP stream as RTMP. It's not necessary to actually transcode to do this. The same video can be transmitted as either RTSP or RTMP and it's just a matter of different transmission protocols. Software can capture one and retransmit the other without actually transcoding the video.

http://www.wowzamedia.com/forums/showthread.php?t=6470

I was sure FMS supported this too, but I couldn't find any definitive references.

Here's an example where someone connects to an Axis IP camera and rebroadcasts the image to FMS for streaming to Flash (which involves fully decoding and re-encoding):

http://www.geekorgy.com/index.php/2010/06/ip-camera-to-fms-flash-video-howto-osx/

Here's an announcement that the first IP camera with built-in RTMP support exists, although either I'm blind or it fails to mention which camera it's referring to (or perhaps it's just an early beta and thus not mentioned):

http://groups.google.com/group/c-rtmp-server/browse_thread/thread/f5de18f4e8b5ea5f

梦太阳 2024-09-17 21:18:28

不能。Flash

只能处理 .flv 视频流,而任何公开可用的 IP 摄像机都无法生成该视频流。

此外,您手动处理此问题的能力非常有限,因为仅当目标“服务器”允许 Flash 连接时,Flash 才允许外部网络连接,而您的 IP 摄像机显然不允许这样做。

No.

Flash can only handle .flv video streams, which none of publicly available IP cameras can produce.

Also, you are very limited on manually handling this, as Flash allows external network connections only when target "server" is going to allow flash connections, which your IP camera obviously would not allow.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文