All Projects → akmamun → camera-live-streaming

akmamun / camera-live-streaming

Licence: other
Camera Live Streaming with Flask and Open-CV

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to camera-live-streaming

GStreamer-Python
Fetch RTSP Stream using GStreamer in Python and get image in Numpy
Stars: ✭ 81 (+17.39%)
Mutual labels:  rtsp, opencv-python, rtsp-stream
cam-track
Windows, Unix, Raspberry Pi Computer python program to Track Camera X, Y Movements and Convert to Camera Pointing Position. Useful for Stabilization or Robotics Course Correction
Stars: ✭ 27 (-60.87%)
Mutual labels:  video-stream, opencv-python
Rtsp Stream
Out of box solution for RTSP - HLS live stream transcoding. Makes RTSP easy to play in browsers.
Stars: ✭ 349 (+405.8%)
Mutual labels:  rtsp, live-streaming
rtsp-relay
📽 View an RTSP stream in your web browser using an express.js server
Stars: ✭ 153 (+121.74%)
Mutual labels:  rtsp, rtsp-stream
rtsp2html5
A small and simple PHP-script to convert RTSP-stream from IP-cameras to HTML5-video (with switch to MJPEG on failure)
Stars: ✭ 15 (-78.26%)
Mutual labels:  rtsp, live-streaming
rtsp-samsung-tv
Display RTSP streams from IP Cameras on Samsung Smart TV (Tizen TV)
Stars: ✭ 40 (-42.03%)
Mutual labels:  rtsp, rtsp-stream
node-rtsp-recorder
Records and saves RTSP Video Streams
Stars: ✭ 50 (-27.54%)
Mutual labels:  rtsp, rtsp-stream
pycv4rtsp
VideoCapture封装,读取rtsp的实时帧
Stars: ✭ 38 (-44.93%)
Mutual labels:  rtsp, opencv-python
Real-Time-Video-Streaming
a real time streaming video application using RTSP
Stars: ✭ 15 (-78.26%)
Mutual labels:  rtsp, video-stream
Live Stream Face Detection
Live Streaming and Face Detection with Flask in Browser
Stars: ✭ 47 (-31.88%)
Mutual labels:  rtsp, live-streaming
Androidshow
通过MediaProjectionManager采集android屏幕视频流,app中搭建简单rtsp server与客户端通信,通过rtp 协议传输视频流,vlc等客户端来观看手机的屏幕实时视频
Stars: ✭ 144 (+108.7%)
Mutual labels:  rtsp
Aquila
IPCamera, aim to support V4L2/UVC/RaspberryPi/Hisi/XXX SDK production
Stars: ✭ 173 (+150.72%)
Mutual labels:  rtsp
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+4042.03%)
Mutual labels:  rtsp
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+231.88%)
Mutual labels:  rtsp
Gin Rtsp
基于Gin + WebSocket + JSMpeg,在HTML页面上直接播放RTSP视频流。
Stars: ✭ 136 (+97.1%)
Mutual labels:  rtsp
Videostreamer
Stream video (e.g. RTSP) to an HTML5 video element (MP4)
Stars: ✭ 208 (+201.45%)
Mutual labels:  rtsp
Easyrtsplive
Streaming media middleware:RTSP to RTMP,拉流IPC摄像机或者NVR硬盘录像机RTSP流转成RTMP推送到阿里云CDN/腾讯云CDN/RTMP流媒体服务器,支持多路RTSP流同时拉取并以RTMP协议推送发布,EasyRTSPLive我们支持任何平台,包括但不限于Windows/Linux/Android/ARM
Stars: ✭ 130 (+88.41%)
Mutual labels:  rtsp
Vxg.media.sdk.android
Market leading Android SDK with encoding, streaming & playback functionality
Stars: ✭ 119 (+72.46%)
Mutual labels:  rtsp
Flutter ijk
flutter封装的ijkplayer,支持rtsp播放
Stars: ✭ 118 (+71.01%)
Mutual labels:  rtsp
Zsgx1hacks
Hacks for ZS-GX1 IP Camera and various Goke GK7102 based IP Cameras
Stars: ✭ 251 (+263.77%)
Mutual labels:  rtsp

Live Streaming with Flask and Open-CV

pip install -r requirements.txt

Run Server

python 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:[email protected]:554/user=mamun_password=123456_channel=0_stream=0.sdp')

Change Channel Number to Change the Camera

cv2.VideoCapture('rtsp://mamun:[email protected]:554/user=mamun_password=123456_channel=1_stream=0.sdp')

Display the resulting frame in browser

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

Or this one

net , buffer = cv2.imencode('.jpg', frame)
buffer.tobytes()              

Credit

Learn More about Streaming with flask

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].