Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zekeriyyaa/transport-live-video-to-web
Transport the live video coming local IP Camera to web page using FTP or MongoDB db.
https://github.com/zekeriyyaa/transport-live-video-to-web
base64-encoding capture-frame cv2 frame ftp ftplib ip-camera ipcamera mongodb pymongo python rtsp transport videocapture
Last synced: 4 days ago
JSON representation
Transport the live video coming local IP Camera to web page using FTP or MongoDB db.
- Host: GitHub
- URL: https://github.com/zekeriyyaa/transport-live-video-to-web
- Owner: zekeriyyaa
- Created: 2020-08-18T07:36:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T09:44:30.000Z (over 4 years ago)
- Last Synced: 2024-11-09T16:21:05.827Z (2 months ago)
- Topics: base64-encoding, capture-frame, cv2, frame, ftp, ftplib, ip-camera, ipcamera, mongodb, pymongo, python, rtsp, transport, videocapture
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Transport-Live-Video-to-Web
In the local area, there is a IP Camera and we aim to live broadcast on our web page. For this purpose we need to transport these frames coming from IP Camera to web server on some way. And we have a two different solution to solve this problem:
#### 1. Using FTP <[Camera2WebOnFTP](https://github.com/zekeriyyaa/Transport-Live-Video-to-Web/blob/master/Camera2WebOnFTP.py)>
The first one is transport a frame that coming from IP Camera to our web server on FTP directly . This way is cheaper to transport. So, when you do not need to store frames on your local, then you can use this way.**We use common library as below:**
- **cv2**: to capture frame from IP Camera and convert it to .jpg image
- **ftplib**: to use FTP protocol#### 2. Using MongoDB <[Camera2WebOnMongoDB](https://github.com/zekeriyyaa/Transport-Live-Video-to-Web/blob/master/Camera2WebOnMongoDB.py)>
Second way is store a frame that coming from IP Camera to MongoDB database which is located on server.**We use common library as below:**
- **cv2**: to capture frame from IP Camera and convert it to .jpg image
- **pymongo**: to get MongoDB connection
- **pyodbc**: to get MsSQL connection
- **base64**: to get base64 code of frame