Public Repository

Last pushed: 6 months ago
Short Description
Streams a video on container port 80 and applies a sepia filter.
Full Description

To show the use of data containers along with a video streaming container, this docker container will stream the video for you on port 80 and apply sepia filter. As it was meant for my own testing some configurations are not optimized. Here's how to use it.

The container when run expects a video "bunny.avi" to be mounted in /data inside the container. You can mount any video on the host to /data and then map port 80 to any port on the host. Assuming you have a video "bunny.avi" in your home folder you can start the streamer using:

docker run -d - v $HOME:/data --name streamer -p 8000:80 shazmailz/sepiavlcstreamer

Visit localhost:8000 in a videoplayer e.g. vlc, and you should see your video.

Alternatively, you can create a data container and then attach it to the streaming container. The data container should put the video "bunny.avi" in /data. Assuming your data container is named dc:

docker run -d --volumes-from dc -p 8000:80 --name streamer shazmailz/sepiavlcstreamer

Docker Pull Command
Owner
shazmailz

Comments (0)