如何将网络摄像头视频发送到Amazon AWS EC2实例 [英] How to send webcam video to Amazon AWS EC2 Instance

查看:45
本文介绍了如何将网络摄像头视频发送到Amazon AWS EC2实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我想将网络摄像头捕获的视频流式传输到Amazon AWS EC2实例,以便在云中进行图像处理.一个人会怎么做?我知道的唯一文件传输方式是scp将文件复制到远程主机.我不知道从哪里开始将视频流传输到AWS EC2.Google对我没有任何帮助.有什么想法吗?

Suppose I want to stream video captured by my webcam to an Amazon AWS EC2 Instance for the purposes of image processing in the cloud. How would one do this? The only means for file transfer that I am aware of, is scp to copy files to the remote host. I have no idea where to begin in regards to streaming video to AWS EC2. Google turned up nothing for me. Any ideas?

推荐答案

我知道的唯一文件传输方法是scp将文件复制到远程主机.

The only means for file transfer that I am aware of, is scp to copy files to the remote host.

AWS EC2实例在很大程度上可以像在云中一样对待其他任何服务器.如果您想连接到它,请安装一些软件,打开端口,不管怎么说,所有这些都是可行的.

An AWS EC2 instance can largely be treated just like any other server.. just in the Cloud. If you want to connect to it, install some software, open ports, whatever, all of that is do-able.

我假设您想将视频从网络摄像头流式传输"到EC2实例.

I'm assuming you want to "stream" video from a webcam to the EC2 instance.

您需要连接网络摄像头的某种客户端软件,以将其流式传输到EC2实例.您将分配一个弹性IP 实例并配置该软件以将其流式传输到该地址.

You need some kind of client software where the webcam is connected to stream it to the EC2 instance. You would assign an Elastic IP to the instance and configure that software to stream it to the address.

然后,您需要在服务器上安装或构建某些东西才能接收流并对其进行处理.要么将其保存在某个地方进行处理,要么进行一些实时处理,然后将其流传输到其他地方,等等.

You would then need to install or build something on the server to receive the stream and do something with it. Either save it somewhere for processing, do some live processing and stream it somewhere else, etc.

每个组件都是广泛的主题,不能真正推荐任何特定的软件来完成此任务.不过,重要的是,假设您找到或构建用于处理所有这些任务的软件,则EC2实例可以完成所有这些操作.

Each of these components are broad subjects and can't really recommend any particular software to accomplish this. The important part here though is that the EC2 instance can do all of this, assuming you find or build software to handle all of these tasks.

这篇关于如何将网络摄像头视频发送到Amazon AWS EC2实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆