Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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