Coder Social home page Coder Social logo

mjpeg-streaming-server's Introduction

Python/Django MJPEG image push Axis IP camera simulation server

This is an Axis IP camera simulation program which can stream JPEG sequence to browser using push image technology. The technology was popular in some IP cameras because it provides a simple solution to embed your video stream into HTML page using 'img' HTML tag. Images are transfered to browser with multipart/x-mixed-replace MIME type. Old Panasonic, Linksys IP cameras and modern Axis cameras does provide similar MJPEG/HTTP stream: https://en.wikipedia.org/wiki/Push_technology#HTTP_server_push

This Django software have a HTML template of an Axis IP camera and some sample images. To run it you should

  1. Install Python 2 or Python 3

  2. Install Django framework: $ pip install django

  3. Run server from the project directory: mjpegstreamingserver$ python2 ./manage.py runserver

You should see a message: Starting development server at http://127.0.0.1:8000/

  1. Visit the provided URL in your browser so you can see sample JPEG stream in a fake Axis IP camera interface. Direct image stream URL is http://127.0.0.1:8000/mjpg/video.mjpg .

You could change HTML templates in special directory and some stream settings in settings.py

It's useful to cheat live online webcameras directories like www.insecam.org

mjpeg-streaming-server's People

Contributors

carbofos avatar superthunder avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.