https://github.com/thom-x/rtsp-snapshot
Simple docker image to grab snapshot from a RTSP stream.
https://github.com/thom-x/rtsp-snapshot
docker ffmpeg rtsp snapshot
Last synced: 9 months ago
JSON representation
Simple docker image to grab snapshot from a RTSP stream.
- Host: GitHub
- URL: https://github.com/thom-x/rtsp-snapshot
- Owner: Thom-x
- License: mit
- Created: 2020-06-05T12:05:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-17T18:40:22.000Z (about 4 years ago)
- Last Synced: 2025-04-12T04:44:45.283Z (over 1 year ago)
- Topics: docker, ffmpeg, rtsp, snapshot
- Language: Dockerfile
- Homepage: https://hub.docker.com/repository/docker/thomx/rtsp-snapshot
- Size: 14.6 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RTSP Snapshot
[](https://travis-ci.org/Thom-x/rtsp-snapshot)



Simple docker image to grab snapshot from a RTSP stream.
## Getting Started
These instructions will cover usage information and for the docker container
### Prerequisities
In order to run this container you'll need docker installed.
* [Windows](https://docs.docker.com/windows/started)
* [OS X](https://docs.docker.com/mac/started/)
* [Linux](https://docs.docker.com/linux/started/)
### Usage
#### Container Parameters
Run the image
```shell
docker run -v "/path/to/snapshot/on/host:/var/www/localhost/htdocs/snapshots" -e URL=rtsp://192.168.1.63/unicast -p 80:80 thomx/rtsp-snapshot
```
Take a snapshot :
http://localhost/snapshot.cgi
List snapshots :
http://localhost/snapshots
#### Environment Variables
* `URL` - URL of the stream to grap snapshot from
#### Volumes
* `/var/www/localhost/htdocs/snapshots` - Snapshot folder location
## Built With
* mini_httpd 1.23-r1
* ffmpeg 2.8.11-r0
## Find Me
* [GitHub](https://github.com/Thom-x/)
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the
[tags on this repository](https://github.com/your/repository/tags).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.