Skip to content

RTSP based multiple CCTV streaming from various IP cameras powered by Flask and OpenCV

Notifications You must be signed in to change notification settings

garislangit/multiple-cctv-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiple CCTV Streaming

Relay RSTP output from IP Camera (Dahua and Hikvision) and displayed to the website

Instruction

  1. Install the requirement, first :

    pip install -r requirements.txt

  2. Run the main python script by executing (dont forget to modify the camera url):

    python3 ipcamera.py or python ipcamera.py

    Debian Linux uses python3 instead python

  3. Open the streaming web address i.e

    http://domain.ip/live2?source=123 http://domain.ip/live?source=8

Embed to a website

<iframe src="http://rstp-relay-server/live?source=1"></iframe>

Suggestion

use the uwsgi web server if you have high traffic/many ip camera, very recommended than using flask's built in web server.

About

RTSP based multiple CCTV streaming from various IP cameras powered by Flask and OpenCV

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published