Sign inSign up

dewgenenny/rtsp_grab

By dewgenenny

•Updated over 7 years ago

Docker image that continually grabs a snapshot from an RTSP stream and serves it up as a JPEG.

Image
3

50K+

dewgenenny/rtsp_grab repository overview

⁠docker_rtsp_grab

Docker image to grab a still image from an RTSP feed and serve it up as a snapshot

Created this image as some cheap chinese cameras don't support creating a snapshot by URL (or at least, the URL is unknown).

You need to call this image with the URL environment variable set to the URL of the camera you want it to connect to. Once you've got it running, you'll be able to see the snapshot at http://your-server-ip:port/snapshot.jpg⁠

Examples:

Using the image from DockerHub:

docker run --rm --name rtsp_grab -e URL=http://url-of-your-camera:554/live/ch0⁠ -p 8844:80 dewgenenny/docker_rtsp_grab

Building the docker image yourself:

sudo docker build -t rtsp_grab .

Then, run your newly built docker image:

docker run --rm --name rtsp_grab -e URL=http://url-of-your-camera:554/live/ch0⁠ -p 8844:80 rtsp_grab

I highly recommend double checking that your URL works using VLC or ffmpeg before moving to use image

Tag summary

Content type

Image

Digest

Size

24.2 MB

Last updated

over 7 years ago

docker pull dewgenenny/rtsp_grab