Stream video from AWS DeepLens camera over HTTP

While the AWS DeepLens camera is designed to work with AWS, you may want to just stream video over HTTP so you can hack at it with code.

The camera comes with a firewall (UFW) pre-installed, so you need to disable a port for video:

sudo ufw allow 8090

Then edit the ffserver configuration file to expose the streams from the camera:

sudo vi /etc/ffserver.conf

Add the following:

  File "/opt/awscam/out/ch2_out.mjpeg"

  File "/opt/awscam/out/ch1_out.h264"

Then run ffserver.

Note that these streams aren’t compatible with HTML5 video.

Leave a Reply

Your email address will not be published. Required fields are marked *