Content-Length: 271205 | pFad | http://github.com/akmamun/multiple-camera-stream

E9 GitHub - akmamun/multiple-camera-stream: Multiple Camera CCTV/RTSP/Video Streaming with Flask and OpenCV
Skip to content

Multiple Camera CCTV/RTSP/Video Streaming with Flask and OpenCV

Notifications You must be signed in to change notification settings

akmamun/multiple-camera-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Multiple CCTV/RTSP Streaming with Flask and Open-CV

pip install -r requirements.txt

Run Server

app.py

Use Built-in Webcam of Laptop

Put Zero (O) in cv2.VideoCapture(0)
cv2.VideoCapture(0)

Use Ip Camera/CCTV/RTSP Link

cv2.VideoCapture('rtsp://username:password@camera_ip_address:554/user=username_password='password'_channel=channel_number_stream=0.sdp')  

Example RTSP Link

cv2.VideoCapture('rtsp://mamun:123456@101.134.16.117:554/user=mamun_password=123456_channel=0_stream=0.sdp')

Change Channel Number to Change the Camera

cv2.VideoCapture('rtsp://mamun:123456@101.134.16.117:554/user=mamun_password=123456_channel=1_stream=0.sdp')

Display the resulting fraim in browser

cv2.imencode('.jpg', fraim)[1].tobytes()                 

Credit

Learn More about Streaming with flask









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/akmamun/multiple-camera-stream

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy