Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gianmarco-mameli/snapshot-proxy-cam
Previously a fork... Proxy Cam for (currently) shitty W5, can extract JPG from RTSP
https://github.com/gianmarco-mameli/snapshot-proxy-cam
Last synced: about 1 month ago
JSON representation
Previously a fork... Proxy Cam for (currently) shitty W5, can extract JPG from RTSP
- Host: GitHub
- URL: https://github.com/gianmarco-mameli/snapshot-proxy-cam
- Owner: gianmarco-mameli
- License: mit
- Created: 2023-04-11T17:10:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-29T14:56:06.000Z (4 months ago)
- Last Synced: 2024-08-29T17:44:16.618Z (4 months ago)
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Originally a fork but unfortunately the original repo is not available anymore
# snapshot-proxy-cam
Proxy Cam for (currently) shitty W5 (need fallbacked because doesnt support officialy snapshot endpoint and so don't want to fix repetitive E500)
Ensure a standart, unique endpoint, and stable as possible API to get cams snapshots thanks to the fallbacks (the main idea is to try to fetch a jpg on the cam jpg API and then extract image from RTSP if error => What happened a LOT with Wanswiew, and now they have removed the jpg endpoint ...).
See docker-compose.yml
For RTSP proxy, see https://github.com/aler9/rtsp-simple-server
## Others cams
The app now handles only W5, but we can extend to flexible contract or add cameras support. For new cam, please open issue with various urls (rtsp, image ; for each big, small, etc) to design a flexible app and develop it.
## Routes
`/{camName}/{sourceType}/{size}.{format}`
For example :
- `/cam1/auto/small.jpg` for an auto small JPG
- `/cam1/raw-rtsp/big.jpg` for an big JPG from rtsp stream